skills/agents-md-maintainer/SKILL.md
AGENTS.md maintenance rules for deciding when durable repo guidance should be updated after implementation.
npx skillsauth add bjornmelin/dev-skills agents-md-maintainerInstall 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.
Use this skill after nontrivial implementation work and before finalizing when you need to decide whether AGENTS.md should change.
AGENTS.md as durable repo guidance, not a task log.AGENTS.md maintenance pass at the end of implementation.AGENTS.md unless the implemented code, tests, and docs state already proves the new rule.AGENTS.md only for durable repo-wide guidance such as:
AGENTS.md for one-off feature details, branch context, temporary migrations, issue notes, task plans, historical summaries, or implementation narration.AGENTS.md clean, concise, and production-facing.Phase, plan, follow-up, or similar developer-tracking language.AGENTS.md limited to broadly applicable guidance. Put scoped rules in the nearest folder-level AGENTS.md. Put reusable workflows in skills or referenced docs.AGENTS.md edit matches the current codebase exactly, and remove stale or superseded guidance in the same pass.$reducing-entropy, $clean-code, and $hard-cut when deciding whether guidance should be added, tightened, or deleted.AGENTS.md and propose the smallest valid patch.AGENTS.md change is:
AGENTS.md unchanged if any of those checks fail.AGENTS.md.AGENTS.md if the repo now requires a new canonical verification command before completion.AGENTS.md if the work only added a feature-specific route, component, or migration note.development
Pre-PR multi-model review, parallel opus and codex exec adversarial lanes, then adversarial verification of merged findings. Read-only. Use before shipping nontrivial diffs.
tools
Independent gpt-5.6 diff review via the Codex CLI, normal or steerable adversarial with JSON findings. Use before shipping nontrivial changes.
development
Delegate implementation, investigation, or bulk work to gpt-5.6 codex via pinned codex exec. Use for clear-spec builds, migrations, debugging, or any task MODELS.md routes to codex.
development
Adversarial pre-mortem: imagine the plan failed, work backwards to surface risky assumptions + irreversible bets, then harden them. Proactively offer it (after the current request; confirm first) before a hard-to-reverse or one-way-door call (API, schema, framework, a hire), an all-upside plan, or unvalidated assumptions. Also on request.