{"slug":"ca-feature-2","title":"ca-feature","summary":"Start a feature: brainstorm a spec, get it approved, then drive it test-first through the pipeline. The one entry to implementation.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-08-24T16:57:21.90114Z","repo":{"url":"https://github.com/arbiterForge/codeArbiter","stars":152,"forks":9,"license":"AGPL-3.0","updatedAt":"2026-11-06T02:01:02Z"},"bodyHtml":"<hr>\n<h2>name: ca-feature\ndescription: \"Start a feature: brainstorm a spec, get it approved, then drive it test-first through the pipeline. The one entry to implementation.\"\nargument-hint: \"</h2>\n<h1>/ca-feature — spec-driven feature</h1>\n<p>The single permitted entry to implementation work. No feature code is written before a spec is approved and <code>tdd</code> Phase 1 clears. A one-line idea is not a spec — <code>brainstorming</code> makes it one.</p>\n<p><strong>Orientation:</strong> if <code>.codearbiter/code-map.md</code> is present, read it first — a coarse concern→path→role map that orients task authoring. Absent is fine; it is read-on-demand, populated by context-creation or commit-gate heal.</p>\n<h2>Resume — an interrupted pipeline is re-entered, never restarted</h2>\n<p>Before triage, scan <code>&lt;project-root&gt;/.codearbiter/specs/</code> and <code>plans/</code> for an existing slug\nmatching <code>$ARGUMENTS</code> (invoked bare, list every resumable pipeline and ask which). A crash,\ncompaction, or closed session mid-pipeline loses nothing — the spec, the plan, and each task's\n<code>status</code> cell are on disk. On a match, confirm the resume with the user in one line\n(\"resume <code>&lt;slug&gt;</code> at </p>\n<ol>\n<li><strong>Plan exists with non-<code>ACCEPTED</code> tasks</strong> → <code>executing-plans</code> (its Phase 1 batches only the\nremaining tasks).</li>\n<li><strong>Plan exists, every task <code>ACCEPTED</code></strong> → <code>commit-gate</code> (the work is done and verified; it was the\ncommit that never happened).</li>\n<li><strong>Spec approved, no plan</strong> → <code>writing-plans</code> (<code>&lt;plugin-root&gt;/routines/writing-plans/SKILL.md</code>).</li>\n<li><strong>Spec exists but never approved</strong> → <code>brainstorming</code> (<code>&lt;plugin-root&gt;/routines/brainstorming/SKILL.md</code>), at its approval gate — not from scratch.</li>\n</ol>\n<p>Re-running <code>brainstorming</code> against an already-approved spec is the failure mode this section exists\nto prevent: it discards approved decisions and re-asks answered questions. Only an explicit user\nrequest (\"start over\") restarts an existing slug — and that is logged to <code>triage.log</code> like any\nclassification.</p>\n<h2>Step 0 — change-class triage (logged)</h2>\n<p>Before routing, classify the request. The <strong>small lane</strong> applies only when ALL of these hold —\njudged against <code>$ARGUMENTS</code> and a quick look at the code, never assumed:</p>\n<ul>\n<li>the change touches ≤ 2 implementation files (plus their tests);</li>\n<li>no §4 reference-map scope-touch: auth/crypto/secrets, dependencies, migrations/schema, telemetry,\npublic API surface, domain vocabulary;</li>\n<li>no new dependency, endpoint, command, or configuration surface;</li>\n<li>the behavior change is expressible as 1–3 concrete, individually testable acceptance criteria.</li>\n</ul>\n<p><strong>Small lane:</strong> state the mini-spec inline (the 1–3 criteria) and STOP for the user's one-reply\nconfirmation. On confirmation, append one line to <code>&lt;project-root&gt;/.codearbiter/triage.log</code>\n(append-only, <code>&gt;&gt;</code>):</p>\n<pre><code>[ISO-8601 timestamp] | BY: &lt;git user.email&gt; | LANE: small | SCOPE: &lt;one-line&gt; | BASIS: &lt;criteria met&gt;\n</code></pre>\n<p>Then route directly to <code>tdd</code> (<code>&lt;plugin-root&gt;/routines/tdd/SKILL.md</code>) — the confirmed criteria are its Phase 1 obligations; Phases 2–6 run\nunchanged — and exit through the full <code>commit-gate</code> and <code>finishing-a-development-branch</code> exactly as\nthe full lane does. The lane trims ceremony, never gates.</p>\n<p>Any criterion violated, or uncertain → <strong>full lane</strong> (below). Uncertainty is full-lane; the triage\nnever guesses.</p>\n<h2>Flow — full lane</h2>\n<p>Route through the pipeline in order; each step gates the next:</p>\n<ol>\n<li><strong><code>brainstorming</code></strong> (<code>&lt;plugin-root&gt;/routines/brainstorming/SKILL.md</code>) — refine <code>$ARGUMENTS</code> into a concrete spec by Socratic questioning: challenge\nvague language, surface hidden complexity, force trade-offs. Writes the spec to\n<code>&lt;project-root&gt;/.codearbiter/specs/&lt;slug&gt;.md</code>. <strong>Hard gate: no plan and no code until the\nuser approves the spec.</strong> Genuinely-unresolved unknowns become <code>[CONFIRM-NN]</code> in\n<code>open-questions.md</code>, never guesses.</li>\n<li><strong><code>writing-plans</code></strong> (<code>&lt;plugin-root&gt;/routines/writing-plans/SKILL.md</code>) — decompose the approved spec into small tasks, each with an exact path and a\nverification that maps to a <code>tdd</code> obligation (it does not replace one). Writes\n<code>&lt;project-root&gt;/.codearbiter/plans/&lt;slug&gt;.md</code> with bijective criterion↔task coverage.</li>\n<li><strong><code>executing-plans</code></strong> (<code>&lt;plugin-root&gt;/routines/executing-plans/SKILL.md</code>) — coordinates the plan in small batches with human checkpoints. Each batch is\ndelegated to <code>subagent-driven-development</code> (<code>&lt;plugin-root&gt;/routines/subagent-driven-development/SKILL.md</code> — fresh author agent per task, spec-compliance review,\nquality review, fresh verification). The user acknowledges between batches; nothing advances until\nthey do.</li>\n<li><strong><code>commit-gate</code></strong> — the only path to a commit; nine gates, including behavioral proof.</li>\n<li><strong><code>finishing-a-development-branch</code></strong> — terminal step: open-PR / merge-via-PR / discard. Every\nchange lands through a PR; never a direct write to the default branch.</li>\n</ol>\n<p>The autonomous counterpart (<code>/ca-sprint</code>) runs the same spec→plan but passes the full plan to\n<code>subagent-driven-development</code> directly, without per-batch checkpoints. That path is its own entry,\nnot <code>/feature</code>.</p>\n<h2>Scope routing</h2>\n<p>Scope determines which author agent <code>subagent-driven-development</code> dispatches per task:\n<code>backend-author</code>, <code>frontend-author</code>, or <code>infra-author</code> — per the mapping in <code>tech-stack.md</code>. A\nmulti-area feature runs the appropriate agent per task; the full suite must be green before\ntransitioning between scope areas.</p>\n<h2>When NOT to use</h2>\n<ul>\n<li>A known defect with a reproduction → <code>/fix</code>.</li>\n<li>A behavior-preserving restructure → <code>/refactor</code>.</li>\n<li>A question or quick discussion → <code>/btw</code>.</li>\n<li>Persisting work already written → <code>/commit</code>.</li>\n</ul>\n<h2>Hard gate</h2>\n<p>MUST NOT write feature code before a spec is approved AND <code>tdd</code> Phase 1 clears — the brainstormed\nspec in the full lane, the user-confirmed mini-spec in the small lane. MUST NOT take the small lane\nunless every Step 0 criterion holds, and MUST log the classification to\n<code>.codearbiter/triage.log</code> before <code>tdd</code> begins. MUST NOT skip <code>writing-plans</code> in the full lane.\nMUST NOT resolve a <code>[CONFIRM-NN]</code> in the spec by guessing — surface it.\nMUST NOT restart an interrupted pipeline whose artifacts exist on disk — resume at the furthest\ncheckpoint per the Resume ladder, unless the user explicitly asks to start over.</p>\n","files":[{"path":"SKILL.md","sizeBytes":11990,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-06T21:47:39.023553Z","sha256":"962C941524ABED3C67E84E99C8FAA96DD9E484893557297BC40DDFB07EEADDF6","sizeBytes":5148},"review":null,"source":{"repositoryUrl":"https://github.com/arbiterForge/codeArbiter","path":"plugins/ca-pi/skills/ca-feature","license":"AGPL-3.0","commit":"9b8989c162e486eb6c58c9ec1891d31ce342ea63","subtreeSha":"6356C51613B2CA9D57ABCFA91C1FA3B8EA8970CCB9B0E423A8E83A303A121B1F","lastSyncedAt":"2026-11-06T21:44:14.200087Z"},"reviewedAt":"2026-11-06T21:52:33.750951Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/arbiterForge/codeArbiter/tree/main/plugins/ca-pi/skills/ca-feature"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install arbiterforge-codearbiter@llmmart"},{"target":"git","command":"git clone https://github.com/arbiterForge/codeArbiter.git"}]}