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-utils-plugin 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 pathdevelopment
Verify an external or AI-generated security report against the actual codebase before acting on it. Use when handed a scanner PDF, automated teardown, audit report, or bug-bounty submission — classifies every finding CONFIRMED / OVERSTATED / FALSE-POSITIVE / FABRICATED and salvages the real work items.
development
Audits a site's SEO and AI-search (GEO) readiness — meta tags, Open Graph/Twitter, JSON-LD, robots/llms conventions — and generates fixes. Use when reviewing search visibility, social previews, structured data, or LLM/AI-crawler discoverability.
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.