agents-md-generator
Installation
SKILL.md
Agents.md Generator
Produce the project entry document for coding agents: {product_root}/AGENTS.md tailored to what is actually installed and detected in the repo — not the generic harness scaffold template.
Then write {product_root}/CLAUDE.md containing only a pointer to AGENTS.md (see Step 5).
Design principles
- Evidence-based — list only skills, paths, and workflows that exist in the project. Mark
inferredwhen guessing. - Entry pointer, not constitution — stack, layout, and constraints belong in
architecture-rules.md(architecture-rules-generator).AGENTS.mdroutes agents to the right files and skills. - No harness template copy-paste — do not dump
packages/harness/templates/AGENTS.mdinto the project. Usereferences/agents-md.template.mdas a skeleton and fill from reconnaissance. - Lean — target 60–120 lines. Link to
docs/context/and harness references instead of inlining. - Refresh-safe — on update, preserve stable hand-edited sections (language exceptions, GitLab server name, team conventions) unless recon proves them wrong.
Harness discovery
See ../nextstage-harness/references/harness-discovery.md and ../nextstage-harness/references/rules-sync.md.