@thierrynakoa/fire-flow 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +64 -0
- package/ARCHITECTURE-DIAGRAM.md +440 -0
- package/COMMAND-REFERENCE.md +172 -0
- package/DOMINION-FLOW-OVERVIEW.md +421 -0
- package/LICENSE +21 -0
- package/QUICK-START.md +351 -0
- package/README.md +398 -0
- package/TROUBLESHOOTING.md +264 -0
- package/agents/fire-codebase-mapper.md +484 -0
- package/agents/fire-debugger.md +535 -0
- package/agents/fire-executor.md +949 -0
- package/agents/fire-fact-checker.md +276 -0
- package/agents/fire-learncoding-explainer.md +237 -0
- package/agents/fire-learncoding-walker.md +147 -0
- package/agents/fire-planner.md +675 -0
- package/agents/fire-project-researcher.md +155 -0
- package/agents/fire-research-synthesizer.md +166 -0
- package/agents/fire-researcher.md +723 -0
- package/agents/fire-reviewer.md +499 -0
- package/agents/fire-roadmapper.md +203 -0
- package/agents/fire-verifier.md +880 -0
- package/bin/cli.js +208 -0
- package/commands/fire-0-orient.md +476 -0
- package/commands/fire-1-new.md +281 -0
- package/commands/fire-1a-discuss.md +455 -0
- package/commands/fire-2-plan.md +527 -0
- package/commands/fire-3-execute.md +1303 -0
- package/commands/fire-4-verify.md +845 -0
- package/commands/fire-5-handoff.md +515 -0
- package/commands/fire-6-resume.md +501 -0
- package/commands/fire-7-review.md +409 -0
- package/commands/fire-add-new-skill.md +598 -0
- package/commands/fire-analytics.md +499 -0
- package/commands/fire-assumptions.md +78 -0
- package/commands/fire-autonomous.md +528 -0
- package/commands/fire-brainstorm.md +413 -0
- package/commands/fire-complete-milestone.md +270 -0
- package/commands/fire-dashboard.md +375 -0
- package/commands/fire-debug.md +663 -0
- package/commands/fire-discover.md +616 -0
- package/commands/fire-double-check.md +460 -0
- package/commands/fire-execute-plan.md +182 -0
- package/commands/fire-learncoding.md +242 -0
- package/commands/fire-loop-resume.md +272 -0
- package/commands/fire-loop-stop.md +198 -0
- package/commands/fire-loop.md +1168 -0
- package/commands/fire-map-codebase.md +313 -0
- package/commands/fire-new-milestone.md +356 -0
- package/commands/fire-reflect.md +235 -0
- package/commands/fire-research.md +246 -0
- package/commands/fire-search.md +330 -0
- package/commands/fire-security-audit-repo.md +293 -0
- package/commands/fire-security-scan.md +484 -0
- package/commands/fire-session-summary.md +252 -0
- package/commands/fire-skills-diff.md +506 -0
- package/commands/fire-skills-history.md +388 -0
- package/commands/fire-skills-rollback.md +408 -0
- package/commands/fire-skills-sync.md +470 -0
- package/commands/fire-test.md +520 -0
- package/commands/fire-todos.md +335 -0
- package/commands/fire-transition.md +186 -0
- package/commands/fire-update.md +312 -0
- package/commands/fire-verify-uat.md +146 -0
- package/commands/fire-vuln-scan.md +493 -0
- package/hooks/hooks.json +16 -0
- package/hooks/run-hook.cmd +69 -0
- package/hooks/run-hook.sh +8 -0
- package/hooks/run-session-end.cmd +49 -0
- package/hooks/run-session-end.sh +7 -0
- package/hooks/session-end.sh +90 -0
- package/hooks/session-start.sh +111 -0
- package/package.json +52 -0
- package/plugin.json +7 -0
- package/references/auto-skill-extraction.md +136 -0
- package/references/behavioral-directives.md +365 -0
- package/references/blocker-tracking.md +155 -0
- package/references/checkpoints.md +165 -0
- package/references/circuit-breaker.md +410 -0
- package/references/context-engineering.md +587 -0
- package/references/decision-time-guidance.md +289 -0
- package/references/error-classification.md +326 -0
- package/references/execution-mode-intelligence.md +242 -0
- package/references/git-integration.md +217 -0
- package/references/honesty-protocols.md +304 -0
- package/references/integration-architecture.md +470 -0
- package/references/issue-to-pr-pipeline.md +150 -0
- package/references/metrics-and-trends.md +234 -0
- package/references/playwright-e2e-testing.md +326 -0
- package/references/questioning.md +125 -0
- package/references/research-improvements.md +110 -0
- package/references/skills-usage-guide.md +429 -0
- package/references/tdd.md +131 -0
- package/references/testing-enforcement.md +192 -0
- package/references/ui-brand.md +383 -0
- package/references/validation-checklist.md +456 -0
- package/references/verification-patterns.md +187 -0
- package/references/warrior-principles.md +173 -0
- package/skills-library/SKILLS-INDEX.md +588 -0
- package/skills-library/_general/frontend/html-visual-reports.md +292 -0
- package/skills-library/_general/methodology/debug-swarm-researcher-escape-hatch.md +240 -0
- package/skills-library/_general/methodology/learncoding-agentic-pattern.md +114 -0
- package/skills-library/_general/methodology/shell-autonomous-loop-fixplan.md +238 -0
- package/skills-library/basics/api-rest-basics.md +162 -0
- package/skills-library/basics/env-variables.md +96 -0
- package/skills-library/basics/error-handling-basics.md +125 -0
- package/skills-library/basics/git-commit-conventions.md +106 -0
- package/skills-library/basics/readme-template.md +108 -0
- package/skills-library/common-tasks/async-await-patterns.md +157 -0
- package/skills-library/common-tasks/auth-jwt-basics.md +164 -0
- package/skills-library/common-tasks/database-schema-design.md +166 -0
- package/skills-library/common-tasks/file-upload-basics.md +166 -0
- package/skills-library/common-tasks/form-validation.md +159 -0
- package/skills-library/debugging/FAILURE_TAXONOMY_CLASSIFICATION.md +117 -0
- package/skills-library/debugging/THREE_AGENT_HYPOTHESIS_DEBUGGING.md +86 -0
- package/skills-library/methodology/BREATH_BASED_PARALLEL_EXECUTION.md +678 -0
- package/skills-library/methodology/CONFIDENCE_GATED_EXECUTION.md +243 -0
- package/skills-library/methodology/EVIDENCE_BASED_VALIDATION.md +308 -0
- package/skills-library/methodology/MULTI_PERSPECTIVE_CODE_REVIEW.md +330 -0
- package/skills-library/methodology/PATH_VERIFICATION_GATE.md +211 -0
- package/skills-library/methodology/REFLEXION_MEMORY_PATTERN.md +183 -0
- package/skills-library/methodology/RESEARCH_BACKED_WORKFLOW_UPGRADE.md +263 -0
- package/skills-library/methodology/SABBATH_REST_PATTERN.md +267 -0
- package/skills-library/methodology/STONE_AND_SCAFFOLD.md +220 -0
- package/skills-library/performance/cache-augmented-generation.md +172 -0
- package/skills-library/quality-safety/debugging-steps.md +147 -0
- package/skills-library/quality-safety/deployment-checklist.md +155 -0
- package/skills-library/quality-safety/security-checklist.md +204 -0
- package/skills-library/quality-safety/testing-basics.md +180 -0
- package/skills-library/security/agent-security-scanner.md +445 -0
- package/skills-library/specialists/api-architecture/api-designer.md +49 -0
- package/skills-library/specialists/api-architecture/graphql-architect.md +49 -0
- package/skills-library/specialists/api-architecture/mcp-developer.md +51 -0
- package/skills-library/specialists/api-architecture/microservices-architect.md +50 -0
- package/skills-library/specialists/api-architecture/websocket-engineer.md +48 -0
- package/skills-library/specialists/backend/django-expert.md +52 -0
- package/skills-library/specialists/backend/fastapi-expert.md +52 -0
- package/skills-library/specialists/backend/laravel-specialist.md +52 -0
- package/skills-library/specialists/backend/nestjs-expert.md +51 -0
- package/skills-library/specialists/backend/rails-expert.md +53 -0
- package/skills-library/specialists/backend/spring-boot-engineer.md +56 -0
- package/skills-library/specialists/data-ml/fine-tuning-expert.md +48 -0
- package/skills-library/specialists/data-ml/ml-pipeline.md +47 -0
- package/skills-library/specialists/data-ml/pandas-pro.md +47 -0
- package/skills-library/specialists/data-ml/rag-architect.md +51 -0
- package/skills-library/specialists/data-ml/spark-engineer.md +47 -0
- package/skills-library/specialists/frontend/angular-architect.md +52 -0
- package/skills-library/specialists/frontend/flutter-expert.md +51 -0
- package/skills-library/specialists/frontend/nextjs-developer.md +54 -0
- package/skills-library/specialists/frontend/react-native-expert.md +50 -0
- package/skills-library/specialists/frontend/vue-expert.md +51 -0
- package/skills-library/specialists/infrastructure/chaos-engineer.md +74 -0
- package/skills-library/specialists/infrastructure/cloud-architect.md +70 -0
- package/skills-library/specialists/infrastructure/database-optimizer.md +64 -0
- package/skills-library/specialists/infrastructure/devops-engineer.md +70 -0
- package/skills-library/specialists/infrastructure/kubernetes-specialist.md +52 -0
- package/skills-library/specialists/infrastructure/monitoring-expert.md +70 -0
- package/skills-library/specialists/infrastructure/sre-engineer.md +70 -0
- package/skills-library/specialists/infrastructure/terraform-engineer.md +51 -0
- package/skills-library/specialists/languages/cpp-pro.md +74 -0
- package/skills-library/specialists/languages/csharp-developer.md +69 -0
- package/skills-library/specialists/languages/dotnet-core-expert.md +54 -0
- package/skills-library/specialists/languages/golang-pro.md +51 -0
- package/skills-library/specialists/languages/java-architect.md +49 -0
- package/skills-library/specialists/languages/javascript-pro.md +68 -0
- package/skills-library/specialists/languages/kotlin-specialist.md +68 -0
- package/skills-library/specialists/languages/php-pro.md +49 -0
- package/skills-library/specialists/languages/python-pro.md +52 -0
- package/skills-library/specialists/languages/react-expert.md +51 -0
- package/skills-library/specialists/languages/rust-engineer.md +50 -0
- package/skills-library/specialists/languages/sql-pro.md +56 -0
- package/skills-library/specialists/languages/swift-expert.md +69 -0
- package/skills-library/specialists/languages/typescript-pro.md +51 -0
- package/skills-library/specialists/platform/atlassian-mcp.md +52 -0
- package/skills-library/specialists/platform/embedded-systems.md +53 -0
- package/skills-library/specialists/platform/game-developer.md +53 -0
- package/skills-library/specialists/platform/salesforce-developer.md +53 -0
- package/skills-library/specialists/platform/shopify-expert.md +49 -0
- package/skills-library/specialists/platform/wordpress-pro.md +49 -0
- package/skills-library/specialists/quality/code-documenter.md +51 -0
- package/skills-library/specialists/quality/code-reviewer.md +67 -0
- package/skills-library/specialists/quality/debugging-wizard.md +51 -0
- package/skills-library/specialists/quality/fullstack-guardian.md +51 -0
- package/skills-library/specialists/quality/legacy-modernizer.md +50 -0
- package/skills-library/specialists/quality/playwright-expert.md +65 -0
- package/skills-library/specialists/quality/spec-miner.md +56 -0
- package/skills-library/specialists/quality/test-master.md +65 -0
- package/skills-library/specialists/security/secure-code-guardian.md +55 -0
- package/skills-library/specialists/security/security-reviewer.md +53 -0
- package/skills-library/specialists/workflow/architecture-designer.md +53 -0
- package/skills-library/specialists/workflow/cli-developer.md +70 -0
- package/skills-library/specialists/workflow/feature-forge.md +65 -0
- package/skills-library/specialists/workflow/prompt-engineer.md +54 -0
- package/skills-library/specialists/workflow/the-fool.md +62 -0
- package/templates/ASSUMPTIONS.md +125 -0
- package/templates/BLOCKERS.md +73 -0
- package/templates/DECISION_LOG.md +116 -0
- package/templates/UAT.md +96 -0
- package/templates/blueprint.md +94 -0
- package/templates/brainstorm.md +185 -0
- package/templates/conscience.md +92 -0
- package/templates/fire-handoff.md +159 -0
- package/templates/metrics.md +67 -0
- package/templates/phase-prompt.md +142 -0
- package/templates/record.md +131 -0
- package/templates/review-report.md +117 -0
- package/templates/skills-index.md +157 -0
- package/templates/verification.md +149 -0
- package/templates/vision.md +79 -0
- package/validation-config.yml +793 -0
- package/version.json +7 -0
- package/workflows/execute-phase.md +732 -0
- package/workflows/handoff-session.md +678 -0
- package/workflows/new-project.md +578 -0
- package/workflows/plan-phase.md +592 -0
- package/workflows/verify-phase.md +874 -0
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Dedicated ideation and exploration before implementation
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /fire-brainstorm
|
|
6
|
+
|
|
7
|
+
> Explore ideas thoroughly before committing to implementation
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
A dedicated ideation phase inspired by superpowers:brainstorming. Forces divergent thinking, explores alternatives, and documents decisions BEFORE writing code. Prevents premature implementation and ensures requirements are understood.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Arguments
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
arguments:
|
|
21
|
+
topic:
|
|
22
|
+
required: true
|
|
23
|
+
type: string
|
|
24
|
+
description: "What to brainstorm - feature, architecture, problem, etc."
|
|
25
|
+
examples:
|
|
26
|
+
- "/fire-brainstorm 'user authentication system'"
|
|
27
|
+
- "/fire-brainstorm 'how to handle file uploads'"
|
|
28
|
+
- "/fire-brainstorm 'database schema for orders'"
|
|
29
|
+
|
|
30
|
+
optional_flags:
|
|
31
|
+
--constraints: "Comma-separated constraints to consider"
|
|
32
|
+
--time-box: "Limit brainstorm duration (e.g., '15min')"
|
|
33
|
+
--perspectives: "Number of alternative approaches to explore (default: 3)"
|
|
34
|
+
--output: "Save brainstorm to file (default: .planning/brainstorms/)"
|
|
35
|
+
--no-questions: "Skip clarifying questions, use assumptions"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Process
|
|
41
|
+
|
|
42
|
+
### Step 1: Initialize Brainstorm Session
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
46
|
+
DOMINION FLOW ► BRAINSTORM SESSION
|
|
47
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
48
|
+
|
|
49
|
+
Topic: {topic}
|
|
50
|
+
Mode: Exploration (no code yet)
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Step 2: Clarifying Questions (Unless --no-questions)
|
|
54
|
+
|
|
55
|
+
**MANDATORY: Understand before exploring.**
|
|
56
|
+
|
|
57
|
+
```markdown
|
|
58
|
+
## Clarifying Questions
|
|
59
|
+
|
|
60
|
+
Before exploring solutions, I need to understand the problem space.
|
|
61
|
+
|
|
62
|
+
### Scope Questions
|
|
63
|
+
1. What is the primary user/use case for this?
|
|
64
|
+
2. What systems/components does this interact with?
|
|
65
|
+
3. Are there existing patterns in the codebase to follow?
|
|
66
|
+
|
|
67
|
+
### Constraint Questions
|
|
68
|
+
4. What are the non-negotiables (must-haves)?
|
|
69
|
+
5. What are known limitations (tech stack, budget, time)?
|
|
70
|
+
6. Are there security/compliance requirements?
|
|
71
|
+
|
|
72
|
+
### Context Questions
|
|
73
|
+
7. Has this been attempted before? What happened?
|
|
74
|
+
8. What does "success" look like?
|
|
75
|
+
9. Who are the stakeholders?
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**Wait for user response before proceeding.**
|
|
79
|
+
|
|
80
|
+
### Step 3: Problem Decomposition
|
|
81
|
+
|
|
82
|
+
```markdown
|
|
83
|
+
## Problem Decomposition
|
|
84
|
+
|
|
85
|
+
### Core Challenge
|
|
86
|
+
{Single sentence describing the essential problem}
|
|
87
|
+
|
|
88
|
+
### Sub-Problems
|
|
89
|
+
1. {Sub-problem 1}
|
|
90
|
+
- Why it matters: {reason}
|
|
91
|
+
- Complexity: Low | Medium | High
|
|
92
|
+
|
|
93
|
+
2. {Sub-problem 2}
|
|
94
|
+
- Why it matters: {reason}
|
|
95
|
+
- Complexity: Low | Medium | High
|
|
96
|
+
|
|
97
|
+
3. {Sub-problem 3}
|
|
98
|
+
- Why it matters: {reason}
|
|
99
|
+
- Complexity: Low | Medium | High
|
|
100
|
+
|
|
101
|
+
### Dependencies
|
|
102
|
+
- {Sub-problem 1} must be solved before {Sub-problem 3}
|
|
103
|
+
- {Sub-problem 2} can be solved in parallel
|
|
104
|
+
|
|
105
|
+
### Risk Areas
|
|
106
|
+
- {Area with highest uncertainty}
|
|
107
|
+
- {Area most likely to change}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Step 4: Explore Alternatives (Divergent Thinking)
|
|
111
|
+
|
|
112
|
+
**IMPORTANT: Explore at least 3 different approaches.**
|
|
113
|
+
|
|
114
|
+
```markdown
|
|
115
|
+
## Alternative Approaches
|
|
116
|
+
|
|
117
|
+
### Approach A: {Name}
|
|
118
|
+
|
|
119
|
+
**Summary:** {One-line description}
|
|
120
|
+
|
|
121
|
+
**How it works:**
|
|
122
|
+
{2-3 sentence explanation}
|
|
123
|
+
|
|
124
|
+
**Pros:**
|
|
125
|
+
- {Pro 1}
|
|
126
|
+
- {Pro 2}
|
|
127
|
+
- {Pro 3}
|
|
128
|
+
|
|
129
|
+
**Cons:**
|
|
130
|
+
- {Con 1}
|
|
131
|
+
- {Con 2}
|
|
132
|
+
|
|
133
|
+
**Best when:**
|
|
134
|
+
{Scenario where this is ideal}
|
|
135
|
+
|
|
136
|
+
**Complexity:** {Low | Medium | High}
|
|
137
|
+
|
|
138
|
+
**Skills Library Match:** @skills-library/{category}/{skill}.md
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
### Approach B: {Name}
|
|
143
|
+
|
|
144
|
+
**Summary:** {One-line description}
|
|
145
|
+
|
|
146
|
+
**How it works:**
|
|
147
|
+
{2-3 sentence explanation}
|
|
148
|
+
|
|
149
|
+
**Pros:**
|
|
150
|
+
- {Pro 1}
|
|
151
|
+
- {Pro 2}
|
|
152
|
+
- {Pro 3}
|
|
153
|
+
|
|
154
|
+
**Cons:**
|
|
155
|
+
- {Con 1}
|
|
156
|
+
- {Con 2}
|
|
157
|
+
|
|
158
|
+
**Best when:**
|
|
159
|
+
{Scenario where this is ideal}
|
|
160
|
+
|
|
161
|
+
**Complexity:** {Low | Medium | High}
|
|
162
|
+
|
|
163
|
+
**Skills Library Match:** @skills-library/{category}/{skill}.md
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
### Approach C: {Name}
|
|
168
|
+
|
|
169
|
+
**Summary:** {One-line description}
|
|
170
|
+
|
|
171
|
+
**How it works:**
|
|
172
|
+
{2-3 sentence explanation}
|
|
173
|
+
|
|
174
|
+
**Pros:**
|
|
175
|
+
- {Pro 1}
|
|
176
|
+
- {Pro 2}
|
|
177
|
+
- {Pro 3}
|
|
178
|
+
|
|
179
|
+
**Cons:**
|
|
180
|
+
- {Con 1}
|
|
181
|
+
- {Con 2}
|
|
182
|
+
|
|
183
|
+
**Best when:**
|
|
184
|
+
{Scenario where this is ideal}
|
|
185
|
+
|
|
186
|
+
**Complexity:** {Low | Medium | High}
|
|
187
|
+
|
|
188
|
+
**Skills Library Match:** @skills-library/{category}/{skill}.md
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Step 5: Trade-off Analysis
|
|
192
|
+
|
|
193
|
+
```markdown
|
|
194
|
+
## Trade-off Matrix
|
|
195
|
+
|
|
196
|
+
| Criteria | Weight | Approach A | Approach B | Approach C |
|
|
197
|
+
|----------|--------|------------|------------|------------|
|
|
198
|
+
| Simplicity | 3 | 8 | 5 | 7 |
|
|
199
|
+
| Performance | 2 | 6 | 9 | 7 |
|
|
200
|
+
| Maintainability | 3 | 7 | 4 | 8 |
|
|
201
|
+
| Time to Implement | 2 | 9 | 3 | 6 |
|
|
202
|
+
| Scalability | 2 | 5 | 9 | 7 |
|
|
203
|
+
| **Weighted Total** | | **84** | **68** | **82** |
|
|
204
|
+
|
|
205
|
+
### Analysis
|
|
206
|
+
|
|
207
|
+
**Approach A wins on:** {criteria}
|
|
208
|
+
**Approach B wins on:** {criteria}
|
|
209
|
+
**Approach C wins on:** {criteria}
|
|
210
|
+
|
|
211
|
+
### Hidden Risks
|
|
212
|
+
|
|
213
|
+
| Approach | Hidden Risk | Mitigation |
|
|
214
|
+
|----------|-------------|------------|
|
|
215
|
+
| A | {risk} | {mitigation} |
|
|
216
|
+
| B | {risk} | {mitigation} |
|
|
217
|
+
| C | {risk} | {mitigation} |
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### Step 6: Recommendation
|
|
221
|
+
|
|
222
|
+
```markdown
|
|
223
|
+
## Recommendation
|
|
224
|
+
|
|
225
|
+
### Recommended Approach: {A | B | C}
|
|
226
|
+
|
|
227
|
+
**Why:**
|
|
228
|
+
{2-3 sentences explaining the decision}
|
|
229
|
+
|
|
230
|
+
**Key factors:**
|
|
231
|
+
1. {Factor 1}
|
|
232
|
+
2. {Factor 2}
|
|
233
|
+
3. {Factor 3}
|
|
234
|
+
|
|
235
|
+
### Implementation Sketch
|
|
236
|
+
|
|
237
|
+
```
|
|
238
|
+
{High-level architecture diagram or flow}
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### First Steps
|
|
242
|
+
1. {First concrete step}
|
|
243
|
+
2. {Second concrete step}
|
|
244
|
+
3. {Third concrete step}
|
|
245
|
+
|
|
246
|
+
### Open Questions (To Resolve During Implementation)
|
|
247
|
+
- {Question 1}
|
|
248
|
+
- {Question 2}
|
|
249
|
+
|
|
250
|
+
### Decision Record
|
|
251
|
+
|
|
252
|
+
| Decision | Rationale | Alternatives Considered |
|
|
253
|
+
|----------|-----------|------------------------|
|
|
254
|
+
| {Decision 1} | {Why} | {What else was considered} |
|
|
255
|
+
| {Decision 2} | {Why} | {What else was considered} |
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
### Step 7: Save Brainstorm Document
|
|
259
|
+
|
|
260
|
+
**Create:** `.planning/brainstorms/{topic-slug}-{timestamp}.md`
|
|
261
|
+
|
|
262
|
+
### Step 8: Sabbath Rest (Context Persistence)
|
|
263
|
+
|
|
264
|
+
> *Like humans need sleep to reset, AI agents need state files to resume after context resets.*
|
|
265
|
+
|
|
266
|
+
**MANDATORY:** Update CONSCIENCE.md to track brainstorm sessions:
|
|
267
|
+
|
|
268
|
+
```markdown
|
|
269
|
+
## Recent Brainstorms
|
|
270
|
+
- [{topic}](.planning/brainstorms/{filename}.md) - {timestamp}
|
|
271
|
+
- Recommended: Approach {X}
|
|
272
|
+
- Status: {COMPLETE | PENDING_REVIEW}
|
|
273
|
+
- Next: /fire-2-plan or implementation
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
**Also create/update:** `.claude/fire-brainstorm.local.md`
|
|
277
|
+
|
|
278
|
+
```markdown
|
|
279
|
+
---
|
|
280
|
+
last_session: {timestamp}
|
|
281
|
+
topic: "{topic}"
|
|
282
|
+
status: complete
|
|
283
|
+
recommended_approach: "{approach name}"
|
|
284
|
+
output_file: ".planning/brainstorms/{filename}.md"
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
# Brainstorm Session State
|
|
288
|
+
|
|
289
|
+
## Current Session
|
|
290
|
+
- Topic: {topic}
|
|
291
|
+
- Started: {timestamp}
|
|
292
|
+
- Status: {in_progress | complete}
|
|
293
|
+
|
|
294
|
+
## Session History
|
|
295
|
+
| Date | Topic | Outcome | File |
|
|
296
|
+
|------|-------|---------|------|
|
|
297
|
+
| {date} | {topic} | Approach {X} | {file} |
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
This ensures:
|
|
301
|
+
- CONSCIENCE.md tracks all brainstorm decisions for project continuity
|
|
302
|
+
- `.local.md` preserves session state if context resets mid-brainstorm
|
|
303
|
+
|
|
304
|
+
```markdown
|
|
305
|
+
# Brainstorm: {Topic}
|
|
306
|
+
|
|
307
|
+
**Date:** {timestamp}
|
|
308
|
+
**Status:** COMPLETE
|
|
309
|
+
**Outcome:** Recommended Approach {X}
|
|
310
|
+
|
|
311
|
+
---
|
|
312
|
+
|
|
313
|
+
{Full brainstorm content from steps 2-6}
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
## Next Steps
|
|
318
|
+
|
|
319
|
+
- [ ] Review with stakeholders (if needed)
|
|
320
|
+
- [ ] Create detailed plan: `/fire-2-plan` with this as input
|
|
321
|
+
- [ ] Begin implementation
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
*Brainstorm facilitated by Dominion Flow*
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
---
|
|
329
|
+
|
|
330
|
+
## Output Display
|
|
331
|
+
|
|
332
|
+
```
|
|
333
|
+
╔══════════════════════════════════════════════════════════════════════════════╗
|
|
334
|
+
║ ✓ BRAINSTORM COMPLETE ║
|
|
335
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
336
|
+
║ ║
|
|
337
|
+
║ Topic: {topic} ║
|
|
338
|
+
║ Approaches Explored: 3 ║
|
|
339
|
+
║ Recommended: Approach {X} - {name} ║
|
|
340
|
+
║ ║
|
|
341
|
+
║ Key Decision: {one-line summary} ║
|
|
342
|
+
║ ║
|
|
343
|
+
║ Saved: .planning/brainstorms/{filename}.md ║
|
|
344
|
+
║ ║
|
|
345
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
346
|
+
║ NEXT STEPS ║
|
|
347
|
+
├──────────────────────────────────────────────────────────────────────────────┤
|
|
348
|
+
║ ║
|
|
349
|
+
║ → Review the brainstorm document ║
|
|
350
|
+
║ → Run `/fire-2-plan` to create detailed implementation plan ║
|
|
351
|
+
║ → Or discuss further if questions remain ║
|
|
352
|
+
║ ║
|
|
353
|
+
╚══════════════════════════════════════════════════════════════════════════════╝
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
---
|
|
357
|
+
|
|
358
|
+
## Integration with Dominion Flow
|
|
359
|
+
|
|
360
|
+
### Before New Project
|
|
361
|
+
```bash
|
|
362
|
+
/fire-brainstorm "project architecture for {idea}"
|
|
363
|
+
# Then
|
|
364
|
+
/fire-1-new
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
### Before Planning Phase
|
|
368
|
+
```bash
|
|
369
|
+
/fire-brainstorm "how to implement {phase feature}"
|
|
370
|
+
# Then
|
|
371
|
+
/fire-2-plan N
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
### Standalone Exploration
|
|
375
|
+
```bash
|
|
376
|
+
/fire-brainstorm "should we use GraphQL or REST"
|
|
377
|
+
# Decision documented, no immediate action
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
---
|
|
381
|
+
|
|
382
|
+
## Anti-Patterns Blocked
|
|
383
|
+
|
|
384
|
+
- **Jumping to code:** Brainstorm MUST complete before implementation
|
|
385
|
+
- **Single solution thinking:** Forces exploration of alternatives
|
|
386
|
+
- **Undocumented decisions:** All decisions recorded with rationale
|
|
387
|
+
- **Premature optimization:** Focus on understanding, not perfection
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
## Success Criteria
|
|
392
|
+
|
|
393
|
+
### Required Outputs
|
|
394
|
+
- [ ] Problem clearly decomposed
|
|
395
|
+
- [ ] At least 3 alternatives explored
|
|
396
|
+
- [ ] Trade-offs analyzed with criteria
|
|
397
|
+
- [ ] Clear recommendation with rationale
|
|
398
|
+
- [ ] Brainstorm document saved
|
|
399
|
+
|
|
400
|
+
### Quality Markers
|
|
401
|
+
- Alternatives are genuinely different (not variations)
|
|
402
|
+
- Pros/cons are specific, not generic
|
|
403
|
+
- Recommendation matches stated criteria
|
|
404
|
+
- Open questions are acknowledged
|
|
405
|
+
|
|
406
|
+
---
|
|
407
|
+
|
|
408
|
+
## References
|
|
409
|
+
|
|
410
|
+
- **Inspiration:** superpowers:brainstorming
|
|
411
|
+
- **Template:** `@templates/brainstorm.md`
|
|
412
|
+
- **Skills Search:** `/fire-search` for relevant patterns
|
|
413
|
+
- **Brand:** `@references/ui-brand.md`
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Archive completed milestone and prepare for next version with WARRIOR validation
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /fire-complete-milestone
|
|
6
|
+
|
|
7
|
+
> Archive milestone, create historical record, and prepare for next cycle with WARRIOR validation
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
Mark milestone complete, archive to milestones/, and update VISION.md and REQUIREMENTS.md. Creates a historical record of what shipped and prepares the project for the next milestone.
|
|
14
|
+
|
|
15
|
+
**Creates:**
|
|
16
|
+
- `.planning/milestones/v{version}-VISION.md` - Archived roadmap
|
|
17
|
+
- `.planning/milestones/v{version}-REQUIREMENTS.md` - Archived requirements
|
|
18
|
+
- Git tag `v{version}`
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Arguments
|
|
23
|
+
|
|
24
|
+
```yaml
|
|
25
|
+
arguments:
|
|
26
|
+
version:
|
|
27
|
+
required: true
|
|
28
|
+
type: string
|
|
29
|
+
description: "Version number to complete (e.g., '1.0', '1.1', '2.0')"
|
|
30
|
+
example: "/fire-complete-milestone 1.0"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Process
|
|
36
|
+
|
|
37
|
+
### Step 0: Pre-flight Check - WARRIOR Validation
|
|
38
|
+
|
|
39
|
+
**MANDATORY: Check for verification before archiving.**
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
ls .planning/v{version}-VERIFICATION.md 2>/dev/null
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**If no verification file:**
|
|
46
|
+
```
|
|
47
|
+
+------------------------------------------------------------------------------+
|
|
48
|
+
| WARNING: No Verification Found |
|
|
49
|
+
+------------------------------------------------------------------------------+
|
|
50
|
+
| |
|
|
51
|
+
| No verification record found for v{version}. |
|
|
52
|
+
| |
|
|
53
|
+
| Recommended: Run `/fire-4-verify` first to ensure: |
|
|
54
|
+
| - All must-haves are met |
|
|
55
|
+
| - 70-point validation passed |
|
|
56
|
+
| - No critical gaps |
|
|
57
|
+
| |
|
|
58
|
+
| Continue anyway? (verification will be noted as "skipped") |
|
|
59
|
+
| |
|
|
60
|
+
+------------------------------------------------------------------------------+
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Use AskUserQuestion:
|
|
64
|
+
- header: "Verification"
|
|
65
|
+
- question: "No verification found. How do you want to proceed?"
|
|
66
|
+
- options:
|
|
67
|
+
- "Run verification first (Recommended)" - Route to /fire-4-verify
|
|
68
|
+
- "Continue without verification" - Proceed with warning noted
|
|
69
|
+
|
|
70
|
+
### Step 1: Verify Readiness
|
|
71
|
+
|
|
72
|
+
Check all phases in milestone have completed plans (RECORD.md exists):
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
for phase_dir in .planning/phases/*/; do
|
|
76
|
+
[ -f "${phase_dir}RECORD.md" ] && echo "COMPLETE: $phase_dir" || echo "MISSING: $phase_dir"
|
|
77
|
+
done
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Present milestone scope and stats. Wait for confirmation.
|
|
81
|
+
|
|
82
|
+
### Step 2: Gather Stats
|
|
83
|
+
|
|
84
|
+
- Count phases, plans, tasks completed
|
|
85
|
+
- Calculate git range, file changes, LOC
|
|
86
|
+
- Extract timeline from git log
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
# Git stats
|
|
90
|
+
git log --oneline --since="[milestone start]" | wc -l
|
|
91
|
+
git diff --stat $(git log --format="%H" --since="[milestone start]" | tail -1)..HEAD
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Present summary, confirm.
|
|
95
|
+
|
|
96
|
+
### Step 3: Extract Accomplishments
|
|
97
|
+
|
|
98
|
+
Read all phase RECORD.md files in milestone range. Extract 4-6 key accomplishments.
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
+------------------------------------------------------------------------------+
|
|
102
|
+
| v{version} ACCOMPLISHMENTS |
|
|
103
|
+
+------------------------------------------------------------------------------+
|
|
104
|
+
| |
|
|
105
|
+
| Key accomplishments: |
|
|
106
|
+
| 1. {accomplishment from RECORD.md} |
|
|
107
|
+
| 2. {accomplishment from RECORD.md} |
|
|
108
|
+
| 3. {accomplishment from RECORD.md} |
|
|
109
|
+
| 4. {accomplishment from RECORD.md} |
|
|
110
|
+
| |
|
|
111
|
+
| Stats: |
|
|
112
|
+
| - Phases: {count} |
|
|
113
|
+
| - Plans executed: {count} |
|
|
114
|
+
| - Requirements fulfilled: {count}/{total} |
|
|
115
|
+
| - Files changed: {count} |
|
|
116
|
+
| |
|
|
117
|
+
+------------------------------------------------------------------------------+
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Present for approval.
|
|
121
|
+
|
|
122
|
+
### Step 4: Archive Milestone
|
|
123
|
+
|
|
124
|
+
Create `.planning/milestones/v{version}-VISION.md`:
|
|
125
|
+
- Extract full phase details from VISION.md
|
|
126
|
+
- Include completion timestamps
|
|
127
|
+
- Add accomplishment summary
|
|
128
|
+
|
|
129
|
+
Update VISION.md to one-line summary with link:
|
|
130
|
+
|
|
131
|
+
```markdown
|
|
132
|
+
## Archived Milestones
|
|
133
|
+
|
|
134
|
+
- [v{version}](milestones/v{version}-VISION.md) - {one-line summary} (shipped {date})
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Step 5: Archive Requirements
|
|
138
|
+
|
|
139
|
+
Create `.planning/milestones/v{version}-REQUIREMENTS.md`:
|
|
140
|
+
- Mark all v1 requirements as complete (checkboxes checked)
|
|
141
|
+
- Note requirement outcomes (validated, adjusted, dropped)
|
|
142
|
+
|
|
143
|
+
Delete `.planning/REQUIREMENTS.md` (fresh one created for next milestone).
|
|
144
|
+
|
|
145
|
+
### Step 6: Update PROJECT.md
|
|
146
|
+
|
|
147
|
+
Add "Current State" section with shipped version:
|
|
148
|
+
|
|
149
|
+
```markdown
|
|
150
|
+
## Current State
|
|
151
|
+
|
|
152
|
+
**Latest Release:** v{version} - {name}
|
|
153
|
+
**Shipped:** {date}
|
|
154
|
+
|
|
155
|
+
Key accomplishments:
|
|
156
|
+
- {accomplishment 1}
|
|
157
|
+
- {accomplishment 2}
|
|
158
|
+
|
|
159
|
+
## Next Milestone Goals
|
|
160
|
+
<!-- Defined by /fire-1-new or /fire-new-milestone -->
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Step 7: Commit and Tag
|
|
164
|
+
|
|
165
|
+
Stage all changes:
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
git add .planning/milestones/ .planning/PROJECT.md .planning/VISION.md .planning/CONSCIENCE.md
|
|
169
|
+
git commit -m "$(cat <<'EOF'
|
|
170
|
+
chore: archive v{version} milestone
|
|
171
|
+
|
|
172
|
+
Key accomplishments:
|
|
173
|
+
- {accomplishment 1}
|
|
174
|
+
- {accomplishment 2}
|
|
175
|
+
- {accomplishment 3}
|
|
176
|
+
|
|
177
|
+
Phases: {count} | Requirements: {count}
|
|
178
|
+
EOF
|
|
179
|
+
)"
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
Create annotated tag:
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
git tag -a v{version} -m "[milestone summary]"
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
Use AskUserQuestion:
|
|
189
|
+
- header: "Push Tag"
|
|
190
|
+
- question: "Push tag v{version} to remote?"
|
|
191
|
+
- options:
|
|
192
|
+
- "Yes, push tag" - git push origin v{version}
|
|
193
|
+
- "No, keep local" - Done
|
|
194
|
+
|
|
195
|
+
### Step 8: Sabbath Rest - Context Persistence
|
|
196
|
+
|
|
197
|
+
Update persistent state:
|
|
198
|
+
|
|
199
|
+
```markdown
|
|
200
|
+
## .claude/dominion-flow.local.md
|
|
201
|
+
|
|
202
|
+
### Milestone Completion
|
|
203
|
+
- Version: v{version}
|
|
204
|
+
- Completed: {timestamp}
|
|
205
|
+
- Accomplishments: {count}
|
|
206
|
+
- Next: Run /fire-new-milestone to start next cycle
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## Completion Display
|
|
212
|
+
|
|
213
|
+
```
|
|
214
|
+
+------------------------------------------------------------------------------+
|
|
215
|
+
| MILESTONE v{version} ARCHIVED |
|
|
216
|
+
+------------------------------------------------------------------------------+
|
|
217
|
+
| |
|
|
218
|
+
| Archived Files: |
|
|
219
|
+
| - .planning/milestones/v{version}-VISION.md |
|
|
220
|
+
| - .planning/milestones/v{version}-REQUIREMENTS.md |
|
|
221
|
+
| |
|
|
222
|
+
| Git Tag: v{version} |
|
|
223
|
+
| Commit: {hash} |
|
|
224
|
+
| |
|
|
225
|
+
+------------------------------------------------------------------------------+
|
|
226
|
+
| NEXT UP |
|
|
227
|
+
+------------------------------------------------------------------------------+
|
|
228
|
+
| |
|
|
229
|
+
| -> Run `/fire-new-milestone` to start the next milestone cycle |
|
|
230
|
+
| (questioning -> research -> requirements -> roadmap) |
|
|
231
|
+
| |
|
|
232
|
+
| -> Or run `/fire-5-handoff` to create a session handoff first |
|
|
233
|
+
| |
|
|
234
|
+
+------------------------------------------------------------------------------+
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
## Success Criteria
|
|
240
|
+
|
|
241
|
+
- [ ] Verification status checked (WARRIOR validation)
|
|
242
|
+
- [ ] All phases have RECORD.md files
|
|
243
|
+
- [ ] Milestone archived to `.planning/milestones/v{version}-VISION.md`
|
|
244
|
+
- [ ] Requirements archived to `.planning/milestones/v{version}-REQUIREMENTS.md`
|
|
245
|
+
- [ ] `.planning/REQUIREMENTS.md` deleted (fresh for next milestone)
|
|
246
|
+
- [ ] VISION.md collapsed to one-line entry
|
|
247
|
+
- [ ] PROJECT.md updated with current state
|
|
248
|
+
- [ ] Git tag v{version} created
|
|
249
|
+
- [ ] Commit successful
|
|
250
|
+
- [ ] Sabbath Rest state updated
|
|
251
|
+
- [ ] User knows next steps
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
## Critical Rules
|
|
256
|
+
|
|
257
|
+
- **Verify before archiving:** Check for /fire-4-verify results
|
|
258
|
+
- **Archive before deleting:** Always create archive files before updating/deleting originals
|
|
259
|
+
- **One-line summary:** Collapsed milestone in VISION.md should be single line with link
|
|
260
|
+
- **Context efficiency:** Archive keeps VISION.md and REQUIREMENTS.md constant size per milestone
|
|
261
|
+
- **Fresh requirements:** Next milestone starts with `/fire-new-milestone` which includes requirements definition
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## References
|
|
266
|
+
|
|
267
|
+
- **Related:** `/fire-new-milestone` - Start next milestone cycle
|
|
268
|
+
- **Related:** `/fire-4-verify` - Verify phase/milestone completion
|
|
269
|
+
- **Template:** `@templates/milestone-archive.md`
|
|
270
|
+
- **Brand:** `@references/ui-brand.md`
|