bug-fix
Bug-fixing workflow that coordinates diagnosis, test-driven reproduction, root-cause analysis, and targeted fixes. Use when the…
Good-faith divergent brainstorming for achieving a goal. Validates assumptions, then spawns brainstormers running different techniques (first-principles, working-backwards, lateral, analogical, constraints-shift, etc.) in isolation, and synthesizes the pool into a report of
Claude Code
$ npx -y skills add chrisallenlane/claude-swe-workflows --skill think-brainstorm --agent claude-code
Codex
$ npx skills add chrisallenlane/claude-swe-workflows --skill think-brainstorm -a codex -y
Cursor
$ npx skills add chrisallenlane/claude-swe-workflows --skill think-brainstorm -a cursor -y
Gemini CLI
$ npx skills add chrisallenlane/claude-swe-workflows --skill think-brainstorm -a gemini-cli -y
GitHub Copilot
$ npx skills add chrisallenlane/claude-swe-workflows --skill think-brainstorm -a github-copilot -y
OpenCode
$ npx skills add chrisallenlane/claude-swe-workflows --skill think-brainstorm -a opencode -y
Windsurf
$ npx skills add chrisallenlane/claude-swe-workflows --skill think-brainstorm -a windsurf -y
name: think-brainstorm description: Good-faith divergent brainstorming for achieving a goal. Validates assumptions, then spawns brainstormers running different techniques (first-principles, working-backwards, lateral, analogical, constraints-shift, etc.) in isolation, and synthesizes the pool into a report of standouts, reasonable ideas, and hybrid combinations. Produces feedback only — no code, no tickets, no artifacts. model: opus
Generates candidate approaches for achieving a goal. Uses parallel brainstormers each applying a different technique in isolation (to avoid anchoring), then synthesizes the pool into a catalog of ideas. The skill is purely *generative* — evaluation, choice, and critique belong to `/think-deliberate` and `/think-scrutinize`.
**This skill produces no tangible artifacts.** It is a consultant, not an implementer. No code, no tickets, no commits. The output is a structured catalog of ideas the user can pick from.
**Judge (you, running this skill):**
**Brainstormers:** Each receives a specific technique (first-principles, working-backwards, lateral, analogical, constraints-shift, worst-possible-idea, six-hats-green, SCAMPER) and generates ideas within that mode, in isolation from other brainstormers.
The goal may arrive as:
**Produce a written brief** of the goal as you understand it. Brainstormers operate on this brief. Ambiguity here corrupts everything downstream.
**This is a dedicated phase, not opportunistic.** Before any generation, extract the assumptions the goal depends on — both stated and unstated — and validate them with the user.
**Look for:**
**Present findings to the user.** For each assumption, ask: is this correct, negotiable, or wrong? Update the goal brief based on responses.
**Sometimes this phase alone dissolves or reframes the problem.** That's a valuable outcome — better to stop here than brainstorm solutions to the wrong problem. If the user wants to proceed anyway, proceed with the refined brief.
Select 3-6 techniques from the palette based on the goal's shape. The orchestrator decides autonomously — the user does not pick techniques.
**Available techniques:**
**Selection heuristics:**
**Irrelevant techniques are dropped**, not forced. Better 3 fitted techniques than 7 forced ones.
Spawn one `THK - Brainstormer` agent per chosen technique, in parallel. Each receives:
**No cross-talk between brainstormers.** This is the Nominal Group Technique principle — independent generation first, pooling second. Isolated brainstormers produce more diverse output than coordinated ones (research-backed: open brainstorming anchors on early ideas).
Collect all idea sets.
Combine the isolated idea sets into a coherent catalog:
**5a. Deduplicate** — when multiple techniques produced structurally the same idea, merge them (preserve technique attribution from all contributors — that's signal: multiple angles landed here).
**5b. Cluster** — group related ideas by theme or approach. The clusters are often more interesting than individual ideas.
**5c. Construct hybrids** — look for cross-technique combinations where two ideas together are stronger than either alone. Example: a first-principles rethink combined with an analogical example that shows how it's been done elsewhere. Flag hybrids as constructed (the orchestrator's contribution, not any single agent's).
**5d. Surface standouts** — identify the 3-7 most interesting ideas across axes:
**
A system of composable software engineering workflows for Claude Code. Plan projects, implement tickets, and run quality passes — from a single ticket to a multi-batch project, using the same layered architecture.
Bug-fixing workflow that coordinates diagnosis, test-driven reproduction, root-cause analysis, and targeted fixes. Use when the…
Proactive bug-hunting workflow. Assesses codebase risk through complexity, coverage, and structural analysis, then spawns focused…
Multi-ticket batch workflow. Takes a batch of tickets, plans execution order, implements each via /implement in autonomous mode,…
Full-lifecycle project workflow. Takes batched tickets, implements via /implement-batch, runs smoke tests, then executes a…
Iterative development workflow that coordinates implementation, refactoring, QA, and documentation agents to complete features…
Autonomous bug-elimination loop. Iteratively invokes /bug-hunt and /implement-batch until findings converge below an…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.