skills/do-build/SKILL.md
Use when: 'implement and review', 'just ship it'.
npx skillsauth add kenoxa/spine do-buildInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Automated build-review-polish loop composing run-* phase skills: scope → run-implement → run-review ↔ run-implement (fix) → run-polish → finalize.
Requires do-design recommendation or clear task with approved direction.
Classify at entry. Controls review fanout. Default standard.
| Level | Heuristic | Review behavior |
|-------|-----------|----------------|
| focused | Single partition, 1-3 files | Inline review (no subagent batch) |
| standard | Default | Full run-review dispatch |
| Phase | Mechanism | Reference |
|-------|-----------|-----------|
| Scope | mainthread | — |
| Implement | invoke /run-implement | — |
| Review | invoke /run-review | — |
| Review gate | mainthread | build-review-gate.md |
| Polish | invoke /run-polish | — |
| Finalize | mainthread | build-finalize.md |
Main thread. Read plan or consult recommendation, classify depth, partition work. Output scope_artifact: target_files, partitions, input_source, input_excerpt, risk_level, blocking_questions (must be empty). Ask user when blocking questions non-empty.
Doc-awareness: when the task changes user-visible behavior, APIs, or configuration, include affected doc files (README, CHANGELOG, docs/) in target_files. Keep doc files in the same partition as owning code. Compose with use-writing skill.
Risk classification (advisory — user may override):
low — config changes, single-module edits, no trust boundariesmedium — multi-file changes, dependency updates, API surface changeshigh — auth/payment/migration, trust boundary changes, shared middlewareRisk level feeds run-review's risk scaling (security probe at high, testing-depth at medium).
Invoke /run-implement with scope_artifact. Returns implement_artifact with files_modified.
Invoke /run-review scoped to files_modified at scope_artifact.risk_level. Returns findings artifact.
Review gate: Load build-review-gate.md. Read run-review output. Verdict: ITERATE or ACCEPT.
/run-implement with fix_context (blocking findings) → re-invoke /run-review → re-gate. Cap 5 iterations; freeze on cap.Stuckness advisory — after 2 consecutive review-loop iterations where the same error signature repeats (same file + same finding category), surface an advisory to the user. Fires once per build session; informational only — does not auto-dispatch or modify caps.
Suggest agents based on failure pattern:
@consultant for approach reset@envoy for cross-provider second opinion@navigator for upstream researchInvoke /run-polish scoped to files_modified. Repeat until no E2+ actions remain. Cap 3 iterations.
Main thread. Load build-finalize.md unconditionally. Sole completion authority.
tools
Use when: 'create a worktree', 'git worktree', 'parallel branch'.
tools
Use when: 'session state', 'resume work', 'worktree session'.
development
Use when: 'goal prompt'.
testing
Thinking-lens stress-test on a recommendation.