brainstorming
The Socratic spec-refinement front of /feature, and the planning front of /sprint. Routed to BEFORE any code — it takes a one-line idea and drives it to an…
The spec-to-plan bridge. Routed to by /feature once the brainstormed spec is approved, and by /sprint before execution. Decomposes the spec into 2–5 minute tasks, each carrying its exact file path(s) and a concrete verification step that maps to a tdd obligation. Writes the plan
$ npx -y skills add arbiterForge/codeArbiter --skill writing-plans --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/writing-plansContext preview
The summary Claude sees to decide when to auto-load this skill.
The spec-to-plan bridge. Routed to by /feature once the brainstormed spec is approved, and by /sprint before execution. Decomposes the spec into 2–5 minute tasks, each carrying its exact file path(s) and a concrete verification step that maps to a tdd obligation. Writes the plan
name: writing-plans description: The spec-to-plan bridge. Routed to by /feature once the brainstormed spec is approved, and by /sprint before execution. Decomposes the spec into 2–5 minute tasks, each carrying its exact file path(s) and a concrete verification step that maps to a tdd obligation. Writes the plan to .codearbiter/plans/<slug>.md, ordered with dependencies flagged and an MVP slice identifiable. Nothing executes until every task has a path and a verification and the task set covers every acceptance criterion. disable-model-invocation: true
Turn an approved spec into an executable plan. Routed to by `/feature` (after spec approval) and `/sprint`.
Read these, or STOP and surface the gap — never plan against an unapproved or missing spec:
**If `--farm` was requested:** check that `FARM_API_KEY` is set in the environment{{IF:pi}} of the Pi parent process{{ELSE}} (or `.env` at `{{PLUGIN_ROOT}}/tools/.env`){{END}}. If absent, BLOCK immediately — cite `{{PLUGIN_ROOT}}/includes/farm.md` for setup instructions. Do not proceed; the farm dispatcher cannot run without an API key. Model selection happens later (at dispatch time in `subagent-driven-development`), so no model research is needed here.
Lift every acceptance criterion from the spec verbatim and assign each a stable ID (`AC-01`, `AC-02`, …). This list is the coverage ledger for the whole plan — Phase 4 checks the task set against it.
A criterion the spec leaves ambiguous is a `[CONFIRM-NN]` against `{{PROJECT_DIR}}/.codearbiter/open-questions.md` — surface it, do not invent the intent.
**Backstop the ledger against the spec's own stated intent, mechanically, before trusting it — this runs even when `brainstorming` already ran the same check, because a hole that survived Phase 3 survives Phase 4's bijection too, silently** (#566): run `"$PY" "{{PLUGIN_ROOT}}/hooks/_intentlib.py" uncovered-intent {{PROJECT_DIR}}/.codearbiter/specs/<slug>.md [--issue-body <scratch-file>]` — `<scratch-file>` holds the linked issue's body when one exists (`gh issue view <N> --json body -q .body > <scratch-file>`, written outside the working tree), omitted when none does. A non-empty result names an in-scope bullet or an acceptance checkbox the criteria never cited — BLOCK and route back to `brainstorming` (`{{PLUGIN_ROOT}}/skills/brainstorming/SKILL.md`) to add the missing criterion or record a `[CONFIRM-NN]`; never paper over a missing criterion by authoring a task for it here instead. This is the LAST point before a hole gets laundered through Phase 4's bijection, which only checks the ledger against itself and cannot see past it.
Then ask the half this tool cannot mechanize: **if every `AC-NN` passed and nothing else changed, what would still be broken?** A real answer names a criterion the ledger is missing even though every scope bullet and checkbox is technically cited — judgment, not mechanizable, and not satisfied by a rhetorical "nothing." Finding nothing broken is a reportable result, stated in one line, never a silent skip.
Gate: every acceptance criterion in the spec captured as a numbered `AC-NN`; the `uncovered_intent` backstop above returns empty or every finding is resolved; and the negative question has been asked and answered. A partial ledger does not pass.
Break the work into the smallest honest units. Each **task** is ~2–5 minutes of work and carries:
Split anything that won't fit ~5 minutes or touches unrelated paths. Reject the trap of one monolithic "implement the feature" task — that defeats the plan.
Gate: every task has at least one path AND a verification AND a `maps-to`. A task missing any of the three blocks the plan.
Order tasks so each runs only after what it depends on. Flag every dependency explicitly (`T-07 depends on T-03`). A cycle is a decomposition error — return to Phase 2 and split.
Group the ordered tasks so the **MVP slice** is identifiable: the minimal contiguous task set that satisfies the spec's core acceptance criteria and is shippable on its own. Everything past the slice is incremental.
Gate: a complete dependency order with no cycle, and an explicitly marked MVP slice.
Cross the ledger against the task set, both directions. **This proves the plan and the ledger AGREE with each other — it does not prove the ledger itself is COMPLETE relative to the spec's stated intent.** A criterion missing from the ledger entirely was never a candidate for either check below; that completeness gap is caught
When you can't trust yourself with your code base, trust Arbiter.
Repo: arbiterForge/codeArbiter
The Socratic spec-refinement front of /feature, and the planning front of /sprint. Routed to BEFORE any code — it takes a one-line idea and drives it to an…
The only path to a commit. Routed to when the user invokes /commit or otherwise instructs codeArbiter to persist staged changes. Nine gated phases —…
Optional manual drift audit — report stale provenance-tracked docs (via _provenancelib drift detection across .codearbiter/.provenance/), then per stale doc…
The brownfield back-fill. Routed to by /create-context, and by startup when .codearbiter/CONTEXT.md lacks the <!--INITIALIZED--> body marker but source code…
The banned-primitive gate. Routed to when changed code hashes, signs, encrypts, derives keys, generates security-relevant randomness, configures TLS, or…
Investigate-then-decide root-cause analysis for a defect whose cause is unknown (distinct from /fix, which assumes a known bug). Five gated phases: capture,…