feat(skills): add spec-brainstorm — a question-driven on-ramp to csdd spec#35
Merged
Conversation
… spec Add a new shipped skill, spec-brainstorm, that adapts the superpowers brainstorming technique to csdd. It explores context, runs a scope/decomposition check, asks a batched multiple-choice question set (problem, user, success, constraints, error cases, non-goals, integrations), proposes 2-3 approaches, then generates requirements.md FROM THE RECORDED ANSWERS and hands into csdd's existing phase gates — replacing the failure mode where an agent invents requirements from a one-line idea. It carries the project's enforcement layer (Iron Law: requirements from recorded answers, never assumptions; no artifact before an approach is chosen; no auto-approve) and the required skill sections. Shipping needs no Go registration — the templater discovers skills by directory walk over //go:embed all:templates — so this adds only the template plus a regression guard in TestShippedWorkflowSkillsValidate. Spec: spec-brainstorm-skill (tasks 1-6) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new shipped skill,
spec-brainstorm, that adapts thesuperpowersbrainstorming technique to csdd. It closes a real gap: today an agent jumps from a one-line idea straight to fillingrequirements.mdfrom its own assumptions. The skill instead:requirements.mdfrom the recorded answers (EARS; gaps marked[ASSUMPTION]), runscsdd spec validate.It carries the project's enforcement layer — Iron Law: requirements from recorded answers, never assumptions; no artifact before an approach is chosen — plus a Rationalizations table and Red-Flags self-check.
Design choices
discovery-*skills (PRD/vision).What changed (committable)
internal/templater/templates/skills/spec-brainstorm/SKILL.md.tmpl— the new shipped skill (the layer-3 copy is gitignored, kept byte-identical).internal/cli/cli_test.go— a regression guard inTestShippedWorkflowSkillsValidate(+ a docstring touch).No Go product logic changed: the templater discovers shipped skills by directory walk over
//go:embed all:templates, so the skill ships by adding the template alone — proven by the guard (a freshcsdd initscaffolds it and it validates).Spec
spec-brainstorm-skill(gitignored layer-3, dogfooded locally) — requirements → design → tasks human-approved; tasks 1–6 complete;development_flow: unit.Verification
```
```
Risks
spec-brainstormon the nextcsdd init/update.Note
Independent of #33 (discipline-skill hardening). The guard was added as a separate block to avoid a merge conflict with #33's change to the same test.
🤖 Generated with Claude Code