agent-ready-repo-kit
AGENTS.md0 starsChanged 4 months agoMITView on GitHub
Reference quickly before any coding text to ground yourself.
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository12 other files it gives its agents.
- clear-explanationSkill
- creative-writingSkill
- dataset-triageSkill
- excalidraw-system-sketchSkill
- figma-to-uiSkill
- frontend-designSkill
- mermaid-architecture-mapSkill
- newsletter-growthSkill
- no-ai-slopSkill
- outreach-emailSkill
- skill-authoringSkill
- stanford-researchSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
19 rules. About 1 is common, 17 are distinctive, and 1 is very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Do not consider a task complete until it has been tested end to end and meets the stated requirements
- Distinctive: line 9
If a task involves creating or modifying a feature, run the app and confirm it works before returning control to me
- Distinctive: line 14
Keep functions small and focused (SOLID principles)
- Distinctive: line 15
Use descriptive variable and function names
- Distinctive: line 16
Follow DRY: prefer reusing existing patterns in the codebase over inventing new solutions
- Distinctive: line 17
Write tests for core logic but keep them concise and small.
- Distinctive: line 18
Add comments only when the "why" isn't obvious from the code itself
- Common: line 24
Never embed API keys, secrets, or credentials in client-side code, generated HTML/JS, or any file that gets committed to git
- Very specific: line 27
After any change involving secrets, grep your build output for known key prefixes (e.g., AIzaSy, sk-, ghp_, AKIA) to verify nothing leaked
- Distinctive: line 34
Use a feature flag to toggle debug/verbose logging (on for testing, off for production.
- Distinctive: line 35
Run scripts from the project root so dependencies resolve correctly
- Distinctive: line 41
Test at mobile viewport (375×667) for overflow, clipped content, or unreachable buttons
- Distinctive: line 44
Use Puppeteer or a browser automation tool to screenshot each distinct screen and check for broken layouts, missing assets, theming issues, …
- Distinctive: line 53
Use plain English (avoid overcomplicated explanations, excessive specifics, or deep jargon).
- Distinctive: line 55
No self-answering rhetorical questions.
- Distinctive: line 56
No em-dashes; use commas instead.
- Distinctive: line 57
No three-part alliterative phrases.
- Distinctive: line 58
No vague inspirational pivots.
- Distinctive: line 59
No unsourced claims or unverified quotes.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
How to Work
- Be fast and concise.
- Do not consider a task complete until it has been tested end to end and meets the stated requirements
- If a task involves creating or modifying a feature, run the app and confirm it works before returning control to me
Code Standards
- Move all magic numbers and hardcoded text to a centralized constants file
- Keep functions small and focused (SOLID principles)
- Use descriptive variable and function names
- Follow DRY: prefer reusing existing patterns in the codebase over inventing new solutions
- Write tests for core logic but keep them concise and small. I see too many times that tests take up way too much compute, so TRULY ONLY KEEP THE BARE CORE COVERAGE TESTS.
- Add comments only when the "why" isn't obvious from the code itself
- Prioritize functionality over aesthetics in early iterations
- For any frontend work, follow the skill at https://github.com/anthropics/skills/blob/main/skills/frontend-design/SKILL.md
Security
- Never embed API keys, secrets, or credentials in client-side code, generated HTML/JS, or any file that gets committed to git
- Secrets must only exist in
.env(gitignored), CI/CD secrets, or server-side code that is never served to browsers - For client-side features needing keys, let the user provide their own key at runtime (e.g., localStorage input), never baked into source
- After any change involving secrets, grep your build output for known key prefixes (e.g.,
AIzaSy,sk-,ghp_,AKIA) to verify nothing leaked
Validation (required after every change)
Build:
- Fix all build errors and warnings before proceeding
- Use a feature flag to toggle debug/verbose logging (on for testing, off for production. Check logs for unexpected errors or warnings.
- Run scripts from the project root so dependencies resolve correctly
UI:
- For any frontend work, follow the skill at https://github.com/anthropics/skills/blob/main/skills/frontend-design/SKILL.md
- Walk through the full user flow start to finish and verify correct content, working interactions, and loading assets
- Test at mobile viewport (375×667) for overflow, clipped content, or unreachable buttons
- Confirm all branching paths (success, error, back, skip) work without dead ends and route changes reset stale state
- Confirm all data entries have required fields, and all URLs/assets resolve (no 404s, no broken redirects)
- Use Puppeteer or a browser automation tool to screenshot each distinct screen and check for broken layouts, missing assets, theming issues, or placeholder content
Performance:
- Batch API requests where possible and respect rate limits
Writing Style
- Be direct and concise. State assumptions and limitations clearly.
- Use plain English (avoid overcomplicated explanations, excessive specifics, or deep jargon).
- No "This isn't X. It's Y." contrast patterns.
- No self-answering rhetorical questions.
- No em-dashes; use commas instead.
- No three-part alliterative phrases.
- No vague inspirational pivots.
- No unsourced claims or unverified quotes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

