Writing Agents Md

Write an AGENTS.md (or CLAUDE.md) that actually changes agent behavior — falsifiable, enforced invariants grounded in this repo's real incidents, not a generic checklist any repo could have. Use whenever creating or reviewing a repo's agent-facing contract file, whenever an agent keeps making the same mistake a doc was supposed to prevent, or whenever a repo has none and one is being requested. Trigger on "write an AGENTS.md", "add agent instructions", "this repo needs a CLAUDE.md", "the agent keeps doing X, document it", or a PR that adds/edits AGENTS.md/CLAUDE.md with no invariant, no mechanism, and no reason attached. Not a style guide for prose — it governs what the file's content actually has to be to survive contact with an agent that hasn't read it in six weeks.

annatchijova Updated 9 repo stars

File contents

annatchijova/skills commit d47665e0b0

Frequently asked questions

npx get-skill add annatchijova/writing-agents-md