| name | deep-brainstorm |
| description | This skill should be used at Phase 0 of a deep-work session to explore the problem space before implementation โ defining goals, success criteria, boundaries, and comparing 2-3 candidate approaches. Triggered when the /deep-work orchestrator enters brainstorm phase, when /deep-brainstorm is invoked directly, or via cross-platform Skill({ skill: "deep-work:deep-brainstorm", args: "..." }) to ideate on a task without writing code yet. Skippable via --skip-brainstorm. |
| user-invocable | true |
[!IMPORTANT]
Skill body echo ๊ธ์ง
์ด SKILL.md ๋ณธ๋ฌธ์ ์ฌ์ฉ์์๊ฒ echoํ๊ฑฐ๋ ์์ฝํ์ฌ ์ถ๋ ฅํ์ง ๋ง๋ผ.
- Section 1 (state ๋ก๋, ์๋ฃ-marker ๊ฐ์ง)์ ์กฐ์ฉํ ๋ด๋ถ ์ฒ๋ฆฌ๋ silent ์คํํ๋ค. Pre-checks/์ํ ๋ถ๊ธฐ์ ๋ช
์์ AskUserQuestion์ ํ์ฉ๋ ์์ธ.
- ์ฒซ ์ฌ์ฉ์-๊ฐ์ ์ฃผ ๋์์ Section 2์ First Action: Core ์ง๋ฌธ #1์ด๋ค.
- Section 3 ์๋ฃ ๋ฉ์์ง๋ Section 2์ ์ฃผ ๋จ๊ณ(์ง๋ฌธ, ์ ๊ทผ๋ฒ ๋น๊ต, brainstorm.md ์์ฑ, Review Gate)๋ฅผ ์ค์ ๋ก ์ํํ ๋ค์๋ง ์ถ๋ ฅํ๋ค.
- ๋ณธ ๋ฌธ์์ code block / ์๋ด ํ
ํ๋ฆฟ์ Write tool ์๋ฃ ๋๋ ์๋ ์ง์นจ์ด์ง ์ฌ์ฉ์ ํ๋ฉด ์ถ๋ ฅ์ฉ์ด ์๋๋ค.
Section 1: State ๋ก๋ (ํ์ โ ๊ฑด๋๋ฐ๊ธฐ ๊ธ์ง)
- Session ID ๊ฒฐ์
- $ARGUMENTS์ --session=ID โ ์ฌ์ฉ
- ์์ผ๋ฉด โ .claude/deep-work-sessions.json์์ active session ํ์
- State ํ์ผ ์ฝ๊ธฐ:
.claude/deep-work.{SESSION_ID}.md
- ์กฐ๊ฑด ๋ณ์ ํ์ธ:
- worktree_path โ $ARGUMENTS ์ฐ์ , ์์ผ๋ฉด state์์
- team_mode โ $ARGUMENTS ์ฐ์ , ์์ผ๋ฉด state์์
- cross_model โ $ARGUMENTS ์ฐ์ , ์์ผ๋ฉด state์์
work_dir, task_description ์ถ์ถ โ $WORK_DIR ์ค์
brainstorm_started_at ๊ธฐ๋ก (ISO timestamp)
Skip ์กฐ๊ฑด (defensive fallback)
/deep-work orchestrator ยง3-1์ด skill ํธ์ถ ์ด์ ์ skip ์กฐ๊ฑด(skipped_phases / start_phase)์ ๊ฐ๋ก์ฑ์ด current_phase: research๋ก ์ง์ ์ ํํ๋ฏ๋ก, ์ผ๋ฐ ๊ฒฝ๋ก์์๋ ์ด branch์ ๋๋ฌํ์ง ์๋๋ค. /deep-brainstorm ์ง์ ํธ์ถ๋ก --skip-brainstorm ๋๋ --start-phase=research๊ฐ ์ ๋ฌ๋ ๊ฒฝ์ฐ์ defensive fallback์ด๋ค.
$ARGUMENTS์ ์ ํ๋๊ทธ ํฌํจ ์:
- ์๋ฃ-marker(
brainstorm_completed_at)๋ง ๊ธฐ๋ก โ ์ฆ์ ์ข
๋ฃ (current_phase ๋ณ๊ฒฝ์ Orchestrator ์ฑ
์, ์ด branch๋ ๊ฑด๋๋ฆฌ์ง ์์).
์๋ฃ-Marker ๊ฐ์ง (resume ๊ฒฝ๋ก โ F1 pause/resume ์ง์)
brainstorm_completed_at ํ๋๊ฐ state์ ์ด๋ฏธ ์๊ณ , $ARGUMENTS์ --force-rerun์ด ์์ผ๋ฉด:
- "Phase 0 (Brainstorm)๋ ์ด๋ฏธ ์๋ฃ๋์์ต๋๋ค. Exit Gate๋ฅผ ์ฌํ์ํฉ๋๋ค." ์ถ๋ ฅ
- Orchestrator ยง3-1๋ก ์ ์ด ๋ฐํ (Exit Gate ์ฌ์คํ)
- Section 2/3 ์ง์
๊ธ์ง
Section 2: Phase ์คํ
First Action (์ฆ์ ์คํ โ ๊ฑด๋๋ฐ๊ธฐ ๊ธ์ง)
Section 1 state ๋ก๋๊ฐ ์๋ฃ๋๋ฉด ์ฆ์ ๋ค์ ๋ฉ์์ง๋ฅผ ์ฌ์ฉ์์๊ฒ ์ถ๋ ฅํ๊ณ ์๋ต์ ๊ธฐ๋ค๋ฆฐ๋ค (AskUserQuestion์ด ์๋ conversational ๋ฉ์์ง):
"Brainstorm ๋จ๊ณ๋ฅผ ์์ํฉ๋๋ค. ์ด ๊ธฐ๋ฅ/๋ณ๊ฒฝ์ ํต์ฌ ๋ชฉํ๋ ๋ฌด์์ธ๊ฐ์? (ํ ๋ฌธ์ฅ์ผ๋ก)"
- superpowers
brainstorming skill์ "one question at a time" ์์น.
- ์๋ต์ ๋ฐ์ ๋ค Step 1a ๋๋จธ์ง ์ง๋ฌธ๋ค์ ์์ฐจ ์งํํ๋ค.
๊ธ์ง: ์ด ์ฒซ ์ง๋ฌธ ์ ์ ํ
ํ๋ฆฟ, ์๋ฃ ๋ฉ์์ง, Section 2 ๊ตฌ์กฐ ์ค๋ช
์ ์ถ๋ ฅํ์ง ๋ง๋ผ.
Critical Constraints
- DO NOT implement anything or modify source code files
- ONLY explore the problem space and document in brainstorm.md
Step 1: ๋ฌธ์ ํ์
1a. ๋ฌธ์ ์ ์ โ ์ฌ์ฉ์์๊ฒ ์ง๋ฌธ (one at a time)
Core (ํญ์):
- ์ด ๊ธฐ๋ฅ/๋ณ๊ฒฝ์ ํต์ฌ ๋ชฉํ๋? (์)
- ์ฑ๊ณตํ๋ฉด ์ด๋ป๊ฒ ๋ณด์ด๋์? (์ธก์ ๊ฐ๋ฅํ ๊ธฐ์ค)
Context-adaptive (1-3๊ฐ ์ ํ):
- User-facing โ ๋๊ฐ ์ฌ์ฉ? ์ด๋ค ์๋๋ฆฌ์ค?
- Refactoring โ ํ์ฌ ์ฝ๋์ ๊ฐ์ฅ ํฐ ๋ฌธ์ ์ ?
- Bug fix โ ์ฌํ ์กฐ๊ฑด/๋จ๊ณ?
- Performance โ ํ์ฌ/๋ชฉํ ์์น?
- Integration โ API ๋ฌธ์/์ ์ฝ์ฌํญ?
ํญ์ ๋ง์ง๋ง:
- ์ด ๋ณ๊ฒฝ์์ ์ ๋ ๊ฑด๋๋ฆฌ๋ฉด ์ ๋๋ ๋ถ๋ถ? (Boundaries)
1b. Scope ํ๊ฐ
- ๋ถํด ๊ฒ์ฌ: ์ฌ๋ฌ ๋
๋ฆฝ ํ์ ์์คํ
์ด๋ฉด โ ์ธ์
๋ถ๋ฆฌ ์ ์
- Quick codebase pulse: ๊ด๋ จ ํ์ผ 2-3๊ฐ Read โ ๊ธฐ์กด ์ํคํ
์ฒ์ ์ถฉ๋ ๋ฐฉ์ง
1c. ์ ๊ทผ๋ฒ ๋น๊ต (2-3๊ฐ)
๊ฐ ์ ๊ทผ๋ฒ์ ๋ํด:
APPROACH A: [Name]
์์ฝ / ์ฅ์ / ๋จ์ / ๋ณต์ก๋: S/M/L
์ถ์ฒ: [A/B] โ [์ด์ ]
์ฌ์ฉ์ ์ ํ ๋๊ธฐ.
1d. ์ค๊ณ ์ฌํ (์ ํ๋ ์ ๊ทผ๋ฒ)
- ์ฃ์ง ์ผ์ด์ค, ์์กด์ฑ, ์ํฅ ๋ฒ์ ์ ๊ฒ
Step 2: brainstorm.md ์์ฑ
- Read
../shared/templates/brainstorm-template.md โ ๊ตฌ์กฐ ํ
ํ๋ฆฟ ๋ก๋.
- Step 1์์ ์ฌ์ฉ์์์ ๋ํ๋ก ์์งํ ์ค์ ๋ด์ฉ์ผ๋ก placeholder (
[Task Title], [ํ ๋จ๋ฝ โ ...], [Approach N: Name] ๋ฑ)๋ฅผ ์ ๋ถ ์นํ.
- Write
$WORK_DIR/brainstorm.md์ ์นํ ์๋ฃ๋ ๋ด์ฉ ์ ์ฅ.
Placeholder policy: ๋ฏธ์นํ placeholder (๋๊ดํธ ํ
์คํธ, "TBD", "TODO")๊ฐ ๋จ์ผ๋ฉด Phase Review Gate๊ฐ ์ฐจ๋จํ๋ค.
Step 3: Review Gate
Read("../shared/references/review-gate.md") โ Structural Review ์คํ:
- Phase: brainstorm
- Document:
$WORK_DIR/brainstorm.md
- Dimensions: problem_clarity, approach_differentiation, success_measurability, edge_case_coverage
- Model: "haiku"
- Max iterations: 2
--skip-review (state์ review_state: skipped) ์ ๊ฑด๋๋.
Step 4: Phase Review Gate
Read("../shared/references/phase-review-gate.md") โ ํ๋กํ ์ฝ ์คํ:
- Phase: brainstorm
- Document:
$WORK_DIR/brainstorm.md
- Self-review checklist: ๋ฌธ์ ์ ์ ๋ช
ํ์ฑ, ์ ๊ทผ๋ฒ ๋น๊ต ์ถฉ์ค๋, ์ฑ๊ณต ๊ธฐ์ค ์กด์ฌ
Section 3: ์๋ฃ
์คํ ์์ ์์ ์ฅ์น: ์ด ์น์
์ Section 2์ Step 1 (์ฌ์ฉ์ ์ง๋ฌธ), Step 2 (brainstorm.md ์์ฑ), Step 3 (Review Gate), Step 4 (Phase Review Gate)๋ฅผ ๋ชจ๋ ์ค์ ๋ก ์ํํ ๋ค์๋ง ์คํํ๋ค. ์ฃผ ๋จ๊ณ๋ฅผ ๊ฑด๋๋ฐ๊ณ ์ฌ๊ธฐ๋ก ์ ํํ์ฌ ์๋ฃ ๋ฉ์์ง๋ง ์ถ๋ ฅํ๋ ๊ฒ์ ์คํจ ๋ชจ๋์ด๋ค.
- State ์
๋ฐ์ดํธ:
review_state: completed
review_results.brainstorm: {score, iterations, timestamp}
phase_review.brainstorm: {reviewed, reviewers, self_issues, external_issues, resolved}
brainstorm_completed_at: current ISO timestamp
current_phase๋ ๋ณ๊ฒฝํ์ง ์๋๋ค. Orchestrator๊ฐ Exit Gate "์งํ" ๋ถ๊ธฐ์์ research๋ก ์ ํ.
- ์๋ฃ ๋ฉ์์ง:
๋ธ๋ ์ธ์คํฐ ์๋ฃ!
๋ฌธ์: $WORK_DIR/brainstorm.md
์ ํ๋ ์ ๊ทผ๋ฒ: [Name]
Spec Review: [score]/10