Skip to content
Back to skills

Brainstorm

ASecurity

Explore the codebase, ideate with the user until satisfied, then produce a roadmap and a /make-plan prompt. Args: [optional idea or feature description]. Use when the user asks to brainstorm an idea, explore feasibility, or mentions /brainstorm.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 28, 2026
ai-agentsgogitapi

Works with

  • claude code
  • cursor
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 6, 2026

npx -y skills add nigelng/nng-kit --skill brainstorm --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Brainstorm?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Brainstorm
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nigelng-brainstorm/badge)](https://www.skillsdirectory.com/skills/nigelng-brainstorm)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: brainstorm
description: >-
  Explore the codebase, ideate with the user until satisfied, then produce a
  roadmap and a /make-plan prompt. Args: [optional idea or feature description].
  Use when the user asks to brainstorm an idea, explore feasibility, or mentions
  /brainstorm.
disable-model-invocation: true
---

# brainstorm

Brainstorm an idea with the user: explore the codebase for feasibility, iterate on the concept until the user is satisfied, then produce a high-level roadmap and a ready-to-use `/make-plan` prompt.

> **Under /conduct:** Step 7 and the "never invoke /make-plan" constraint are replaced by the conductor; see [../conduct/stage-overrides.md](../conduct/stage-overrides.md#brainstorm). Standalone behaviour is unchanged.

This skill is read-only except for persisting its own output. It does not edit code or commit. It produces a prompt that the user can paste into `/make-plan` to turn the agreed idea into an implementation plan.

## Session model (top-tier)

Warn once and recommend switching if the session is below the host's **top-plan** pin (`tiers.sh resolve <host> top-plan`); if the session model is unlisted, say so in one line, continue (see [model-tiers.md](model-tiers.md)).

## Step 1 — Gather the idea

If arguments were provided (slash-command or message args), use them as the initial idea and continue to **When NOT to brainstorm** — do **not** skip Step 1.5 or jump to Step 2.

If no arguments were given, use the question tool (`AskQuestion`/`AskUserQuestion`/`ask_user_question`) when available; otherwise ask conversationally:
- **What idea do you want to brainstorm?** (free-text via "Other" is expected — offer 2-4 example options inferred from the project's recent commits, open files, or TODOs, plus "Other" for custom input)

Use the response as the initial idea, then continue to **When NOT to brainstorm**.

## When NOT to brainstorm

Right after the idea is known (args or Step 1 answer), check whether brainstorm is the right tool. Present this once.

- **Scope clear, one approach, ready for steps** → prefer `/make-plan` (durable `docs/plans/**` + execute/critique chain). Recommended when the user already knows what to build.
- **Same, but no fleet handoff needed** → Grok Build plan mode or Claude Code `/plan` (product-owned under `~/.cursor/plans` / `~/.claude/plans`). Recommended when `docs/plans/**` is not required.
- **Open-ended: multiple approaches, feasibility unknown, need Goal brief + roadmap** → continue `/brainstorm`. Recommended when ideation is still needed.

If the user picks a plan path, stop and hand them a one-line prompt they can paste; do **not** run Steps 1.5–7.

## Step 1.5 — Establish the Goal brief

Before exploring the codebase, establish a short **Goal brief** — the fixed reference point that `/make-plan` and `/execute-plan` will build on rather than re-derive. Adaptive, interview-first for gaps only (do not scout the codebase first).

The four facets:
- **Goal** — one sentence: what does "done" look like?
- **Why now** — the motivation or trigger
- **Non-goals** — what this idea explicitly will NOT do, so scope doesn't silently creep
- **Hard constraints** — anything that must not change (APIs, data shape, deadlines, compatibility)

Process:

1. **Extract** Goal / why-now / non-goals / hard constraints from args + the user message when already stated.
2. **Ask only gaps** — batch up to 4 independent facet questions per the question tool (or conversational ask): 2–4 options plus "Other" per facet in the call.
3. **Compress** when the idea is tiny or args already encode the brief: confirm a drafted 4-line brief in one turn instead of four interviews.
4. **Floor**: if any of the four lines is still empty after extraction, ask until filled. Never proceed to exploration with a blank brief. Never silently skip this step because args existed in Step 1.
5. Carry the brief verbatim into Step 6 (`/make-plan` handoff) and Step 6.5 (persisted brainstorm) so the plan starts from the same Goal, not a re-interpreted one.

Keep the brief to four short lines, not a discussion.

## Step 2 — Explore the codebase for feasibility

Use `Read`, `Grep`, and `Glob` **in parallel** to:
- Find files, modules, and patterns relevant to the idea
- Trace dependencies and consumers that the idea would touch
- Identify existing abstractions the idea should build on or replace
- Check for prior art: TODOs, issues, disabled code, or half-finished attempts at the same idea
- Assess feasibility: does the codebase have the primitives needed? What's missing?

Run `git log --oneline -20` and `git status` to understand recent direction and current state.

Do not over-explore. Focus on what's needed to assess feasibility and ground the ideation. If the idea is small, a few targeted searches suffice.

## Step 3 — Present feasibility assessment

Present a concise feasibility read before ideating. Structure it as:

### What we can build on
- Existing modules, patterns, or primitives the idea leverages

### What's missing
- Dependencies, abstractions, or infrastructure that don't exist yet

### Feasibility verdict
One of: **Straightforward** (codebase supports it), **Moderate** (needs new abstractions but no architectural shift), **Hard** (requires architectural changes or new dependencies), **Not feasible** (explain why — wrong layer, conflicts with existing design, external constraint).

If the idea is not feasible, say so directly and explain what would need to change to make it feasible.

## Step 4 — Ideate iteratively

This is the core loop. Present a concrete proposal for the idea, grounded in what you found in Step 2. Then use the question tool when available (otherwise ask conversationally) to let the user steer:

- **Direction** — offer 2-4 concrete approaches to the idea, each with trade-offs.
- **Scope** — what to include vs. defer (e.g. minimal viable vs. full vision).
- **Open questions** — anything the codebase exploration couldn't resolve (e.g. "should this be a new module or extend the existing one?")

Rules for the ideation loop:
- Iterate until the user explicitly signals done (e.g. "looks good", "ship it", "make the plan", "good enough"). Never exit the loop on your own.
- If the user rejects an approach, ask why before proposing the next one. Don't just cycle through options blindly.
- If the user proposes something the codebase can't support, say so and explain the constraint.

## Step 5 — Produce the roadmap

Once the user is satisfied with the idea, produce a high-level roadmap. Structure:

### Strategy
1-2 sentences: the core approach and why it's the right one for this codebase.

### Decisions
Step 4 choices: option picked + one-line reason each.

### Architecture
- How the idea fits into the existing codebase structure
- New modules/files to create (with paths grounded in codebase exploration)
- Existing modules/files to modify
- Key abstractions or interfaces introduced

### Roadmap
Phased delivery, ordered so each phase is independently useful:

1. **Phase 1 — <name>**: <what it delivers, why it's first>. Files: `<paths>`.
2. **Phase 2 — <name>**: <what it delivers, what it depends on from Phase 1>. Files: `<paths>`.
3. ...

### What we can do (realistic)
- Capabilities the codebase and current approach support

### What we can't do (not realistic)
- Capabilities that are out of reach with this approach, and why
- What would need to change to make them possible (if ever)

### What we're explicitly deferring
- Things that are feasible but deliberately postponed, with the reason

Be explicit about all three lists. Do not blur the line between "can't" and "deferring" — they're different commitments.

## Step 6 — Produce the /make-plan prompt

Produce a single prompt that the user can paste into `/make-plan` to turn the agreed idea into a concrete implementation plan. The prompt must:

- Start with a one-sentence task description (what to build)
- Include the **Goal** from the Step 1.5 Goal brief, verbatim
- Include the scope decisions from Step 4 (what's in, what's out)
- Reference the Phase 1 deliverable from Step 5 as the immediate target (make-plan handles one phase at a time, not the whole roadmap)
- Include any constraints or must-not-touch areas agreed during ideation (fold in the Goal brief's non-goals and hard constraints)
- Include the persisted brainstorm path as `Brainstorm: docs/brainstorms/<file>.md` so `/make-plan` can load strategy/architecture/phases instead of re-deriving from a lossy one-liner
- Be self-contained — the `/make-plan` skill should not need to re-run the brainstorm

Format the prompt in a fenced code block so the user can copy-paste it cleanly:

```
/make-plan <task description>. Goal: <one-sentence Goal from the Step 1.5 brief>. Scope: <in/out>. Constraints: <list>. Target Phase 1: <phase name and deliverable>. Brainstorm: docs/brainstorms/<YYYY-MM-DD>-<slug>.md
```

If too long for one line, use a multi-line fenced block to paste after `/make-plan`.

## Step 6.5 — Persist the brainstorm

Run this step **after** Step 6 so the saved file includes the produced `/make-plan` prompt.

Determine the project root with `git rev-parse --show-toplevel` (else the current working directory).

Derive a kebab-case slug from the idea title (lowercase, hyphen-separated; drop common English stopwords). Example: "Add a plugin system" → `add-plugin-system`.

On the **first** completion of Steps 5–6 for this brainstorm, set the date with `date +%Y-%m-%d` (e.g. `2026-11-08`) and the path to `<project-root>/docs/brainstorms/<YYYY-MM-DD>-<slug>.md`. If that path already exists, append `-2`, `-3`, and so on before `.md` until unused. Write a YAML frontmatter block at the top containing only `created_at: <ISO-8601Z>` (set once with `date -u +%Y-%m-%dT%H:%M:%SZ`). On **Refine** (Step 7 → back to Step 4), **overwrite that same path** and **preserve** the existing `created_at` — do not create a new dated file.

Create `docs/brainstorms/` at the project root if missing, then write the brainstorm to the path above. `docs/brainstorms/` is usually gitignored: the file exists only in this checkout/worktree.

The file must contain: frontmatter with `created_at`, the Step 1.5 Goal brief, the Step 3 feasibility assessment, the Step 5 roadmap (strategy, architecture, phases, can/can't/deferring lists), **Decisions** (required; update on Refine, never drop), and the Step 6 make-plan prompt (verbatim).

## Step 7 — Offer next steps

After presenting the roadmap and prompt, run Step 6.5, then confirm the brainstorm was saved to `docs/brainstorms/`. Tell the user to run `/make-plan` in this checkout, or copy the file into the other checkout first. Offer the user these options:
- **Refine the idea** — go back to Step 4 and iterate further (Step 6.5 overwrites the same persisted path)
- **Run /make-plan now** — the user pastes the prompt from Step 6 to produce the implementation plan
- Mention the recommended chain after planning: `/make-plan` → `/critique plan` → `/execute-plan`

Wait for the user's choice.

## Constraints

- Never edit code or commit — only write `docs/brainstorms/**`. Never invoke `/make-plan` (prompt only).
- Be honest about feasibility; do not soft-pedal Hard / Not feasible. Ask rather than guess when still ambiguous.
- Every option set needs a recommendation with rationale. Ground proposals in specific codebase files/patterns.
- Roadmap stays high-level; step-by-step implementation belongs in `/make-plan`.

Files in this skill

  • SKILL.md11.3 KB
  • model-tiers.md6.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.