agentleFS
tanbopptanbopp/ai-development-framework/AGENTS.md

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.

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
  1. Very specific:

    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 …

    line 6
  2. Very specific:

    Use /full-cycle <idea> for step-by-step gated builds, or /auto-build <idea> for autonomous execution.

    line 8
  3. Very specific:

    Read and embody .agents/SOUL.md before writing any code.

    line 14
  4. Very specific:

    Always check .agents/platforms/<platform>/SKILL.md based on the platform chosen in STACK.md.

    line 17
  5. Very specific:

    Interaction Rule: Never use native <select>, <input type="date">, alert(), confirm(), or prompt() for core UI.

    line 28
  6. Very specific:

    Read .agents/rules/00-constitution.md before starting.

    line 36
  7. Very specific:

    Before starting any task, read .agents/MEMORY.md and .agents/LESSONS.md.

    line 37
  8. Very specific:

    Keep SKILL.md files under 500 lines.

    line 38
  9. Distinctive:

    If something is ambiguous, stop and ask.

    line 40

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

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

AGENTS.md

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.

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(), or prompt() for core UI. Use the designated headless library with portal={true} and collision detection. Keep every viewport free of horizontal scroll and every floating element unclipped.
  • Entry points:
    • docs/project/PRD.md
    • docs/project/STACK.md
    • docs/project/DESIGN.md
    • docs/project/ARCHITECTURE.md
    • docs/tasks/TASKS.md
  • Non-negotiable:
    • Read .agents/rules/00-constitution.md before starting.
    • Before starting any task, read .agents/MEMORY.md and .agents/LESSONS.md.
    • Keep SKILL.md files under 500 lines. If deep detail is needed, put it in a references/ subfolder and instruct the AI to read it on-demand.
    • At the end of every workflow, run prompt-history to log the session.
    • If something is ambiguous, stop and ask.
    • Audit before delivery.
  • Forbidden:
    • any (or an equivalent escape hatch) without a justification comment.
    • Colors or fonts outside the approved tokens.
    • New dependencies without user approval.

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.