agentleFS
marcusgollmarcusgoll/Spec-Flow/AGENTS.md

Spec-Flow

AGENTS.md94 starsChanged 6 months agoMITView on GitHub

Spec-Flow coordinates multiple coding tools through a single shared canon. Every agent must read the same rules, reuse the same artifacts, and only write in its designated areas. - .spec-flow/ holds the canonical workflow docs, repo map, state schemas, memory, and automation scripts. - In consumer projects, epics/<slug>/state.yaml is the single source of truth for epic phase progress; feature-level specs/<feature>/state.yaml is optional and must mirror the epic. - Roadmaps, specs, plans, tasks, and ship notes all inherit the phase order:…

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

4 rules. About 0 are common, 1 is distinctive, and 3 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.

  • 3

    Very specific

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

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

    Never fork new “top-level religions.” Add new integrations under their dedicated folder and mirror the shared canon from .spec-flow/.

    line 26
  2. Very specific:

    All tools may read .claude/ for reference, yet non-Claude edits are prohibited.

    line 27
  3. Very specific:

    When progressing any phase, update the relevant state.yaml and stop at the documented review boundaries (no macro “run everything” flows).

    line 31
  4. Distinctive:

    Follow these rules and every agent—Claude, Codex, Cursor, or future additions—will operate from the same source of truth.

    line 34

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

Spec-Flow Agents

Spec-Flow coordinates multiple coding tools through a single shared canon. Every agent must read the same rules, reuse the same artifacts, and only write in its designated areas.

Shared brain

  • .spec-flow/ holds the canonical workflow docs, repo map, state schemas, memory, and automation scripts.
  • In consumer projects, epics/<slug>/state.yaml is the single source of truth for epic phase progress; feature-level specs/<feature>/state.yaml is optional and must mirror the epic.
  • Roadmaps, specs, plans, tasks, and ship notes all inherit the phase order: spec → clarify → plan → tasks → implement → optimize → preview → ship → finalize.

Tool boundaries

  • .claude/ — Claude Code-only prompts, commands, and hooks. Readable by other tools, but only Claude edits this tree.
  • .codex/ — Codex CLI-specific prompts, commands, adapters, and skills. Codex writes here; other tools leave it alone.
  • Additional tool adapters must be labeled explicitly until their source-repo surfaces exist.
  • Shared assets may live elsewhere in active repo surfaces such as docs/, bin/, .github/, and .spec-flow/, but every tool must honor .spec-flow/repo-map.yaml and .spec-flow/domains/*.yaml when deciding where to add code.

Hard rules

  1. Never fork new “top-level religions.” Add new integrations under their dedicated folder and mirror the shared canon from .spec-flow/.
  2. All tools may read .claude/** for reference, yet non-Claude edits are prohibited.
  3. In consumer projects, epic work begins under epics/<slug>/; features live in specs/<feature>/ and must link back to their parent epic inside state.yaml.
  4. When progressing any phase, update the relevant state.yaml and stop at the documented review boundaries (no macro “run everything” flows).
  5. Persistent learnings or roadmap shifts belong in .spec-flow/memory/ and should be reflected in the shared docs before modifying tool-specific trees.

Follow these rules and every agent—Claude, Codex, Cursor, or future additions—will operate from the same source of truth.

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.

Reviews can't be read right now.

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.