Generate an AGENTS.md for a repo that doesn't have one
When to use: Your team just started using Claude Code / Cursor and nobody's written the orientation doc.
Flow
-
Run it on your repoUse agent-rules-skill. Analyze this repo and draft an AGENTS.md following the convention.✓ Copied→ Draft with build/test commands, lint config, style notes, gotchas
-
RefineAdd a section on where not to edit (generated files, vendor/).✓ Copied→ Section added with explicit paths
-
CommitCommit as docs/AGENTS.md.✓ Copied→ File committed at repo root or in docs/
Outcome: A living AGENTS.md that makes future agent sessions start with context.
Pitfalls
- AGENTS.md balloons into an everything-doc — Keep it focused on what an agent needs. Link to README for humans.