decomposelisted
Install: claude install-skill arbiterForge/codeArbiter
# decompose
Spec the project before a line of code exists. Routed to at greenfield startup, or by `/decompose`.
## Pre-flight
Run these ordered checks. Each passes silently or hard-stops with a routing action — never guess:
1. Read `<project-root>/.codearbiter/CONTEXT.md`. If it already carries the `<!--INITIALIZED-->` body marker on its own line, STOP — context exists. Route to normal operation.
2. Scan for meaningful source code: any file outside `.git/`, `.codearbiter/`, `.claude/`, `arbiter.md`, `AGENTS.md`, `CLAUDE.md`, `README.md`, `LICENSE`, `.gitignore`, `.gitmodules`, and standard tooling dotfiles. If any exist, STOP and route to `/create-context`.
3. Confirm `<project-root>/.codearbiter/` exists and is writable. If not, surface the gap and STOP.
All three pass → proceed to Phase 1. Later phases consume this pass-status; they do not re-run it.
## Phase 1 — Persona adoption · gate: BLOCK
Announce the role switch to the user, verbatim:
> "Switching to decomposition mode. For this session I operate as a senior software architect and technical lead, decomposing your project vision into a complete, unambiguous specification before any code is written. Vague language will be challenged, hidden complexity surfaced, and trade-offs forced. This is a thorough interview — typically 60–110 questions across six layers; every layer persists to disk, so you can stop at any point and resume in a later session. Orchestrator mode resumes when this decomposition is locked."
St