claude-flow-novice 2.13.0 → 2.14.1

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.
Files changed (88) hide show
  1. package/.claude/commands/cfn/README.md +177 -129
  2. package/.claude/commands/cfn/cfn-loop-cli.md +279 -0
  3. package/.claude/commands/cfn/cfn-loop-document.md +20 -1
  4. package/.claude/commands/cfn/cfn-loop-frontend.md +17 -2
  5. package/.claude/commands/cfn/cfn-loop-task.md +460 -0
  6. package/.claude/commands/cfn/context-curate.md +27 -38
  7. package/.claude/commands/cfn/context-inject.md +14 -25
  8. package/.claude/commands/cfn/context-query.md +40 -45
  9. package/.claude/commands/cfn/context-reflect.md +40 -38
  10. package/.claude/commands/cfn/context-stats.md +13 -38
  11. package/.claude/commands/cfn/launch-web-dashboard.md +0 -295
  12. package/.claude/commands/cfn/list-agents-rebuild.md +18 -18
  13. package/.claude/commands/cfn/write-plan.md +246 -75
  14. package/.claude/root-claude-distribute/CFN-CLAUDE.md +126 -233
  15. package/.claude/skills/cfn-backlog-management/add-backlog-item.sh +25 -27
  16. package/.claude/skills/cfn-changelog-management/add-changelog-entry.sh +21 -19
  17. package/.claude/skills/cfn-changelog-management/bulk-import.sh +268 -0
  18. package/.claude/skills/cfn-changelog-management/lib/README.md +212 -0
  19. package/.claude/skills/cfn-changelog-management/lib/validation.sh +72 -0
  20. package/.claude/skills/cfn-product-owner-decision/execute-decision.sh +36 -11
  21. package/claude-assets/agents/cfn-dev-team/analysts/root-cause-analyst.md +259 -0
  22. package/claude-assets/agents/cfn-dev-team/reviewers/reviewer.md +45 -6
  23. package/claude-assets/agents/cfn-dev-team/testers/tester.md +59 -0
  24. package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +4 -4
  25. package/claude-assets/commands/cfn/auto-compact.md +80 -0
  26. package/claude-assets/commands/cfn/cfn-loop-cli.md +13 -2
  27. package/claude-assets/commands/cfn/cfn-loop-epic.md +478 -0
  28. package/claude-assets/commands/cfn/cfn-loop-single.md +256 -0
  29. package/claude-assets/commands/cfn/cfn-loop-sprints.md +396 -0
  30. package/claude-assets/commands/cfn/cfn-loop-task.md +27 -9
  31. package/claude-assets/commands/cfn/cfn-loop.md +518 -0
  32. package/claude-assets/commands/cfn/claude-md.md +64 -0
  33. package/claude-assets/commands/cfn/claude-soul.md +22 -0
  34. package/claude-assets/commands/cfn/cost-savings-off.md +35 -0
  35. package/claude-assets/commands/cfn/cost-savings-on.md +35 -0
  36. package/claude-assets/commands/cfn/cost-savings-status.md +34 -0
  37. package/claude-assets/commands/cfn/custom-routing-activate.md +55 -0
  38. package/claude-assets/commands/cfn/custom-routing-deactivate.md +46 -0
  39. package/claude-assets/commands/cfn/dependency-recommendations.md +171 -0
  40. package/claude-assets/commands/cfn/fullstack.md +179 -0
  41. package/claude-assets/commands/cfn/github.md +221 -0
  42. package/claude-assets/commands/cfn/hooks.md +38 -0
  43. package/claude-assets/commands/cfn/metrics-summary.md +58 -0
  44. package/claude-assets/commands/cfn/neural.md +39 -0
  45. package/claude-assets/commands/cfn/parse-epic.md +357 -0
  46. package/claude-assets/commands/cfn/performance.md +41 -0
  47. package/claude-assets/commands/cfn/sparc.md +46 -0
  48. package/claude-assets/commands/cfn/suggest-improvements.md +95 -0
  49. package/claude-assets/commands/cfn/suggest-templates.md +147 -0
  50. package/claude-assets/commands/cfn/swarm.md +24 -0
  51. package/claude-assets/root-claude-distribute/CFN-CLAUDE.md +126 -233
  52. package/claude-assets/skills/cfn-backlog-management/add-backlog-item.sh +25 -27
  53. package/claude-assets/skills/cfn-changelog-management/add-changelog-entry.sh +21 -19
  54. package/claude-assets/skills/cfn-changelog-management/bulk-import.sh +268 -0
  55. package/claude-assets/skills/cfn-changelog-management/lib/README.md +212 -0
  56. package/claude-assets/skills/cfn-changelog-management/lib/validation.sh +72 -0
  57. package/claude-assets/skills/cfn-product-owner-decision/execute-decision.sh +36 -11
  58. package/claude-assets/skills/cfn-task-config-init/SKILL.md +204 -0
  59. package/claude-assets/skills/cfn-task-config-init/initialize-config.sh +264 -0
  60. package/dist/agents/agent-loader.js +165 -146
  61. package/dist/agents/agent-loader.js.map +1 -1
  62. package/package.json +2 -2
  63. package/.claude/commands/README.md +0 -205
  64. package/.claude/skills/cfn-loop-orchestration/orchestrate.sh.backup +0 -840
  65. package/.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh.backup-p7 +0 -423
  66. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup +0 -38
  67. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup-1761167675 +0 -1672
  68. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup-p5 +0 -1604
  69. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup-phase1 +0 -1550
  70. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup-phase2 +0 -1621
  71. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup-phase3 +0 -1621
  72. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.broken +0 -1627
  73. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.corrupted +0 -80
  74. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.deprecated +0 -1864
  75. package/.claude/skills/cfn-redis-coordination/tests/test_coordination_primitives.sh.deprecated +0 -20
  76. package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh.backup +0 -840
  77. package/claude-assets/skills/cfn-loop2-output-processing/execute-and-extract.sh.backup +0 -36
  78. package/claude-assets/skills/cfn-redis-coordination/invoke-waiting-mode.sh.backup-p7 +0 -423
  79. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup +0 -38
  80. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup-1761167675 +0 -1672
  81. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup-p5 +0 -1604
  82. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup-phase1 +0 -1550
  83. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup-phase2 +0 -1621
  84. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.backup-phase3 +0 -1621
  85. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.broken +0 -1627
  86. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.corrupted +0 -80
  87. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.deprecated +0 -1864
  88. package/claude-assets/skills/cfn-redis-coordination/tests/test_coordination_primitives.sh.deprecated +0 -20
@@ -1,205 +0,0 @@
1
- # CFN Loop Commands - Quick Reference
2
-
3
- ## Workflows vs Skills vs Playbooks - When to Use What
4
-
5
- ### Skills (Most Common) - Building Blocks
6
- **What:** Single-purpose bash scripts in `.claude/skills/`
7
- **When:** Most tasks - they're the building blocks
8
- **Example:** `cfn-redis-coordination`, `cfn-agent-spawning`, `cfn-loop-validation`
9
-
10
- ```bash
11
- # Direct skill invocation
12
- ./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh enter \
13
- --task-id "task-123" \
14
- --agent-id "coder-1"
15
- ```
16
-
17
- **Use skills when:**
18
- - Single, focused operation needed
19
- - Called by agents or coordinators
20
- - Part of larger workflow
21
- - Reusable across different tasks
22
-
23
- ### Playbooks (Not Currently Used) - Pre-Configured Sequences
24
- **What:** JSON files defining skill sequences for common patterns
25
- **When:** Repeating the same skill sequence often
26
- **Status:** Not implemented yet, use skills directly
27
-
28
- ### Workflows - Complex Automation
29
- **What:** Event-driven, multi-step automation with conditions/branching
30
- **When:** Complex sequences with conditional logic
31
- **Example:** CI/CD pipelines, feature development workflows
32
-
33
- ```yaml
34
- name: "feature-development"
35
- trigger: "branch-created"
36
- steps:
37
- - name: "analyze"
38
- agent: "researcher"
39
-
40
- - name: "implement"
41
- agent: "backend-dev"
42
- depends: ["analyze"]
43
- parallel: true # Multiple agents in parallel
44
-
45
- - name: "test"
46
- agent: "tester"
47
- depends: ["implement"]
48
- condition: "if tests_exist" # Conditional execution
49
- ```
50
-
51
- **Use workflows when:**
52
- - Event-driven automation (git hooks, CI/CD)
53
- - Conditional branching logic needed
54
- - Multi-agent parallel execution
55
- - Long-running background processes
56
- - Integration with external systems
57
-
58
- ## Decision Tree
59
-
60
- ```
61
- Need to automate something?
62
- ├─ Single operation?
63
- │ └─ Use SKILL directly
64
- ├─ Complex logic (conditionals, events, parallel)?
65
- │ └─ Create WORKFLOW (YAML via /workflow)
66
- └─ CFN Loop execution?
67
- ├─ Planning first? → /write-plan then /cfn-loop-cli
68
- ├─ Production? → /cfn-loop-cli
69
- ├─ Debugging? → /cfn-loop-task
70
- └─ Frontend? → /cfn-loop-frontend
71
- ```
72
-
73
- ## Examples
74
-
75
- ### Example 1: Simple Task (Use Skill)
76
- **Goal:** Enter waiting mode for agent
77
-
78
- ```bash
79
- ./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh enter \
80
- --task-id "task-123" --agent-id "coder-1"
81
- ```
82
-
83
- ### Example 2: CFN Loop Execution
84
- **Goal:** Implement JWT authentication
85
-
86
- **Option 1: Plan First (Recommended for Complex Tasks)**
87
- ```bash
88
- # Step 1: Generate plan
89
- /write-plan "Implement JWT authentication" --mode=standard
90
- # Reviews: planning/PLAN_jwt_authentication.md
91
-
92
- # Step 2: Execute
93
- /cfn-loop-cli "Implement JWT authentication" --mode=standard
94
- ```
95
-
96
- **Option 2: Direct Execution (Simple Tasks)**
97
- ```bash
98
- # Production execution (cost-optimized)
99
- /cfn-loop-cli "Implement JWT authentication" --mode=standard
100
-
101
- # OR debugging (full visibility)
102
- /cfn-loop-task "Implement JWT authentication" --mode=standard
103
- ```
104
-
105
- ### Example 3: Complex Automation (Use Workflow)
106
- **Goal:** Full feature development (analyze → implement → test → deploy)
107
-
108
- ```bash
109
- # Create workflow (via /workflow)
110
- /workflow create feature-pipeline
111
-
112
- # Execute workflow
113
- /workflow execute feature-pipeline
114
- ```
115
-
116
- ## Quick Reference Table
117
-
118
- | Type | Files | Complexity | Conditional Logic | Parallel Execution | Event-Driven |
119
- |------|-------|------------|-------------------|-------------------|--------------|
120
- | **Skill** | `.sh` scripts | Low | No | No | No |
121
- | **CFN Loop** | Slash commands | Medium | Yes (built-in) | Yes (agents) | No |
122
- | **Workflow** | `.yaml` definitions | High | Yes | Yes | Yes |
123
-
124
- ---
125
-
126
- ## CFN Loop Commands (Current)
127
-
128
- ### Execution Commands
129
- - `/cfn-loop-task` - Task mode (debugging, full visibility, Main Chat coordinates)
130
- - `/cfn-loop-cli` - CLI mode (production, cost-optimized, coordinator spawns CLI agents)
131
- - `/cfn-loop-frontend` - Visual iteration (screenshot + video validation, supports both modes)
132
-
133
- ### Planning & Documentation
134
- - `/write-plan` - Pre-planning phase (generates TDD implementation plan)
135
- - `/cfn-loop-document` - Documentation generation (updates `/readme`)
136
-
137
- ### Configuration
138
- - `/cfn-mode` - Toggle CLI vs Task spawning mode
139
- - `/cfn-optimize-agents` - Agent optimization settings
140
- - `/cfn-claude-sync` - Sync rules from CLAUDE.md to commands
141
-
142
- ### Infrastructure
143
- - `/switch-api` - Switch between Z.ai and Anthropic providers
144
-
145
- ### Automation
146
- - `/workflow` - Event-driven workflow automation (complex multi-step)
147
-
148
- ### Testing & Utilities
149
- - `/hello-world-tests` - CFN coordination validation tests (4 layers)
150
- - `/github-commit` - Git commit with CI/CD monitoring
151
- - `/launch-web-dashboard` - Start web portal (http://localhost:3000)
152
- - `/list-agents-rebuild` - Regenerate agent list from discovery
153
-
154
- ### Adaptive Context (ACE System)
155
- - `/context-stats` - View adaptive context statistics
156
- - `/context-reflect` - Extract lessons from task execution
157
- - `/context-query` - Query context bullets by category/tags
158
- - `/context-inject` - Inject context into CLAUDE.md dynamically
159
- - `/context-curate` - Merge reflection deltas with deduplication
160
-
161
- ---
162
-
163
- ## When to Use Each Command
164
-
165
- ### /write-plan (Pre-Planning)
166
- **Use before complex CFN Loop tasks:**
167
- - Security-critical features
168
- - Complex architecture decisions
169
- - Team collaboration (plan review)
170
- - Learning CFN Loop workflow
171
-
172
- ### /cfn-loop-cli (Production)
173
- **Use for:**
174
- - Production features
175
- - Long-running tasks (>10 min)
176
- - Multi-iteration workflows
177
- - Cost-sensitive projects
178
- - **Cost:** $0.054/iteration with Z.ai routing
179
-
180
- ### /cfn-loop-task (Debugging)
181
- **Use for:**
182
- - Debugging CFN Loop issues
183
- - Learning agent interactions
184
- - Prototyping configurations
185
- - Short tasks (<5 min)
186
- - **Cost:** $0.150/iteration (3x CLI, but full visibility)
187
-
188
- ### /cfn-loop-frontend (Visual Iteration)
189
- **Use for:**
190
- - React/Vue/Angular components
191
- - UI implementation with mockups
192
- - Accessibility validation
193
- - Visual regression testing
194
- - **Supports:** Both CLI and Task modes
195
-
196
- ### /workflow (Complex Automation)
197
- **Use for:**
198
- - CI/CD pipelines
199
- - Event-driven automation
200
- - Multi-step with conditionals
201
- - External system integration
202
-
203
- ---
204
-
205
- **Version:** 3.0.0 (2025-10-31) - Consolidated command structure with workflows/skills guide