@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,388 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: power-skills-history
|
|
3
|
+
description: View version history for a skill in the skills library
|
|
4
|
+
arguments:
|
|
5
|
+
- name: skill
|
|
6
|
+
description: Skill identifier in format category/skill-name
|
|
7
|
+
required: true
|
|
8
|
+
type: string
|
|
9
|
+
triggers:
|
|
10
|
+
- "skill history"
|
|
11
|
+
- "skill versions"
|
|
12
|
+
- "skill changelog"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# /fire-skills-history - View Skill Version History
|
|
16
|
+
|
|
17
|
+
View the complete version history, changelogs, and contributors for any skill.
|
|
18
|
+
|
|
19
|
+
## Purpose
|
|
20
|
+
|
|
21
|
+
- Track how a skill has evolved over time
|
|
22
|
+
- See who contributed improvements
|
|
23
|
+
- Understand why changes were made
|
|
24
|
+
- Find previous versions if needed
|
|
25
|
+
- Review skill maturity and stability
|
|
26
|
+
|
|
27
|
+
## Prerequisites
|
|
28
|
+
|
|
29
|
+
The skills library must be git-versioned:
|
|
30
|
+
- `~/.claude/plugins/dominion-flow/skills-library/.git/`
|
|
31
|
+
- `~/.claude/fire-skills-global/.git/` (for global library)
|
|
32
|
+
|
|
33
|
+
## Arguments
|
|
34
|
+
|
|
35
|
+
| Argument | Required | Description |
|
|
36
|
+
|----------|----------|-------------|
|
|
37
|
+
| `skill` | Yes | Skill path: `{category}/{skill-name}` |
|
|
38
|
+
|
|
39
|
+
## Usage Examples
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# View history for a specific skill
|
|
43
|
+
/fire-skills-history database-solutions/n-plus-1
|
|
44
|
+
|
|
45
|
+
# View history with full commit details
|
|
46
|
+
/fire-skills-history security/jwt-auth --verbose
|
|
47
|
+
|
|
48
|
+
# View history from global library
|
|
49
|
+
/fire-skills-history api-patterns/pagination --global
|
|
50
|
+
|
|
51
|
+
# Show only last N versions
|
|
52
|
+
/fire-skills-history performance/caching --limit 5
|
|
53
|
+
|
|
54
|
+
# Export history to file
|
|
55
|
+
/fire-skills-history testing/snapshot --export
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Process
|
|
59
|
+
|
|
60
|
+
<step number="1">
|
|
61
|
+
### Validate Skill Exists
|
|
62
|
+
|
|
63
|
+
Check if the skill file exists:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
# Check project library
|
|
67
|
+
ls ~/.claude/plugins/dominion-flow/skills-library/{category}/{skill-name}.md
|
|
68
|
+
|
|
69
|
+
# Check global library (if --global)
|
|
70
|
+
ls ~/.claude/fire-skills-global/{category}/{skill-name}.md
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
If not found:
|
|
74
|
+
```
|
|
75
|
+
Error: Skill not found: {category}/{skill-name}
|
|
76
|
+
|
|
77
|
+
Did you mean one of these?
|
|
78
|
+
- {similar-skill-1}
|
|
79
|
+
- {similar-skill-2}
|
|
80
|
+
|
|
81
|
+
Search for skills: /fire-search "{skill-name}"
|
|
82
|
+
```
|
|
83
|
+
</step>
|
|
84
|
+
|
|
85
|
+
<step number="2">
|
|
86
|
+
### Retrieve Git History
|
|
87
|
+
|
|
88
|
+
Query git log for the skill file:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
cd ~/.claude/plugins/dominion-flow/skills-library
|
|
92
|
+
|
|
93
|
+
git log --follow --format="%H|%ai|%an|%s" -- {category}/{skill-name}.md
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Parse each commit:
|
|
97
|
+
- **Hash**: Full commit SHA
|
|
98
|
+
- **Date**: Commit timestamp
|
|
99
|
+
- **Author**: Contributor name
|
|
100
|
+
- **Message**: Commit description
|
|
101
|
+
</step>
|
|
102
|
+
|
|
103
|
+
<step number="3">
|
|
104
|
+
### Extract Version Information
|
|
105
|
+
|
|
106
|
+
For each commit, extract version from frontmatter:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
git show {commit-hash}:{category}/{skill-name}.md | head -20
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Parse YAML frontmatter for:
|
|
113
|
+
- `version`: Semantic version (e.g., 2.1.0)
|
|
114
|
+
- `last_updated`: Date of this version
|
|
115
|
+
- `changelog`: Version-specific changes
|
|
116
|
+
- `contributors`: List of contributors
|
|
117
|
+
</step>
|
|
118
|
+
|
|
119
|
+
<step number="4">
|
|
120
|
+
### Display Version History
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
=============================================================
|
|
124
|
+
SKILL VERSION HISTORY
|
|
125
|
+
=============================================================
|
|
126
|
+
|
|
127
|
+
Skill: {category}/{skill-name}
|
|
128
|
+
Library: {project|global}
|
|
129
|
+
Current: v{version}
|
|
130
|
+
Created: {creation-date}
|
|
131
|
+
Updates: {total-commits} versions
|
|
132
|
+
|
|
133
|
+
-------------------------------------------------------------
|
|
134
|
+
VERSION TIMELINE
|
|
135
|
+
-------------------------------------------------------------
|
|
136
|
+
|
|
137
|
+
v2.1.0 (2026-01-22) - CURRENT
|
|
138
|
+
├─ Author: my-project
|
|
139
|
+
├─ Commit: abc1234
|
|
140
|
+
├─ Message: feat(skills): add Prisma-specific examples
|
|
141
|
+
└─ Changes:
|
|
142
|
+
- Added Prisma eager loading examples
|
|
143
|
+
- Updated TypeScript types
|
|
144
|
+
- Added performance benchmarks
|
|
145
|
+
|
|
146
|
+
Files changed: 1 (+45 -12)
|
|
147
|
+
|
|
148
|
+
-------------------------------------------------------------
|
|
149
|
+
|
|
150
|
+
v2.0.0 (2026-01-15)
|
|
151
|
+
├─ Author: book-writer-app
|
|
152
|
+
├─ Commit: def5678
|
|
153
|
+
├─ Message: refactor(skills): rewrite for TypeScript ORM patterns
|
|
154
|
+
└─ Changes:
|
|
155
|
+
- Rewrote all examples for TypeScript
|
|
156
|
+
- Added Sequelize support
|
|
157
|
+
- Removed raw SQL examples (moved to sql-patterns skill)
|
|
158
|
+
- BREAKING: Changed code examples format
|
|
159
|
+
|
|
160
|
+
Files changed: 1 (+120 -85)
|
|
161
|
+
|
|
162
|
+
-------------------------------------------------------------
|
|
163
|
+
|
|
164
|
+
v1.2.0 (2026-01-08)
|
|
165
|
+
├─ Author: ecommerce-platform
|
|
166
|
+
├─ Commit: ghi9012
|
|
167
|
+
├─ Message: docs(skills): add when-not-to-use section
|
|
168
|
+
└─ Changes:
|
|
169
|
+
- Added anti-patterns section
|
|
170
|
+
- Clarified eager vs lazy loading scenarios
|
|
171
|
+
- Fixed typos
|
|
172
|
+
|
|
173
|
+
Files changed: 1 (+25 -5)
|
|
174
|
+
|
|
175
|
+
-------------------------------------------------------------
|
|
176
|
+
|
|
177
|
+
v1.1.0 (2025-12-20)
|
|
178
|
+
├─ Author: my-project
|
|
179
|
+
├─ Commit: jkl3456
|
|
180
|
+
├─ Message: feat(skills): add related skills references
|
|
181
|
+
└─ Changes:
|
|
182
|
+
- Added links to related skills
|
|
183
|
+
- Updated tags
|
|
184
|
+
|
|
185
|
+
Files changed: 1 (+10 -2)
|
|
186
|
+
|
|
187
|
+
-------------------------------------------------------------
|
|
188
|
+
|
|
189
|
+
v1.0.0 (2025-12-15) - INITIAL
|
|
190
|
+
├─ Author: my-project
|
|
191
|
+
├─ Commit: mno7890
|
|
192
|
+
├─ Message: feat(skills): add n-plus-1 query solution
|
|
193
|
+
└─ Changes:
|
|
194
|
+
- Initial skill creation
|
|
195
|
+
- Basic problem/solution documentation
|
|
196
|
+
- Raw SQL examples
|
|
197
|
+
|
|
198
|
+
Files changed: 1 (+75 -0)
|
|
199
|
+
|
|
200
|
+
=============================================================
|
|
201
|
+
|
|
202
|
+
-------------------------------------------------------------
|
|
203
|
+
CONTRIBUTORS
|
|
204
|
+
-------------------------------------------------------------
|
|
205
|
+
|
|
206
|
+
| Contributor | Versions | First | Last |
|
|
207
|
+
|-------------|----------|-------|------|
|
|
208
|
+
| my-project | 3 | v1.0.0 | v2.1.0 |
|
|
209
|
+
| book-writer-app | 1 | v2.0.0 | v2.0.0 |
|
|
210
|
+
| ecommerce-platform | 1 | v1.2.0 | v1.2.0 |
|
|
211
|
+
|
|
212
|
+
-------------------------------------------------------------
|
|
213
|
+
STATISTICS
|
|
214
|
+
-------------------------------------------------------------
|
|
215
|
+
|
|
216
|
+
Total Versions: 5
|
|
217
|
+
Age: 38 days
|
|
218
|
+
Update Frequency: ~7.6 days between updates
|
|
219
|
+
Lines Added: +275
|
|
220
|
+
Lines Removed: -104
|
|
221
|
+
Net Growth: +171 lines
|
|
222
|
+
|
|
223
|
+
Stability: STABLE (no changes in 7 days)
|
|
224
|
+
Maturity: MATURE (5+ versions, 3+ contributors)
|
|
225
|
+
|
|
226
|
+
-------------------------------------------------------------
|
|
227
|
+
QUICK ACTIONS
|
|
228
|
+
-------------------------------------------------------------
|
|
229
|
+
|
|
230
|
+
[1] View specific version:
|
|
231
|
+
/fire-skills-history {skill} --show v1.0.0
|
|
232
|
+
|
|
233
|
+
[2] Compare versions:
|
|
234
|
+
/fire-skills-diff {skill} v1.0.0 v2.1.0
|
|
235
|
+
|
|
236
|
+
[3] Rollback to version:
|
|
237
|
+
/fire-skills-rollback {skill} v2.0.0
|
|
238
|
+
|
|
239
|
+
[4] View current skill:
|
|
240
|
+
/fire-search --detail {skill}
|
|
241
|
+
|
|
242
|
+
=============================================================
|
|
243
|
+
```
|
|
244
|
+
</step>
|
|
245
|
+
|
|
246
|
+
## Verbose Output
|
|
247
|
+
|
|
248
|
+
With `--verbose` flag, show full commit details:
|
|
249
|
+
|
|
250
|
+
```
|
|
251
|
+
-------------------------------------------------------------
|
|
252
|
+
VERSION DETAIL: v2.1.0
|
|
253
|
+
-------------------------------------------------------------
|
|
254
|
+
|
|
255
|
+
Commit: abc1234567890abcdef1234567890abcdef12345
|
|
256
|
+
Author: my-project
|
|
257
|
+
Date: 2026-01-22 14:32:15 -0500
|
|
258
|
+
Parents: def5678901234...
|
|
259
|
+
|
|
260
|
+
Message:
|
|
261
|
+
feat(skills): add Prisma-specific examples
|
|
262
|
+
|
|
263
|
+
This update adds comprehensive Prisma examples for solving
|
|
264
|
+
N+1 query problems. Includes:
|
|
265
|
+
|
|
266
|
+
- Eager loading with `include`
|
|
267
|
+
- Selective field loading
|
|
268
|
+
- Nested relation handling
|
|
269
|
+
- Performance comparison benchmarks
|
|
270
|
+
|
|
271
|
+
Tested against PostgreSQL 15 and MySQL 8.
|
|
272
|
+
|
|
273
|
+
Diff:
|
|
274
|
+
@@ -45,6 +45,25 @@ ## Code Example
|
|
275
|
+
|
|
276
|
+
+### Prisma Example
|
|
277
|
+
+
|
|
278
|
+
+```typescript
|
|
279
|
+
+// Before (N+1): 15 queries
|
|
280
|
+
+const users = await prisma.user.findMany();
|
|
281
|
+
+for (const user of users) {
|
|
282
|
+
+ const profile = await prisma.profile.findUnique({
|
|
283
|
+
+ where: { userId: user.id }
|
|
284
|
+
+ });
|
|
285
|
+
+}
|
|
286
|
+
+
|
|
287
|
+
+// After (eager): 1 query
|
|
288
|
+
+const users = await prisma.user.findMany({
|
|
289
|
+
+ include: { profile: true }
|
|
290
|
+
+});
|
|
291
|
+
+```
|
|
292
|
+
+
|
|
293
|
+
+**Performance:** 250ms -> 45ms (82% improvement)
|
|
294
|
+
|
|
295
|
+
-------------------------------------------------------------
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
## Options
|
|
299
|
+
|
|
300
|
+
| Option | Description |
|
|
301
|
+
|--------|-------------|
|
|
302
|
+
| `--verbose` | Show full commit details and diffs |
|
|
303
|
+
| `--global` | Query global library instead of project |
|
|
304
|
+
| `--limit {N}` | Show only last N versions |
|
|
305
|
+
| `--since {date}` | Show versions since date |
|
|
306
|
+
| `--until {date}` | Show versions until date |
|
|
307
|
+
| `--show {version}` | Display specific version content |
|
|
308
|
+
| `--export` | Export history to markdown file |
|
|
309
|
+
| `--json` | Output as JSON |
|
|
310
|
+
| `--contributors` | Show only contributor summary |
|
|
311
|
+
| `--stats` | Show only statistics |
|
|
312
|
+
|
|
313
|
+
## Version Comparison Commands
|
|
314
|
+
|
|
315
|
+
From the history view, you can:
|
|
316
|
+
|
|
317
|
+
1. **View specific version content:**
|
|
318
|
+
```bash
|
|
319
|
+
/fire-skills-history database-solutions/n-plus-1 --show v1.0.0
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
2. **Compare two versions:**
|
|
323
|
+
```bash
|
|
324
|
+
/fire-skills-diff database-solutions/n-plus-1 v1.0.0 v2.1.0
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
3. **Rollback to previous version:**
|
|
328
|
+
```bash
|
|
329
|
+
/fire-skills-rollback database-solutions/n-plus-1 v2.0.0
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
## Export Format
|
|
333
|
+
|
|
334
|
+
With `--export`, creates a markdown file:
|
|
335
|
+
|
|
336
|
+
```markdown
|
|
337
|
+
# Version History: database-solutions/n-plus-1
|
|
338
|
+
|
|
339
|
+
Generated: 2026-01-22 15:00:00
|
|
340
|
+
|
|
341
|
+
## Summary
|
|
342
|
+
|
|
343
|
+
- **Current Version:** v2.1.0
|
|
344
|
+
- **Total Versions:** 5
|
|
345
|
+
- **Contributors:** 3
|
|
346
|
+
- **Created:** 2025-12-15
|
|
347
|
+
- **Last Updated:** 2026-01-22
|
|
348
|
+
|
|
349
|
+
## Changelog
|
|
350
|
+
|
|
351
|
+
### v2.1.0 (2026-01-22)
|
|
352
|
+
- Added Prisma-specific examples
|
|
353
|
+
- Updated TypeScript types
|
|
354
|
+
- Added performance benchmarks
|
|
355
|
+
|
|
356
|
+
### v2.0.0 (2026-01-15)
|
|
357
|
+
- Rewrote all examples for TypeScript
|
|
358
|
+
- Added Sequelize support
|
|
359
|
+
- BREAKING: Changed code examples format
|
|
360
|
+
|
|
361
|
+
[... continues for all versions ...]
|
|
362
|
+
|
|
363
|
+
## Contributors
|
|
364
|
+
|
|
365
|
+
| Name | Contributions |
|
|
366
|
+
|------|--------------|
|
|
367
|
+
| my-project | 3 versions |
|
|
368
|
+
| book-writer-app | 1 version |
|
|
369
|
+
| ecommerce-platform | 1 version |
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
Saved to: `.planning/skill-history-{category}-{skill-name}.md`
|
|
373
|
+
|
|
374
|
+
## Skill Maturity Indicators
|
|
375
|
+
|
|
376
|
+
| Indicator | Criteria | Meaning |
|
|
377
|
+
|-----------|----------|---------|
|
|
378
|
+
| **NEW** | <3 versions, <2 contributors | Recently added, may evolve |
|
|
379
|
+
| **DEVELOPING** | 3-5 versions, 2+ contributors | Actively improving |
|
|
380
|
+
| **MATURE** | 5+ versions, 3+ contributors | Well-established pattern |
|
|
381
|
+
| **STABLE** | No changes in 30+ days | Proven, unlikely to change |
|
|
382
|
+
|
|
383
|
+
## Related Commands
|
|
384
|
+
|
|
385
|
+
- `/fire-skills-diff` - Compare two versions
|
|
386
|
+
- `/fire-skills-rollback` - Revert to previous version
|
|
387
|
+
- `/fire-search --detail` - View current skill content
|
|
388
|
+
- `/fire-contribute` - Add new skill
|