claude-flow-novice 2.14.18 → 2.14.19
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/commands/CFN_EXPERT_UPDATE.md +142 -0
- package/.claude/commands/cfn-docker/CFN_DOCKER_CLI.md +527 -0
- package/.claude/commands/cfn-docker/CFN_DOCKER_LOOP.md +377 -0
- package/.claude/commands/cfn-docker/CFN_DOCKER_TASK.md +490 -0
- package/.claude/commands/cfn-loop-cli.md +220 -46
- package/.claude/commands/deprecated/README.md +55 -0
- package/claude-assets/agents/docker-coordinators/cfn-docker-v3-coordinator.md +199 -0
- package/claude-assets/commands/CFN_EXPERT_UPDATE.md +142 -0
- package/claude-assets/commands/cfn-docker/CFN_DOCKER_CLI.md +527 -0
- package/claude-assets/commands/cfn-docker/CFN_DOCKER_LOOP.md +377 -0
- package/claude-assets/commands/cfn-docker/CFN_DOCKER_TASK.md +490 -0
- package/claude-assets/commands/cfn-loop-cli.md +220 -46
- package/claude-assets/commands/deprecated/README.md +55 -0
- package/claude-assets/skills/cfn-docker-agent-spawning/SKILL.md +394 -0
- package/claude-assets/skills/cfn-docker-agent-spawning/spawn-agent.sh +461 -0
- package/claude-assets/skills/cfn-docker-loop-orchestration/SKILL.md +449 -0
- package/claude-assets/skills/cfn-docker-loop-orchestration/orchestrate.sh +787 -0
- package/claude-assets/skills/cfn-docker-redis-coordination/SKILL.md +435 -0
- package/claude-assets/skills/cfn-docker-redis-coordination/coordinate.sh +635 -0
- package/claude-assets/skills/cfn-docker-skill-mcp-selection/SKILL.md +289 -0
- package/claude-assets/skills/cfn-docker-skill-mcp-selection/skill-mcp-selector.js +472 -0
- package/claude-assets/skills/cfn-expert-update/update-expert.sh +346 -0
- package/dist/agents/agent-loader.js +165 -146
- package/dist/agents/agent-loader.js.map +1 -1
- package/package.json +1 -1
- /package/.claude/commands/{cfn-loop-epic.md → deprecated/cfn-loop-epic.md} +0 -0
- /package/.claude/commands/{cfn-loop-single.md → deprecated/cfn-loop-single.md} +0 -0
- /package/.claude/commands/{cfn-loop-sprints.md → deprecated/cfn-loop-sprints.md} +0 -0
- /package/.claude/commands/{cfn-loop.md → deprecated/cfn-loop.md} +0 -0
- /package/.claude/commands/{cfn/run-tests.md → run-tests.md} +0 -0
- /package/claude-assets/commands/{cfn-loop-epic.md → deprecated/cfn-loop-epic.md} +0 -0
- /package/claude-assets/commands/{cfn-loop-single.md → deprecated/cfn-loop-single.md} +0 -0
- /package/claude-assets/commands/{cfn-loop-sprints.md → deprecated/cfn-loop-sprints.md} +0 -0
- /package/claude-assets/commands/{cfn-loop.md → deprecated/cfn-loop.md} +0 -0
- /package/claude-assets/commands/{cfn/run-tests.md → run-tests.md} +0 -0
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Execute container-based CFN Loop in Task mode for debugging, development, and learning with full visibility"
|
|
3
|
+
argument-hint: "[task-description] --mode=mvp|standard|enterprise --debug --verbose"
|
|
4
|
+
allowed-tools: ["Bash", "Read", "TodoWrite", "Task"]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# CFN Docker Loop Task - Development & Debugging Mode
|
|
8
|
+
|
|
9
|
+
Execute container-based CFN Loop in Task mode for development, debugging, and learning with full visibility into agent execution and decision-making processes.
|
|
10
|
+
|
|
11
|
+
**Task Description:** $ARGUMENTS
|
|
12
|
+
|
|
13
|
+
## When to Use Task Mode
|
|
14
|
+
|
|
15
|
+
### 🐛 Development and Debugging
|
|
16
|
+
- **Code Development**: When building and testing new features
|
|
17
|
+
- **Bug Investigation**: When debugging issues in existing code
|
|
18
|
+
- **Algorithm Testing**: When testing new approaches or algorithms
|
|
19
|
+
- **Integration Testing**: When testing system integrations
|
|
20
|
+
|
|
21
|
+
### 📚 Learning and Training
|
|
22
|
+
- **CFN Loop Education**: When learning how CFN Loop works
|
|
23
|
+
- **Agent Behavior Study**: When studying agent decision-making
|
|
24
|
+
- **Tool Usage Training**: When learning to use specialized tools
|
|
25
|
+
- **Best Practice Learning**: When understanding development patterns
|
|
26
|
+
|
|
27
|
+
### 🔍 Analysis and Investigation
|
|
28
|
+
- **Code Review**: When performing detailed code analysis
|
|
29
|
+
- **Architecture Review**: When evaluating system design
|
|
30
|
+
- **Performance Analysis**: When investigating performance issues
|
|
31
|
+
- **Security Analysis**: When conducting security assessments
|
|
32
|
+
|
|
33
|
+
### 🧪 Experimentation
|
|
34
|
+
- **Prototype Development**: When building quick prototypes
|
|
35
|
+
- **Proof of Concepts**: When validating technical approaches
|
|
36
|
+
- **Tool Testing**: When evaluating new tools or libraries
|
|
37
|
+
- **Workflow Optimization**: When testing new development workflows
|
|
38
|
+
|
|
39
|
+
## Key Differences from CLI Mode
|
|
40
|
+
|
|
41
|
+
| Feature | Task Mode | CLI Mode |
|
|
42
|
+
|---------|-----------|----------|
|
|
43
|
+
| **Agent Spawning** | Main Chat spawns all agents via Task() | Coordinator spawns via CLI |
|
|
44
|
+
| **Cost** | $0.150/iteration (higher) | $0.054/iteration (95% savings) |
|
|
45
|
+
| **Visibility** | Full agent output visible | Coordinator summary only |
|
|
46
|
+
| **Debugging** | Complete agent transparency | Limited debugging info |
|
|
47
|
+
| **Performance** | Slower due to Main Chat overhead | Faster CLI execution |
|
|
48
|
+
| **Use Case** | Development, learning, debugging | Production, cost-sensitive |
|
|
49
|
+
|
|
50
|
+
## Usage Examples
|
|
51
|
+
|
|
52
|
+
### Basic Development Tasks
|
|
53
|
+
```bash
|
|
54
|
+
# Simple development task
|
|
55
|
+
/cfn-docker-loop-task "Fix authentication bug in login service"
|
|
56
|
+
|
|
57
|
+
# Standard complexity task
|
|
58
|
+
/cfn-docker-loop-task "Implement user registration with email verification" --mode=standard
|
|
59
|
+
|
|
60
|
+
# Complex development task
|
|
61
|
+
/cfn-docker-loop-task "Build complete microservice with database integration" --mode=enterprise
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Debugging and Investigation
|
|
65
|
+
```bash
|
|
66
|
+
# Debug with full visibility
|
|
67
|
+
/cfn-docker-loop-task "Investigate memory leak in data processing module" --debug --verbose
|
|
68
|
+
|
|
69
|
+
# Code review and analysis
|
|
70
|
+
/cfn-docker-loop-task "Review and optimize database query performance" --mode=standard
|
|
71
|
+
|
|
72
|
+
# Security investigation
|
|
73
|
+
/cfn-docker-loop-task "Analyze security vulnerabilities in authentication system" --mode=enterprise --security-focus
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Learning and Training
|
|
77
|
+
```bash
|
|
78
|
+
# Learn CFN Loop process
|
|
79
|
+
/cfn-docker-loop-task "Build a simple todo API to understand CFN Loop" --mode=mvp --learning-mode
|
|
80
|
+
|
|
81
|
+
# Study agent behavior
|
|
82
|
+
/cfn-docker-loop-task "Compare frontend vs backend approaches to user authentication" --mode=standard --agent-study
|
|
83
|
+
|
|
84
|
+
# Tool usage training
|
|
85
|
+
/cfn-docker-loop-task "Practice using Playwright for automated testing" --tools=playwright --verbose
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Experimentation and Prototyping
|
|
89
|
+
```bash
|
|
90
|
+
# Quick prototype
|
|
91
|
+
/cfn-docker-loop-task "Prototype real-time chat with WebSockets" --mode=mvp --experimental
|
|
92
|
+
|
|
93
|
+
# Technology evaluation
|
|
94
|
+
/cfn-docker-loop-task "Evaluate GraphQL vs REST for new API" --mode=standard --tech-evaluation
|
|
95
|
+
|
|
96
|
+
# Workflow testing
|
|
97
|
+
/cfn-docker-loop-task "Test new development workflow with automated testing" --mode=enterprise --workflow-test
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Command Options
|
|
101
|
+
|
|
102
|
+
### Core Options
|
|
103
|
+
```bash
|
|
104
|
+
# Basic execution
|
|
105
|
+
/cfn-docker-loop-task "Task description"
|
|
106
|
+
|
|
107
|
+
# Mode selection
|
|
108
|
+
/cfn-docker-loop-task "Task description" --mode=standard|mvp|enterprise
|
|
109
|
+
|
|
110
|
+
# Debugging options
|
|
111
|
+
/cfn-docker-loop-task "Task description" --debug --verbose --step-by-step
|
|
112
|
+
|
|
113
|
+
# Resource constraints
|
|
114
|
+
/cfn-docker-loop-task "Task description" --memory-limit=2g --timeout=3600
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Learning and Analysis Options
|
|
118
|
+
```bash
|
|
119
|
+
# Educational mode
|
|
120
|
+
/cfn-docker-loop-task "Task description" --learning-mode --explain-decisions
|
|
121
|
+
|
|
122
|
+
# Agent behavior study
|
|
123
|
+
/cfn-docker-loop-task "Task description" --agent-study --track-reasoning
|
|
124
|
+
|
|
125
|
+
# Tool usage analysis
|
|
126
|
+
/cfn-docker-loop-task "Task description" --tool-analysis --track-usage
|
|
127
|
+
|
|
128
|
+
# Performance analysis
|
|
129
|
+
/cfn-docker-loop-task "Task description" --performance-analysis --resource-tracking
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Experimentation Options
|
|
133
|
+
```bash
|
|
134
|
+
# Experimental features
|
|
135
|
+
/cfn-docker-loop-task "Task description" --experimental --allow-risky-operations
|
|
136
|
+
|
|
137
|
+
# Prototyping mode
|
|
138
|
+
/cfn-docker-loop-task "Task description" --prototype --rapid-iteration
|
|
139
|
+
|
|
140
|
+
# Technology comparison
|
|
141
|
+
/cfn-docker-loop-task "Task description" --tech-comparison --compare-approaches
|
|
142
|
+
|
|
143
|
+
# Workflow testing
|
|
144
|
+
/cfn-docker-loop-task "Task description" --workflow-test --process-analysis
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### Advanced Debugging
|
|
148
|
+
```bash
|
|
149
|
+
# Step-by-step execution
|
|
150
|
+
/cfn-docker-loop-task "Task description" --step-by-step --pause-between-loops
|
|
151
|
+
|
|
152
|
+
# Detailed agent logging
|
|
153
|
+
/cfn-docker-loop-task "Task description" --agent-logging --full-context
|
|
154
|
+
|
|
155
|
+
# Error injection testing
|
|
156
|
+
/cfn-docker-loop-task "Task description" --error-injection --failure-analysis
|
|
157
|
+
|
|
158
|
+
# Resource monitoring
|
|
159
|
+
/cfn-docker-loop-task "Task description" --resource-monitoring --real-time-stats
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## Development Workflow Examples
|
|
163
|
+
|
|
164
|
+
### 1. Bug Fixing Workflow
|
|
165
|
+
```bash
|
|
166
|
+
# Start with bug investigation
|
|
167
|
+
/cfn-docker-loop-task "Investigate login redirect issue after authentication" \
|
|
168
|
+
--mode=standard \
|
|
169
|
+
--debug \
|
|
170
|
+
--verbose
|
|
171
|
+
|
|
172
|
+
# Follow up with fix implementation
|
|
173
|
+
/cfn-docker-loop-task "Fix authentication redirect loop in session handling" \
|
|
174
|
+
--mode=standard \
|
|
175
|
+
--learning-mode
|
|
176
|
+
|
|
177
|
+
# Validate the fix
|
|
178
|
+
/cfn-docker-loop-task "Test authentication flow with multiple user scenarios" \
|
|
179
|
+
--mode=standard \
|
|
180
|
+
--comprehensive-testing
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### 2. Feature Development Workflow
|
|
184
|
+
```bash
|
|
185
|
+
# Analyze requirements
|
|
186
|
+
/cfn-docker-loop-task "Analyze requirements for user profile management system" \
|
|
187
|
+
--mode=standard \
|
|
188
|
+
--requirements-analysis
|
|
189
|
+
|
|
190
|
+
# Design and implement
|
|
191
|
+
/cfn-docker-loop-task "Implement user profile system with avatar upload and privacy settings" \
|
|
192
|
+
--mode=enterprise \
|
|
193
|
+
--step-by-step
|
|
194
|
+
|
|
195
|
+
# Test and validate
|
|
196
|
+
/cfn-docker-loop-task "Create comprehensive test suite for user profile functionality" \
|
|
197
|
+
--mode=standard \
|
|
198
|
+
--testing-focus
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### 3. Learning Workflow
|
|
202
|
+
```bash
|
|
203
|
+
# Learn basic concepts
|
|
204
|
+
/cfn-docker-loop-task "Build a simple REST API to understand backend development patterns" \
|
|
205
|
+
--mode=mvp \
|
|
206
|
+
--learning-mode \
|
|
207
|
+
--explain-decisions
|
|
208
|
+
|
|
209
|
+
# Advance to more complex topics
|
|
210
|
+
/cfn-docker-loop-task "Extend REST API with database integration and authentication" \
|
|
211
|
+
--mode=standard \
|
|
212
|
+
--learning-mode \
|
|
213
|
+
--track-reasoning
|
|
214
|
+
|
|
215
|
+
# Study best practices
|
|
216
|
+
/cfn-docker-loop-task "Refactor API to follow industry best practices and security standards" \
|
|
217
|
+
--mode=standard \
|
|
218
|
+
--best-practices-focus \
|
|
219
|
+
--code-quality-analysis
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## Debugging Features
|
|
223
|
+
|
|
224
|
+
### Agent Transparency
|
|
225
|
+
- **Full Agent Output**: See everything agents think and do
|
|
226
|
+
- **Decision Process**: Understand why agents make specific choices
|
|
227
|
+
- **Tool Usage**: Track which tools agents use and how
|
|
228
|
+
- **Confidence Scoring**: See how confident agents are in their work
|
|
229
|
+
|
|
230
|
+
### Step-by-Step Execution
|
|
231
|
+
```bash
|
|
232
|
+
# Execute with detailed step tracking
|
|
233
|
+
/cfn-docker-loop-task "Task description" \
|
|
234
|
+
--step-by-step \
|
|
235
|
+
--pause-between-loops \
|
|
236
|
+
--decision-analysis
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
### Error Analysis
|
|
240
|
+
```bash
|
|
241
|
+
# Investigate failures with detailed analysis
|
|
242
|
+
/cfn-docker-loop-task "Task description" \
|
|
243
|
+
--error-analysis \
|
|
244
|
+
--failure-injection \
|
|
245
|
+
--recovery-strategies
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### Performance Monitoring
|
|
249
|
+
```bash
|
|
250
|
+
# Monitor performance in real-time
|
|
251
|
+
/cfn-docker-loop-task "Task description" \
|
|
252
|
+
--performance-monitoring \
|
|
253
|
+
--resource-tracking \
|
|
254
|
+
--timing-analysis
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
## Learning Features
|
|
258
|
+
|
|
259
|
+
### Educational Mode
|
|
260
|
+
```bash
|
|
261
|
+
# Learn with explanations
|
|
262
|
+
/cfn-docker-loop-task "Build a web scraper" \
|
|
263
|
+
--learning-mode \
|
|
264
|
+
--explain-decisions \
|
|
265
|
+
--concept-explanations
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
### Agent Behavior Study
|
|
269
|
+
```bash
|
|
270
|
+
# Study how different agents approach problems
|
|
271
|
+
/cfn-docker-loop-task "Compare frontend vs backend approaches to data visualization" \
|
|
272
|
+
--agent-study \
|
|
273
|
+
--comparative-analysis \
|
|
274
|
+
--approach-explanation
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
### Tool Usage Analysis
|
|
278
|
+
```bash
|
|
279
|
+
# Understand how agents use specialized tools
|
|
280
|
+
/cfn-docker-loop-task "Create automated tests using Playwright" \
|
|
281
|
+
--tool-analysis \
|
|
282
|
+
--track-usage \
|
|
283
|
+
--technique-demonstration
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
## Experimentation Features
|
|
287
|
+
|
|
288
|
+
### Rapid Prototyping
|
|
289
|
+
```bash
|
|
290
|
+
# Build quick prototypes with iterative feedback
|
|
291
|
+
/cfn-docker-loop-task "Prototype real-time collaboration feature" \
|
|
292
|
+
--prototype \
|
|
293
|
+
--rapid-iteration \
|
|
294
|
+
--feedback-driven
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
### Technology Comparison
|
|
298
|
+
```bash
|
|
299
|
+
# Compare different technical approaches
|
|
300
|
+
/cfn-docker-loop-task "Compare GraphQL vs REST for API design" \
|
|
301
|
+
--tech-comparison \
|
|
302
|
+
--implement-both \
|
|
303
|
+
--comparative-analysis
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
### Workflow Testing
|
|
307
|
+
```bash
|
|
308
|
+
# Test new development workflows
|
|
309
|
+
/cfn-docker-loop-task "Test test-driven development workflow" \
|
|
310
|
+
--workflow-test \
|
|
311
|
+
--process-analysis \
|
|
312
|
+
--efficiency-measurement
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
## Advanced Usage Patterns
|
|
316
|
+
|
|
317
|
+
### Multi-Agent Coordination Study
|
|
318
|
+
```bash
|
|
319
|
+
# Study how agents coordinate complex tasks
|
|
320
|
+
/cfn-docker-loop-task "Build a complete e-commerce checkout flow" \
|
|
321
|
+
--mode=enterprise \
|
|
322
|
+
--coordination-study \
|
|
323
|
+
--communication-analysis \
|
|
324
|
+
--decision-tracking
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
### Security Analysis
|
|
328
|
+
```bash
|
|
329
|
+
# Security-focused development and analysis
|
|
330
|
+
/cfn-docker-loop-task "Implement secure payment processing with PCI compliance" \
|
|
331
|
+
--mode=enterprise \
|
|
332
|
+
--security-focus \
|
|
333
|
+
--vulnerability-analysis \
|
|
334
|
+
--compliance-checking
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### Performance Optimization
|
|
338
|
+
```bash
|
|
339
|
+
# Performance-focused development
|
|
340
|
+
/cfn-docker-loop-task "Optimize database queries for large-scale data processing" \
|
|
341
|
+
--mode=standard \
|
|
342
|
+
--performance-optimization \
|
|
343
|
+
--benchmarking \
|
|
344
|
+
--profiling
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
## Best Practices for Task Mode
|
|
348
|
+
|
|
349
|
+
### Development Best Practices
|
|
350
|
+
1. **Start with Clear Requirements**: Define specific, measurable goals
|
|
351
|
+
2. **Use Learning Mode**: When exploring new technologies or patterns
|
|
352
|
+
3. **Enable Verbose Logging**: For complete visibility into agent decisions
|
|
353
|
+
4. **Iterate incrementally**: Build complexity gradually
|
|
354
|
+
5. **Review Agent Outputs**: Understand how agents approach problems
|
|
355
|
+
|
|
356
|
+
### Debugging Best Practices
|
|
357
|
+
1. **Isolate the Problem**: Focus on specific issues first
|
|
358
|
+
2. **Use Step-by-Step Mode**: For detailed problem analysis
|
|
359
|
+
3. **Enable Error Injection**: Test error handling and recovery
|
|
360
|
+
4. **Track Resource Usage**: Monitor memory and performance
|
|
361
|
+
5. **Document Findings**: Keep track of discoveries and solutions
|
|
362
|
+
|
|
363
|
+
### Learning Best Practices
|
|
364
|
+
1. **Choose Appropriate Complexity**: Start simple and build up
|
|
365
|
+
2. **Use Explanatory Modes**: Leverage decision explanations
|
|
366
|
+
3. **Experiment with Different Agents**: Compare approaches
|
|
367
|
+
4. **Focus on Patterns**: Look for recurring patterns and best practices
|
|
368
|
+
5. **Practice Regularly**: Build skills through consistent practice
|
|
369
|
+
|
|
370
|
+
### Experimentation Best Practices
|
|
371
|
+
1. **Define Clear Hypotheses**: Know what you're testing
|
|
372
|
+
2. **Use Prototyping Mode**: For rapid iteration and feedback
|
|
373
|
+
3. **Compare Approaches**: Implement multiple solutions when possible
|
|
374
|
+
4. **Measure Results**: Track performance and quality metrics
|
|
375
|
+
5. **Document Experiments**: Keep records of what works and what doesn't
|
|
376
|
+
|
|
377
|
+
## Monitoring and Analysis
|
|
378
|
+
|
|
379
|
+
### Agent Performance Analysis
|
|
380
|
+
```bash
|
|
381
|
+
# Track how agents perform over time
|
|
382
|
+
/cfn-docker-loop-task "Task description" \
|
|
383
|
+
--agent-performance-tracking \
|
|
384
|
+
--efficiency-analysis \
|
|
385
|
+
--quality-measurement
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
### Decision Quality Assessment
|
|
389
|
+
```bash
|
|
390
|
+
# Analyze the quality of agent decisions
|
|
391
|
+
/cfn-docker-loop-task "Task description" \
|
|
392
|
+
--decision-quality-analysis \
|
|
393
|
+
--outcome-tracking \
|
|
394
|
+
--improvement-suggestions
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
### Resource Usage Optimization
|
|
398
|
+
```bash
|
|
399
|
+
# Optimize resource usage patterns
|
|
400
|
+
/cfn-docker-loop-task "Task description" \
|
|
401
|
+
--resource-optimization \
|
|
402
|
+
--usage-analysis \
|
|
403
|
+
--efficiency-recommendations
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
## Integration with Development Tools
|
|
407
|
+
|
|
408
|
+
### IDE Integration
|
|
409
|
+
```bash
|
|
410
|
+
# Generate IDE-friendly configurations
|
|
411
|
+
/cfn-docker-loop-task "Set up development environment for new project" \
|
|
412
|
+
--ide-integration \
|
|
413
|
+
--config-generation \
|
|
414
|
+
--environment-setup
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
### Testing Integration
|
|
418
|
+
```bash
|
|
419
|
+
# Integrate with testing frameworks
|
|
420
|
+
/cfn-docker-loop-task "Create comprehensive test suite for existing application" \
|
|
421
|
+
--testing-integration \
|
|
422
|
+
--framework-setup \
|
|
423
|
+
--coverage-analysis
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
### Documentation Generation
|
|
427
|
+
```bash
|
|
428
|
+
# Generate documentation while developing
|
|
429
|
+
/cfn-docker-loop-task "Implement API with automatic documentation generation" \
|
|
430
|
+
--documentation-generation \
|
|
431
|
+
--api-docs \
|
|
432
|
+
--code-examples
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
## Configuration for Development
|
|
436
|
+
|
|
437
|
+
### Development Environment Setup
|
|
438
|
+
```bash
|
|
439
|
+
# Enable development-specific features
|
|
440
|
+
export CFN_DOCKER_DEVELOPMENT_MODE=true
|
|
441
|
+
export CFN_DOCKER_DEBUG_LEVEL=verbose
|
|
442
|
+
export CFN_DOCKER_AGENT_LOGGING=detailed
|
|
443
|
+
export CFN_DOCKER_STEP_TIMEOUT=300
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
### Learning Mode Configuration
|
|
447
|
+
```bash
|
|
448
|
+
# Optimize for learning and education
|
|
449
|
+
export CFN_DOCKER_LEARNING_MODE=true
|
|
450
|
+
export CFN_DOCKER_EXPLAIN_DECISIONS=true
|
|
451
|
+
export CFN_DOCKER_SHOW_REASONING=true
|
|
452
|
+
export CFN_DOCKER_EDUCATIONAL_COMMENTS=true
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
### Experimental Features
|
|
456
|
+
```bash
|
|
457
|
+
# Enable experimental capabilities
|
|
458
|
+
export CFN_DOCKER_EXPERIMENTAL_MODE=true
|
|
459
|
+
export CFN_DOCKER_ALLOW_RISKY_OPERATIONS=true
|
|
460
|
+
export CFN_DOCKER_BETA_FEATURES=true
|
|
461
|
+
export CFN_DOCKER_INNOVATION_MODE=true
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
## Troubleshooting Task Mode Issues
|
|
465
|
+
|
|
466
|
+
### Common Development Issues
|
|
467
|
+
1. **Agent Confusion**: When agents misunderstand requirements
|
|
468
|
+
- Solution: Use more specific task descriptions and learning mode
|
|
469
|
+
2. **Tool Usage Problems**: When agents struggle with specialized tools
|
|
470
|
+
- Solution: Use tool-analysis mode and provide examples
|
|
471
|
+
3. **Quality Variations**: When code quality is inconsistent
|
|
472
|
+
- Solution: Enable step-by-step mode and review each iteration
|
|
473
|
+
|
|
474
|
+
### Performance Issues
|
|
475
|
+
1. **Slow Execution**: When tasks take too long
|
|
476
|
+
- Solution: Use performance monitoring and resource optimization
|
|
477
|
+
2. **Memory Usage**: When memory consumption is high
|
|
478
|
+
- Solution: Enable resource tracking and adjust limits
|
|
479
|
+
3. **Timeout Issues**: When agents timeout on complex tasks
|
|
480
|
+
- Solution: Increase timeouts or break down tasks
|
|
481
|
+
|
|
482
|
+
### Learning Challenges
|
|
483
|
+
1. **Concept Understanding**: When agents don't grasp new concepts
|
|
484
|
+
- Solution: Use learning mode with detailed explanations
|
|
485
|
+
2. **Pattern Recognition**: When agents miss important patterns
|
|
486
|
+
- Solution: Use agent-study mode with comparative analysis
|
|
487
|
+
3. **Best Practice Application**: When agents don't follow best practices
|
|
488
|
+
- Solution: Use best-practices-focus mode with code quality analysis
|
|
489
|
+
|
|
490
|
+
Task mode provides unparalleled visibility into the CFN Loop process, making it ideal for development, learning, and debugging scenarios where understanding agent behavior and decision-making is more important than cost optimization.
|