Skip to content

Build a Feature End to End

/ca:feature is the one entry point for new implementation work. Run it with a one-line description of what you want built:

/ca:feature "add rate limiting to the public search endpoint"

The lane runs in order and gates at each transition. Nothing moves until the previous gate clears. Each piece loads only when the lane reaches it: the command you run, the skills it routes through, and the author and reviewer agents it dispatches on demand.

The /ca:feature lane in three rows: Commands (/ca:feature, /ca:commit, /ca:pr), Skills (brainstorming, writing-plans, tdd, commit-gate), and Agents (author agents, reviewer agents), with a connector weaving through them in execution order.
The /ca:feature lane by piece type: commands (gold), skills (violet), agents (green), each loaded in execution order.

The brainstorming skill runs first. It takes your one-line prompt and drives it toward a concrete, approved spec through four gated phases: frame, refine, write, approve.

The skill asks focused clarifying questions, one area at a time. You answer and steer. When the scope is clear, the spec is written to disk and you approve it. No source file is touched until you do.

Each acceptance criterion in the approved spec becomes exactly one obligation in the tdd cycle. The spec is the binding definition of done for every task that follows.

With an approved spec, the writing-plans skill decomposes it into tasks, each 2 to 5 minutes of work. Every task carries the exact file path it touches and a concrete verification step that maps to a tdd obligation.

The plan is written to .codearbiter/plans/<slug>.md. Execution does not start until every task has a file path, a verification step, and the full task set covers every acceptance criterion.

The executing-plans skill coordinates implementation. It groups the plan’s tasks into batches and dispatches each batch. Each task runs with a fresh author agent and a full reviewer fleet, beginning with the tdd skill.

The tdd skill runs six phases for each task, in order:

  • Obligation scan. Extracts this task’s obligations from the spec. No implementation code exists yet.
  • Red. Writes a failing test for each obligation and confirms the failure before any feature code is written.
  • Green. Writes the minimum code to pass the tests. Nothing beyond what the tests require.
  • Obligation verify. Confirms every obligation from the scan has a corresponding passing test.
  • Coverage. Confirms no obligation is left uncovered.
  • Lint. Runs the project’s lint and type-check commands clean.

After a batch completes, execution stops for a human checkpoint. You review what was built and signal to continue. The next batch does not start until you do.

This is what separates /ca:feature from /ca:sprint. Sprint runs the full plan autonomously, with every auto-decision SMARTS-scored and logged; feature stops between every batch and waits for you. Use feature when you want to stay in the loop at each increment. Use sprint when the plan is well-understood and autonomous execution is appropriate.

When a batch is ready, run:

/ca:commit

The commit-gate skill is the only path to a git commit. It runs nine phases: permission, branch, classification, verification (tests, lint, secrets scan), behavioral proof, diff review, selective stage, message, and commit. A finding at any phase stops the commit.

The gate does not auto-decide hard gates. A secret in the diff, a crypto change, or a branch violation is a true stop that requires your explicit resolution. “It looks right” is not authorization.

Once all batches are committed, run:

/ca:pr

The pr command runs the review fleet and clears every BLOCK-level finding before the PR is staged. A PR is never written directly to the default branch. Unresolved BLOCK findings are resolved first, not deferred.

Skill or commandWhere
/ca:featurecommands/feature
/ca:commitcommands/commit
/ca:prcommands/pr
brainstormingskills/brainstorming
writing-plansskills/writing-plans
tddskills/tdd
executing-plansskills/executing-plans
commit-gateskills/commit-gate

For the concepts behind gated lanes and gate strengths, see Concepts.