claude-flow-novice 2.10.9 → 2.11.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/commands/README.md +157 -0
- package/.claude/hooks/cfn-invoke-post-edit.sh +1 -1
- package/.claude/skills/cfn-backlog-management/SKILL.md +199 -0
- package/.claude/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
- package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +7 -21
- package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +312 -0
- package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +480 -115
- package/claude-assets/hooks/cfn-invoke-post-edit.sh +1 -1
- package/claude-assets/skills/cfn-backlog-management/SKILL.md +199 -0
- package/claude-assets/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
- package/dist/cli/config-manager.js +109 -91
- package/dist/cli/config-manager.js.map +1 -1
- package/package.json +3 -2
- package/scripts/init-project.js +38 -3
- package/claude-assets/commands/agents/README.md +0 -10
- package/claude-assets/commands/agents/agent-capabilities.md +0 -21
- package/claude-assets/commands/agents/agent-coordination.md +0 -28
- package/claude-assets/commands/agents/agent-spawning.md +0 -28
- package/claude-assets/commands/agents/agent-types.md +0 -26
- package/claude-assets/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
- package/claude-assets/commands/analysis/README.md +0 -9
- package/claude-assets/commands/analysis/bottleneck-detect.md +0 -162
- package/claude-assets/commands/analysis/performance-bottlenecks.md +0 -59
- package/claude-assets/commands/analysis/performance-report.md +0 -25
- package/claude-assets/commands/analysis/token-efficiency.md +0 -45
- package/claude-assets/commands/analysis/token-usage.md +0 -25
- package/claude-assets/commands/automation/README.md +0 -9
- package/claude-assets/commands/automation/auto-agent.md +0 -122
- package/claude-assets/commands/automation/self-healing.md +0 -106
- package/claude-assets/commands/automation/session-memory.md +0 -90
- package/claude-assets/commands/automation/smart-agents.md +0 -73
- package/claude-assets/commands/automation/smart-spawn.md +0 -25
- package/claude-assets/commands/automation/workflow-select.md +0 -25
- package/claude-assets/commands/claude-md.js +0 -237
- package/claude-assets/commands/claude-soul.js +0 -28
- package/claude-assets/commands/cli-integration.js +0 -216
- package/claude-assets/commands/coordination/README.md +0 -9
- package/claude-assets/commands/coordination/agent-spawn.md +0 -25
- package/claude-assets/commands/coordination/coordination-system.md +0 -88
- package/claude-assets/commands/coordination/init.md +0 -44
- package/claude-assets/commands/coordination/orchestrate.md +0 -43
- package/claude-assets/commands/coordination/spawn.md +0 -45
- package/claude-assets/commands/coordination/swarm-init.md +0 -85
- package/claude-assets/commands/coordination/task-orchestrate.md +0 -25
- package/claude-assets/commands/github/README.md +0 -11
- package/claude-assets/commands/github/code-review-swarm.md +0 -514
- package/claude-assets/commands/github/code-review.md +0 -25
- package/claude-assets/commands/github/github-modes.md +0 -147
- package/claude-assets/commands/github/github-swarm.md +0 -121
- package/claude-assets/commands/github/issue-tracker.md +0 -292
- package/claude-assets/commands/github/issue-triage.md +0 -25
- package/claude-assets/commands/github/multi-repo-swarm.md +0 -519
- package/claude-assets/commands/github/pr-enhance.md +0 -26
- package/claude-assets/commands/github/pr-manager.md +0 -170
- package/claude-assets/commands/github/project-board-sync.md +0 -471
- package/claude-assets/commands/github/release-manager.md +0 -338
- package/claude-assets/commands/github/release-swarm.md +0 -544
- package/claude-assets/commands/github/repo-analyze.md +0 -25
- package/claude-assets/commands/github/repo-architect.md +0 -367
- package/claude-assets/commands/github/swarm-issue.md +0 -482
- package/claude-assets/commands/github/swarm-pr.md +0 -285
- package/claude-assets/commands/github/sync-coordinator.md +0 -301
- package/claude-assets/commands/github/workflow-automation.md +0 -442
- package/claude-assets/commands/github.js +0 -638
- package/claude-assets/commands/hive-mind/README.md +0 -17
- package/claude-assets/commands/hive-mind/hive-mind-consensus.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-init.md +0 -18
- package/claude-assets/commands/hive-mind/hive-mind-memory.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-metrics.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-resume.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-sessions.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-spawn.md +0 -21
- package/claude-assets/commands/hive-mind/hive-mind-status.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-stop.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-wizard.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind.md +0 -27
- package/claude-assets/commands/hooks/README.md +0 -11
- package/claude-assets/commands/hooks/overview.md +0 -58
- package/claude-assets/commands/hooks/post-edit.md +0 -117
- package/claude-assets/commands/hooks/post-task.md +0 -112
- package/claude-assets/commands/hooks/pre-edit.md +0 -113
- package/claude-assets/commands/hooks/pre-task.md +0 -111
- package/claude-assets/commands/hooks/session-end.md +0 -118
- package/claude-assets/commands/hooks/session-start.md +0 -9
- package/claude-assets/commands/hooks/setup.md +0 -103
- package/claude-assets/commands/hooks.js +0 -651
- package/claude-assets/commands/index.js +0 -119
- package/claude-assets/commands/memory/README.md +0 -9
- package/claude-assets/commands/memory/memory-bank.md +0 -58
- package/claude-assets/commands/memory/memory-persist.md +0 -25
- package/claude-assets/commands/memory/memory-search.md +0 -25
- package/claude-assets/commands/memory/memory-usage.md +0 -25
- package/claude-assets/commands/memory/neural.md +0 -47
- package/claude-assets/commands/memory/usage.md +0 -46
- package/claude-assets/commands/monitoring/README.md +0 -9
- package/claude-assets/commands/monitoring/agent-metrics.md +0 -25
- package/claude-assets/commands/monitoring/agents.md +0 -44
- package/claude-assets/commands/monitoring/real-time-view.md +0 -25
- package/claude-assets/commands/monitoring/status.md +0 -46
- package/claude-assets/commands/monitoring/swarm-monitor.md +0 -25
- package/claude-assets/commands/neural.js +0 -572
- package/claude-assets/commands/optimization/README.md +0 -9
- package/claude-assets/commands/optimization/auto-topology.md +0 -62
- package/claude-assets/commands/optimization/cache-manage.md +0 -25
- package/claude-assets/commands/optimization/parallel-execute.md +0 -25
- package/claude-assets/commands/optimization/parallel-execution.md +0 -50
- package/claude-assets/commands/optimization/topology-optimize.md +0 -25
- package/claude-assets/commands/pair/README.md +0 -261
- package/claude-assets/commands/pair/commands.md +0 -546
- package/claude-assets/commands/pair/config.md +0 -510
- package/claude-assets/commands/pair/examples.md +0 -512
- package/claude-assets/commands/pair/modes.md +0 -348
- package/claude-assets/commands/pair/session.md +0 -407
- package/claude-assets/commands/pair/start.md +0 -209
- package/claude-assets/commands/parse-epic.js +0 -180
- package/claude-assets/commands/performance.js +0 -582
- package/claude-assets/commands/register-all-commands.js +0 -320
- package/claude-assets/commands/register-claude-md.js +0 -82
- package/claude-assets/commands/register-claude-soul.js +0 -80
- package/claude-assets/commands/sparc/analyzer.md +0 -52
- package/claude-assets/commands/sparc/architect.md +0 -53
- package/claude-assets/commands/sparc/batch-executor.md +0 -54
- package/claude-assets/commands/sparc/coder.md +0 -54
- package/claude-assets/commands/sparc/debugger.md +0 -54
- package/claude-assets/commands/sparc/designer.md +0 -53
- package/claude-assets/commands/sparc/documenter.md +0 -54
- package/claude-assets/commands/sparc/innovator.md +0 -54
- package/claude-assets/commands/sparc/memory-manager.md +0 -54
- package/claude-assets/commands/sparc/optimizer.md +0 -54
- package/claude-assets/commands/sparc/orchestrator.md +0 -132
- package/claude-assets/commands/sparc/researcher.md +0 -54
- package/claude-assets/commands/sparc/reviewer.md +0 -54
- package/claude-assets/commands/sparc/sparc-modes.md +0 -174
- package/claude-assets/commands/sparc/swarm-coordinator.md +0 -54
- package/claude-assets/commands/sparc/tdd.md +0 -54
- package/claude-assets/commands/sparc/tester.md +0 -54
- package/claude-assets/commands/sparc/workflow-manager.md +0 -54
- package/claude-assets/commands/sparc.js +0 -110
- package/claude-assets/commands/stream-chain/pipeline.md +0 -121
- package/claude-assets/commands/stream-chain/run.md +0 -70
- package/claude-assets/commands/swarm/README.md +0 -15
- package/claude-assets/commands/swarm/analysis.md +0 -95
- package/claude-assets/commands/swarm/development.md +0 -96
- package/claude-assets/commands/swarm/examples.md +0 -168
- package/claude-assets/commands/swarm/maintenance.md +0 -102
- package/claude-assets/commands/swarm/optimization.md +0 -117
- package/claude-assets/commands/swarm/research.md +0 -136
- package/claude-assets/commands/swarm/swarm-analysis.md +0 -8
- package/claude-assets/commands/swarm/swarm-background.md +0 -8
- package/claude-assets/commands/swarm/swarm-init.md +0 -19
- package/claude-assets/commands/swarm/swarm-modes.md +0 -8
- package/claude-assets/commands/swarm/swarm-monitor.md +0 -8
- package/claude-assets/commands/swarm/swarm-spawn.md +0 -19
- package/claude-assets/commands/swarm/swarm-status.md +0 -8
- package/claude-assets/commands/swarm/swarm-strategies.md +0 -8
- package/claude-assets/commands/swarm/swarm.md +0 -27
- package/claude-assets/commands/swarm/testing.md +0 -131
- package/claude-assets/commands/swarm.js +0 -423
- package/claude-assets/commands/testing/playwright-e2e.md +0 -288
- package/claude-assets/commands/training/README.md +0 -9
- package/claude-assets/commands/training/model-update.md +0 -25
- package/claude-assets/commands/training/neural-patterns.md +0 -74
- package/claude-assets/commands/training/neural-train.md +0 -25
- package/claude-assets/commands/training/pattern-learn.md +0 -25
- package/claude-assets/commands/training/specialization.md +0 -63
- package/claude-assets/commands/truth/start.md +0 -143
- package/claude-assets/commands/validate-commands.js +0 -223
- package/claude-assets/commands/verify/check.md +0 -50
- package/claude-assets/commands/verify/start.md +0 -128
- package/claude-assets/commands/workflow.js +0 -606
- package/claude-assets/commands/workflows/README.md +0 -9
- package/claude-assets/commands/workflows/development.md +0 -78
- package/claude-assets/commands/workflows/research.md +0 -63
- package/claude-assets/commands/workflows/workflow-create.md +0 -25
- package/claude-assets/commands/workflows/workflow-execute.md +0 -25
- package/claude-assets/commands/workflows/workflow-export.md +0 -25
- package/claude-assets/hooks/post-edit.config.json +0 -23
|
@@ -1,348 +0,0 @@
|
|
|
1
|
-
# Pair Programming Modes
|
|
2
|
-
|
|
3
|
-
Detailed guide to pair programming modes and their optimal use cases.
|
|
4
|
-
|
|
5
|
-
## Driver Mode
|
|
6
|
-
|
|
7
|
-
In driver mode, you write the code while the AI acts as navigator.
|
|
8
|
-
|
|
9
|
-
### Usage
|
|
10
|
-
```bash
|
|
11
|
-
claude-flow-novice pair --start --mode driver
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
### Responsibilities
|
|
15
|
-
|
|
16
|
-
**You (Driver):**
|
|
17
|
-
- Write the actual code
|
|
18
|
-
- Implement solutions
|
|
19
|
-
- Make immediate decisions
|
|
20
|
-
- Handle syntax and structure
|
|
21
|
-
|
|
22
|
-
**AI (Navigator):**
|
|
23
|
-
- Provide strategic guidance
|
|
24
|
-
- Spot potential issues
|
|
25
|
-
- Suggest improvements
|
|
26
|
-
- Review in real-time
|
|
27
|
-
- Track overall direction
|
|
28
|
-
|
|
29
|
-
### Best For
|
|
30
|
-
- Learning new patterns
|
|
31
|
-
- Implementing familiar features
|
|
32
|
-
- Quick iterations
|
|
33
|
-
- Hands-on debugging
|
|
34
|
-
|
|
35
|
-
### Example Session
|
|
36
|
-
```bash
|
|
37
|
-
claude-flow-novice pair --start \
|
|
38
|
-
--mode driver \
|
|
39
|
-
--agent senior-navigator \
|
|
40
|
-
--review \
|
|
41
|
-
--verify
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### Commands in Driver Mode
|
|
45
|
-
```
|
|
46
|
-
/suggest - Get implementation suggestions
|
|
47
|
-
/review - Request code review
|
|
48
|
-
/explain - Ask for explanations
|
|
49
|
-
/optimize - Request optimization ideas
|
|
50
|
-
/patterns - Get pattern recommendations
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## Navigator Mode
|
|
54
|
-
|
|
55
|
-
In navigator mode, the AI writes code while you provide guidance.
|
|
56
|
-
|
|
57
|
-
### Usage
|
|
58
|
-
```bash
|
|
59
|
-
claude-flow-novice pair --start --mode navigator
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Responsibilities
|
|
63
|
-
|
|
64
|
-
**You (Navigator):**
|
|
65
|
-
- Provide high-level direction
|
|
66
|
-
- Review generated code
|
|
67
|
-
- Make architectural decisions
|
|
68
|
-
- Ensure business requirements
|
|
69
|
-
|
|
70
|
-
**AI (Driver):**
|
|
71
|
-
- Write implementation code
|
|
72
|
-
- Handle syntax details
|
|
73
|
-
- Implement your guidance
|
|
74
|
-
- Manage boilerplate
|
|
75
|
-
- Execute refactoring
|
|
76
|
-
|
|
77
|
-
### Best For
|
|
78
|
-
- Rapid prototyping
|
|
79
|
-
- Boilerplate generation
|
|
80
|
-
- Learning from AI patterns
|
|
81
|
-
- Exploring solutions
|
|
82
|
-
|
|
83
|
-
### Example Session
|
|
84
|
-
```bash
|
|
85
|
-
claude-flow-novice pair --start \
|
|
86
|
-
--mode navigator \
|
|
87
|
-
--agent expert-coder \
|
|
88
|
-
--test \
|
|
89
|
-
--language python
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
### Commands in Navigator Mode
|
|
93
|
-
```
|
|
94
|
-
/implement - Direct implementation
|
|
95
|
-
/refactor - Request refactoring
|
|
96
|
-
/test - Generate tests
|
|
97
|
-
/document - Add documentation
|
|
98
|
-
/alternate - See alternative approaches
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
## Switch Mode
|
|
102
|
-
|
|
103
|
-
Automatically alternates between driver and navigator roles.
|
|
104
|
-
|
|
105
|
-
### Usage
|
|
106
|
-
```bash
|
|
107
|
-
claude-flow-novice pair --start --mode switch [--interval <time>]
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
### Default Intervals
|
|
111
|
-
- **10 minutes** - Standard switching
|
|
112
|
-
- **5 minutes** - Rapid collaboration
|
|
113
|
-
- **15 minutes** - Deep focus periods
|
|
114
|
-
- **Custom** - Set your preference
|
|
115
|
-
|
|
116
|
-
### Configuration
|
|
117
|
-
```bash
|
|
118
|
-
# 5-minute intervals
|
|
119
|
-
claude-flow-novice pair --start --mode switch --interval 5m
|
|
120
|
-
|
|
121
|
-
# 15-minute intervals
|
|
122
|
-
claude-flow-novice pair --start --mode switch --interval 15m
|
|
123
|
-
|
|
124
|
-
# Hour-long intervals
|
|
125
|
-
claude-flow-novice pair --start --mode switch --interval 1h
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
### Role Transitions
|
|
129
|
-
|
|
130
|
-
**Handoff Process:**
|
|
131
|
-
1. 30-second warning before switch
|
|
132
|
-
2. Current driver completes thought
|
|
133
|
-
3. Context summary generated
|
|
134
|
-
4. Roles swap smoothly
|
|
135
|
-
5. New driver continues
|
|
136
|
-
|
|
137
|
-
### Best For
|
|
138
|
-
- Balanced collaboration
|
|
139
|
-
- Knowledge sharing
|
|
140
|
-
- Complex features
|
|
141
|
-
- Extended sessions
|
|
142
|
-
|
|
143
|
-
### Example Session
|
|
144
|
-
```bash
|
|
145
|
-
claude-flow-novice pair --start \
|
|
146
|
-
--mode switch \
|
|
147
|
-
--interval 10m \
|
|
148
|
-
--verify \
|
|
149
|
-
--test
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
## Specialized Modes
|
|
153
|
-
|
|
154
|
-
### TDD Mode
|
|
155
|
-
Test-Driven Development focus.
|
|
156
|
-
|
|
157
|
-
```bash
|
|
158
|
-
claude-flow-novice pair --start \
|
|
159
|
-
--mode tdd \
|
|
160
|
-
--test-first \
|
|
161
|
-
--coverage 100
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
**Workflow:**
|
|
165
|
-
1. Write failing test (Red)
|
|
166
|
-
2. Implement minimal code (Green)
|
|
167
|
-
3. Refactor (Refactor)
|
|
168
|
-
4. Repeat cycle
|
|
169
|
-
|
|
170
|
-
### Review Mode
|
|
171
|
-
Continuous code review focus.
|
|
172
|
-
|
|
173
|
-
```bash
|
|
174
|
-
claude-flow-novice pair --start \
|
|
175
|
-
--mode review \
|
|
176
|
-
--strict \
|
|
177
|
-
--security
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
**Features:**
|
|
181
|
-
- Real-time feedback
|
|
182
|
-
- Security scanning
|
|
183
|
-
- Performance analysis
|
|
184
|
-
- Best practice enforcement
|
|
185
|
-
|
|
186
|
-
### Mentor Mode
|
|
187
|
-
Learning-focused collaboration.
|
|
188
|
-
|
|
189
|
-
```bash
|
|
190
|
-
claude-flow-novice pair --start \
|
|
191
|
-
--mode mentor \
|
|
192
|
-
--explain-all \
|
|
193
|
-
--pace slow
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
**Features:**
|
|
197
|
-
- Detailed explanations
|
|
198
|
-
- Step-by-step guidance
|
|
199
|
-
- Pattern teaching
|
|
200
|
-
- Best practice examples
|
|
201
|
-
|
|
202
|
-
### Debug Mode
|
|
203
|
-
Problem-solving focus.
|
|
204
|
-
|
|
205
|
-
```bash
|
|
206
|
-
claude-flow-novice pair --start \
|
|
207
|
-
--mode debug \
|
|
208
|
-
--verbose \
|
|
209
|
-
--trace
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
**Features:**
|
|
213
|
-
- Issue identification
|
|
214
|
-
- Root cause analysis
|
|
215
|
-
- Fix suggestions
|
|
216
|
-
- Prevention strategies
|
|
217
|
-
|
|
218
|
-
## Mode Selection Guide
|
|
219
|
-
|
|
220
|
-
### Choose Driver Mode When:
|
|
221
|
-
- You want hands-on practice
|
|
222
|
-
- Learning new concepts
|
|
223
|
-
- Implementing your ideas
|
|
224
|
-
- Prefer writing code yourself
|
|
225
|
-
|
|
226
|
-
### Choose Navigator Mode When:
|
|
227
|
-
- Need rapid implementation
|
|
228
|
-
- Generating boilerplate
|
|
229
|
-
- Exploring AI suggestions
|
|
230
|
-
- Learning from examples
|
|
231
|
-
|
|
232
|
-
### Choose Switch Mode When:
|
|
233
|
-
- Long sessions planned
|
|
234
|
-
- Balanced collaboration needed
|
|
235
|
-
- Complex features
|
|
236
|
-
- Team simulation
|
|
237
|
-
|
|
238
|
-
### Choose Specialized Modes When:
|
|
239
|
-
- **TDD**: Building with tests
|
|
240
|
-
- **Review**: Quality focus
|
|
241
|
-
- **Mentor**: Learning priority
|
|
242
|
-
- **Debug**: Fixing issues
|
|
243
|
-
|
|
244
|
-
## Mode Comparison
|
|
245
|
-
|
|
246
|
-
| Mode | You Write | AI Writes | Best For | Switch Time |
|
|
247
|
-
|------|-----------|-----------|----------|-------------|
|
|
248
|
-
| Driver | ✅ | ❌ | Learning, Control | N/A |
|
|
249
|
-
| Navigator | ❌ | ✅ | Speed, Generation | N/A |
|
|
250
|
-
| Switch | ✅/❌ | ✅/❌ | Balance, Long Sessions | 5-60min |
|
|
251
|
-
| TDD | ✅/❌ | ✅/❌ | Test-First | Per cycle |
|
|
252
|
-
| Review | ✅ | ❌ | Quality | N/A |
|
|
253
|
-
| Mentor | ✅ | ❌ | Learning | N/A |
|
|
254
|
-
| Debug | ✅/❌ | ✅/❌ | Fixing | N/A |
|
|
255
|
-
|
|
256
|
-
## Mode Combinations
|
|
257
|
-
|
|
258
|
-
### Quality-Focused
|
|
259
|
-
```bash
|
|
260
|
-
claude-flow-novice pair --start \
|
|
261
|
-
--mode switch \
|
|
262
|
-
--verify \
|
|
263
|
-
--test \
|
|
264
|
-
--review \
|
|
265
|
-
--threshold 0.98
|
|
266
|
-
```
|
|
267
|
-
|
|
268
|
-
### Learning-Focused
|
|
269
|
-
```bash
|
|
270
|
-
claude-flow-novice pair --start \
|
|
271
|
-
--mode mentor \
|
|
272
|
-
--explain-all \
|
|
273
|
-
--examples \
|
|
274
|
-
--pace slow
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
### Speed-Focused
|
|
278
|
-
```bash
|
|
279
|
-
claude-flow-novice pair --start \
|
|
280
|
-
--mode navigator \
|
|
281
|
-
--quick \
|
|
282
|
-
--templates \
|
|
283
|
-
--no-review
|
|
284
|
-
```
|
|
285
|
-
|
|
286
|
-
### Debug-Focused
|
|
287
|
-
```bash
|
|
288
|
-
claude-flow-novice pair --start \
|
|
289
|
-
--mode debug \
|
|
290
|
-
--trace \
|
|
291
|
-
--verbose \
|
|
292
|
-
--breakpoints
|
|
293
|
-
```
|
|
294
|
-
|
|
295
|
-
## Switching Modes Mid-Session
|
|
296
|
-
|
|
297
|
-
During any session, you can switch modes:
|
|
298
|
-
|
|
299
|
-
```
|
|
300
|
-
/mode driver - Switch to driver mode
|
|
301
|
-
/mode navigator - Switch to navigator mode
|
|
302
|
-
/mode switch - Enable auto-switching
|
|
303
|
-
/mode tdd - Switch to TDD mode
|
|
304
|
-
/mode review - Switch to review mode
|
|
305
|
-
```
|
|
306
|
-
|
|
307
|
-
## Mode Persistence
|
|
308
|
-
|
|
309
|
-
Save mode preferences:
|
|
310
|
-
|
|
311
|
-
```json
|
|
312
|
-
// .claude-flow/config.json
|
|
313
|
-
{
|
|
314
|
-
"pair": {
|
|
315
|
-
"defaultMode": "switch",
|
|
316
|
-
"switchInterval": "10m",
|
|
317
|
-
"preferredRole": "driver",
|
|
318
|
-
"autoSwitchOnIdle": true
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
```
|
|
322
|
-
|
|
323
|
-
## Best Practices by Mode
|
|
324
|
-
|
|
325
|
-
### Driver Mode
|
|
326
|
-
1. Ask questions frequently
|
|
327
|
-
2. Request reviews often
|
|
328
|
-
3. Use suggestions wisely
|
|
329
|
-
4. Learn from feedback
|
|
330
|
-
|
|
331
|
-
### Navigator Mode
|
|
332
|
-
1. Provide clear direction
|
|
333
|
-
2. Review thoroughly
|
|
334
|
-
3. Test generated code
|
|
335
|
-
4. Understand implementations
|
|
336
|
-
|
|
337
|
-
### Switch Mode
|
|
338
|
-
1. Prepare for handoffs
|
|
339
|
-
2. Maintain context
|
|
340
|
-
3. Document decisions
|
|
341
|
-
4. Stay synchronized
|
|
342
|
-
|
|
343
|
-
## Related Documentation
|
|
344
|
-
|
|
345
|
-
- [Pair Programming Overview](./README.md)
|
|
346
|
-
- [Starting Sessions](./start.md)
|
|
347
|
-
- [Session Management](./session.md)
|
|
348
|
-
- [Configuration](./config.md)
|