claude-flow-novice 2.15.1 → 2.15.2
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/cfn-extras/agents/google-sheets-specialist.md +614 -0
- package/.claude/commands/cfn/create-handoff.md +224 -0
- package/claude-assets/agents/cfn-dev-team/coordinators/handoff-coordinator.md +662 -0
- package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +29 -0
- package/claude-assets/cfn-extras/agents/google-sheets-specialist.md +614 -0
- package/claude-assets/commands/cfn/create-handoff.md +224 -0
- package/dist/agents/agent-loader.js +165 -146
- package/dist/agents/agent-loader.js.map +1 -1
- package/package.json +1 -1
- package/scripts/build-linux.sh +78 -0
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Create session handoff documentation for team transitions or context resets (project)"
|
|
3
|
+
tags: ["handoff", "session-transition", "documentation", "context-preservation"]
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Create Session Handoff Documentation
|
|
7
|
+
|
|
8
|
+
Generate comprehensive handoff documentation for transitioning work between sessions or teams.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
/create-handoff [domain] [--duration=hours] [--focus="description"]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Parameters
|
|
17
|
+
|
|
18
|
+
- `domain` (required): Work domain (e.g., docker, cfn-v3, testing, security)
|
|
19
|
+
- `--duration` (optional): Session duration in hours (default: 24)
|
|
20
|
+
- `--focus` (optional): Session focus description
|
|
21
|
+
|
|
22
|
+
## Examples
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
# Create handoff for Docker work
|
|
26
|
+
/create-handoff docker
|
|
27
|
+
|
|
28
|
+
# Create handoff with specific focus
|
|
29
|
+
/create-handoff cfn-v3 --focus="Loop 3 implementation and validation"
|
|
30
|
+
|
|
31
|
+
# Create handoff for longer session
|
|
32
|
+
/create-handoff security --duration=48 --focus="Security audit and remediation"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## What This Does
|
|
36
|
+
|
|
37
|
+
The handoff-coordinator agent will:
|
|
38
|
+
|
|
39
|
+
1. **Extract session context:**
|
|
40
|
+
- Git commits from specified duration
|
|
41
|
+
- Modified files with change summaries
|
|
42
|
+
- Key decisions and trade-offs
|
|
43
|
+
- Bugs fixed and issues deferred
|
|
44
|
+
|
|
45
|
+
2. **Generate structured handoff:**
|
|
46
|
+
- Executive summary (90-second read)
|
|
47
|
+
- Technical details with file changes
|
|
48
|
+
- Validation procedures and smoke tests
|
|
49
|
+
- Next steps with clear criteria
|
|
50
|
+
- Confidence scoring (0.0-1.0)
|
|
51
|
+
|
|
52
|
+
3. **Create quick reference:**
|
|
53
|
+
- 5-minute "resume work immediately" guide
|
|
54
|
+
- Critical context only
|
|
55
|
+
- Executable smoke test
|
|
56
|
+
|
|
57
|
+
4. **Output artifacts:**
|
|
58
|
+
- `planning/[domain]/handoff/SESSION_HANDOFF_[timestamp].md`
|
|
59
|
+
- `planning/[domain]/handoff/QUICK_START_[domain].md`
|
|
60
|
+
- Backlog entry (if work incomplete)
|
|
61
|
+
|
|
62
|
+
## When to Use This
|
|
63
|
+
|
|
64
|
+
**Use /create-handoff when:**
|
|
65
|
+
- ✅ Ending a multi-hour session with significant progress
|
|
66
|
+
- ✅ Transitioning work to another team
|
|
67
|
+
- ✅ Resetting context for a fresh session
|
|
68
|
+
- ✅ Documenting complex bug fixes or architectural decisions
|
|
69
|
+
- ✅ Creating checkpoints during long-running epics
|
|
70
|
+
|
|
71
|
+
**Don't use /create-handoff for:**
|
|
72
|
+
- ❌ Simple single-file edits
|
|
73
|
+
- ❌ Trivial bug fixes with no architectural impact
|
|
74
|
+
- ❌ Work that's already fully documented
|
|
75
|
+
- ❌ Sessions with no significant decisions or changes
|
|
76
|
+
|
|
77
|
+
## Output Structure
|
|
78
|
+
|
|
79
|
+
The generated handoff document includes:
|
|
80
|
+
|
|
81
|
+
### Executive Summary
|
|
82
|
+
- Session scope and objectives
|
|
83
|
+
- Key achievements
|
|
84
|
+
- Critical decisions
|
|
85
|
+
- Current state
|
|
86
|
+
|
|
87
|
+
### Work Completed
|
|
88
|
+
- Commits with hashes and messages
|
|
89
|
+
- Files changed with line counts
|
|
90
|
+
- Tests created/updated
|
|
91
|
+
- Documentation written
|
|
92
|
+
|
|
93
|
+
### Key Decisions
|
|
94
|
+
- Decision description
|
|
95
|
+
- Alternatives considered
|
|
96
|
+
- Trade-offs accepted
|
|
97
|
+
- Rationale and confidence
|
|
98
|
+
|
|
99
|
+
### Technical Details
|
|
100
|
+
- Root cause analyses
|
|
101
|
+
- Fix implementations
|
|
102
|
+
- Validation procedures
|
|
103
|
+
- Test results
|
|
104
|
+
|
|
105
|
+
### Current State
|
|
106
|
+
- What's working
|
|
107
|
+
- What needs attention
|
|
108
|
+
- What's blocked
|
|
109
|
+
- What's deferred
|
|
110
|
+
|
|
111
|
+
### Next Steps
|
|
112
|
+
- Immediate actions (today)
|
|
113
|
+
- Short-term goals (24-48 hours)
|
|
114
|
+
- Medium-term roadmap (next week)
|
|
115
|
+
|
|
116
|
+
### Validation Procedures
|
|
117
|
+
- Pre-handoff checklist
|
|
118
|
+
- Smoke test script
|
|
119
|
+
- Integration test
|
|
120
|
+
- Rollback procedure
|
|
121
|
+
|
|
122
|
+
### Confidence & Risk Assessment
|
|
123
|
+
- Component-level confidence scores
|
|
124
|
+
- Overall handoff confidence
|
|
125
|
+
- Risk classification (low/medium/high)
|
|
126
|
+
- Mitigation strategies
|
|
127
|
+
|
|
128
|
+
## Command Implementation
|
|
129
|
+
|
|
130
|
+
**YOU MUST IMMEDIATELY EXECUTE THE TASK TOOL AFTER READING THIS COMMAND.**
|
|
131
|
+
|
|
132
|
+
Do not just explain what would happen - actually spawn the agent.
|
|
133
|
+
|
|
134
|
+
```javascript
|
|
135
|
+
// Extract parameters
|
|
136
|
+
const domain = args[0] || "general";
|
|
137
|
+
const duration = extractFlag(args, "--duration") || "24";
|
|
138
|
+
const focus = extractFlag(args, "--focus") || "Recent session work";
|
|
139
|
+
|
|
140
|
+
// Spawn handoff-coordinator agent
|
|
141
|
+
Task("handoff-coordinator", `
|
|
142
|
+
Create session handoff documentation for ${domain} domain.
|
|
143
|
+
|
|
144
|
+
Session context:
|
|
145
|
+
- Focus: ${focus}
|
|
146
|
+
- Duration: Last ${duration} hours
|
|
147
|
+
- Domain: ${domain}
|
|
148
|
+
|
|
149
|
+
Requirements:
|
|
150
|
+
- Extract git commits from last ${duration} hours
|
|
151
|
+
- Document all file changes with summaries
|
|
152
|
+
- Identify and document key decisions
|
|
153
|
+
- Create executable smoke test
|
|
154
|
+
- Include rollback procedure
|
|
155
|
+
- Generate quick start guide
|
|
156
|
+
|
|
157
|
+
Output location: planning/${domain}/handoff/
|
|
158
|
+
Target confidence: ≥0.90
|
|
159
|
+
|
|
160
|
+
Deliverables:
|
|
161
|
+
1. SESSION_HANDOFF_[timestamp].md (full handoff document)
|
|
162
|
+
2. QUICK_START_${domain}.md (5-minute resume guide)
|
|
163
|
+
3. Backlog entry (if work incomplete)
|
|
164
|
+
4. Smoke test script (executable validation)
|
|
165
|
+
`)
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## Success Criteria
|
|
169
|
+
|
|
170
|
+
The handoff is complete when:
|
|
171
|
+
|
|
172
|
+
- ✅ Handoff document follows template structure
|
|
173
|
+
- ✅ All commits referenced with valid hashes
|
|
174
|
+
- ✅ All file changes documented
|
|
175
|
+
- ✅ Key decisions include rationale
|
|
176
|
+
- ✅ Smoke test is executable
|
|
177
|
+
- ✅ Rollback procedure documented
|
|
178
|
+
- ✅ Confidence scores calculated
|
|
179
|
+
- ✅ Quick start guide created
|
|
180
|
+
- ✅ Overall confidence ≥0.90
|
|
181
|
+
|
|
182
|
+
## Related Commands
|
|
183
|
+
|
|
184
|
+
- `/cfn-loop-task` - Execute CFN Loop workflows
|
|
185
|
+
- `/github-commit` - Create git commits
|
|
186
|
+
- `/suggest-improvements` - Analyze codebase quality
|
|
187
|
+
|
|
188
|
+
## Anti-Patterns
|
|
189
|
+
|
|
190
|
+
**Don't do this:**
|
|
191
|
+
```bash
|
|
192
|
+
# ❌ Creating handoff without context
|
|
193
|
+
/create-handoff unknown
|
|
194
|
+
|
|
195
|
+
# ❌ Handoff for trivial work
|
|
196
|
+
/create-handoff typo-fix
|
|
197
|
+
|
|
198
|
+
# ❌ Handoff without domain
|
|
199
|
+
/create-handoff
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
**Do this instead:**
|
|
203
|
+
```bash
|
|
204
|
+
# ✅ Clear domain and focus
|
|
205
|
+
/create-handoff docker --focus="Alpine Linux shell compatibility fix"
|
|
206
|
+
|
|
207
|
+
# ✅ Specific duration for multi-day work
|
|
208
|
+
/create-handoff cfn-v3 --duration=72 --focus="Three-loop validation implementation"
|
|
209
|
+
|
|
210
|
+
# ✅ Detailed context for complex work
|
|
211
|
+
/create-handoff security --focus="P1 vulnerability remediation and validation"
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
## Notes
|
|
215
|
+
|
|
216
|
+
- Handoff documents are stored in `planning/[domain]/handoff/`
|
|
217
|
+
- Git context is extracted automatically (no manual commit listing required)
|
|
218
|
+
- Smoke tests are generated as executable shell scripts
|
|
219
|
+
- Confidence scoring is calculated automatically
|
|
220
|
+
- Backlog entries are created only if work is incomplete
|
|
221
|
+
|
|
222
|
+
## Version History
|
|
223
|
+
|
|
224
|
+
- **v1.0 (2025-11-14):** Initial command creation with handoff-coordinator agent integration
|