ai-development-framework
AGENTS.md1 starsChanged 18 days agoMITView on GitHub
Universal Agent Entry Point: AGENTS.md is the universal entry point for any agentic IDE or CLI (Antigravity, Cursor, Claude Code, Codex). Read this file, .agents/MEMORY.md, .agents/LESSONS.md, and .agents/rules/ before acting.
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,266 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 repository40 other files it gives its agents.
- platform-cliSkill
- platform-desktopSkill
- platform-mobileSkill
- platform-pluginSkill
- platform-webSkill
- agentic-security-guardSkill
- architecture-guardSkill
- artifact-analyzerSkill
- boundary-guardSkill
- code-quality-gateSkill
- cognitive-load-auditorSkill
- context-groundingSkill
- copy-auditSkill
- cost-estimatorSkill
- dast-scannerSkill
- database-architectSkill
- design-auditSkill
- design-system-generatorSkill
- design-system-integratorSkill
- environment-preflightSkill
- evidence-gated-blockingSkill
- human-in-the-loopSkill
- lessons-learnedSkill
- mcp-discoverySkill
- meta-judgeSkill
- ponytail-wrapperSkill
- prd-generatorSkill
- prompt-historySkill
- sast-scannerSkill
- sca-secret-scannerSkill
- security-context-managerSkill
- security-gateSkill
- security-hardeningSkill
- snapshot-rollbackSkill
- stack-advisorSkill
- task-breakdownSkill
- tech-spec-writerSkill
- test-suite-auditorSkill
- ui-interaction-authoritySkill
- viewport-qaSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 1 is distinctive, and 8 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.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 6
Command Routing Rule: When the user types a message starting with a slash (e.g., /full-cycle, /auto-build), do NOT treat it as a standard …
- Very specific: line 8
Use /full-cycle <idea> for step-by-step gated builds, or /auto-build <idea> for autonomous execution.
- Very specific: line 14
Read and embody .agents/SOUL.md before writing any code.
- Very specific: line 17
Always check .agents/platforms/<platform>/SKILL.md based on the platform chosen in STACK.md.
- Very specific: line 28
Interaction Rule: Never use native <select>, <input type="date">, alert(), confirm(), or prompt() for core UI.
- Very specific: line 36
Read .agents/rules/00-constitution.md before starting.
- Very specific: line 37
Before starting any task, read .agents/MEMORY.md and .agents/LESSONS.md.
- Very specific: line 38
Keep SKILL.md files under 500 lines.
- Distinctive: line 40
If something is ambiguous, stop and ask.
≈ “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
Universal Agent Entry Point:
AGENTS.mdis the universal entry point for any agentic IDE or CLI (Antigravity, Cursor, Claude Code, Codex). Read this file,.agents/MEMORY.md,.agents/LESSONS.md, and.agents/rules/before acting.
Workflow
Command Routing Rule: When the user types a message starting with a slash (e.g., /full-cycle, /auto-build), do NOT treat it as a standard text prompt. Instead, you MUST read the corresponding markdown file in .agents/workflows/ (e.g., .agents/workflows/full-cycle.md) and execute the instructions defined there.
- Use
/full-cycle <idea>for step-by-step gated builds, or/auto-build <idea>for autonomous execution.
Design System Agnosticism
You are not limited to shadcn/ui. If the user requests a specific framework (Material UI, Chakra, Bootstrap, etc.), a Figma design, an existing codebase, or a brand aesthetic (e.g., 'Apple-like', 'Brutalist'), you must use the design-system-integrator skill. Use available MCP tools to fetch design tokens (colors, fonts, spacing) from real-world references before generating any UI code.
The Soul
Read and embody .agents/SOUL.md before writing any code. Maintain this persona across all tasks.
Platform Awareness
Always check .agents/platforms/<platform>/SKILL.md based on the platform chosen in STACK.md. Do not write web-only code for a desktop or mobile app.
Security First
Run security-context-manager (using .agents/security-context.yaml -> docs/project/THREAT_MODEL.md) in planning/design, and run security-hardening (including references/secure-coding-rules.md) and database-architect during implementation and audit. All generated code MUST pass SAST (sast-scanner), SCA/secret scanning (sca-secret-scanner), DAST (dast-scanner when runnable), agentic-security-guard, and security-gate checks before delivery. Never deliver code with unvalidated inputs, hardcoded secrets, HIGH/CRITICAL findings, or silent errors.
Execution Safety
You MUST run environment-preflight before starting. You MUST use boundary-guard to restrict file edits. You MUST use human-in-the-loop before modifying critical files.
Core Rules
- Stack: decided per project in
docs/project/STACK.md. Do not assume one. - Design system: decided per project in
docs/project/DESIGN.md. Do not reuse another project's tokens. - Interaction Rule: Never use native
<select>,<input type="date">,alert(),confirm(), orprompt()for core UI. Use the designated headless library withportal={true}and collision detection. Keep every viewport free of horizontal scroll and every floating element unclipped. - Entry points:
docs/project/PRD.mddocs/project/STACK.mddocs/project/DESIGN.mddocs/project/ARCHITECTURE.mddocs/tasks/TASKS.md
- Non-negotiable:
- Read
.agents/rules/00-constitution.mdbefore starting. - Before starting any task, read
.agents/MEMORY.mdand.agents/LESSONS.md. - Keep
SKILL.mdfiles under 500 lines. If deep detail is needed, put it in areferences/subfolder and instruct the AI to read it on-demand. - At the end of every workflow, run
prompt-historyto log the session. - If something is ambiguous, stop and ask.
- Audit before delivery.
- Read
- Forbidden:
any(or an equivalent escape hatch) without a justification comment.- Colors or fonts outside the approved tokens.
- New dependencies without user approval.
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.

