Brainstorm
Evaluate the current codebase and generate actionable suggestions that the user can take into /feature-interview for human/agent alignment, planning-destination triage, and follow-up specification or roadmap work.
Process
0. App Scope Resolution (Monorepo Support)
Before checking prerequisites, determine the app scope:
- If
$ARGUMENTS specifies an app name matching a subdirectory of research/, use it.
- If
research/ contains subdirectories (excluding files), list them and ask the user which app to target. If only one subdirectory exists, use it automatically.
- If no subdirectories exist, proceed with flat structure (single-product mode).
When app scope {app} is active:
- Read/write research from
research/{app}/ instead of research/
- Read/write specs from
specs/{app}/ instead of specs/
- Also read
research/icp.md (cross-app overview) for broader context
Understand the project: Read CLAUDE.md, README, package config, and key source files to understand what the project does, its architecture, tech stack, and current state.
Check existing plans and research: Read tasks/roadmap.md, tasks/todo.md, tasks/manual-todo.md, tasks/record-todo.md, tasks/recurring-todo.md (when they exist), and specs from specs/ (or spec.md) if they exist to understand work already planned, in progress, or deferred as advisory records — avoid suggesting things already covered. Read research/competitive-analysis.md (or research/{app}/competitive-analysis.md) if it exists — competitor gaps, market white space, and positioning weaknesses are high-signal inputs for ideation. Read research/customer-feedback.md (or research/{app}/customer-feedback.md) if it exists — "Wrong" and "New" findings are highest-signal ideation input (real user feedback that contradicts assumptions or reveals unmet needs). Read research/metrics.md (or research/{app}/metrics.md) if it exists — instrumentation gaps can generate ideas for tooling or observability improvements.
Analyse the codebase across these dimensions:
Strategic / Product
- New features: Capabilities that would make the project significantly more useful or valuable to its users — think beyond what exists today
- New workflows: End-to-end flows or automation that the project could enable but doesn't yet
- Product line expansion: If the project's core could serve adjacent use cases, new audiences, or spin off complementary products — suggest them
- Integration opportunities: External tools, services, platforms, or APIs that would multiply the project's value
Improvement
- Missing capabilities: Features the project's architecture is set up for but doesn't yet offer
- Pain points: Rough edges, inconsistencies, or manual steps that could be automated
- Performance opportunities: Obvious bottlenecks or low-hanging optimisations
- Developer experience: Build times, debugging ergonomics, onboarding friction
Hygiene
- Technical debt: Areas where the code has outgrown its original design
- Testing gaps: Untested critical paths or missing test infrastructure
- Security hardening: Areas where security posture could be improved
Market Fit (only when research/icp.md (or research/{app}/icp.md), research/mvp-gap.md (or research/{app}/mvp-gap.md), or research/competitive-analysis.md (or research/{app}/competitive-analysis.md) exist)
- ICP alignment: Features that directly address ICP pain points but are missing or incomplete
- Journey gaps: Steps in the user or customer journey where the product loses them
- Unaddressed MVP gaps: Gaps from
research/mvp-gap.md (or research/{app}/mvp-gap.md) not yet tracked in roadmap or todo
- Competitive white space: Features or capabilities that no competitor offers well — opportunities from
research/competitive-analysis.md (or research/{app}/competitive-analysis.md) market gaps
- Competitor leapfrog: Specific competitor weaknesses you could exploit, or table-stakes features competitors have that you lack
- Positioning plays: Ideas that would sharpen differentiation against the competitive landscape
Scope: If $ARGUMENTS is provided, focus the analysis on that area. Otherwise, cover all dimensions.
Output
Append the suggestions to tasks/ideas.md (do not overwrite existing content). Also display them to the user. When app scope is active, prefix each suggestion with the app name.
Present suggestions grouped by effort level, with each suggestion framed as a topic ready to hand to /feature-interview:
Quick wins (hours)
- Suggestion title — One-line description of what and why. Start with:
/feature-interview <topic>
Medium efforts (days)
- Suggestion title — One-line description of what and why. Start with:
/feature-interview <topic>
Larger initiatives (weeks)
- Suggestion title — One-line description of what and why. Start with:
/feature-interview <topic>
Constraints
- Each suggestion must be specific and actionable — not vague aspirations like "improve testing."
- Include the concrete signal from the codebase that motivates each suggestion (file, pattern, or metric).
- Provide the
/feature-interview <topic> prompt the user can copy-paste to kick off planning.
- Limit to 3–5 suggestions per effort level to avoid overwhelming the user.
- Do not suggest changes that conflict with patterns established in CLAUDE.md.
- Do not repeat work already tracked in
tasks/roadmap.md, tasks/todo.md, tasks/manual-todo.md, tasks/record-todo.md, tasks/recurring-todo.md, or specs/ (or specs/{app}/).
Alignment Page
When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following ALIGNMENT-PAGE.md in this skill's directory. Output: alignment/brainstorm-{topic}.html.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
1---2name: brainstorm-93description: Evaluate the codebase and suggest ideas to explore with /feature-interview4---5
6# Brainstorm
7
8Evaluate the current codebase and generate actionable suggestions that the user can take into `/feature-interview` for human/agent alignment, planning-destination triage, and follow-up specification or roadmap work.
9
10## Process
11
12### 0. App Scope Resolution (Monorepo Support)
13
14Before checking prerequisites, determine the app scope:
15
161. If `$ARGUMENTS` specifies an app name matching a subdirectory of `research/`, use it.
172. If `research/` contains subdirectories (excluding files), list them and ask the user which app to target. If only one subdirectory exists, use it automatically.
183. If no subdirectories exist, proceed with flat structure (single-product mode).
19
20When app scope `{app}` is active:
21- Read/write research from `research/{app}/` instead of `research/`
22- Read/write specs from `specs/{app}/` instead of `specs/`
23- Also read `research/icp.md` (cross-app overview) for broader context
24
251. **Understand the project**: Read CLAUDE.md, README, package config, and key source files to understand what the project does, its architecture, tech stack, and current state.
262. **Check existing plans and research**: Read `tasks/roadmap.md`, `tasks/todo.md`, `tasks/manual-todo.md`, `tasks/record-todo.md`, `tasks/recurring-todo.md` (when they exist), and specs from `specs/` (or `spec.md`) if they exist to understand work already planned, in progress, or deferred as advisory records — avoid suggesting things already covered. Read `research/competitive-analysis.md` (or `research/{app}/competitive-analysis.md`) if it exists — competitor gaps, market white space, and positioning weaknesses are high-signal inputs for ideation. Read `research/customer-feedback.md` (or `research/{app}/customer-feedback.md`) if it exists — "Wrong" and "New" findings are highest-signal ideation input (real user feedback that contradicts assumptions or reveals unmet needs). Read `research/metrics.md` (or `research/{app}/metrics.md`) if it exists — instrumentation gaps can generate ideas for tooling or observability improvements.
273. **Analyse the codebase** across these dimensions:
28
29 **Strategic / Product**
30 - **New features**: Capabilities that would make the project significantly more useful or valuable to its users — think beyond what exists today
31 - **New workflows**: End-to-end flows or automation that the project could enable but doesn't yet
32 - **Product line expansion**: If the project's core could serve adjacent use cases, new audiences, or spin off complementary products — suggest them
33 - **Integration opportunities**: External tools, services, platforms, or APIs that would multiply the project's value
34
35 **Improvement**
36 - **Missing capabilities**: Features the project's architecture is set up for but doesn't yet offer
37 - **Pain points**: Rough edges, inconsistencies, or manual steps that could be automated
38 - **Performance opportunities**: Obvious bottlenecks or low-hanging optimisations
39 - **Developer experience**: Build times, debugging ergonomics, onboarding friction
40
41 **Hygiene**
42 - **Technical debt**: Areas where the code has outgrown its original design
43 - **Testing gaps**: Untested critical paths or missing test infrastructure
44 - **Security hardening**: Areas where security posture could be improved
45
46 **Market Fit** (only when `research/icp.md` (or `research/{app}/icp.md`), `research/mvp-gap.md` (or `research/{app}/mvp-gap.md`), or `research/competitive-analysis.md` (or `research/{app}/competitive-analysis.md`) exist)
47 - **ICP alignment**: Features that directly address ICP pain points but are missing or incomplete
48 - **Journey gaps**: Steps in the user or customer journey where the product loses them
49 - **Unaddressed MVP gaps**: Gaps from `research/mvp-gap.md` (or `research/{app}/mvp-gap.md`) not yet tracked in roadmap or todo
50 - **Competitive white space**: Features or capabilities that no competitor offers well — opportunities from `research/competitive-analysis.md` (or `research/{app}/competitive-analysis.md`) market gaps
51 - **Competitor leapfrog**: Specific competitor weaknesses you could exploit, or table-stakes features competitors have that you lack
52 - **Positioning plays**: Ideas that would sharpen differentiation against the competitive landscape
534. **Scope**: If `$ARGUMENTS` is provided, focus the analysis on that area. Otherwise, cover all dimensions.
54
55## Output
56
57Append the suggestions to `tasks/ideas.md` (do not overwrite existing content). Also display them to the user. When app scope is active, prefix each suggestion with the app name.
58
59Present suggestions grouped by effort level, with each suggestion framed as a topic ready to hand to `/feature-interview`:
60
61### Quick wins (hours)
62- **Suggestion title** — One-line description of what and why. _Start with:_ `/feature-interview <topic>`
63
64### Medium efforts (days)
65- **Suggestion title** — One-line description of what and why. _Start with:_ `/feature-interview <topic>`
66
67### Larger initiatives (weeks)
68- **Suggestion title** — One-line description of what and why. _Start with:_ `/feature-interview <topic>`
69
70## Constraints
71- Each suggestion must be specific and actionable — not vague aspirations like "improve testing."
72- Include the concrete signal from the codebase that motivates each suggestion (file, pattern, or metric).
73- Provide the `/feature-interview <topic>` prompt the user can copy-paste to kick off planning.
74- Limit to 3–5 suggestions per effort level to avoid overwhelming the user.
75- Do not suggest changes that conflict with patterns established in CLAUDE.md.
76- Do not repeat work already tracked in `tasks/roadmap.md`, `tasks/todo.md`, `tasks/manual-todo.md`, `tasks/record-todo.md`, `tasks/recurring-todo.md`, or `specs/` (or `specs/{app}/`).
77
78## Alignment Page
79
80When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following `ALIGNMENT-PAGE.md` in this skill's directory. Output: `alignment/brainstorm-{topic}.html`.
81
82## Default Shipping Contract
83
84Follow the shared shipping contract convention in CLAUDE.md.