@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,499 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: View skills usage analytics and effectiveness metrics
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /fire-analytics
|
|
6
|
+
|
|
7
|
+
> Skills usage analytics with effectiveness metrics and learning insights
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
Analyze skills library usage patterns across the project. Shows which skills have been applied, their effectiveness, time savings, success rates, and identifies gaps in the skills repertoire. Helps optimize skill selection for future phases.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Arguments
|
|
18
|
+
|
|
19
|
+
| Argument | Required | Description |
|
|
20
|
+
|----------|----------|-------------|
|
|
21
|
+
| `--category [name]` | No | Filter to specific category (e.g., `database-solutions`) |
|
|
22
|
+
| `--time-saved` | No | Focus on time savings report |
|
|
23
|
+
| `--gaps` | No | Identify missing skills and recommendations |
|
|
24
|
+
| `--period [days]` | No | Limit analysis to last N days (default: all time) |
|
|
25
|
+
| `--export [format]` | No | Export report as `md`, `json`, or `csv` |
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Process
|
|
30
|
+
|
|
31
|
+
### Step 1: Load Analytics Data
|
|
32
|
+
|
|
33
|
+
Read skills usage data from project state files.
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# Required files
|
|
37
|
+
SKILLS_INDEX=".planning/SKILLS-INDEX.md"
|
|
38
|
+
STATE_FILE=".planning/CONSCIENCE.md"
|
|
39
|
+
SUMMARIES=".planning/phases/*/RECORD.md"
|
|
40
|
+
|
|
41
|
+
if [ ! -f "$SKILLS_INDEX" ]; then
|
|
42
|
+
echo "No skills data found. Run /fire-search or /fire-3-execute first."
|
|
43
|
+
exit 1
|
|
44
|
+
fi
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Parse:
|
|
48
|
+
- `.planning/SKILLS-INDEX.md` - Skills applied per phase/plan
|
|
49
|
+
- `.planning/CONSCIENCE.md` - Analytics section with usage stats
|
|
50
|
+
- `.planning/phases/*/RECORD.md` - Skills applied per execution
|
|
51
|
+
- Git history - Time between commits for duration estimates
|
|
52
|
+
|
|
53
|
+
### Step 2: Compute Analytics
|
|
54
|
+
|
|
55
|
+
Calculate usage statistics and effectiveness metrics:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
Usage Statistics:
|
|
59
|
+
- Skills by usage count (descending)
|
|
60
|
+
- Category distribution
|
|
61
|
+
- Skills per phase average
|
|
62
|
+
- Unique skills count
|
|
63
|
+
|
|
64
|
+
Effectiveness Metrics:
|
|
65
|
+
- Time saved estimates (based on skill complexity ratings)
|
|
66
|
+
- Success rate (skills that led to passing verification)
|
|
67
|
+
- Impact score (performance improvements, bug prevention)
|
|
68
|
+
|
|
69
|
+
Learning Insights:
|
|
70
|
+
- Patterns in skill usage
|
|
71
|
+
- Skills that tend to be used together
|
|
72
|
+
- Gaps based on phase requirements vs available skills
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Step 3: Display Analytics
|
|
76
|
+
|
|
77
|
+
#### Default Mode (Full Analytics)
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
81
|
+
POWER ► ANALYTICS
|
|
82
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
83
|
+
|
|
84
|
+
╔══════════════════════════════════════════════════════════════════════════════╗
|
|
85
|
+
║ USAGE SUMMARY ║
|
|
86
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
87
|
+
║ ║
|
|
88
|
+
║ Total Skills Applied: 12 Unique Skills: 8 ║
|
|
89
|
+
║ Categories Used: 4 Avg Skills/Phase: 3.0 ║
|
|
90
|
+
║ Time Period: 2026-01-15 to 2026-01-22 (7 days) ║
|
|
91
|
+
║ ║
|
|
92
|
+
╚══════════════════════════════════════════════════════════════════════════════╝
|
|
93
|
+
|
|
94
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
95
|
+
│ SKILLS BY USAGE COUNT │
|
|
96
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
97
|
+
│ │
|
|
98
|
+
│ Rank Skill Category Count Bar │
|
|
99
|
+
│ ──── ────────────────────────────── ────────────────── ───── ─── │
|
|
100
|
+
│ 1 n-plus-1 database-solutions 5 █████ │
|
|
101
|
+
│ 2 input-validation security 4 ████ │
|
|
102
|
+
│ 3 pagination api-patterns 3 ███ │
|
|
103
|
+
│ 4 jwt-authentication security 2 ██ │
|
|
104
|
+
│ 5 indexing database-solutions 2 ██ │
|
|
105
|
+
│ 6 rate-limiting api-patterns 1 █ │
|
|
106
|
+
│ 7 connection-pooling database-solutions 1 █ │
|
|
107
|
+
│ 8 error-boundary frontend 1 █ │
|
|
108
|
+
│ │
|
|
109
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
110
|
+
|
|
111
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
112
|
+
│ CATEGORY DISTRIBUTION │
|
|
113
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
114
|
+
│ │
|
|
115
|
+
│ database-solutions ████████████████████████░░░░░░░░░░░░░░░░ 8 (40%) │
|
|
116
|
+
│ security ████████████████░░░░░░░░░░░░░░░░░░░░░░░░ 6 (30%) │
|
|
117
|
+
│ api-patterns ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4 (20%) │
|
|
118
|
+
│ frontend ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2 (10%) │
|
|
119
|
+
│ │
|
|
120
|
+
│ Not Used: testing (0), performance (0), infrastructure (0) │
|
|
121
|
+
│ │
|
|
122
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
123
|
+
|
|
124
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
125
|
+
│ TIME SAVED ESTIMATES │
|
|
126
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
127
|
+
│ │
|
|
128
|
+
│ Skill Base Time Actual Saved % Saved │
|
|
129
|
+
│ ──────────────────────────── ───────── ────── ───── ─────── │
|
|
130
|
+
│ n-plus-1 (5x) 4h 10m 50m 3h 20m 80% │
|
|
131
|
+
│ input-validation (4x) 2h 00m 30m 1h 30m 75% │
|
|
132
|
+
│ jwt-authentication (2x) 3h 00m 45m 2h 15m 75% │
|
|
133
|
+
│ pagination (3x) 1h 30m 20m 1h 10m 78% │
|
|
134
|
+
│ indexing (2x) 1h 00m 15m 45m 75% │
|
|
135
|
+
│ ──────────────────────────── ───────── ────── ───── ─────── │
|
|
136
|
+
│ TOTAL 11h 40m 2h 40m 9h 00m 77% │
|
|
137
|
+
│ │
|
|
138
|
+
│ * Estimates based on skill complexity ratings and industry benchmarks │
|
|
139
|
+
│ │
|
|
140
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
141
|
+
|
|
142
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
143
|
+
│ EFFECTIVENESS METRICS │
|
|
144
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
145
|
+
│ │
|
|
146
|
+
│ ┌────────────────────────────────────────────────────────────────────┐ │
|
|
147
|
+
│ │ MOST EFFECTIVE SKILL │ │
|
|
148
|
+
│ │ │ │
|
|
149
|
+
│ │ n-plus-1 (database-solutions) │ │
|
|
150
|
+
│ │ ├─ Used: 5 times across 3 phases │ │
|
|
151
|
+
│ │ ├─ Impact: 83% average query performance improvement │ │
|
|
152
|
+
│ │ ├─ Success Rate: 100% (all verifications passed) │ │
|
|
153
|
+
│ │ └─ Time Saved: 3h 20m total │ │
|
|
154
|
+
│ │ │ │
|
|
155
|
+
│ └────────────────────────────────────────────────────────────────────┘ │
|
|
156
|
+
│ │
|
|
157
|
+
│ ┌────────────────────────────────────────────────────────────────────┐ │
|
|
158
|
+
│ │ MOST USED CATEGORY │ │
|
|
159
|
+
│ │ │ │
|
|
160
|
+
│ │ database-solutions │ │
|
|
161
|
+
│ │ ├─ Skills Applied: 8 (40% of all applications) │ │
|
|
162
|
+
│ │ ├─ Unique Skills: 3 (n-plus-1, indexing, connection-pooling) │ │
|
|
163
|
+
│ │ ├─ Phases Touched: 3 of 4 completed phases │ │
|
|
164
|
+
│ │ └─ Avg Impact: High (database queries optimized) │ │
|
|
165
|
+
│ │ │ │
|
|
166
|
+
│ └────────────────────────────────────────────────────────────────────┘ │
|
|
167
|
+
│ │
|
|
168
|
+
│ Success Rates by Category: │
|
|
169
|
+
│ ├─ database-solutions: 100% ████████████████████ │
|
|
170
|
+
│ ├─ security: 100% ████████████████████ │
|
|
171
|
+
│ ├─ api-patterns: 95% ███████████████████░ │
|
|
172
|
+
│ └─ frontend: 90% ██████████████████░░ │
|
|
173
|
+
│ │
|
|
174
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
175
|
+
|
|
176
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
177
|
+
│ LEARNING INSIGHTS │
|
|
178
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
179
|
+
│ │
|
|
180
|
+
│ Patterns Detected: │
|
|
181
|
+
│ ├─ Skills n-plus-1 and indexing often used together (80% co-occurrence) │
|
|
182
|
+
│ ├─ security skills applied early in phases (good practice!) │
|
|
183
|
+
│ └─ frontend skills underutilized relative to project scope │
|
|
184
|
+
│ │
|
|
185
|
+
│ Recommendations: │
|
|
186
|
+
│ ├─ Consider bundling n-plus-1 + indexing as compound skill │
|
|
187
|
+
│ ├─ Explore testing skills (0 applications - potential gap) │
|
|
188
|
+
│ └─ Review performance skills for upcoming optimization phases │
|
|
189
|
+
│ │
|
|
190
|
+
│ Trend: Skills usage increasing 25% per phase (knowledge compounding) │
|
|
191
|
+
│ │
|
|
192
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
#### Category Mode (`--category database-solutions`)
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
━━━ POWER ► ANALYTICS: database-solutions ━━━
|
|
199
|
+
|
|
200
|
+
╔══════════════════════════════════════════════════════════════════════════════╗
|
|
201
|
+
║ CATEGORY: database-solutions ║
|
|
202
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
203
|
+
║ ║
|
|
204
|
+
║ Total Applications: 8 Available Skills: 15 ║
|
|
205
|
+
║ Unique Skills Used: 3 Usage Rate: 20% ║
|
|
206
|
+
║ Success Rate: 100% Time Saved: 5h 05m ║
|
|
207
|
+
║ ║
|
|
208
|
+
╚══════════════════════════════════════════════════════════════════════════════╝
|
|
209
|
+
|
|
210
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
211
|
+
│ SKILLS IN THIS CATEGORY │
|
|
212
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
213
|
+
│ │
|
|
214
|
+
│ USED: │
|
|
215
|
+
│ ├─ n-plus-1 5x ████████████████████ Phase 2, 3 │
|
|
216
|
+
│ ├─ indexing 2x ████████ Phase 2 │
|
|
217
|
+
│ └─ connection-pooling 1x ████ Phase 3 │
|
|
218
|
+
│ │
|
|
219
|
+
│ AVAILABLE (not yet used): │
|
|
220
|
+
│ ├─ query-optimization - Optimize slow queries with EXPLAIN │
|
|
221
|
+
│ ├─ denormalization - Strategic data duplication │
|
|
222
|
+
│ ├─ migrations - Safe database migration patterns │
|
|
223
|
+
│ ├─ transactions - ACID transaction handling │
|
|
224
|
+
│ ├─ deadlock-prevention - Avoid database deadlocks │
|
|
225
|
+
│ ├─ sharding - Horizontal partitioning │
|
|
226
|
+
│ ├─ replication - Read replicas setup │
|
|
227
|
+
│ ├─ backup-strategies - Automated backup patterns │
|
|
228
|
+
│ ├─ schema-versioning - Database schema evolution │
|
|
229
|
+
│ ├─ soft-deletes - Logical deletion patterns │
|
|
230
|
+
│ ├─ audit-logging - Change tracking │
|
|
231
|
+
│ └─ connection-retry - Resilient connection handling │
|
|
232
|
+
│ │
|
|
233
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
234
|
+
|
|
235
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
236
|
+
│ USAGE TIMELINE │
|
|
237
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
238
|
+
│ │
|
|
239
|
+
│ Phase 2: ████ n-plus-1, indexing, indexing │
|
|
240
|
+
│ Phase 3: ████████ n-plus-1, n-plus-1, n-plus-1, n-plus-1, conn-pooling │
|
|
241
|
+
│ │
|
|
242
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
#### Time Saved Mode (`--time-saved`)
|
|
246
|
+
|
|
247
|
+
```
|
|
248
|
+
━━━ POWER ► ANALYTICS: TIME SAVINGS REPORT ━━━
|
|
249
|
+
|
|
250
|
+
╔══════════════════════════════════════════════════════════════════════════════╗
|
|
251
|
+
║ TIME SAVINGS SUMMARY ║
|
|
252
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
253
|
+
║ ║
|
|
254
|
+
║ Total Time Saved: 9h 00m ║
|
|
255
|
+
║ Without Skills: 11h 40m (estimated) ║
|
|
256
|
+
║ With Skills: 2h 40m (actual) ║
|
|
257
|
+
║ Efficiency Gain: 77% ║
|
|
258
|
+
║ ║
|
|
259
|
+
║ ████████████████████████████████████████████████████████████░░░░░░░░░░░░░ ║
|
|
260
|
+
║ │◄─────────────── 9h saved ───────────────►│◄── 2h 40m ──►│ ║
|
|
261
|
+
║ ║
|
|
262
|
+
╚══════════════════════════════════════════════════════════════════════════════╝
|
|
263
|
+
|
|
264
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
265
|
+
│ SAVINGS BY SKILL (Sorted by Time Saved) │
|
|
266
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
267
|
+
│ │
|
|
268
|
+
│ # Skill Uses Base Time Actual Saved Impact │
|
|
269
|
+
│ ── ──────────────────── ──── ───────── ────── ────── ────── │
|
|
270
|
+
│ 1 n-plus-1 5 4h 10m 50m 3h 20m HIGH │
|
|
271
|
+
│ 2 jwt-authentication 2 3h 00m 45m 2h 15m HIGH │
|
|
272
|
+
│ 3 input-validation 4 2h 00m 30m 1h 30m MEDIUM │
|
|
273
|
+
│ 4 pagination 3 1h 30m 20m 1h 10m MEDIUM │
|
|
274
|
+
│ 5 indexing 2 1h 00m 15m 45m MEDIUM │
|
|
275
|
+
│ 6 rate-limiting 1 30m 10m 20m LOW │
|
|
276
|
+
│ 7 connection-pooling 1 20m 5m 15m LOW │
|
|
277
|
+
│ 8 error-boundary 1 10m 5m 5m LOW │
|
|
278
|
+
│ │
|
|
279
|
+
│ Note: Base time estimated from skill complexity and industry benchmarks │
|
|
280
|
+
│ │
|
|
281
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
282
|
+
|
|
283
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
284
|
+
│ SAVINGS BY CATEGORY │
|
|
285
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
286
|
+
│ │
|
|
287
|
+
│ database-solutions ████████████████████████████████░░░░░░ 4h 20m (48%) │
|
|
288
|
+
│ security ██████████████████████░░░░░░░░░░░░░░░░ 3h 45m (42%) │
|
|
289
|
+
│ api-patterns ██████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 50m (9%) │
|
|
290
|
+
│ frontend █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5m (1%) │
|
|
291
|
+
│ │
|
|
292
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
293
|
+
|
|
294
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
295
|
+
│ PROJECTED SAVINGS (Remaining Phases) │
|
|
296
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
297
|
+
│ │
|
|
298
|
+
│ If current skill usage patterns continue: │
|
|
299
|
+
│ │
|
|
300
|
+
│ Remaining phases: 6 │
|
|
301
|
+
│ Expected skill applications: ~18 │
|
|
302
|
+
│ Projected additional savings: ~13h 30m │
|
|
303
|
+
│ Total project savings: ~22h 30m │
|
|
304
|
+
│ │
|
|
305
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
#### Gaps Mode (`--gaps`)
|
|
309
|
+
|
|
310
|
+
```
|
|
311
|
+
━━━ POWER ► ANALYTICS: SKILLS GAP ANALYSIS ━━━
|
|
312
|
+
|
|
313
|
+
╔══════════════════════════════════════════════════════════════════════════════╗
|
|
314
|
+
║ SKILLS GAP DETECTION ║
|
|
315
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
316
|
+
║ ║
|
|
317
|
+
║ Categories with Zero Usage: 3 ║
|
|
318
|
+
║ Underutilized Categories: 2 ║
|
|
319
|
+
║ Potential Missing Skills: 5 ║
|
|
320
|
+
║ ║
|
|
321
|
+
╚══════════════════════════════════════════════════════════════════════════════╝
|
|
322
|
+
|
|
323
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
324
|
+
│ UNUSED CATEGORIES │
|
|
325
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
326
|
+
│ │
|
|
327
|
+
│ ✗ testing (0 skills used) │
|
|
328
|
+
│ └─ Available: unit-testing, integration-testing, mocking, │
|
|
329
|
+
│ snapshot-testing, e2e-testing, coverage-analysis │
|
|
330
|
+
│ └─ Recommendation: HIGH PRIORITY - Add testing skills in Phase 4 │
|
|
331
|
+
│ │
|
|
332
|
+
│ ✗ performance (0 skills used) │
|
|
333
|
+
│ └─ Available: caching, bundle-optimization, lazy-loading, │
|
|
334
|
+
│ code-splitting, image-optimization, cdn-configuration │
|
|
335
|
+
│ └─ Recommendation: MEDIUM - Consider for optimization phase │
|
|
336
|
+
│ │
|
|
337
|
+
│ ✗ infrastructure (0 skills used) │
|
|
338
|
+
│ └─ Available: docker-compose, kubernetes, ci-cd-pipelines, │
|
|
339
|
+
│ environment-management, secrets-management, monitoring │
|
|
340
|
+
│ └─ Recommendation: LOW - May not be needed for current scope │
|
|
341
|
+
│ │
|
|
342
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
343
|
+
|
|
344
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
345
|
+
│ UNDERUTILIZED CATEGORIES │
|
|
346
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
347
|
+
│ │
|
|
348
|
+
│ ⚠ frontend (1 skill used, 12 available) │
|
|
349
|
+
│ └─ Used: error-boundary │
|
|
350
|
+
│ └─ Consider: react-memo, state-management, form-validation, │
|
|
351
|
+
│ accessibility, responsive-design │
|
|
352
|
+
│ └─ Usage Rate: 8% (below 20% threshold) │
|
|
353
|
+
│ │
|
|
354
|
+
│ ⚠ api-patterns (3 skills used, 10 available) │
|
|
355
|
+
│ └─ Used: pagination, rate-limiting, [unknown] │
|
|
356
|
+
│ └─ Consider: error-handling, versioning, caching-headers, │
|
|
357
|
+
│ documentation, retry-patterns │
|
|
358
|
+
│ └─ Usage Rate: 30% (acceptable but could improve) │
|
|
359
|
+
│ │
|
|
360
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
361
|
+
|
|
362
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
363
|
+
│ POTENTIAL MISSING SKILLS │
|
|
364
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
365
|
+
│ │
|
|
366
|
+
│ Based on project patterns and common needs: │
|
|
367
|
+
│ │
|
|
368
|
+
│ 1. GraphQL patterns (no skills exist) │
|
|
369
|
+
│ └─ Detected: GraphQL queries in codebase │
|
|
370
|
+
│ └─ Action: /fire-contribute to add GraphQL skills │
|
|
371
|
+
│ │
|
|
372
|
+
│ 2. WebSocket handling (no skills exist) │
|
|
373
|
+
│ └─ Detected: Real-time features planned │
|
|
374
|
+
│ └─ Action: /fire-contribute or search external sources │
|
|
375
|
+
│ │
|
|
376
|
+
│ 3. Bible/Theological domain (no skills exist) │
|
|
377
|
+
│ └─ Detected: Domain-specific patterns in codebase │
|
|
378
|
+
│ └─ Action: Create project-specific skills category │
|
|
379
|
+
│ │
|
|
380
|
+
│ 4. TypeScript strict patterns (no skills exist) │
|
|
381
|
+
│ └─ Detected: Frequent type errors in verification │
|
|
382
|
+
│ └─ Action: Consider adding typescript-patterns category │
|
|
383
|
+
│ │
|
|
384
|
+
│ 5. Prisma optimization (beyond n-plus-1) │
|
|
385
|
+
│ └─ Detected: Prisma-specific patterns recurring │
|
|
386
|
+
│ └─ Action: Extend database-solutions with Prisma skills │
|
|
387
|
+
│ │
|
|
388
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
389
|
+
|
|
390
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
391
|
+
│ RECOMMENDATIONS │
|
|
392
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
393
|
+
│ │
|
|
394
|
+
│ Priority Actions: │
|
|
395
|
+
│ │
|
|
396
|
+
│ [1] HIGH: Add testing skills before Phase 4 │
|
|
397
|
+
│ Run: /fire-search "testing" to explore available skills │
|
|
398
|
+
│ │
|
|
399
|
+
│ [2] MEDIUM: Create GraphQL skills from current patterns │
|
|
400
|
+
│ Run: /fire-contribute after completing GraphQL work │
|
|
401
|
+
│ │
|
|
402
|
+
│ [3] LOW: Consider performance skills for optimization phase │
|
|
403
|
+
│ Run: /fire-search "performance caching" when ready │
|
|
404
|
+
│ │
|
|
405
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
|
|
410
|
+
## Time Estimation Logic
|
|
411
|
+
|
|
412
|
+
Skills have complexity ratings that estimate time saved:
|
|
413
|
+
|
|
414
|
+
| Complexity | Base Time | With Skill | Saved | Examples |
|
|
415
|
+
|------------|-----------|------------|-------|----------|
|
|
416
|
+
| LOW | 10-30m | 5-10m | 50-65% | error-boundary, logging |
|
|
417
|
+
| MEDIUM | 30m-1h | 10-20m | 65-75% | pagination, validation |
|
|
418
|
+
| HIGH | 1-2h | 15-30m | 75-85% | auth, n-plus-1 |
|
|
419
|
+
| VERY_HIGH | 2-4h | 30-60m | 75-85% | full auth flow, caching layer |
|
|
420
|
+
|
|
421
|
+
Formula:
|
|
422
|
+
```
|
|
423
|
+
time_saved = (base_time * usage_count) - (actual_time * usage_count)
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
---
|
|
427
|
+
|
|
428
|
+
## Export Formats
|
|
429
|
+
|
|
430
|
+
### Markdown (`--export md`)
|
|
431
|
+
|
|
432
|
+
Generates a full report in `.planning/analytics/YYYY-MM-DD-analytics.md`
|
|
433
|
+
|
|
434
|
+
### JSON (`--export json`)
|
|
435
|
+
|
|
436
|
+
```json
|
|
437
|
+
{
|
|
438
|
+
"summary": {
|
|
439
|
+
"total_skills_applied": 12,
|
|
440
|
+
"unique_skills": 8,
|
|
441
|
+
"categories_used": 4,
|
|
442
|
+
"time_period": {
|
|
443
|
+
"start": "2026-01-15",
|
|
444
|
+
"end": "2026-01-22"
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"skills": [
|
|
448
|
+
{"name": "n-plus-1", "category": "database-solutions", "count": 5, "time_saved_minutes": 200}
|
|
449
|
+
],
|
|
450
|
+
"categories": {
|
|
451
|
+
"database-solutions": {"count": 8, "percent": 40},
|
|
452
|
+
"security": {"count": 6, "percent": 30}
|
|
453
|
+
},
|
|
454
|
+
"time_savings": {
|
|
455
|
+
"total_saved_minutes": 540,
|
|
456
|
+
"efficiency_gain_percent": 77
|
|
457
|
+
},
|
|
458
|
+
"gaps": {
|
|
459
|
+
"unused_categories": ["testing", "performance", "infrastructure"],
|
|
460
|
+
"underutilized": ["frontend", "api-patterns"],
|
|
461
|
+
"missing_skills": ["graphql", "websocket"]
|
|
462
|
+
},
|
|
463
|
+
"generated_at": "2026-01-22T14:45:00Z"
|
|
464
|
+
}
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
### CSV (`--export csv`)
|
|
468
|
+
|
|
469
|
+
```csv
|
|
470
|
+
skill,category,count,time_saved_minutes,success_rate
|
|
471
|
+
n-plus-1,database-solutions,5,200,100
|
|
472
|
+
input-validation,security,4,90,100
|
|
473
|
+
pagination,api-patterns,3,70,95
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
---
|
|
477
|
+
|
|
478
|
+
## Success Criteria
|
|
479
|
+
|
|
480
|
+
- [ ] Analytics display without errors when SKILLS-INDEX.md exists
|
|
481
|
+
- [ ] All modes work correctly (default, category, time-saved, gaps)
|
|
482
|
+
- [ ] Time saved estimates are reasonable and documented
|
|
483
|
+
- [ ] Category distribution percentages sum to 100%
|
|
484
|
+
- [ ] Gaps detection identifies unused and underutilized categories
|
|
485
|
+
- [ ] Recommendations are actionable and reference correct commands
|
|
486
|
+
- [ ] Export formats generate valid files
|
|
487
|
+
|
|
488
|
+
---
|
|
489
|
+
|
|
490
|
+
## Related Commands
|
|
491
|
+
|
|
492
|
+
- `/fire-dashboard` - Visual project status
|
|
493
|
+
- `/fire-discover` - AI pattern discovery
|
|
494
|
+
- `/fire-search` - Search skills library
|
|
495
|
+
- `/fire-contribute` - Add new skills
|
|
496
|
+
|
|
497
|
+
---
|
|
498
|
+
|
|
499
|
+
*Analytics help optimize skill selection. Run /fire-analytics --gaps to identify improvement opportunities.*
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: List and validate assumptions for a phase before planning or execution
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /fire-assumptions
|
|
6
|
+
|
|
7
|
+
> Surface Claude's assumptions about a phase approach before planning. Prevents silent improvisation.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Arguments
|
|
12
|
+
|
|
13
|
+
```yaml
|
|
14
|
+
arguments:
|
|
15
|
+
phase:
|
|
16
|
+
required: false
|
|
17
|
+
type: string
|
|
18
|
+
description: "Phase to list assumptions for. Defaults to current phase."
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Process
|
|
24
|
+
|
|
25
|
+
### Step 1: Load Context
|
|
26
|
+
|
|
27
|
+
Read CONSCIENCE.md, VISION.md, and phase description.
|
|
28
|
+
|
|
29
|
+
### Step 2: Generate Assumptions
|
|
30
|
+
|
|
31
|
+
For the target phase, list all assumptions Claude is making:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
+---------------------------------------------------------------+
|
|
35
|
+
| DOMINION FLOW >>> ASSUMPTION VALIDATION |
|
|
36
|
+
+---------------------------------------------------------------+
|
|
37
|
+
| |
|
|
38
|
+
| Phase: 03 - Dashboard |
|
|
39
|
+
| |
|
|
40
|
+
| Assumptions I'm making: |
|
|
41
|
+
| |
|
|
42
|
+
| TECHNICAL: |
|
|
43
|
+
| 1. [VALIDATED] React 18+ is available (confirmed in pkg.json)|
|
|
44
|
+
| 2. [UNVALIDATED] WebSocket support in deployment target |
|
|
45
|
+
| 3. [UNVALIDATED] Chart library compatible with SSR |
|
|
46
|
+
| |
|
|
47
|
+
| INFRASTRUCTURE: |
|
|
48
|
+
| 4. [VALIDATED] PostgreSQL is the database |
|
|
49
|
+
| 5. [UNVALIDATED] Redis available for real-time features |
|
|
50
|
+
| |
|
|
51
|
+
| INTEGRATION: |
|
|
52
|
+
| 6. [UNVALIDATED] Stripe API supports batch operations |
|
|
53
|
+
| |
|
|
54
|
+
+-----------------------------------------------------------------+
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Step 3: Validate or Acknowledge
|
|
58
|
+
|
|
59
|
+
For each UNVALIDATED assumption:
|
|
60
|
+
- Can it be validated now? (check docs, test, research)
|
|
61
|
+
- If yes: validate and update status
|
|
62
|
+
- If no: acknowledge risk and document in ASSUMPTIONS.md
|
|
63
|
+
|
|
64
|
+
### Step 4: Update ASSUMPTIONS.md
|
|
65
|
+
|
|
66
|
+
Write validated/unvalidated assumptions to `.planning/ASSUMPTIONS.md`.
|
|
67
|
+
|
|
68
|
+
### Step 5: Route
|
|
69
|
+
|
|
70
|
+
If all critical assumptions validated: "Ready for `/fire-2-plan`"
|
|
71
|
+
If unvalidated critical assumptions: "Consider `/fire-research` before planning"
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## References
|
|
76
|
+
|
|
77
|
+
- **Template:** `@templates/ASSUMPTIONS.md`
|
|
78
|
+
- **Questioning:** `@references/questioning.md`
|