agentleFS
ek0212ek0212/agent-ready-repo-kit/AGENTS.md

agent-ready-repo-kit

AGENTS.md0 starsChanged 4 months agoMITView on GitHub

Reference quickly before any coding text to ground yourself.

  • Reads credentials

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
  1. Distinctive:

    Do not consider a task complete until it has been tested end to end and meets the stated requirements

    line 8
  2. Distinctive:

    If a task involves creating or modifying a feature, run the app and confirm it works before returning control to me

    line 9
  3. Distinctive:

    Keep functions small and focused (SOLID principles)

    line 14
  4. Distinctive:

    Use descriptive variable and function names

    line 15
  5. Distinctive:

    Follow DRY: prefer reusing existing patterns in the codebase over inventing new solutions

    line 16
  6. Distinctive:

    Write tests for core logic but keep them concise and small.

    line 17
  7. Distinctive:

    Add comments only when the "why" isn't obvious from the code itself

    line 18
  8. Common:

    Never embed API keys, secrets, or credentials in client-side code, generated HTML/JS, or any file that gets committed to git

    line 24
  9. Very specific:

    After any change involving secrets, grep your build output for known key prefixes (e.g., AIzaSy, sk-, ghp_, AKIA) to verify nothing leaked

    line 27
  10. Distinctive:

    Use a feature flag to toggle debug/verbose logging (on for testing, off for production.

    line 34
  11. Distinctive:

    Run scripts from the project root so dependencies resolve correctly

    line 35
  12. Distinctive:

    Test at mobile viewport (375×667) for overflow, clipped content, or unreachable buttons

    line 41
  13. Distinctive:

    Use Puppeteer or a browser automation tool to screenshot each distinct screen and check for broken layouts, missing assets, theming issues, …

    line 44
  14. Distinctive:

    Use plain English (avoid overcomplicated explanations, excessive specifics, or deep jargon).

    line 53
  15. Distinctive:

    No self-answering rhetorical questions.

    line 55
  16. Distinctive:

    No em-dashes; use commas instead.

    line 56
  17. Distinctive:

    No three-part alliterative phrases.

    line 57
  18. Distinctive:

    No vague inspirational pivots.

    line 58
  19. Distinctive:

    No unsourced claims or unverified quotes.

    line 59

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.