agents
AGENTS.md1 starsChanged 4 months agoMITView on GitHub
Justin Cordova New features (design decisions needed): brainstorm → design doc → (plan only if complex) → execute → (iterate) → sync-docs when ready Small iterations (bugfixes, tweaks, mechanical changes): (skip brainstorm) → execute Greenfield (no SPEC.md yet): brainstorm → spec (interview mode, writes initial SPEC.md) → (plan only if requested) → execute Rules: - Brainstorm is optional. Use it when the work involves genuine design decisions, multiple viable approaches, or unclear scope. Skip it for mechanical changes where the…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 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 repository34 other files it gives its agents.
- agent-browserSkill
- analyze-issueSkill
- animateSkill
- animation-performanceSkill
- animation-vocabularySkill
- apple-designSkill
- ask-emilSkill
- brainstormSkill
- break-uiSkill
- choreographSkill
- code-reviewSkill
- debuggingSkill
- emil-design-engSkill
- executeSkill
- find-animation-opportunitiesSkill
- find-skillsSkill
- frontendSkill
- gather-contextSkill
- gesturesSkill
- impeccableSkill
- improve-animationsSkill
- learn-tasteSkill
- mobile-nativeSkill
- obsidianSkill
- pick-ui-librarySkill
- planSkill
- prototypeSkill
- remove-animationsSkill
- review-animationsSkill
- specSkill
- sync-agentsSkill
- sync-docsSkill
- testingSkill
- writing-skillsSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
20 rules. About 0 are common, 14 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Brainstorm is optional: Use it when the work involves genuine design decisions, multiple viable approaches, or unclear scope.
- Distinctive: line 24
sync-docs is on-demand, not automatic: Run it when you want to reconcile docs after iterating — typically after 3-5 small changes have …
- Distinctive: line 25
Plans are disposable: Create, execute, done. For changes, write a new plan.
- Very specific: line 27
When reading SPEC.md, always check docs/designs/ for in-flight features that SPEC.md may not reflect yet.
- Distinctive: line 50
Keep the subject line under 72 characters
- Very specific: line 69
When a project has phase/milestone structure, record the specific milestone→tag mapping in a project-local docs/VERSIONING.md, not here.
- Distinctive: line 74
Before any commit, the project must build and pass.
- Very specific: line 76
Run tests (e.g. go test ./..., npm test, dotnet test, etc.)
- Distinctive: line 77
Run type checking / linting if applicable
- Distinctive: line 79
If anything fails, fix it.
- Distinctive: line 85
Prefer small, focused diffs.
- Distinctive: line 87
If a file has no precedent for something, follow the nearest pattern in the repo.
- Distinctive: line 88
No commented-out code. Remove it or don't write it.
- Distinctive: line 97
Never touch files outside the scope of the current task.
- Distinctive: line 98
If context is getting large, say so — don't silently degrade.
- Distinctive: line 99
Treat every task as if a senior engineer will review it tomorrow.
- Very specific: line 103
Do not use browser automation or the agent-browser skill unless the user explicitly requests browser interaction or visual verification.
- Very specific: line 104
If a specific issue cannot be resolved without real-browser evidence (layout, focus, navigation, client-side runtime behavior), propose …
- Distinctive: line 106
Do not start a local development server, simulator, or device solely for verification.
- Very specific: line 111
Start frontend tasks with the frontend skill.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
AGENTS.md
Developer
Justin Cordova
Planning Workflow
New features (design decisions needed): brainstorm → design doc → (plan only if complex) → execute → (iterate) → sync-docs when ready
Small iterations (bugfixes, tweaks, mechanical changes): (skip brainstorm) → execute
Greenfield (no SPEC.md yet): brainstorm → spec (interview mode, writes initial SPEC.md) → (plan only if requested) → execute
Rules:
- Brainstorm is optional. Use it when the work involves genuine design decisions, multiple viable approaches, or unclear scope. Skip it for mechanical changes where the design is obvious.
- Plans are always opt-in. After brainstorm produces a design doc, the developer decides whether to write a plan. Simple implementations go straight to execute using the design doc as context. Small iterations go straight to execute with no plan at all. Only write a plan when the developer explicitly invokes
/plan— typically for complex designs, possibly using a stronger model. - Design docs are the session-boundary artifact for new features. Brainstorm writes
docs/designs/<feature>.md. A new session can pick up from here — either going to plan or straight to execute. - SPEC.md is only updated when the user decides to reconcile. Either via sync-docs (which merges implemented design docs into SPEC.md and deletes them) or via direct spec skill invocation. Never updated automatically from brainstorm, plan, or execute.
- SPEC.md has one owner — the spec skill. Brainstorm never writes to SPEC.md (except via greenfield handoff). Plan never writes to SPEC.md. Execute never writes to SPEC.md. sync-docs can edit SPEC.md directly when reconciling drift.
- sync-docs is on-demand, not automatic. Run it when you want to reconcile docs after iterating — typically after 3-5 small changes have accumulated, or after a feature ships and stabilizes.
- Plans are disposable. Create, execute, done. For changes, write a new plan.
- Plans live in
docs/plans/<feature-name>-plan.md. Design docs live indocs/designs/<feature-name>.mdand persist until sync-docs merges them into SPEC.md. - When reading SPEC.md, always check
docs/designs/for in-flight features that SPEC.md may not reflect yet. - Issue briefs from analyze-issue live in
docs/issues/<number>-<slug>.mdand are a valid input to execute.
Git Conventions
Commits are feature-scoped.
Format: type(scope): description
Common types:
feat— new featurefix— bug fixrefactor— code restructure with no behavior changechore— maintenance, deps, configdocs— documentation onlytest— test additions or changesstyle— formatting only
Rules:
- Never append "Generated with Claude Code", "Co-authored by Claude", or any AI attribution footer to commit messages
- One commit per logical feature or change — not per file, not per session, not per minor task
- Description is lowercase, no trailing period
- Keep the subject line under 72 characters
Versioning
Track three independent things; do not conflate them.
- Commits (fine grain). Conventional Commits (
type(scope): description, above) are the detailed version history. One per logical change. - Milestone tags (coarse grain). Tag meaningful milestones with annotated git
tags using
0.xpre-release SemVer: each shipped phase/milestone is a minor bump (v0.1.0,v0.2.0, …), fixes within a milestone are patch bumps, andv1.0.0is the project's stated definition-of-done. Usegit tag -a vX.Y.Z -m "..."so the tag records what landed. Prefer this over maintaining a separate CHANGELOG for solo projects. Tag only when the milestone's gate/exit criteria are actually green. - Data/save-format version (if the project persists state). A monotonic integer inside the serialized format, independent of git tags and SemVer. Bump it only on a breaking schema change, and ship a forward migration. It changes for different reasons than releases, so never tie it to a git tag.
When a project has phase/milestone structure, record the specific
milestone→tag mapping in a project-local docs/VERSIONING.md, not here.
Pre-Commit Gate
Before any commit, the project must build and pass. Run in order:
- Build the project (e.g.
go build ./...,npm run build,dotnet build, etc.) - Run tests (e.g.
go test ./...,npm test,dotnet test, etc.) - Run type checking / linting if applicable
If anything fails, fix it. Do not commit broken code.
Code Style
- Prefer small, focused diffs. Never refactor unrelated code in the same change.
- Match the existing style of the file you are editing — do not impose conventions.
- If a file has no precedent for something, follow the nearest pattern in the repo.
- No commented-out code. Remove it or don't write it.
- Explicit is better than clever. Readability first.
General Rules
- During brainstorming, ask clarifying questions if the task is ambiguous.
- During brainstorming, share best practice recommendations relevant to the question being asked.
- Never touch files outside the scope of the current task.
- If context is getting large, say so — don't silently degrade.
- Treat every task as if a senior engineer will review it tomorrow.
Browser Verification During Development
- Do not use browser automation or the
agent-browserskill unless the user explicitly requests browser interaction or visual verification. - If a specific issue cannot be resolved without real-browser evidence (layout, focus, navigation, client-side runtime behavior), propose using
agent-browserand wait for approval. - For repeatable end-to-end coverage, write or run the project's Playwright Test suite instead of using
agent-browser. - Do not start a local development server, simulator, or device solely for verification. Prefer source inspection and build, type, lint, and test checks.
- These rules override third-party skills (e.g.
impeccable) that instruct you to screenshot or render the result.
Frontend Work
- Start frontend tasks with the
frontendskill. It routes toimpeccableand Emil Kowalski's skills (animate,choreograph,gestures, etc.) when a task narrows to their specialty. When the user names one of those skills directly, use it.
Rules
@rules/code-quality.md
@RTK.md
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.

