graphcompose-ai-flow
CLAUDE.md4 starsChanged 3 months agoMITView on GitHub
Read AGENTS.md first, end-to-end. It is the canonical onboarding file: which skill owns the task, the seven invariants, the commands, and where each contract is declared. This file is a thin pointer so Claude Code loads the same contract; if the two ever differ, AGENTS.md wins. - The workflow is four skills under skills/workflows/ — create-template, revise-template, review-template, approve-template. Routing, gates and loop bounds are declared once in config/pipeline.json. - Work lands in the user's Java project, under <their project>/graphcompose-flow/projects/<id>/revisions/…
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/graphcompose-ai-flow.mdcCursor rule
- approve-templateSkill
- create-templateSkill
- review-templateSkill
- revise-templateSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Every change opens a new revision (graphcompose-flow new-revision, which carries the parent's sources forward).
- Distinctive: line 24
Never invent GraphCompose API: the pinned pack's allow-list is closed.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
CLAUDE.md — GraphCompose AI Flow
Read AGENTS.md first, end-to-end. It is the canonical
onboarding file: which skill owns the task, the seven invariants, the
commands, and where each contract is declared. This file is a thin
pointer so Claude Code loads the same contract; if the two ever differ,
AGENTS.md wins.
The shape of the work
- The workflow is four skills under
skills/workflows/—create-template,revise-template,review-template,approve-template. Routing, gates and loop bounds are declared once inconfig/pipeline.json. - Work lands in the user's Java project, under
<their project>/graphcompose-flow/projects/<id>/revisions/— never in this repository'sexamples/, which is the workspace only when developing the harness itself. - Every change opens a new revision (
graphcompose-flow new-revision, which carries the parent's sources forward). Never overwrite an APPROVED revision; statuses are owned bytools/revision-manager.
Non-negotiables (details in AGENTS.md)
- Never invent GraphCompose API: the pinned pack's allow-list is closed.
- Semantic primitives, relational geometry, anchors — never raw coordinates or hand-computed offsets.
- Content lives in
<doc-kind>-data.jsonbehind a typed spec. - Prove parity:
render-and-diff --against parentreportingmismatchPx: 0is a gate result; "looks identical" is not. - One loop pass is one
render-and-diffcall; a barerender.mjsleaves the revision unmeasured.
Entry points
node scripts/preflight.mjs --project-dir <java-project> [--project <id>]— start here.node scripts/render-and-diff.mjs --project <id> --revision <id>— render, diff, regions, evidence, gates.node scripts/iterate-status.mjs <id>— may the loop continue (aftervisual-review.jsonis written).npm run setup— build the tools that ship as source;npm run verify— every gate CI runs.
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.

