@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,90 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# MIT License - Copyright (c) 2026 ThierryN - https://github.com/ThierryN/dominion-flow
|
|
3
|
+
#
|
|
4
|
+
# Dominion Flow Plugin - Session End Hook
|
|
5
|
+
#
|
|
6
|
+
# WHAT THIS DOES:
|
|
7
|
+
# When a Claude Code session ends, this script runs automatically.
|
|
8
|
+
# It tries to consolidate session memory into a vector database (Qdrant)
|
|
9
|
+
# so future sessions can search past experiences semantically.
|
|
10
|
+
#
|
|
11
|
+
# HOW IT WORKS:
|
|
12
|
+
# 1. Checks if the your-memory-repo project exists on this machine
|
|
13
|
+
# 2. Checks if Qdrant (vector database) is running on port 6335
|
|
14
|
+
# 3. Checks if Ollama (local embedding model) is running on port 11434
|
|
15
|
+
# 4. If all three are ready, runs "npm run consolidate" to index new files
|
|
16
|
+
#
|
|
17
|
+
# THIS IS OPTIONAL:
|
|
18
|
+
# If Qdrant or Ollama are not running, this script exits silently (no error).
|
|
19
|
+
# The flat .md handoff files in ~/.claude/warrior-handoffs/ are always intact
|
|
20
|
+
# and used as the fallback. Memory consolidation is a bonus, not a requirement.
|
|
21
|
+
#
|
|
22
|
+
# NOTE FOR NEW USERS:
|
|
23
|
+
# The MEMORY_PROJECT path below points to a local project that handles
|
|
24
|
+
# vector indexing. If you do not have this project set up, this hook
|
|
25
|
+
# will skip silently — your session will still work normally.
|
|
26
|
+
# To set up vector memory, see: https://github.com/ThierryN/dominion-flow
|
|
27
|
+
|
|
28
|
+
echo "=============================================="
|
|
29
|
+
echo " DOMINION FLOW - Session End Consolidation"
|
|
30
|
+
echo "=============================================="
|
|
31
|
+
echo ""
|
|
32
|
+
|
|
33
|
+
MEMORY_PROJECT="$HOME/repos/your-memory-repo"
|
|
34
|
+
|
|
35
|
+
# =============================================
|
|
36
|
+
# 1. Check if your-memory-repo project exists
|
|
37
|
+
# =============================================
|
|
38
|
+
if [ ! -d "$MEMORY_PROJECT" ]; then
|
|
39
|
+
echo "[SKIP] your-memory-repo project not found at $MEMORY_PROJECT"
|
|
40
|
+
echo " Memory consolidation skipped."
|
|
41
|
+
exit 0
|
|
42
|
+
fi
|
|
43
|
+
|
|
44
|
+
# =============================================
|
|
45
|
+
# 2. Check if Qdrant is running (port 6335)
|
|
46
|
+
# =============================================
|
|
47
|
+
if ! curl -s http://localhost:6335/healthz > /dev/null 2>&1; then
|
|
48
|
+
echo "[SKIP] Qdrant not running on port 6335."
|
|
49
|
+
echo " Memory consolidation skipped (no vector DB)."
|
|
50
|
+
echo " Flat .md files are still available."
|
|
51
|
+
exit 0
|
|
52
|
+
fi
|
|
53
|
+
|
|
54
|
+
# =============================================
|
|
55
|
+
# 3. Check if Ollama is running
|
|
56
|
+
# =============================================
|
|
57
|
+
if ! curl -s http://localhost:11434/api/tags > /dev/null 2>&1; then
|
|
58
|
+
echo "[SKIP] Ollama not running."
|
|
59
|
+
echo " Memory consolidation skipped (no embeddings)."
|
|
60
|
+
exit 0
|
|
61
|
+
fi
|
|
62
|
+
|
|
63
|
+
# =============================================
|
|
64
|
+
# 4. Run light consolidation (index new files only)
|
|
65
|
+
# =============================================
|
|
66
|
+
echo ">>> Running light memory consolidation..."
|
|
67
|
+
echo " (Index new/changed files only — fast, <30s)"
|
|
68
|
+
echo ""
|
|
69
|
+
|
|
70
|
+
cd "$MEMORY_PROJECT" || exit 0
|
|
71
|
+
|
|
72
|
+
# Run the consolidate command (indexes new files + extracts facts)
|
|
73
|
+
npm run consolidate 2>&1 | tail -20
|
|
74
|
+
|
|
75
|
+
CONSOLIDATE_EXIT=$?
|
|
76
|
+
|
|
77
|
+
if [ $CONSOLIDATE_EXIT -eq 0 ]; then
|
|
78
|
+
echo ""
|
|
79
|
+
echo ">>> Memory consolidation complete."
|
|
80
|
+
else
|
|
81
|
+
echo ""
|
|
82
|
+
echo "[WARN] Consolidation exited with code $CONSOLIDATE_EXIT"
|
|
83
|
+
echo " This is non-fatal. Memory files are still intact."
|
|
84
|
+
fi
|
|
85
|
+
|
|
86
|
+
echo ""
|
|
87
|
+
echo "=============================================="
|
|
88
|
+
echo " SESSION END CONSOLIDATION COMPLETE"
|
|
89
|
+
echo "=============================================="
|
|
90
|
+
echo ""
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# MIT License - Copyright (c) 2026 ThierryN - https://github.com/ThierryN/dominion-flow
|
|
3
|
+
#
|
|
4
|
+
# Dominion Flow Plugin - Session Start Hook
|
|
5
|
+
#
|
|
6
|
+
# WHAT THIS DOES:
|
|
7
|
+
# Every time a Claude Code session starts, this script runs automatically.
|
|
8
|
+
# It looks for two things and prints them into the session context:
|
|
9
|
+
# 1. The project's CONSCIENCE.md — a living summary of where the project is right now
|
|
10
|
+
# 2. The most recent WARRIOR handoff file — Claude's notes from the last session
|
|
11
|
+
#
|
|
12
|
+
# WHY THIS MATTERS:
|
|
13
|
+
# Claude has no memory between sessions by default. This hook is what gives
|
|
14
|
+
# Claude its "memory" — it re-injects the previous session's context so Claude
|
|
15
|
+
# can pick up exactly where it left off without you having to explain anything.
|
|
16
|
+
|
|
17
|
+
echo "=============================================="
|
|
18
|
+
echo " DOMINION FLOW - Session Context Injection"
|
|
19
|
+
echo "=============================================="
|
|
20
|
+
echo ""
|
|
21
|
+
|
|
22
|
+
# Get the current working directory (project root)
|
|
23
|
+
PROJECT_ROOT="$(pwd)"
|
|
24
|
+
|
|
25
|
+
# Define WARRIOR handoffs directory
|
|
26
|
+
WARRIOR_HANDOFFS="$HOME/.claude/warrior-handoffs"
|
|
27
|
+
|
|
28
|
+
# =============================================
|
|
29
|
+
# 1. Check for .planning/CONSCIENCE.md in project
|
|
30
|
+
# =============================================
|
|
31
|
+
STATE_FILE="$PROJECT_ROOT/.planning/CONSCIENCE.md"
|
|
32
|
+
|
|
33
|
+
if [ -f "$STATE_FILE" ]; then
|
|
34
|
+
echo ">>> PROJECT STATE DETECTED <<<"
|
|
35
|
+
echo "Location: $STATE_FILE"
|
|
36
|
+
echo "----------------------------------------------"
|
|
37
|
+
cat "$STATE_FILE"
|
|
38
|
+
echo ""
|
|
39
|
+
echo "----------------------------------------------"
|
|
40
|
+
echo ""
|
|
41
|
+
else
|
|
42
|
+
echo "[INFO] No .planning/CONSCIENCE.md found in current project."
|
|
43
|
+
echo " Path checked: $STATE_FILE"
|
|
44
|
+
echo ""
|
|
45
|
+
fi
|
|
46
|
+
|
|
47
|
+
# =============================================
|
|
48
|
+
# 2. Check for WARRIOR Handoffs
|
|
49
|
+
# =============================================
|
|
50
|
+
echo ">>> WARRIOR HANDOFF CONTEXT <<<"
|
|
51
|
+
echo "Location: $WARRIOR_HANDOFFS"
|
|
52
|
+
echo ""
|
|
53
|
+
|
|
54
|
+
if [ -d "$WARRIOR_HANDOFFS" ]; then
|
|
55
|
+
# List recent handoff files (last 5, most recent first)
|
|
56
|
+
HANDOFF_FILES=$(ls -t "$WARRIOR_HANDOFFS"/*.md 2>/dev/null | head -5)
|
|
57
|
+
|
|
58
|
+
if [ -n "$HANDOFF_FILES" ]; then
|
|
59
|
+
echo "Recent handoff files:"
|
|
60
|
+
echo "----------------------------------------------"
|
|
61
|
+
for file in $HANDOFF_FILES; do
|
|
62
|
+
FILENAME=$(basename "$file")
|
|
63
|
+
MODIFIED=$(stat -c '%Y' "$file" 2>/dev/null || stat -f '%m' "$file" 2>/dev/null)
|
|
64
|
+
if [ -n "$MODIFIED" ]; then
|
|
65
|
+
# Convert timestamp to readable date
|
|
66
|
+
DATE=$(date -d "@$MODIFIED" '+%Y-%m-%d %H:%M' 2>/dev/null || date -r "$MODIFIED" '+%Y-%m-%d %H:%M' 2>/dev/null || echo "unknown")
|
|
67
|
+
echo " - $FILENAME ($DATE)"
|
|
68
|
+
else
|
|
69
|
+
echo " - $FILENAME"
|
|
70
|
+
fi
|
|
71
|
+
done
|
|
72
|
+
echo ""
|
|
73
|
+
|
|
74
|
+
# Get the most recent handoff file
|
|
75
|
+
LATEST_HANDOFF=$(echo "$HANDOFF_FILES" | head -1)
|
|
76
|
+
|
|
77
|
+
if [ -f "$LATEST_HANDOFF" ]; then
|
|
78
|
+
LATEST_NAME=$(basename "$LATEST_HANDOFF")
|
|
79
|
+
echo ">>> LATEST HANDOFF: $LATEST_NAME <<<"
|
|
80
|
+
echo "----------------------------------------------"
|
|
81
|
+
|
|
82
|
+
# Output first 100 lines or full file if shorter
|
|
83
|
+
head -100 "$LATEST_HANDOFF"
|
|
84
|
+
|
|
85
|
+
# Check if file was truncated
|
|
86
|
+
TOTAL_LINES=$(wc -l < "$LATEST_HANDOFF")
|
|
87
|
+
if [ "$TOTAL_LINES" -gt 100 ]; then
|
|
88
|
+
echo ""
|
|
89
|
+
echo "... [Truncated - $TOTAL_LINES total lines] ..."
|
|
90
|
+
echo "Use: Read tool on $LATEST_HANDOFF for full content"
|
|
91
|
+
fi
|
|
92
|
+
echo ""
|
|
93
|
+
echo "----------------------------------------------"
|
|
94
|
+
fi
|
|
95
|
+
else
|
|
96
|
+
echo "[INFO] No handoff files found in $WARRIOR_HANDOFFS"
|
|
97
|
+
fi
|
|
98
|
+
else
|
|
99
|
+
echo "[INFO] WARRIOR handoffs directory not found: $WARRIOR_HANDOFFS"
|
|
100
|
+
fi
|
|
101
|
+
|
|
102
|
+
echo ""
|
|
103
|
+
echo "=============================================="
|
|
104
|
+
echo " SESSION CONTEXT INJECTION COMPLETE"
|
|
105
|
+
echo "=============================================="
|
|
106
|
+
echo ""
|
|
107
|
+
echo "RECOMMENDED ACTIONS:"
|
|
108
|
+
echo " 1. Review CONSCIENCE.md for current project phase"
|
|
109
|
+
echo " 2. Check latest WARRIOR handoff for pending tasks"
|
|
110
|
+
echo " 3. Use /fire-dashboard to see project status"
|
|
111
|
+
echo ""
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@thierrynakoa/fire-flow",
|
|
3
|
+
"version": "10.0.0",
|
|
4
|
+
"description": "Structured workflow orchestration for Claude Code — 42 commands, 13 agents, 90+ skills. Plan → Execute → Verify → Handoff with parallel execution, session memory, and circuit breaker safety.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"claude-code",
|
|
7
|
+
"plugin",
|
|
8
|
+
"workflow",
|
|
9
|
+
"orchestration",
|
|
10
|
+
"ai-agent",
|
|
11
|
+
"parallel-execution",
|
|
12
|
+
"session-memory",
|
|
13
|
+
"debugging",
|
|
14
|
+
"skills-library"
|
|
15
|
+
],
|
|
16
|
+
"author": "ThierryN",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/ThierryN/fire-flow.git"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/ThierryN/fire-flow#readme",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/ThierryN/fire-flow/issues"
|
|
25
|
+
},
|
|
26
|
+
"bin": {
|
|
27
|
+
"fire-flow": "./bin/cli.js"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"bin/",
|
|
31
|
+
"agents/",
|
|
32
|
+
"commands/",
|
|
33
|
+
"hooks/",
|
|
34
|
+
"skills-library/",
|
|
35
|
+
"templates/",
|
|
36
|
+
"references/",
|
|
37
|
+
"workflows/",
|
|
38
|
+
"plugin.json",
|
|
39
|
+
".claude-plugin/",
|
|
40
|
+
"README.md",
|
|
41
|
+
"QUICK-START.md",
|
|
42
|
+
"COMMAND-REFERENCE.md",
|
|
43
|
+
"DOMINION-FLOW-OVERVIEW.md",
|
|
44
|
+
"ARCHITECTURE-DIAGRAM.md",
|
|
45
|
+
"TROUBLESHOOTING.md",
|
|
46
|
+
"validation-config.yml",
|
|
47
|
+
"version.json"
|
|
48
|
+
],
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=16.0.0"
|
|
51
|
+
}
|
|
52
|
+
}
|
package/plugin.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dominion-flow",
|
|
3
|
+
"version": "10.0.0",
|
|
4
|
+
"description": "Dominion Flow is a comprehensive orchestration platform that empowers your Claude agent. It gives Claude a complete, structured workflow for taking projects from idea to production — with parallel execution, 190+ reusable skills, session memory across handoffs, 70-point quality verification, autonomous mode, E2E testing, and a circuit breaker to prevent stuck loops. Includes 39 slash commands organized into 7 tiers covering planning, execution, verification, debugging, skills management, and milestone tracking.",
|
|
5
|
+
"commands": "commands/",
|
|
6
|
+
"agents": "agents/"
|
|
7
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# Auto-Skill Extraction System
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Automatically detects novel patterns from completed work and prompts for skill library contribution. Triggers after phase transitions and plan completions.
|
|
6
|
+
|
|
7
|
+
## How It Works
|
|
8
|
+
|
|
9
|
+
### Trigger Points
|
|
10
|
+
|
|
11
|
+
1. **After `/fire-transition`** — Scans all RECORD.md files from completed phase
|
|
12
|
+
2. **After `/fire-4-verify` PASSED** — Scans verification report for novel patterns
|
|
13
|
+
3. **After `/fire-5-handoff`** — Scans handoff for skills_applied and new patterns
|
|
14
|
+
|
|
15
|
+
### Detection Patterns
|
|
16
|
+
|
|
17
|
+
The system scans for these signals in RECORD.md and handoff files:
|
|
18
|
+
|
|
19
|
+
```markdown
|
|
20
|
+
## Signal 1: Explicit Skill Markers
|
|
21
|
+
Look for: /* SKILL: name */ ... /* END SKILL */
|
|
22
|
+
Action: Extract marked block, prompt to save as skill
|
|
23
|
+
|
|
24
|
+
## Signal 2: Honesty Checkpoints with Research
|
|
25
|
+
Look for: "Research Conducted:", "Resolution:", "Confidence After Research: High"
|
|
26
|
+
Action: The gap + resolution combo is a potential skill
|
|
27
|
+
|
|
28
|
+
## Signal 3: Novel Decisions
|
|
29
|
+
Look for: "Decision:" or "Assumption:" with "Rationale:"
|
|
30
|
+
Action: Decision patterns that could help future phases
|
|
31
|
+
|
|
32
|
+
## Signal 4: Repeated Patterns
|
|
33
|
+
Look for: Same file modification pattern across 2+ plans
|
|
34
|
+
Action: Recurring pattern = candidate for abstraction into skill
|
|
35
|
+
|
|
36
|
+
## Signal 5: Bug Fix Patterns
|
|
37
|
+
Look for: "Root Cause:", "Fix:", "Prevention:"
|
|
38
|
+
Action: Bug patterns with prevention strategies = high-value skills
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Extraction Process
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
1. SCAN completed work artifacts (RECORD.md, handoff, verification)
|
|
45
|
+
2. DETECT skill candidates using patterns above
|
|
46
|
+
3. CLASSIFY by category:
|
|
47
|
+
- database-solutions/
|
|
48
|
+
- patterns-standards/
|
|
49
|
+
- deployment-security/
|
|
50
|
+
- integrations/
|
|
51
|
+
- video-media/
|
|
52
|
+
- ecommerce/
|
|
53
|
+
- form-solutions/
|
|
54
|
+
- advanced-features/
|
|
55
|
+
- automation/
|
|
56
|
+
- document-processing/
|
|
57
|
+
- methodology/
|
|
58
|
+
- [new: react/, nodejs/, postgresql/, stripe/]
|
|
59
|
+
4. PROMPT user:
|
|
60
|
+
"Detected potential skill: [name]
|
|
61
|
+
Category: [category]
|
|
62
|
+
Source: [file:lines]
|
|
63
|
+
Save to skills library? (y/n/edit)"
|
|
64
|
+
5. If yes: Write skill file using standard template
|
|
65
|
+
6. UPDATE skills-library/SKILLS_LIBRARY_INDEX.md
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Skill File Template
|
|
69
|
+
|
|
70
|
+
```markdown
|
|
71
|
+
# [Skill Name]
|
|
72
|
+
|
|
73
|
+
**Category:** [category]
|
|
74
|
+
**Difficulty:** [1-5 stars]
|
|
75
|
+
**Date Added:** [auto]
|
|
76
|
+
**Source:** [phase/plan that generated it]
|
|
77
|
+
|
|
78
|
+
## Problem
|
|
79
|
+
[What problem this solves]
|
|
80
|
+
|
|
81
|
+
## Why It's Difficult
|
|
82
|
+
[Why this isn't obvious]
|
|
83
|
+
|
|
84
|
+
## Solution
|
|
85
|
+
[Complete solution with code examples]
|
|
86
|
+
|
|
87
|
+
## Before/After
|
|
88
|
+
```code
|
|
89
|
+
// Before (broken/inefficient)
|
|
90
|
+
[code]
|
|
91
|
+
|
|
92
|
+
// After (fixed/optimized)
|
|
93
|
+
[code]
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Prevention
|
|
97
|
+
[How to avoid this problem in future]
|
|
98
|
+
|
|
99
|
+
## Testing
|
|
100
|
+
[How to verify the fix works]
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### Integration with .claude Init
|
|
104
|
+
|
|
105
|
+
The auto-extraction is referenced in Dominion Flow's session hooks. When a phase completes:
|
|
106
|
+
|
|
107
|
+
1. Dominion Flow `/fire-transition` command includes extraction step
|
|
108
|
+
2. The transition workflow scans artifacts
|
|
109
|
+
3. Detected skills are presented to user
|
|
110
|
+
4. Approved skills are written to library
|
|
111
|
+
5. SKILLS_LIBRARY_INDEX.md is updated
|
|
112
|
+
|
|
113
|
+
No external hooks needed — it's built into the workflow commands themselves.
|
|
114
|
+
|
|
115
|
+
### Configuration
|
|
116
|
+
|
|
117
|
+
In project `.planning/config.json`:
|
|
118
|
+
```json
|
|
119
|
+
{
|
|
120
|
+
"auto_skill_extraction": {
|
|
121
|
+
"enabled": true,
|
|
122
|
+
"auto_prompt": true,
|
|
123
|
+
"min_confidence": "medium",
|
|
124
|
+
"categories_enabled": "all",
|
|
125
|
+
"skip_patterns": ["console.log", "TODO", "FIXME"]
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Manual Trigger
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
/fire-search --extract-from .planning/phases/[phase]/
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Scans a specific phase directory for skill candidates.
|