@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,578 @@
|
|
|
1
|
+
# Workflow: New Project Orchestration
|
|
2
|
+
|
|
3
|
+
<purpose>
|
|
4
|
+
Initialize a new project with Dominion Flow orchestration and WARRIOR foundation through adaptive questioning, directory structure creation, and comprehensive setup for session continuity. This workflow ensures every project starts with proper planning artifacts and tracking systems.
|
|
5
|
+
</purpose>
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<core_principle>
|
|
10
|
+
**Every project deserves a solid foundation.** Before writing a single line of code, establish clear requirements, a realistic roadmap, and the tracking systems needed for sustainable development. Projects that skip this step pay for it later.
|
|
11
|
+
</core_principle>
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<required_reading>
|
|
16
|
+
Before executing this workflow, load:
|
|
17
|
+
```markdown
|
|
18
|
+
@templates/state.md # CONSCIENCE.md template
|
|
19
|
+
@templates/roadmap.md # VISION.md template
|
|
20
|
+
@templates/skills-index.md # Skills tracking template
|
|
21
|
+
@references/honesty-protocols.md # Foundation for honest planning
|
|
22
|
+
@references/ui-brand.md # Visual output standards
|
|
23
|
+
```
|
|
24
|
+
</required_reading>
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
<process>
|
|
29
|
+
|
|
30
|
+
## Step 1: Environment Validation
|
|
31
|
+
|
|
32
|
+
**Purpose:** Ensure we can create the project structure without conflicts.
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
# Check if .planning/ directory already exists
|
|
36
|
+
if [ -d ".planning" ]; then
|
|
37
|
+
echo "WARNING: .planning/ directory exists"
|
|
38
|
+
# Route to existing project warning
|
|
39
|
+
fi
|
|
40
|
+
|
|
41
|
+
# Verify write permissions
|
|
42
|
+
touch .planning-test-write && rm .planning-test-write
|
|
43
|
+
|
|
44
|
+
# Check for git repository
|
|
45
|
+
if [ ! -d ".git" ]; then
|
|
46
|
+
echo "NOTICE: No git repository found"
|
|
47
|
+
echo "Consider: git init"
|
|
48
|
+
fi
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
**If .planning/ exists:**
|
|
52
|
+
- Display warning about existing project
|
|
53
|
+
- Offer options: Resume existing (`/fire-6-resume`), Delete and restart, or Use different path
|
|
54
|
+
- Do NOT proceed without user decision
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Step 2: Adaptive Questioning Flow
|
|
59
|
+
|
|
60
|
+
**Purpose:** Gather comprehensive requirements through intelligent questioning.
|
|
61
|
+
|
|
62
|
+
### Phase A: Core Identity Questions
|
|
63
|
+
|
|
64
|
+
```markdown
|
|
65
|
+
## Project Identity
|
|
66
|
+
|
|
67
|
+
**Question 1:** What is this project? (one sentence)
|
|
68
|
+
> The project is a ___
|
|
69
|
+
|
|
70
|
+
**Question 2:** Who is the primary user?
|
|
71
|
+
> The primary user is ___
|
|
72
|
+
|
|
73
|
+
**Question 3:** What is the core value it provides?
|
|
74
|
+
> The core value is ___
|
|
75
|
+
|
|
76
|
+
**Question 4:** What problem does it solve?
|
|
77
|
+
> It solves ___
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Phase B: Feature Questions
|
|
81
|
+
|
|
82
|
+
```markdown
|
|
83
|
+
## Features
|
|
84
|
+
|
|
85
|
+
**Question 5:** What are the must-have features? (things that MUST work for v1.0)
|
|
86
|
+
> Must-have features:
|
|
87
|
+
> 1. ___
|
|
88
|
+
> 2. ___
|
|
89
|
+
> 3. ___
|
|
90
|
+
|
|
91
|
+
**Question 6:** What are the nice-to-have features? (can be deferred if needed)
|
|
92
|
+
> Nice-to-have features:
|
|
93
|
+
> 1. ___
|
|
94
|
+
> 2. ___
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Phase C: Technical Questions
|
|
98
|
+
|
|
99
|
+
```markdown
|
|
100
|
+
## Technical Context
|
|
101
|
+
|
|
102
|
+
**Question 7:** What is the tech stack?
|
|
103
|
+
> Tech stack:
|
|
104
|
+
> - Frontend: ___
|
|
105
|
+
> - Backend: ___
|
|
106
|
+
> - Database: ___
|
|
107
|
+
> - Other: ___
|
|
108
|
+
|
|
109
|
+
**Question 8:** Are there existing codebases or systems to integrate with?
|
|
110
|
+
> Integrations: ___
|
|
111
|
+
|
|
112
|
+
**Question 9:** What are known technical constraints?
|
|
113
|
+
> Constraints:
|
|
114
|
+
> 1. ___
|
|
115
|
+
> 2. ___
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Phase D: Timeline Questions
|
|
119
|
+
|
|
120
|
+
```markdown
|
|
121
|
+
## Timeline
|
|
122
|
+
|
|
123
|
+
**Question 10:** What's the target completion date for v1.0?
|
|
124
|
+
> Target: ___
|
|
125
|
+
|
|
126
|
+
**Question 11:** What milestones are critical?
|
|
127
|
+
> Critical milestones:
|
|
128
|
+
> 1. ___
|
|
129
|
+
> 2. ___
|
|
130
|
+
|
|
131
|
+
**Question 12:** How much time per day/week is available for this project?
|
|
132
|
+
> Availability: ___
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Adaptive Follow-ups
|
|
136
|
+
|
|
137
|
+
Based on answers, ask clarifying questions:
|
|
138
|
+
- If tech stack includes unfamiliar technology: "Have you worked with [tech] before?"
|
|
139
|
+
- If must-haves are vague: "Can you be more specific about [feature]?"
|
|
140
|
+
- If timeline is aggressive: "What can we defer if needed?"
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Step 3: Create Directory Structure
|
|
145
|
+
|
|
146
|
+
**Purpose:** Set up the planning and tracking directories.
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
# Create .planning directory and subdirectories
|
|
150
|
+
mkdir -p .planning/phases
|
|
151
|
+
mkdir -p .planning/debug
|
|
152
|
+
|
|
153
|
+
# Create handoffs directory (global, if not exists)
|
|
154
|
+
mkdir -p ~/.claude/warrior-handoffs/
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
**Expected Structure:**
|
|
158
|
+
```
|
|
159
|
+
.planning/
|
|
160
|
+
├── PROJECT.md # Project overview from requirements
|
|
161
|
+
├── VISION.md # Phase-based roadmap
|
|
162
|
+
├── CONSCIENCE.md # Enhanced with WARRIOR fields
|
|
163
|
+
├── REQUIREMENTS.md # Captured requirements
|
|
164
|
+
├── SKILLS-INDEX.md # Skills tracking (empty, ready)
|
|
165
|
+
└── phases/ # Empty, ready for phase plans
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Step 4: Generate PROJECT.md
|
|
171
|
+
|
|
172
|
+
**Purpose:** Capture requirements in a structured format.
|
|
173
|
+
|
|
174
|
+
```markdown
|
|
175
|
+
# {Project Name}
|
|
176
|
+
|
|
177
|
+
## Core Value
|
|
178
|
+
{One sentence description of what this project does}
|
|
179
|
+
|
|
180
|
+
## Primary User
|
|
181
|
+
{Who uses this}
|
|
182
|
+
|
|
183
|
+
## Problem Solved
|
|
184
|
+
{What problem it addresses}
|
|
185
|
+
|
|
186
|
+
## Must-Have Features
|
|
187
|
+
1. {Feature 1}
|
|
188
|
+
2. {Feature 2}
|
|
189
|
+
3. {Feature 3}
|
|
190
|
+
|
|
191
|
+
## Nice-to-Have Features
|
|
192
|
+
1. {Feature 1} - Can defer if needed
|
|
193
|
+
2. {Feature 2} - Can defer if needed
|
|
194
|
+
|
|
195
|
+
## Tech Stack
|
|
196
|
+
- **Frontend:** {tech}
|
|
197
|
+
- **Backend:** {tech}
|
|
198
|
+
- **Database:** {tech}
|
|
199
|
+
- **Other:** {tech}
|
|
200
|
+
|
|
201
|
+
## Integrations
|
|
202
|
+
- {Integration 1}
|
|
203
|
+
- {Integration 2}
|
|
204
|
+
|
|
205
|
+
## Constraints
|
|
206
|
+
- {Constraint 1}
|
|
207
|
+
- {Constraint 2}
|
|
208
|
+
|
|
209
|
+
## Timeline
|
|
210
|
+
- **Target v1.0:** {date}
|
|
211
|
+
- **Availability:** {time commitment}
|
|
212
|
+
|
|
213
|
+
## Success Criteria
|
|
214
|
+
- {Criterion 1 - measurable}
|
|
215
|
+
- {Criterion 2 - measurable}
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
*Created: {YYYY-MM-DD}*
|
|
219
|
+
*Last updated: {YYYY-MM-DD}*
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## Step 5: Generate VISION.md
|
|
225
|
+
|
|
226
|
+
**Purpose:** Break down the project into executable phases.
|
|
227
|
+
|
|
228
|
+
### Phase Generation Rules
|
|
229
|
+
|
|
230
|
+
1. **Phase Count:** Typically 3-8 phases for v1.0
|
|
231
|
+
2. **Phase Scope:** Each phase should be 1-5 days of work
|
|
232
|
+
3. **Dependencies:** Early phases should unblock later phases
|
|
233
|
+
4. **Must-Haves First:** Critical features in earlier phases
|
|
234
|
+
5. **Buffer Phase:** Include a "Polish & Testing" phase at the end
|
|
235
|
+
|
|
236
|
+
### Roadmap Template
|
|
237
|
+
|
|
238
|
+
```markdown
|
|
239
|
+
# {Project Name} Roadmap
|
|
240
|
+
|
|
241
|
+
## Milestone: v1.0 - {milestone_name}
|
|
242
|
+
|
|
243
|
+
**Target:** {target_date}
|
|
244
|
+
**Status:** Planning
|
|
245
|
+
**Progress:** [----------] 0%
|
|
246
|
+
|
|
247
|
+
---
|
|
248
|
+
|
|
249
|
+
## Phase Overview
|
|
250
|
+
|
|
251
|
+
| # | Phase | Status | Est. Duration | Description |
|
|
252
|
+
|---|-------|--------|---------------|-------------|
|
|
253
|
+
| 1 | {name} | Pending | {X days} | {description} |
|
|
254
|
+
| 2 | {name} | Pending | {X days} | {description} |
|
|
255
|
+
| 3 | {name} | Pending | {X days} | {description} |
|
|
256
|
+
| N | {name} | Pending | {X days} | {description} |
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## Phase Details
|
|
261
|
+
|
|
262
|
+
### Phase 1: {name}
|
|
263
|
+
**Objective:** {what this phase accomplishes}
|
|
264
|
+
**Estimated Duration:** {X days}
|
|
265
|
+
**Dependencies:** None (starting phase)
|
|
266
|
+
|
|
267
|
+
**Must-Haves:**
|
|
268
|
+
- {Must-have 1}
|
|
269
|
+
- {Must-have 2}
|
|
270
|
+
|
|
271
|
+
**Deliverables:**
|
|
272
|
+
- {Deliverable 1}
|
|
273
|
+
- {Deliverable 2}
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
### Phase 2: {name}
|
|
278
|
+
**Objective:** {what this phase accomplishes}
|
|
279
|
+
**Estimated Duration:** {X days}
|
|
280
|
+
**Dependencies:** Phase 1
|
|
281
|
+
|
|
282
|
+
**Must-Haves:**
|
|
283
|
+
- {Must-have 1}
|
|
284
|
+
- {Must-have 2}
|
|
285
|
+
|
|
286
|
+
**Deliverables:**
|
|
287
|
+
- {Deliverable 1}
|
|
288
|
+
- {Deliverable 2}
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
[Continue for all phases]
|
|
293
|
+
|
|
294
|
+
---
|
|
295
|
+
|
|
296
|
+
## Dependencies
|
|
297
|
+
|
|
298
|
+
```mermaid
|
|
299
|
+
graph TD
|
|
300
|
+
P1[Phase 1: {name}] --> P2[Phase 2: {name}]
|
|
301
|
+
P1 --> P3[Phase 3: {name}]
|
|
302
|
+
P2 --> P4[Phase 4: {name}]
|
|
303
|
+
P3 --> P4
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
## Risk Assessment
|
|
309
|
+
|
|
310
|
+
| Risk | Impact | Mitigation | Status |
|
|
311
|
+
|------|--------|------------|--------|
|
|
312
|
+
| {risk 1} | High/Med/Low | {mitigation} | Open |
|
|
313
|
+
| {risk 2} | High/Med/Low | {mitigation} | Open |
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
## Success Criteria
|
|
318
|
+
|
|
319
|
+
### Must-Haves (Required for v1.0)
|
|
320
|
+
- [ ] {Must-have 1}
|
|
321
|
+
- [ ] {Must-have 2}
|
|
322
|
+
- [ ] {Must-have 3}
|
|
323
|
+
|
|
324
|
+
### Nice-to-Haves (Deferred if needed)
|
|
325
|
+
- [ ] {Nice-to-have 1}
|
|
326
|
+
- [ ] {Nice-to-have 2}
|
|
327
|
+
|
|
328
|
+
---
|
|
329
|
+
|
|
330
|
+
*Created: {YYYY-MM-DD}*
|
|
331
|
+
*Last updated: {YYYY-MM-DD}*
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
336
|
+
## Step 6: Initialize CONSCIENCE.md
|
|
337
|
+
|
|
338
|
+
**Purpose:** Create the living memory document for session continuity.
|
|
339
|
+
|
|
340
|
+
Use the `@templates/state.md` template with these initial values:
|
|
341
|
+
|
|
342
|
+
```yaml
|
|
343
|
+
# Initial CONSCIENCE.md values
|
|
344
|
+
project_name: {from questions}
|
|
345
|
+
core_value: {from questions}
|
|
346
|
+
current_phase: 1
|
|
347
|
+
phase_name: {from roadmap}
|
|
348
|
+
milestone_version: "1.0"
|
|
349
|
+
milestone_status: "Planning"
|
|
350
|
+
total_phases: {from roadmap}
|
|
351
|
+
current_wave: "N/A"
|
|
352
|
+
status: "Ready to plan"
|
|
353
|
+
last_activity_date: {today}
|
|
354
|
+
last_activity_description: "Project initialized"
|
|
355
|
+
progress_percent: 0
|
|
356
|
+
total_skills_applied: 0
|
|
357
|
+
honesty_checkpoint_count: 0
|
|
358
|
+
last_validated_phase: "N/A"
|
|
359
|
+
session_start: "N/A"
|
|
360
|
+
next_action: "Run /fire-2-plan 1 to begin planning Phase 1"
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
365
|
+
## Step 7: Create SKILLS-INDEX.md
|
|
366
|
+
|
|
367
|
+
**Purpose:** Initialize skills tracking for WARRIOR integration.
|
|
368
|
+
|
|
369
|
+
```markdown
|
|
370
|
+
# Skills Applied to This Project
|
|
371
|
+
|
|
372
|
+
## Summary
|
|
373
|
+
- **Total skills applied:** 0
|
|
374
|
+
- **Categories used:** 0
|
|
375
|
+
- **Last skill applied:** N/A
|
|
376
|
+
|
|
377
|
+
## By Phase
|
|
378
|
+
*No phases executed yet*
|
|
379
|
+
|
|
380
|
+
## By Category
|
|
381
|
+
*Skills will be tracked here as they're applied during execution*
|
|
382
|
+
|
|
383
|
+
### Available Categories
|
|
384
|
+
| Category | Skills | Description |
|
|
385
|
+
|----------|--------|-------------|
|
|
386
|
+
| database-solutions | 15+ | Queries, migrations, optimization |
|
|
387
|
+
| api-patterns | 12+ | REST, versioning, pagination |
|
|
388
|
+
| security | 18+ | Auth, validation, encryption |
|
|
389
|
+
| performance | 10+ | Caching, optimization, profiling |
|
|
390
|
+
| frontend | 14+ | React, state, rendering |
|
|
391
|
+
| testing | 12+ | Unit, integration, E2E |
|
|
392
|
+
| methodology | 10+ | Planning, review, handoffs |
|
|
393
|
+
| patterns-standards | 15+ | Design patterns, conventions |
|
|
394
|
+
|
|
395
|
+
## Quick Reference
|
|
396
|
+
Run `/fire-search [query]` to find relevant skills.
|
|
397
|
+
|
|
398
|
+
---
|
|
399
|
+
*Initialized: {YYYY-MM-DD}*
|
|
400
|
+
*Last updated: {YYYY-MM-DD}*
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
---
|
|
404
|
+
|
|
405
|
+
## Step 8: Create Initial Handoff
|
|
406
|
+
|
|
407
|
+
**Purpose:** Establish session continuity from the start.
|
|
408
|
+
|
|
409
|
+
```bash
|
|
410
|
+
# Generate handoff filename
|
|
411
|
+
HANDOFF_FILE=~/.claude/warrior-handoffs/{PROJECT_NAME}_{YYYY-MM-DD}_init.md
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
**Initial Handoff Content:**
|
|
415
|
+
|
|
416
|
+
```markdown
|
|
417
|
+
---
|
|
418
|
+
project: {project_name}
|
|
419
|
+
session_date: {YYYY-MM-DD}
|
|
420
|
+
type: initialization
|
|
421
|
+
status: ready_to_plan
|
|
422
|
+
---
|
|
423
|
+
|
|
424
|
+
# WARRIOR Handoff: {Project Name} - Initialization
|
|
425
|
+
|
|
426
|
+
**Session:** {date}
|
|
427
|
+
**Type:** Project Initialization
|
|
428
|
+
**Status:** Ready to Plan
|
|
429
|
+
|
|
430
|
+
---
|
|
431
|
+
|
|
432
|
+
## W - Work Completed
|
|
433
|
+
- Project requirements gathered
|
|
434
|
+
- Planning directory structure created
|
|
435
|
+
- Roadmap with {N} phases defined
|
|
436
|
+
- CONSCIENCE.md initialized
|
|
437
|
+
- Skills tracking prepared
|
|
438
|
+
|
|
439
|
+
## A - Assessment
|
|
440
|
+
- **Project Definition:** Complete
|
|
441
|
+
- **Roadmap:** {N} phases defined
|
|
442
|
+
- **Next Phase:** Phase 1 - {name}
|
|
443
|
+
|
|
444
|
+
## R - Resources
|
|
445
|
+
**Project Location:** {path}
|
|
446
|
+
**Planning Docs:** {path}/.planning/
|
|
447
|
+
|
|
448
|
+
## R - Readiness
|
|
449
|
+
**Ready For:** Phase 1 planning
|
|
450
|
+
**Blocked On:** Nothing
|
|
451
|
+
|
|
452
|
+
## I - Issues
|
|
453
|
+
**Known Issues:** None
|
|
454
|
+
**Assumptions Made:**
|
|
455
|
+
- {Any assumptions from requirements gathering}
|
|
456
|
+
|
|
457
|
+
## O - Outlook
|
|
458
|
+
**Next Session Should:**
|
|
459
|
+
1. Run `/fire-2-plan 1` to create Phase 1 plans
|
|
460
|
+
2. Review generated plans
|
|
461
|
+
3. Begin execution with `/fire-3-execute 1`
|
|
462
|
+
|
|
463
|
+
## R - References
|
|
464
|
+
**Key Files:**
|
|
465
|
+
- .planning/PROJECT.md
|
|
466
|
+
- .planning/VISION.md
|
|
467
|
+
- .planning/CONSCIENCE.md
|
|
468
|
+
|
|
469
|
+
---
|
|
470
|
+
*Handoff created: {timestamp}*
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
---
|
|
474
|
+
|
|
475
|
+
## Step 9: Configure Hook System
|
|
476
|
+
|
|
477
|
+
**Purpose:** Ensure automatic context loading on session start.
|
|
478
|
+
|
|
479
|
+
The Dominion Flow plugin includes SessionStart hooks that:
|
|
480
|
+
1. Load CONSCIENCE.md context automatically
|
|
481
|
+
2. Remind about WARRIOR handoffs
|
|
482
|
+
3. Display last activity and next action
|
|
483
|
+
|
|
484
|
+
**Verify hook configuration:**
|
|
485
|
+
```bash
|
|
486
|
+
# Check hooks.json exists in plugin
|
|
487
|
+
ls ~/.claude/plugins/dominion-flow/hooks/hooks.json
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
---
|
|
491
|
+
|
|
492
|
+
## Step 10: Display Completion Summary
|
|
493
|
+
|
|
494
|
+
**Purpose:** Confirm initialization and provide next steps.
|
|
495
|
+
|
|
496
|
+
```
|
|
497
|
+
╔══════════════════════════════════════════════════════════════════════════════╗
|
|
498
|
+
║ PROJECT INITIALIZED ║
|
|
499
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
500
|
+
║ ║
|
|
501
|
+
║ Project: {project_name} ║
|
|
502
|
+
║ Core Value: {core_value} ║
|
|
503
|
+
║ Phases: {phase_count} defined ║
|
|
504
|
+
║ Status: Ready to plan ║
|
|
505
|
+
║ ║
|
|
506
|
+
║ Created: ║
|
|
507
|
+
║ .planning/PROJECT.md ║
|
|
508
|
+
║ .planning/VISION.md ║
|
|
509
|
+
║ .planning/CONSCIENCE.md ║
|
|
510
|
+
║ .planning/SKILLS-INDEX.md ║
|
|
511
|
+
║ .planning/phases/ ║
|
|
512
|
+
║ ~/.claude/warrior-handoffs/{project}_init.md ║
|
|
513
|
+
║ ║
|
|
514
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
515
|
+
║ NEXT UP ║
|
|
516
|
+
├──────────────────────────────────────────────────────────────────────────────┤
|
|
517
|
+
║ ║
|
|
518
|
+
║ Run `/fire-2-plan 1` to create plans for Phase 1 ║
|
|
519
|
+
║ Or run `/fire-dashboard` to view project status ║
|
|
520
|
+
║ ║
|
|
521
|
+
╚══════════════════════════════════════════════════════════════════════════════╝
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
</process>
|
|
525
|
+
|
|
526
|
+
---
|
|
527
|
+
|
|
528
|
+
## Agent Spawning
|
|
529
|
+
|
|
530
|
+
This workflow does NOT spawn agents. It runs interactively with the user to gather requirements.
|
|
531
|
+
|
|
532
|
+
**Rationale:** Project initialization requires human input and decision-making. The AI facilitates the process but doesn't make autonomous decisions about project scope or priorities.
|
|
533
|
+
|
|
534
|
+
---
|
|
535
|
+
|
|
536
|
+
## Success Criteria
|
|
537
|
+
|
|
538
|
+
### Required Outputs
|
|
539
|
+
- [ ] `.planning/` directory created
|
|
540
|
+
- [ ] `PROJECT.md` with requirements captured
|
|
541
|
+
- [ ] `VISION.md` with phases defined
|
|
542
|
+
- [ ] `CONSCIENCE.md` initialized with WARRIOR fields
|
|
543
|
+
- [ ] `SKILLS-INDEX.md` created (empty)
|
|
544
|
+
- [ ] `phases/` directory created
|
|
545
|
+
- [ ] Initial handoff file created in `~/.claude/warrior-handoffs/`
|
|
546
|
+
|
|
547
|
+
### Quality Checks
|
|
548
|
+
- [ ] All questions answered (or explicitly deferred)
|
|
549
|
+
- [ ] Must-haves are specific and testable
|
|
550
|
+
- [ ] Phases have clear objectives
|
|
551
|
+
- [ ] Timeline is realistic given availability
|
|
552
|
+
- [ ] Dependencies are logical
|
|
553
|
+
|
|
554
|
+
---
|
|
555
|
+
|
|
556
|
+
## Error Handling
|
|
557
|
+
|
|
558
|
+
### .planning/ Already Exists
|
|
559
|
+
Route to existing project dialog - offer resume, delete, or new path.
|
|
560
|
+
|
|
561
|
+
### Write Permission Denied
|
|
562
|
+
Display error with specific path and suggest alternatives.
|
|
563
|
+
|
|
564
|
+
### User Cancels Mid-Workflow
|
|
565
|
+
Save partial progress to `~/.claude/warrior-handoffs/{project}_partial.md` for later resume.
|
|
566
|
+
|
|
567
|
+
### Unclear Requirements
|
|
568
|
+
Add follow-up questions rather than assuming. Flag uncertainties in PROJECT.md.
|
|
569
|
+
|
|
570
|
+
---
|
|
571
|
+
|
|
572
|
+
## References
|
|
573
|
+
|
|
574
|
+
- **Template:** `@templates/state.md` - CONSCIENCE.md template
|
|
575
|
+
- **Template:** `@templates/roadmap.md` - ROADMAP template
|
|
576
|
+
- **Template:** `@templates/skills-index.md` - Skills tracking template
|
|
577
|
+
- **Protocol:** `@references/honesty-protocols.md` - WARRIOR honesty foundation
|
|
578
|
+
- **Brand:** `@references/ui-brand.md` - Visual output standards
|