Scaled feature flow (explore, interview, propose, gate, build, review); ceremony scales with the task. - Use when starting a non-trivial feature or change ("build", "add", "implement", "create a feature"), on issue work (the workflow:feature hook loads it), or when invoked (/workkit:feature).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Feature?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/itw-creative-works-feature)
---
name: feature
description: Scaled feature flow (explore, interview, propose, gate, build, review); ceremony scales with the task. - Use when starting a non-trivial feature or change ("build", "add", "implement", "create a feature"), on issue work (the workflow:feature hook loads it), or when invoked (/workkit:feature).
user-invocable: true
---
# Feature flow: ceremony scales with the task
- Each phase prevents one failure: building the wrong thing, missing a consumer, shipping unreviewed.
- Skip a phase only when its failure cannot happen at this size.
## 0a. Pipeline gate: build only from `status:specced`
- When the work has an issue, check its stage before anything else.
- A build starts ONLY from `status:specced` with a real `## Spec`: the implementation layer, or the literal `None needed: small item.`
- A written Spec (anything but the literal) opens with one plain sentence stating the behaviour rule, then carries its `### Contract` part (Files, Names, Cases; spec § Specs); one with no Contract is refused the same way: it goes back through the spec pass below for its Contract.
- An issue at `status:inbox`, or a specced one whose Spec lacks the implementation layer, gets the SPEC PASS first, one `workkit:worker`'s, its brief from `briefs/spec-worker.md` (the shape: `docs/agents.md` § File-handoff convention):
- the brief carries the issue, the owner's words and rulings on it, the guides, and the path of the draft file;
- the worker drafts from the issue and the code, which it reads itself: the whole draft body to that file (`## Description`, `## Spec` with the rule sentence first, `### Contract`), changing nothing in the repo or on GitHub;
- its report lists the file, each design choice with the option it turned down, each decision only the owner can make, and each fact it could not find;
- the manager rules on the design choices and runs the [workkit:interview](../interview/SKILL.md) on the owner's decisions in chat (§ 2), BEFORE acceptance is requested, never a whole draft handed over for a yes (spec § Specs; `agent:ok` issues are exempt);
- the rulings and answers go back to the same worker, which finishes the draft;
- the manager lands the body on the issue and asks for the owner's accept; on the owner's accept the manager makes the flip to `status:specced`.
- The literal `None needed: small item.` is no draft and no handoff.
- That flip IS the authorization, then build. On an issue carrying `agent:ok`, an agent may make the flip itself.
- Where the repo has a batch plan, the build also waits for its batch to be `building`: by the owner's go, or by the claim of an `agent:ok` issue, which needs no go (spec § Queue semantics, the Batches bullet).
- Whatever you write onto the issue follows spec § Issue anatomy. That includes the introduction rule: the first mention of an outside project or repo carries a link and a one-line description of what it is.
### The claim, and the road the labels take
- Claim the issue before working it: move it to `status:building` AND add `agent:claimed`, then say whose session holds it:
- `gh issue edit <N> --remove-label status:specced --add-label status:building,agent:claimed`
- `gh issue comment <N> --body "Claimed by workkit-agent[bot] for @<login>'s session."` (the login the sign-in status reports, spec § The pass)
- That flip makes the `workflow:snapshot` hook take the snapshot the red proofs run against (`docs/hooks.md`).
- `agent:claimed` IS the claim. The assignee is a person's mark and never the claim: the bot that posts the agent's bookkeeping can never be an assignee, so the claim comment names it and the session's owner.
- Skip an issue already carrying `agent:claimed`. Re-read the labels when you start, not when you listed the queue.
- Remove `agent:claimed` when you release the issue, finished or not. The standards heal sweeps a claim left idle for 24 hours.
- A block is a release. When the work needs a human decision, flip to `status:blocked` and take `agent:claimed` off in the same edit (`--remove-label status:building,agent:claimed --add-label status:blocked`), then put the question in a comment: the agent is waiting on a person, not working. The answered issue rejoins at `status:specced` and is claimed again.
- Never take `status:building` off by hand. It carries build and verify, phase 6 flips it to `status:qa`, the owner's passing check moves it to `status:complete`, and the ship close ends it.
- The road and the rules: the workkit plugin's `docs/project-state.md` § Labels.
## 0. Size the task: say the size out loud
- **Trivial** (one file, no design choice, obvious spec): skip to phase 4. State "trivial: building directly."
- **Standard** (a few files, some choices, clear goal): phases 1, 2, 4, 5. Skip formal proposals (3); state your chosen approach in one paragraph before building.
- **Large** (new subsystem, architectural choice, multiple valid shapes): all phases, inside plan mode.
### Plan mode (large automatically, any size on request)
- A large task enters plan mode (EnterPlanMode) BEFORE exploring. The session goes read-only, phases 1–3 run inside it, and the plan approved at exit IS the phase-4 gate.
- The whole-system thinking happens where nothing can be edited yet.
- Any size enters it on the owner's word ("plan this", or the plan-mode toggle). A standard task without it keeps the chat gate in phase 4.
## 1. Explore
- Map the territory before designing. For work with an issue, the spec pass (§ 0a) is this phase: its worker reads the code.
- A recon `workkit:scout`, its brief from `briefs/recon-scout.md`, is for a question the accepted Spec left open at build time: it returns **key-file LISTS, not content**, and you read those files yourself.
- Find the existing utilities and patterns the feature must reuse. Never propose new code where a suitable implementation exists.
- Note every consumer a contract change would imply (global §4).
## 2. Clarify: interview, never skip
- Run [workkit:interview](../interview/SKILL.md) on the decisions the spec worker's report lists (§ 0a): the full category sweep, asked in chat rounds, never the AskUserQuestion tool.
- It closes by sending the answers to that worker, which finishes the draft.
- Standard and large tasks NEVER skip this phase. One round of "zero open decisions" is cheap; building the wrong thing is not.
## 3. Approaches (large only)
- Produce 2–3 proposals with genuinely different mandates, each with its tradeoffs, your recommendation first:
- **minimal**: the smallest correct change;
- **clean**: the right architecture, even if bigger;
- **pragmatic**: the best value per change.
## 4. Gate, then build
- Standard and large: get explicit approval of the approach before writing code. Large: the plan-mode approval at exit. Standard: a stated go-ahead in chat.
- Build with the test obligation scaled per global §6. Red first where possible.
- On large tasks, tracer-bullet the thinnest end-to-end slice (`js:patterns` `resources/tdd.md`).
### Crew staging
- Stage the class agents by phase, never all at once.
- A batch builds in parallel groups on the shared tree, grouped and launched as `docs/agents.md` § Batches says. It spawns by that section's start rule bullet: never held for a neighbour's Spec or a question about other work.
- Build: ONE pair of `workkit:worker` briefs per group, a feature-developer and a test-developer on the shared tree. The rule is `docs/agents.md` § Crew sizing.
- The feature-developer's brief starts from `briefs/feature-developer.md` and names its source paths and the issue's `### Contract`.
- The test-developer's brief starts from `briefs/test-developer.md` and names its test paths, the Contract and the Description.
- A group with no test surface gets one worker, its brief from `briefs/docs-developer.md`.
- Verify: one blind `workkit:verifier` per group over the pair's merged diff, its brief from `briefs/group-verifier.md`, red first proven through `workkit proof red` (the form: `docs/agents.md` § Crew sizing), one fix round; then ONE review panel over the batch diff (phase 5), then park every issue.
- The `workkit:verifier` runs twice: when the build claims done, and after the review (phase 5). The full review panel assembles only in phase 5. `workkit:scout` is recon: dispatch it at any point.
- A finding that names a class ("one more site reads the value the same wrong way") gets one `workkit:scout` sweep of the whole class, its brief from `briefs/recon-scout.md`, before the worker round, so the class is one round, never one round per instance.
- An edit that touches many test files rides its own batch: the batch's first qa flip needs a green record for every package owning a touched test file (`docs/project-state.md` § The proof), so a wide edit makes every other item in the batch wait on those runs.
## 5. Verify + review
- Each agent runs the test files touched by the edit it made or checks, and the maker also runs the suites of the modules that require a changed file (its importers, one grep of the package's source per changed file), as `npm test -- <files>` from that package's folder (`docs/project-state.md` § The proof).
- The park runs no root suite: its proof is the flip to `status:qa`, which runs nothing and checks the green record of each package owning a touched test file (`docs/project-state.md` § The proof).
- A package the flip lists as missing, with its touched files, gets its own tests narrowed to those files, in the path form its runner takes, then the flip again.
- That run is the test worker's: `docs/agents.md` § File-handoff convention, its handoff table.
- What is left to the manager is a run that is no test run of the park (a lane, a build); one it starts in the background follows `docs/agents.md` § Watching a run.
- Any edit a package can see voids its record, a fix round's, the docs' and the CHANGELOG's included, so the narrowed runs of the packages an edit can touch come last, right before the flip (`docs/hooks.md` § `safety:proof-guard`, the package id bullet).
- The full suite runs once, a root `npm test` before the commit, so no brief asks an agent for the whole touched set (`docs/project-state.md` § The proof).
- Then [workkit:review](../review/SKILL.md) on the diff. Trivial tasks skip formal review.
- A ≥80 finding is built in the batch, or said in chat under **🧭 Findings** (filed only when `findings.file` is on or the owner says file), before calling it done, per the fix-or-file rule (`docs/project-state.md` § How big is one issue). The review's simplification lens covers post-green cleanup.
- After the review: ONE light verification pass over the fixes (its brief from `briefs/fix-verifier.md`), ONE worker round for what it finds, then retouch the review marker so it covers the parked diff, with `full` only when that review was the full panel (the retouch closes its round; `workkit:review` § 5), then the park:
- `workkit review mark` (add `full` after a full panel)
- A finding made after that round is said or filed per the fix-or-file rule, never worked in another round. The one exception is a bug in a `safety:` hook, fixed before the park.
- Done-criteria:
- green at every layer the change has a surface on (`docs/project-state.md` § The proof);
- review verdict "ship";
- the issue and docs updated per the doc-parity rules.
## 6. Park at `status:qa`: the flow ends here, not at a ship
- Build done, tests green, review passed: the work STAYS IN THE WORKING TREE, uncommitted until the owner's pass. `safety:commit-gate` bounces a commit whose message names an open issue not at `status:complete`.
- The park is MECHANICAL, not a question. It happens the moment the done-criteria above are met.
- Say what to check, then flip. The comment lands FIRST so the park carries the record: the proof is a hard gate, and without it an item can neither reach `status:complete` nor close (spec § The proof).
- The comment's first line is `Proof:`, one entry per layer: the command, or the reason it was skipped, and beside them the red-proof run (the `workkit proof red` line the verifier printed). The check reads it first.
- The rest of the comment is the whole handover: what changed, what to look at, and where. Where is the page to open, the command to run, or the diff to read when the change has no surface.
```
gh issue comment <N> --body "Proof: <one entry per layer: the command, or why it was skipped>; <the red-proof run>
<what to check, and where>"
gh issue edit <N> --remove-label status:building,agent:claimed --add-label status:qa
```
- `agent:claimed` comes off with the flip: the claim ends, the agent is done and the wait is the owner's. The work stays in that tree, and `status:qa` says so.
- Do not ship, and do not ask in chat whether to ship. The owner's word runs [workkit:ship](../ship/SKILL.md), and asking for it asks them to approve their own gate (spec § Labels).
- A failed check comes back here: fix it in place and re-comment; the label does not move.
- A batch parks together: every issue goes to `status:qa` with its own comment once the batch's one panel and its fix round are done (`docs/agents.md` § Batches).
- The batch is a plan batch at `building`, the first of them the one every prompt's `[Batch N/M <status>]` line names, each one `workkit batch show` prints with its status.
- With no plan written, it is the Batches bullet of `docs/project-state.md` § Queue semantics.
- The commit word comes once, when the whole batch is parked. Commit and ship still wait on the owner's word, and a commit naming the batch's issues waits on their pass; the batch only decides what rides it.
### The pass: only the owner's word moves it on
- When the owner says the check passed (in chat, in their own words), flip the issue to `status:complete` and record the pass:
```
gh issue edit <N> --remove-label status:qa --add-label status:complete
gh issue comment <N> --body "QA passed by @<login>, <date>."
```
- That stage means "checked, ready to ship", and the ship reads from it. Note the pass in the session notes too, so the next session knows the item is good to go.
- The verdict is the OWNER'S, like `agent:ok`. Never grant it on their behalf, and never infer it from silence or your own confidence in the work.
- The owner's "pass" is read on the one path every owner word takes, and the `workflow:pass` hook hands you a reminder to record it (`docs/hooks.md` § Owner words). The reminder moves no label: apply the pass from the owner's own words.
### The one exception: `agent:ok`
- `agent:ok` is the owner's word given in advance, so the park is a pass-through.
- Flip to `status:qa` and comment as always, but KEEP `agent:claimed` on that flip (`--remove-label status:building --add-label status:qa`). The claim holds because the agent is still working.
- Then perform the check yourself, flip to `status:complete` with the same pass comment, and ship and close in the same run. The ship close releases the labels (spec § the qa stage).