Project brainstorming

From athola/claude-night-market · View interactive version

Project brainstorming is an AI agent skill from the GitHub repository athola/claude-night-market. Guides project ideation via Socratic questioning to produce a validated brief. Use before specification when requirements are unclear.

How to use this skill

Skill file

When To Use

When NOT To Use

Integration

With superpowers:

first, sizes the work, and runs a builder check on the design

Without superpowers:

War Room Integration (REQUIRED):

Brainstorming Framework

Phase 1: Problem Definition

If the request does not say why the person wants the thing, ask why

first, openly and with no example answers, before any approach. Ask a

question only when its answer changes what gets built and nothing in

the request or the project already answers it. When a choice has

options you can name, present the options with a recommendation rather

than a bare "which one?".

Socratic Questions:

  1. What problem are you solving?
  2. Who experiences this problem?
  3. What makes this problem worth solving now?
  4. What happens if this problem isn't solved?
  5. What existing solutions have been tried?
  6. Who reads what this project produces, and what do they

already know? Name a role specific enough to point at

someone who holds it.

Question 6 sets the audience tier that every document this

project generates inherits: newcomer, practitioner, expert,

or a one-line persona. Ask it here rather than at drafting

time, where the answer gets guessed to keep the draft moving.

Tier table and follow-up questions: scribe:slop-detector module

audience-targeting.md.

Output: Problem statement in docs/project-brief.md

Template:

## Problem Statement

**Who**: [Target users/stakeholders]
**What**: [The problem they face]
**Where**: [Context where problem occurs]
**When**: [Frequency/timing of problem]
**Why**: [Impact of the problem]
**Current State**: [Existing solutions and limitations]
**Doc audience**: [newcomer | practitioner | expert | persona: <one line>]

Verification: Run the command with --help flag to verify availability.

Phase 2: Constraint Discovery

Questions:

  1. What are non-negotiable technical constraints?
  2. What are resource constraints (time, budget, team)?
  3. What integration points are required?
  4. What compliance/regulatory requirements apply?
  5. What are success criteria and failure modes?

Output: Constraints matrix

Template:

## Constraints

### Technical
- [Constraint 1 with rationale]
- [Constraint 2 with rationale]

### Resources
- **Timeline**: [Duration with milestones]
- **Team**: [Size and skills]
- **Budget**: [If applicable]

### Integration
- [Required system 1]
- [Required system 2]

### Compliance
- [Requirement 1]
- [Requirement 2]

### Success Criteria
- [ ] [Measurable criterion 1]
- [ ] [Measurable criterion 2]

Verification: Run the command with --help flag to verify availability.

Phase 3: Approach Generation

Technique: Generate 3-5 distinct approaches

For each approach:

Template:

## Approach [N]: [Name]

**Description**: [Clear 1-2 sentence description]

**Stack**: [Technologies and tools]

**Pros**:
- [Advantage 1]
- [Advantage 2]
- [Advantage 3]

**Cons**:
- [Disadvantage 1]
- [Disadvantage 2]
- [Disadvantage 3]

**Risks**:
- [Risk 1 with likelihood]
- [Risk 2 with likelihood]

**Effort**: [S/M/L/XL or time estimate]

**Trade-offs**:
- [Trade-off 1 with mitigation]
- [Trade-off 2 with mitigation]

Verification: Run the command with --help flag to verify availability.

Design for Isolation:

When generating approaches, evaluate each against two

isolation tests:

  1. Comprehension test: Can someone understand what

each unit does without reading its internals? If a

unit requires reading implementation details to

understand its purpose, the boundary is wrong.

  1. Change test: Can you change a unit's internals

without breaking its consumers? If changing

implementation details forces changes elsewhere,

the interface is leaking.

File size as design signal: Files exceeding 500 lines

(Python/Go) or 300 lines (JavaScript/TypeScript) often

indicate a unit is doing too much. This is a design

smell. When flagging large files,

suggest extracting specific concerns (e.g., "Extract

validation logic into a separate module to improve

testability").

Verification: Run the command with --help flag to verify availability.

Phase 3.5: War Room Deliberation (REQUIRED)

Automatic Trigger: After generating approaches, MUST invoke Skill(attune:war-room) for expert deliberation

When War Room is invoked:

Command:

# Automatically invoked from brainstorm - DO NOT SKIP
/attune:war-room --from-brainstorm

War Room Output:

Bypass Conditions (ONLY skip war room if ALL true):

Proceed to Phase 4 only after War Room completes

Phase 4: Approach Comparison

Comparison Matrix:

| Criterion | Approach 1 | Approach 2 | Approach 3 | Approach 4 |

|-----------|------------|------------|------------|------------|

| Technical Fit | 🟢 High | 🟡 Medium | 🟡 Medium | 🔴 Low |

| Resource Efficiency | 🟡 Medium | 🟢 High | 🔴 Low | 🟡 Medium |

| Time to Value | 🟢 Fast | 🟡 Medium | 🔴 Slow | 🟢 Fast |

| Risk Level | 🟡 Medium | 🟢 Low | 🔴 High | 🟡 Medium |

| Maintainability | 🟢 High | 🟡 Medium | 🟢 High | 🔴 Low |

Scoring: 🟢 = Good, 🟡 = Acceptable, 🔴 = Concern

Phase 5: Decision & Rationale

Selection Criteria:

  1. Alignment with constraints (must satisfy all)
  2. Risk vs. reward balance
  3. Team capability and experience
  4. Time to value
  5. Long-term maintainability

Template:

## Selected Approach: [Approach Name] ⭐

### Rationale
[2-3 paragraphs explaining why this approach was selected]

Key decision factors:
- [Factor 1]
- [Factor 2]
- [Factor 3]

### Trade-offs Accepted
- **Trade-off 1**: [Description] → Mitigation: [Strategy]
- **Trade-off 2**: [Description] → Mitigation: [Strategy]

### Rejected Approaches
- **Approach X**: Rejected because [reason]
- **Approach Y**: Rejected because [reason]

Verification: Run the command with --help flag to verify availability.

Phase 5.5: Record the Tradeoff (decision journal)

Persist the Phase 5 selection to docs/tradeoffs.md now, while the reasoning

is live. This is the entry that survives past the session: the decision, the

alternatives weighed, and what was given up. Draft and confirm:

it to append a tradeoff entry. The Phase 5 fields map directly: Selected

Approach to decision, the rationale to a Y-statement, Trade-offs Accepted

to consequences_negative, and Rejected Approaches to options. Set

phase to brainstorm. Show the drafted entry and append it on user

confirmation (status starts proposed).

using the in-file ENTRY TEMPLATE. Assign the next TR-NNN id and add an

active-index row.

Skip only when there was genuinely one obvious approach with no meaningful

trade-off (the same condition that bypasses War Room).

Output: Project Brief

Final output saved to docs/project-brief.md:

# [Project Name] - Project Brief

**Date**: [YYYY-MM-DD]
**Author**: [Name]
**Status**: Draft | Approved

## Problem Statement
[From Phase 1]

## Goals
1. [Primary goal]
2. [Secondary goal]
3. [Tertiary goal]

## Out of Scope
[From the Won't Have list: things that could reasonably be goals and
were chosen not to be, each with its reason. Not negated goals]

## Constraints
[From Phase 2]

## Approach Comparison
[From Phase 3 & 4]

## War Room Decision
[From Phase 3.5 - includes RS assessment, Red Team challenges, premortem]

## Selected Approach
[From Phase 5, informed by War Room synthesis]

## Next Steps
1. `/attune:specify` - Create detailed specification
2. `/attune:blueprint` - Plan architecture and tasks
3. `/attune:project-init` - Initialize project structure

Verification: Run the command with --help flag to verify availability.

Questioning Patterns

Socratic Method

Clarification:

Probing Assumptions:

Probing Reasoning:

Questioning Viewpoints:

Probing Implications:

Constraint-Based Thinking

Must Have (Non-negotiable):

Should Have (Important):

Could Have (Nice to have):

Won't Have (Explicit exclusions):

Red Flags to Surface

During brainstorming, watch for:

Session State Management

Save session to .attune/brainstorm-session.json:

{
  "session_id": "20260102-143022",
  "started_at": "2026-01-02T14:30:22Z",
  "current_phase": "approach-selection",
  "problem": {
    "statement": "...",
    "stakeholders": ["..."]
  },
  "constraints": {
    "technical": ["..."],
    "resources": {"timeline": "...", "team": "..."}
  },
  "approaches": [
    {
      "name": "...",
      "pros": ["..."],
      "cons": ["..."]
    }
  ],
  "selected_approach": null,
  "decisions": {}
}

Verification: Run the command with --help flag to verify availability.

Phase 6: Workflow Continuation (REQUIRED)

Automatic Trigger: After Phase 5 (Decision & Rationale) completes and docs/project-brief.md is saved, MUST auto-invoke the next phase.

When continuation is invoked:

  1. Verify docs/project-brief.md exists and is non-empty
  2. Display checkpoint message to user:

```

Brainstorming complete. Project brief saved to docs/project-brief.md.

Proceeding to specification phase...

```

  1. Invoke next phase:

```

Skill(attune:project-specification)

```

Bypass Conditions (ONLY skip continuation if ANY true):

Do NOT prompt the user for confirmation: this is a lightweight checkpoint that continues without waiting. The user can always interrupt if needed.

Phase 6.5: Spec Review Gate

Automatic Trigger: After Phase 6 saves the project

brief, and before invoking the next phase, run the spec

review loop.

Procedure:

  1. Load modules/spec-review-loop.md for the review

prompt template

  1. Dispatch haiku-model subagent with the spec content
  2. If ISSUES FOUND: fix issues, re-dispatch (max 3

iterations)

  1. If APPROVED or 3 iterations exhausted: sort the last

review's builder questions as the module describes,

bring the human the ones only they can answer in one

message, then proceed to Phase 6 continuation

Bypass Conditions:

Exit Criteria

and rejected alternatives.

(or the single-obvious-approach bypass condition is documented).

Statement, Goals and Out of Scope filled from the session's answers.

Related Skills

Related Commands

Examples

See /attune:brainstorm command documentation for complete examples.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.