plugins/docs-governance/skills/maintaining-agents-md/SKILL.md
Maintains AGENTS.md, AGENT_LEARNINGS.md, AGENT_REQUESTS.md, and CONTRIBUTING.md governance files in sync with codebase changes. Use when updating governance files, during sprint reviews, or after structural changes.
npx skillsauth add qte77/claude-code-plugins maintaining-agents-mdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scope: $ARGUMENTS
Keeps agent governance files synchronized with codebase state. Detects stale references, missing updates, and promotion candidates.
| File | Authority | Purpose |
|------|-----------|---------|
| AGENTS.md | Behavioral | Rules, role boundaries, compliance requirements |
| CONTRIBUTING.md | Technical | Workflows, commands, coding standards |
| AGENT_LEARNINGS.md | Knowledge | Accumulated patterns and solutions |
| AGENT_REQUESTS.md | Escalation | Active blockers requiring human input |
AGENT_LEARNINGS.md to .claude/rules/make validate pipeline or Makefile changesaudit (default)Scan governance files for staleness and inconsistencies.
Checks:
src/, docs/, tests/ paths.
Verify each path still exists.CONTRIBUTING.md command reference table. Verify
each make recipe exists in Makefile.AGENT_LEARNINGS.md. If ralph/docs/LEARNINGS.md exists, check it too.AGENT_REQUESTS.md entries — flag any whose
referenced files/issues no longer exist..claude/skills/ inventory.Output: Findings table with file, line, issue type, description.
syncFix staleness found by audit. For each finding:
promoteEvaluate AGENT_LEARNINGS.md entries for promotion per the criteria in
.claude/rules/compound-learning.md (3rd occurrence → rule, recurring → skill).
Procedure:
AGENT_LEARNINGS.md entries.claude/rules/fullRun all three modes in sequence: audit → sync → promote.
When multiple files need updates, follow this order to prevent hierarchy conflicts:
.claude/rules/compound-learning.md — promotion pathdocumentation
Generate or update README.md files across three scopes — repo (with project-type detection), account (GitHub user profile), and org (organization profile). Use when creating, updating, or aligning a README to org conventions.
development
Audit README.md files against best practices for repos, accounts, or orgs. Detects missing sections, stale links, inconsistent formatting, and convention violations. Use when reviewing README quality across one or many repos.
development
Analyzes industry websites for design patterns, layout, typography, and content strategies using first-principles thinking. Use when researching website design, UI patterns, or competitive design analysis.
development
Audits website usability for UX optimization, covering forms, navigation, validation, and microcopy. Use when reviewing user experience, task completion flows, or interface friction points.