@codihaus/claude-skills 1.6.6 → 1.6.8
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/package.json +1 -1
- package/skills/debrief/SKILL.md +139 -421
- package/skills/dev-arch/SKILL.md +120 -403
- package/skills/dev-changelog/SKILL.md +67 -221
- package/skills/dev-coding/SKILL.md +170 -696
- package/skills/dev-coding/references/backend-principles.md +130 -0
- package/skills/dev-coding/references/frontend-principles.md +212 -0
- package/skills/dev-review/SKILL.md +63 -238
- package/skills/dev-scout/SKILL.md +140 -864
- package/skills/dev-scout/references/output-template.md +231 -0
- package/skills/dev-specs/SKILL.md +136 -586
- package/skills/dev-specs/references/spec-template.md +146 -0
- package/skills/dev-test/SKILL.md +79 -157
- package/src/utils/config.js +1 -1
- package/templates/scripts/safe-graph-update.sh +3 -1
- package/skills/dev-coding-backend/SKILL.md +0 -240
- package/skills/dev-coding-backend/references/fundamentals.md +0 -428
- package/skills/dev-coding-frontend/SKILL.md +0 -296
- package/skills/dev-coding-frontend/references/fundamentals.md +0 -577
- package/skills/dev-scout/references/feature-patterns.md +0 -210
- package/skills/dev-scout/references/file-patterns.md +0 -252
- package/skills/dev-scout/references/stack-patterns.md +0 -371
- package/skills/dev-scout/references/tech-detection.md +0 -211
- package/skills/dev-specs/references/checklist.md +0 -176
- package/skills/dev-specs/references/spec-templates.md +0 -460
package/package.json
CHANGED
package/skills/debrief/SKILL.md
CHANGED
|
@@ -61,468 +61,186 @@ plans/
|
|
|
61
61
|
└── scout/ # /dev-scout project level
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
##
|
|
64
|
+
## Expected Outcome
|
|
65
|
+
|
|
66
|
+
Depending on mode:
|
|
67
|
+
|
|
68
|
+
**New Project:**
|
|
69
|
+
- BRD with use cases grouped by feature
|
|
70
|
+
- Context document (stakeholders, constraints, users)
|
|
71
|
+
- Feature folders created
|
|
72
|
+
- Architecture feasibility validated
|
|
73
|
+
- Questionnaire for customer gaps
|
|
65
74
|
|
|
66
|
-
|
|
75
|
+
**Add Feature:**
|
|
76
|
+
- New use cases added to BRD
|
|
77
|
+
- Feature folder created
|
|
78
|
+
- Links to existing features
|
|
79
|
+
- Change request (if BRD confirmed)
|
|
67
80
|
|
|
68
|
-
|
|
81
|
+
**Change Request:**
|
|
82
|
+
- CR document tracking the change
|
|
83
|
+
- Affected use cases updated
|
|
84
|
+
- Impact analysis
|
|
69
85
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
86
|
+
**Process Answers:**
|
|
87
|
+
- Use cases updated with answers
|
|
88
|
+
- Open questions resolved
|
|
89
|
+
- Status updated to "Confirmed" if complete
|
|
74
90
|
|
|
75
|
-
|
|
91
|
+
## Success Criteria
|
|
92
|
+
|
|
93
|
+
- Use cases are testable (clear acceptance criteria)
|
|
94
|
+
- No duplicate features (checked via docs-graph if exists)
|
|
95
|
+
- Open questions captured for customer
|
|
96
|
+
- Architecture can support requirements (validated by /dev-arch)
|
|
97
|
+
- Proper mode detected and handled
|
|
98
|
+
- Naming conventions followed (UC-{GROUP}-{NNN}-{slug})
|
|
76
99
|
|
|
77
|
-
|
|
100
|
+
## Modes
|
|
78
101
|
|
|
79
|
-
|
|
80
|
-
1. Read plans/docs-graph.json (if exists)
|
|
81
|
-
2. List existing use cases and features
|
|
82
|
-
3. Check for potential duplicates or overlaps
|
|
83
|
-
4. Identify related nodes for impact analysis
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
**How docs-graph helps debrief:**
|
|
87
|
-
|
|
88
|
-
| Mode | Graph Provides |
|
|
89
|
-
|------|----------------|
|
|
90
|
-
| Add Feature | Existing UCs to avoid duplicates |
|
|
91
|
-
| Change Request | Nodes affected by the change |
|
|
92
|
-
| New Project | Skip (no graph yet) |
|
|
93
|
-
|
|
94
|
-
**Duplicate Detection:**
|
|
95
|
-
|
|
96
|
-
Before creating new UCs, check if similar ones exist:
|
|
97
|
-
|
|
98
|
-
```json
|
|
99
|
-
// User requests: "Add login functionality"
|
|
100
|
-
// Graph shows:
|
|
101
|
-
{
|
|
102
|
-
"existing": [
|
|
103
|
-
{"id": "uc-auth-001", "label": "Login", "type": "use-case"},
|
|
104
|
-
{"id": "uc-auth-002", "label": "Signup", "type": "use-case"}
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
// → Warn: "Login already exists as UC-AUTH-001. Create CR instead?"
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
**Impact Analysis for Changes:**
|
|
111
|
-
|
|
112
|
-
For Change Requests, find what links to the affected UC:
|
|
113
|
-
|
|
114
|
-
```json
|
|
115
|
-
// Modifying: uc-auth-001 (Login)
|
|
116
|
-
// Graph edges show:
|
|
117
|
-
{
|
|
118
|
-
"incoming": ["uc-auth-002", "uc-auth-003", "spec-auth-001"],
|
|
119
|
-
"outgoing": ["feature-auth"]
|
|
120
|
-
}
|
|
121
|
-
// → Impact: 3 other nodes reference Login, need to update
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
This prevents:
|
|
125
|
-
- Duplicate use cases
|
|
126
|
-
- Orphaned specs (spec without UC)
|
|
127
|
-
- Missing impact analysis on changes
|
|
128
|
-
|
|
129
|
-
### Phase 1: Context Gathering
|
|
130
|
-
|
|
131
|
-
Ask using `AskUserQuestion`:
|
|
132
|
-
|
|
133
|
-
**For New Project:**
|
|
134
|
-
|
|
135
|
-
**Q1: Project Type & Source Code**
|
|
136
|
-
- New project (no existing code)
|
|
137
|
-
- Existing codebase (current folder)
|
|
138
|
-
- Existing codebase (different folder)
|
|
139
|
-
|
|
140
|
-
**Q2: Industry/Niche**
|
|
141
|
-
- SaaS B2B / SaaS B2C / E-commerce / Marketplace / Enterprise / Other
|
|
142
|
-
|
|
143
|
-
**Q3: Target Users**
|
|
144
|
-
- Business users (B2B) / Consumers (B2C) / Internal / Mixed
|
|
145
|
-
|
|
146
|
-
**Q4: Known Constraints** (multi-select)
|
|
147
|
-
- Timeline / Budget / Compliance / Integration / None
|
|
148
|
-
|
|
149
|
-
**Q5: Scope Tier**
|
|
150
|
-
- Core (3-5 use cases) / Standard (8-12) / Full (15+)
|
|
151
|
-
|
|
152
|
-
**For Add Feature:**
|
|
153
|
-
|
|
154
|
-
**Q1: Feature Name**
|
|
155
|
-
- What to call this feature (e.g., "billing", "notifications")
|
|
156
|
-
|
|
157
|
-
**Q2: Scope for this feature**
|
|
158
|
-
- Core / Standard / Full
|
|
159
|
-
|
|
160
|
-
### Phase 1.5: Codebase Discovery (if existing codebase)
|
|
161
|
-
|
|
162
|
-
See `references/file-patterns.md` for scan patterns.
|
|
163
|
-
|
|
164
|
-
1. Check for docs (README, CLAUDE.md)
|
|
165
|
-
2. Scan frontend files (.vue, .tsx, .jsx)
|
|
166
|
-
3. Infer existing features
|
|
167
|
-
4. Summarize in context.md
|
|
168
|
-
|
|
169
|
-
### Phase 2: Market Research
|
|
170
|
-
|
|
171
|
-
Search for references (not prescriptions):
|
|
172
|
-
1. Industry patterns
|
|
173
|
-
2. User flows
|
|
174
|
-
3. Compliance requirements
|
|
175
|
-
4. Documentation links
|
|
176
|
-
|
|
177
|
-
Output to `references.md`.
|
|
178
|
-
|
|
179
|
-
### Phase 3: Use Case Generation
|
|
180
|
-
|
|
181
|
-
**Determine feature folder** from context (e.g., billing, auth, notifications).
|
|
182
|
-
|
|
183
|
-
**Determine group code** from feature (e.g., billing → PAY, auth → AUTH).
|
|
184
|
-
|
|
185
|
-
**Create feature subfolder** in use-cases if not exists:
|
|
186
|
-
```
|
|
187
|
-
plans/brd/use-cases/{feature}/
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
**For each use case**, create file in the feature subfolder:
|
|
191
|
-
|
|
192
|
-
**Path**: `plans/brd/use-cases/{feature}/UC-{GROUP}-{NNN}-{slug}.md`
|
|
193
|
-
|
|
194
|
-
```markdown
|
|
195
|
-
# UC-{GROUP}-{NNN}: {Title}
|
|
196
|
-
|
|
197
|
-
> **Feature**: [[feature-{feature}]]
|
|
198
|
-
> **Related**: [[uc-xxx-nnn]]
|
|
199
|
-
> **Status**: Draft
|
|
200
|
-
|
|
201
|
-
## User Story
|
|
202
|
-
As a {role}, I want {goal}, so that {benefit}.
|
|
203
|
-
|
|
204
|
-
## Acceptance Criteria
|
|
205
|
-
- [ ] Given {context}, when {action}, then {result}
|
|
206
|
-
|
|
207
|
-
## Business Rules
|
|
208
|
-
- {Rule}
|
|
209
|
-
|
|
210
|
-
## Integration Notes
|
|
211
|
-
{How this connects to existing features}
|
|
212
|
-
|
|
213
|
-
## Open Questions
|
|
214
|
-
- {Question}
|
|
215
|
-
|
|
216
|
-
## References
|
|
217
|
-
- [{Link}]({url})
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
### Phase 4: Generate/Update BRD Files
|
|
221
|
-
|
|
222
|
-
#### For New Project:
|
|
223
|
-
|
|
224
|
-
Create `plans/brd/` structure:
|
|
225
|
-
|
|
226
|
-
**README.md:**
|
|
227
|
-
```markdown
|
|
228
|
-
# {Project Name}
|
|
229
|
-
|
|
230
|
-
> **Created**: {date}
|
|
231
|
-
> **Status**: Active
|
|
232
|
-
> **Codebase**: New | Existing
|
|
233
|
-
|
|
234
|
-
## Overview
|
|
235
|
-
{Project description}
|
|
236
|
-
|
|
237
|
-
## Overview Flow
|
|
102
|
+
Detect automatically on start:
|
|
238
103
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
## Features
|
|
247
|
-
|
|
248
|
-
| Feature | Use Cases | Technical | Status |
|
|
249
|
-
|---------|-----------|-----------|--------|
|
|
250
|
-
| Auth | UC-AUTH-001 to 003 | [→](../features/auth/) | Planning |
|
|
251
|
-
| Billing | UC-PAY-001 to 005 | [→](../features/billing/) | Planning |
|
|
252
|
-
|
|
253
|
-
## Use Cases
|
|
104
|
+
| Condition | Mode | Behavior |
|
|
105
|
+
|-----------|------|----------|
|
|
106
|
+
| `plans/brd/` doesn't exist | **New Project** | Create full BRD structure |
|
|
107
|
+
| `plans/brd/` exists, adding features | **Add Feature** | Add to existing BRD, check for duplicates |
|
|
108
|
+
| Modifying confirmed use cases | **Change Request** | Create CR first, then update |
|
|
109
|
+
| `--answers` flag provided | **Process Answers** | Update use cases with customer responses |
|
|
254
110
|
|
|
255
|
-
|
|
256
|
-
| ID | Title | Priority | Status |
|
|
257
|
-
|----|-------|----------|--------|
|
|
258
|
-
| [UC-AUTH-001](./use-cases/auth/UC-AUTH-001-login.md) | Login | Must | Draft |
|
|
259
|
-
| [UC-AUTH-002](./use-cases/auth/UC-AUTH-002-signup.md) | Signup | Must | Draft |
|
|
111
|
+
## Context Gathering
|
|
260
112
|
|
|
261
|
-
|
|
262
|
-
| ID | Title | Priority | Status |
|
|
263
|
-
|----|-------|----------|--------|
|
|
264
|
-
| [UC-PAY-001](./use-cases/billing/UC-PAY-001-checkout.md) | Checkout | Must | Draft |
|
|
113
|
+
Use `AskUserQuestion` to understand project context.
|
|
265
114
|
|
|
266
|
-
|
|
267
|
-
|
|
115
|
+
**For New Project, ask about:**
|
|
116
|
+
- Project type (new vs existing codebase)
|
|
117
|
+
- Industry/niche
|
|
118
|
+
- Target users
|
|
119
|
+
- Known constraints
|
|
120
|
+
- Scope tier (Core/Standard/Full)
|
|
268
121
|
|
|
269
|
-
|
|
270
|
-
-
|
|
271
|
-
-
|
|
272
|
-
- [Changelog](./changelog.md)
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
**context.md:**
|
|
276
|
-
```markdown
|
|
277
|
-
# Context
|
|
122
|
+
**For Add Feature, ask about:**
|
|
123
|
+
- Feature name
|
|
124
|
+
- Scope for this feature
|
|
278
125
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
126
|
+
**For Existing Codebase:**
|
|
127
|
+
- Scan for docs, existing features, patterns
|
|
128
|
+
- Reference `references/file-patterns.md` for scan patterns
|
|
282
129
|
|
|
283
|
-
##
|
|
284
|
-
| Persona | Description | Key Needs |
|
|
285
|
-
|---------|-------------|-----------|
|
|
130
|
+
## Duplicate Prevention
|
|
286
131
|
|
|
287
|
-
|
|
288
|
-
|
|
132
|
+
**Use docs-graph** (if exists) to check for duplicates:
|
|
133
|
+
- List existing use cases and features
|
|
134
|
+
- Check for potential overlaps
|
|
135
|
+
- Identify related nodes for impact analysis
|
|
289
136
|
|
|
290
|
-
|
|
291
|
-
|
|
137
|
+
**Before creating use cases:**
|
|
138
|
+
- Check if similar UC already exists
|
|
139
|
+
- If modifying confirmed UC → Create CR instead
|
|
292
140
|
|
|
293
|
-
|
|
294
|
-
|---------|----------|--------|
|
|
141
|
+
## Use Case Generation
|
|
295
142
|
|
|
296
|
-
|
|
297
|
-
| Type | Description | Impact |
|
|
298
|
-
|------|-------------|--------|
|
|
143
|
+
**Output location:** `plans/brd/use-cases/{feature}/UC-{GROUP}-{NNN}-{slug}.md`
|
|
299
144
|
|
|
300
|
-
|
|
301
|
-
-
|
|
145
|
+
**Each use case includes:**
|
|
146
|
+
- User story (As a X, I want Y, so that Z)
|
|
147
|
+
- Acceptance criteria (testable)
|
|
148
|
+
- Business rules
|
|
149
|
+
- Integration notes
|
|
150
|
+
- Open questions
|
|
151
|
+
- References from market research
|
|
302
152
|
|
|
303
|
-
|
|
304
|
-
-
|
|
305
|
-
|
|
153
|
+
**Market research:**
|
|
154
|
+
- Industry patterns
|
|
155
|
+
- User flows
|
|
156
|
+
- Compliance requirements
|
|
157
|
+
- Documentation links
|
|
158
|
+
- Output to `references.md`
|
|
306
159
|
|
|
307
|
-
|
|
160
|
+
## BRD Structure
|
|
308
161
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
162
|
+
**Create/Update:**
|
|
163
|
+
- `README.md` - Project overview, feature index, use case tables
|
|
164
|
+
- `context.md` - Stakeholders, users, constraints, existing features
|
|
165
|
+
- `references.md` - Market research links
|
|
166
|
+
- `changelog.md` - Track all BRD updates
|
|
167
|
+
- `changes/` - Change requests (if modifying confirmed BRD)
|
|
168
|
+
|
|
169
|
+
**Feature folders:**
|
|
170
|
+
- `plans/features/{feature}/README.md` - Feature overview, links to use cases
|
|
171
|
+
|
|
172
|
+
## Architecture Validation
|
|
318
173
|
|
|
319
|
-
**
|
|
174
|
+
**After creating use cases**, call `/dev-arch` to validate feasibility:
|
|
175
|
+
|
|
176
|
+
**dev-arch checks:**
|
|
177
|
+
- Can current architecture support this?
|
|
178
|
+
- What new architecture decisions needed?
|
|
179
|
+
- Any blockers or major concerns?
|
|
320
180
|
|
|
321
|
-
**
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
-
|
|
325
|
-
- Created feature folder: features/{feature}/
|
|
326
|
-
```
|
|
327
|
-
|
|
328
|
-
### Phase 5: Create Feature Folder
|
|
329
|
-
|
|
330
|
-
For each feature mentioned, create:
|
|
331
|
-
|
|
332
|
-
```
|
|
333
|
-
plans/features/{feature}/
|
|
334
|
-
├── README.md # Feature overview, links to use cases
|
|
335
|
-
└── .gitkeep # Placeholder for scout/specs
|
|
336
|
-
```
|
|
337
|
-
|
|
338
|
-
**Feature README.md:**
|
|
339
|
-
```markdown
|
|
340
|
-
# {Feature Name}
|
|
341
|
-
|
|
342
|
-
> **Use Cases**: UC-{GROUP}-001 to {NNN}
|
|
343
|
-
> **Status**: Planning
|
|
344
|
-
|
|
345
|
-
## Related Use Cases
|
|
346
|
-
| ID | Title |
|
|
347
|
-
|----|-------|
|
|
348
|
-
| [UC-XXX-001](../../brd/use-cases/UC-XXX-001-slug.md) | Title |
|
|
349
|
-
|
|
350
|
-
## Technical (pending)
|
|
351
|
-
- [ ] Architecture: Run `/dev-arch {feature}`
|
|
352
|
-
- [ ] Scout: Run `/dev-scout {feature}`
|
|
353
|
-
- [ ] Impact: Analyze integration points
|
|
354
|
-
- [ ] Specs: Run `/dev-specs {feature}`
|
|
355
|
-
```
|
|
356
|
-
|
|
357
|
-
### Phase 5.5: Architecture Feasibility Check
|
|
358
|
-
|
|
359
|
-
After creating use cases, call `/dev-arch` to validate:
|
|
360
|
-
|
|
361
|
-
```
|
|
362
|
-
1. Load dev-arch skill
|
|
363
|
-
→ Read skills/dev-arch/SKILL.md
|
|
364
|
-
|
|
365
|
-
2. Pass context to dev-arch
|
|
366
|
-
→ Feature requirements from use cases
|
|
367
|
-
→ Existing architecture from scout (if exists)
|
|
368
|
-
|
|
369
|
-
3. dev-arch evaluates:
|
|
370
|
-
→ Can current architecture support this?
|
|
371
|
-
→ What new architecture decisions needed?
|
|
372
|
-
→ Any blockers or major concerns?
|
|
373
|
-
|
|
374
|
-
4. dev-arch returns:
|
|
375
|
-
→ "Feasible with existing patterns" → Continue
|
|
376
|
-
→ "Feasible with additions" → Note additions needed
|
|
377
|
-
→ "Requires architecture work" → Create architecture.md first
|
|
378
|
-
```
|
|
379
|
-
|
|
380
|
-
**Output from dev-arch:**
|
|
381
|
-
|
|
382
|
-
```markdown
|
|
383
|
-
## Architecture Feasibility
|
|
181
|
+
**dev-arch returns:**
|
|
182
|
+
- Feasible with existing patterns → Continue
|
|
183
|
+
- Feasible with additions → Note what's needed
|
|
184
|
+
- Requires architecture work → Create architecture.md first
|
|
384
185
|
|
|
385
|
-
|
|
186
|
+
## Open Questions & Questionnaire
|
|
386
187
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
| Real-time | ✗ New | Need WebSocket |
|
|
188
|
+
**Collect open questions from:**
|
|
189
|
+
- Use case "Open Questions" sections
|
|
190
|
+
- Context gaps
|
|
191
|
+
- Integration uncertainties
|
|
192
|
+
- Business rules needing clarification
|
|
393
193
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
### Architecture Decisions Needed
|
|
399
|
-
- [ ] Payment provider selection
|
|
400
|
-
- [ ] Real-time architecture
|
|
401
|
-
```
|
|
402
|
-
|
|
403
|
-
This ensures architecture is considered early, not as an afterthought.
|
|
404
|
-
|
|
405
|
-
### Phase 6: Handle Change Requests
|
|
406
|
-
|
|
407
|
-
If modifying existing use cases:
|
|
408
|
-
|
|
409
|
-
1. Create `plans/brd/changes/CR-{NNN}-{slug}.md`
|
|
410
|
-
2. Update README.md Change History
|
|
411
|
-
3. Update affected use cases with reference
|
|
412
|
-
|
|
413
|
-
**CR-{NNN}-{slug}.md:**
|
|
414
|
-
```markdown
|
|
415
|
-
# CR-{NNN}: {Title}
|
|
416
|
-
|
|
417
|
-
> **Date**: {date}
|
|
418
|
-
> **Status**: Draft | Approved | Implemented
|
|
419
|
-
> **Requestor**: {who requested}
|
|
420
|
-
|
|
421
|
-
## Request
|
|
422
|
-
{What is being requested}
|
|
423
|
-
|
|
424
|
-
## Reason
|
|
425
|
-
{Why this change is needed}
|
|
426
|
-
|
|
427
|
-
## Impact
|
|
428
|
-
|
|
429
|
-
### New Use Cases
|
|
430
|
-
| ID | Title |
|
|
431
|
-
|----|-------|
|
|
432
|
-
|
|
433
|
-
### Modified Use Cases
|
|
434
|
-
| ID | Change |
|
|
435
|
-
|----|--------|
|
|
436
|
-
| UC-XXX-001 | {What changes} |
|
|
437
|
-
|
|
438
|
-
### Affected Features
|
|
439
|
-
- {feature}: {how affected}
|
|
440
|
-
|
|
441
|
-
## Notes
|
|
442
|
-
{Additional context}
|
|
194
|
+
**If gaps exist, generate questionnaire:**
|
|
195
|
+
```bash
|
|
196
|
+
python .claude/skills/debrief/scripts/generate_questionnaire.py {output_path} questions.json
|
|
443
197
|
```
|
|
444
198
|
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
1. Use case files (`## Open Questions` section)
|
|
449
|
-
2. Context gaps (unknowns from Phase 1)
|
|
450
|
-
3. Integration uncertainties
|
|
451
|
-
4. Business rules needing clarification
|
|
452
|
-
|
|
453
|
-
**Build questions list:**
|
|
454
|
-
```json
|
|
455
|
-
{
|
|
456
|
-
"project_name": "{Project Name}",
|
|
457
|
-
"date": "{YYYY-MM-DD}",
|
|
458
|
-
"questions": [
|
|
459
|
-
{
|
|
460
|
-
"category": "Requirements",
|
|
461
|
-
"question": "What is the expected concurrent user load?",
|
|
462
|
-
"priority": "Required",
|
|
463
|
-
"context": "Needed for capacity planning",
|
|
464
|
-
"source": "UC-PAY-003"
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
"category": "Business",
|
|
468
|
-
"question": "What payment methods should be supported?",
|
|
469
|
-
"priority": "Required",
|
|
470
|
-
"context": "Affects integration scope",
|
|
471
|
-
"source": "UC-PAY-001"
|
|
472
|
-
}
|
|
473
|
-
]
|
|
474
|
-
}
|
|
475
|
-
```
|
|
199
|
+
**Output location:**
|
|
200
|
+
- New feature: `plans/features/{feature}/questionnaire-{YYYY-MM-DD}.xlsx`
|
|
201
|
+
- Change request: `plans/brd/changes/CR-{NNN}-questionnaire-{YYYY-MM-DD}.xlsx`
|
|
476
202
|
|
|
477
|
-
**Categories:**
|
|
478
|
-
|
|
479
|
-
- `Requirements` - Feature details, user needs
|
|
480
|
-
- `Constraints` - Timeline, budget, compliance
|
|
481
|
-
- `Integration` - Third-party systems, APIs
|
|
482
|
-
- `Technical` - Only if blocking business decisions
|
|
203
|
+
**Categories:** Business, Requirements, Constraints, Integration, Technical
|
|
204
|
+
**Priority:** Required (blocks UC), Optional (nice to clarify)
|
|
483
205
|
|
|
484
|
-
|
|
485
|
-
- `Required` - Blocks use case completion
|
|
486
|
-
- `Optional` - Nice to clarify, not blocking
|
|
206
|
+
## Change Requests
|
|
487
207
|
|
|
488
|
-
|
|
208
|
+
**Create CR when:**
|
|
209
|
+
- Modifying confirmed use cases
|
|
210
|
+
- BRD status is "Confirmed" and adding features
|
|
211
|
+
- Scope expansion discovered
|
|
489
212
|
|
|
490
|
-
|
|
213
|
+
**CR includes:**
|
|
214
|
+
- Request description
|
|
215
|
+
- Reason for change
|
|
216
|
+
- Impact analysis (new/modified UCs, affected features)
|
|
217
|
+
- Questionnaire (if questions exist)
|
|
491
218
|
|
|
492
|
-
|
|
493
|
-
python .claude/skills/debrief/scripts/generate_questionnaire.py {output_path} questions.json
|
|
494
|
-
```
|
|
219
|
+
## Process Answers Workflow
|
|
495
220
|
|
|
496
|
-
**
|
|
497
|
-
- New feature: `plans/features/{feature}/questionnaire-{YYYY-MM-DD}.xlsx`
|
|
498
|
-
- Change request: `plans/brd/changes/CR-{NNN}-questionnaire-{YYYY-MM-DD}.xlsx`
|
|
221
|
+
**When customer returns questionnaire:**
|
|
499
222
|
|
|
500
|
-
**
|
|
223
|
+
1. **Read questionnaire** - Extract answers from Excel
|
|
224
|
+
2. **Update use cases** - Add answers to relevant sections, remove from open questions
|
|
225
|
+
3. **Update feature README** - Note questionnaire processed
|
|
226
|
+
4. **Check completeness** - If gaps remain, generate new questionnaire with new date
|
|
227
|
+
5. **Update status** - Mark UCs as "Confirmed" if complete
|
|
501
228
|
|
|
502
|
-
|
|
503
|
-
- Summary sheet (project info, question counts)
|
|
504
|
-
- Questions sheet (categorized, with context/source)
|
|
505
|
-
- Answer column for customer to fill
|
|
229
|
+
**Keep questionnaire files** for revision history with date stamps.
|
|
506
230
|
|
|
507
|
-
|
|
231
|
+
## Summary Output
|
|
508
232
|
|
|
509
|
-
|
|
510
|
-
- Use cases created/updated
|
|
233
|
+
Provide summary with:
|
|
234
|
+
- Use cases created/updated (count)
|
|
511
235
|
- Features created
|
|
512
236
|
- Change requests (if any)
|
|
513
237
|
- Open questions count
|
|
514
|
-
- Questionnaire
|
|
515
|
-
- Next steps
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
-
|
|
519
|
-
-
|
|
520
|
-
- For new projects: Run `/dev-specs {feature}` (will auto-scout)
|
|
521
|
-
- For existing codebases:
|
|
522
|
-
- First time: Run `/dev-scout` (project-level analysis) OR let `/dev-specs` auto-scout
|
|
523
|
-
- Subsequent: Run `/dev-specs {feature}` directly (auto-scouts feature if needed)
|
|
524
|
-
|
|
525
|
-
**Note**: `/dev-specs` automatically runs both project-level and feature-level scouts if they don't exist, so you typically don't need to run `/dev-scout` manually unless you want to review the codebase analysis separately first.
|
|
238
|
+
- Questionnaire location (if generated)
|
|
239
|
+
- Next steps:
|
|
240
|
+
- Send questionnaire to customer
|
|
241
|
+
- Review with stakeholders
|
|
242
|
+
- Run `/dev-specs {feature}` (auto-scouts if needed)
|
|
243
|
+
- OR run `/dev-scout` first for project overview
|
|
526
244
|
|
|
527
245
|
---
|
|
528
246
|
|