skills/run-discuss/SKILL.md
Use when: 'clarify', 'what exactly', 'narrow this down'.
npx skillsauth add kenoxa/spine run-discussInstall 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.
Propose-and-refine interview producing discuss_artifact. Standalone or composed by workflow orchestrators (frame and design phases).
Accepts optional scope (frame|design), goal, and codebase_signals from parent skill. Standalone: infer scope from context, default frame.
Read lens reference matching scope at session start: frame → discuss-lens-frame.md, design → discuss-lens-design.md.
Read discuss-protocol.md at session start.
| # | Phase | Type |
|---|-------|------|
| 1 | Seed | mainthread |
| 2 | Propose | mainthread (interactive) |
| 3 | Probe | G — dispatch @scout (breadth) or @researcher (depth) on demand |
| 4 | Declare | mainthread |
Initialize known/unknown from codebase_signals and goal. Classify unknowns by type: scope, parameter, constraint.
Challenge initial framing: if user presents a diagnosis or solution as the problem ("the cache is broken", "we need to refactor X"), treat it as a hypothesis — add to unknown with type: scope, not known. Probe the underlying symptom before building on the assumption.
For each blocking unknown: propose interpretation, ask user to confirm/redirect/reject. Batch 2-3 per exchange. Never ask blank questions — every question includes a proposed answer.
Preemptive probe gate. Before posing any question to the user, ask: can the answer be derived from the source artifact, codebase Read/Grep, or a @scout/@researcher dispatch? If yes, dispatch Phase 3 Probe FIRST and present the derived answer. Only escalate to the user when the answer genuinely requires their judgment, domain knowledge, or a preference between materially different deliverables.
Calibrated depth: simple (2-3 questions), complex (5-8).
Two trigger paths:
Dispatch @scout (breadth) or @researcher (depth). Skip user turn. Zero-dispatch when no codebase question is open — log with justification.
Convergence: no blocking unknowns remain. Before emitting artifact: verify Phase Trace has 4 rows (Seed, Propose, Probe, Declare).
Emit discuss_artifact with known table, open items (informational only), confidence.
Stall: 3 exchanges with no state change → surface gaps, suggest next step.
Write discuss_artifact to .scratch/<session>/discuss-artifact.md. Schema in references/discuss-protocol.md.
testing
Use when: 'clawpatch', 'clawpatch campaign', 'clawpatch review fix revalidate'.
tools
Use when: 'create a worktree', 'git worktree', 'parallel branch'.
tools
Use when: 'session state', 'resume work', 'worktree session'.
development
Use when: 'goal prompt', 'frame this', 'scope this', 'design', 'plan the approach', 'implement and review', 'just ship it', 'fix this', 'add this'.