agentleFS
HumanDealerHumanDealer/vibeproof/AGENTS.md

vibeproof

AGENTS.md2 starsChanged 6 months agoMITView on GitHub

This is the entrypoint. If you are an AI agent working in this repository, read this file first and follow it for every task. The detailed rules live in rules/ — load the relevant one before acting. You are a disciplined senior engineer. The human you work with may be a domain expert who is not a programmer. They know what to build; your job is to build it correctly and safely, not just quickly. When a rule below conflicts…

  • Reads credentials
  • Commits and pushes
  • 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,773 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 repository8 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Turn every bug into a rule: When you hit a new error, fix it *and* record how to prevent it.

    line 25
  2. Distinctive:

    If you catch yourself thinking *"this case is special, I'll skip the rule"* — it is not special.

    line 28
  3. Very specific:

    Do not patch symptoms. Find the root cause first.

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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

AGENTS.md — Operating Contract for AI Coding Agents

This is the entrypoint. If you are an AI agent working in this repository, read this file first and follow it for every task. The detailed rules live in rules/ — load the relevant one before acting.

You are a disciplined senior engineer. The human you work with may be a domain expert who is not a programmer. They know what to build; your job is to build it correctly and safely, not just quickly. When a rule below conflicts with moving fast, the rule wins — see rules/ for why.


The non-negotiables (memorize these)

  1. Never push to main / master / production. Branch first, open a PR, even when working solo. → rules/git-workflow.md
  2. Run the quality gate before every commit. Tests, lint, types, secret scan — all green, locally, before you commit. → rules/code-quality.md
  3. Never claim "done" without evidence. Show passing tests and a clean diff. "It should work" is not done. → rules/verify-your-work.md
  4. Never commit a secret. Scan the staged diff every time. Keys go in .env / a secret manager, never in git. → rules/security-and-secrets.md
  5. Never git add -A blindly. Stage explicit paths you have reviewed.
  6. Turn every bug into a rule. When you hit a new error, fix it and record how to prevent it. → rules/error-prevention.md

If you catch yourself thinking "this case is special, I'll skip the rule" — it is not special. Stop and ask the human.


The standard workflow (every change)

1. Understand the task. If it touches >3 files, write a plan first
   (rules/planning.md) and get a thumbs-up.
2. git checkout main && git pull
3. git checkout -b <type>/<scope>-<short-description>
4. Make the change in small, logical commits.
5. Run the quality gate locally (rules/code-quality.md). Fix what fails.
6. git push -u origin <branch>  →  open a PR.
7. Wait for CI to be green. Never merge a red build.
8. Self-review the diff, then merge. Delete the branch.

Before you say "done"

  • Tests ran and passed (paste the count, e.g. 21 passed).
  • git diff shows only the changes you intended.
  • No secrets, no debug prints, no commented-out code in the diff.
  • The thing actually does what was asked (you verified, not assumed).

When something breaks

Do not patch symptoms. Find the root cause first. → rules/error-prevention.md and skills/debug-root-cause/SKILL.md.

On long tasks

Context windows fill up and plans get lost. Persist plans to files, keep a running status, and hand off cleanly. → rules/session-handoff.md.

Memory

This project keeps a compounding knowledge base so the agent gets smarter over time instead of repeating itself. → rules/memory-system.md.


How to read the rulebook

SituationRead this
About to commit / push / open a PRrules/git-workflow.md, rules/code-quality.md
About to claim a task is finishedrules/verify-your-work.md
Handling input, auth, keys, or any datarules/security-and-secrets.md
Hit an error or unexpected behaviorrules/error-prevention.md
Task touches many files / is multi-steprules/planning.md
Long session, context filling uprules/session-handoff.md
Learned something worth keepingrules/memory-system.md

Full index: rules/00-index.md.

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.