← ClaudeAtlas

archflow-contractlisted

Use ONLY when the user asks for /archflow-contract or "archflow contract". The release's API contract architecture, and per-story endpoint specs that clear a story's contract gate
AZidan/archflow · ★ 27 · AI & Automation · score 81
Install: claude install-skill AZidan/archflow
> Arguments are the text after the skill name. # /archflow-contract — API contract architecture and per-story endpoints API architecture splits into two kinds of work, exactly as `phase-2.5-api-architecture.md` defines it, mirroring the design split. This command owns both. 1. **Foundation** — the contract *architecture*, set once at release start. Auth pattern, URL and JSON conventions, the error-response envelope, pagination, versioning. The shared rules every endpoint obeys. 2. **Per-story gate** — one story's *endpoints*, specified just-in-time against that architecture, one step ahead of its build. Clears that story's `needs_contract` gate. The contract is the SACRED DOCUMENT. `api-engineer` and `ui-engineer` both build against it with zero tolerance for deviation, and `qa-engineer` verifies implementations against it. This command is the only sanctioned way to change it. ## Usage ``` /archflow-contract → show the contract architecture, or create it if absent /archflow-contract <story-id> → specify one story's endpoints and clear its contract gate e.g. /archflow-contract S7-20 /archflow-contract path <path> → move the contract somewhere else, or point at an existing one ``` --- ## Step 0 — Which mode Match `the text the user wrote after the skill name` against the story-id pattern from `release-schema.yaml`: ``` ^S[0-9]+-[0-9]+[a-z]?$ ``` - **Matches** → per-story gate. Go to Step 2. - **Empty*