@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
|
@@ -39,255 +39,101 @@ plans/features/{feature}/
|
|
|
39
39
|
└── docs-updates.md # Documentation tasks
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
##
|
|
42
|
+
## Expected Outcome
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
Documentation of what was implemented after `/dev-review` passes.
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
**Outputs:**
|
|
47
|
+
- `summary.md` - What was built this session/PR
|
|
48
|
+
- `implementation.md` - Cumulative status (updated)
|
|
49
|
+
- `tech-debt.md` - Known issues, TODOs (updated)
|
|
50
|
+
- `docs-updates.md` - Documentation tasks
|
|
50
51
|
|
|
51
|
-
|
|
52
|
-
→ "Run /dev-review first"
|
|
53
|
-
→ Exit
|
|
54
|
-
```
|
|
52
|
+
## Success Criteria
|
|
55
53
|
|
|
56
|
-
|
|
54
|
+
- Changes mapped to specs and use cases
|
|
55
|
+
- Completion status clear (done/partial/not started)
|
|
56
|
+
- Tech debt captured (TODOs, workarounds, gaps)
|
|
57
|
+
- Documentation tasks identified
|
|
58
|
+
- Easy to resume work later
|
|
59
|
+
- Clear what's done, what's remaining
|
|
57
60
|
|
|
58
|
-
|
|
59
|
-
1. Git changes (source of truth)
|
|
60
|
-
git log --oneline {since}
|
|
61
|
-
git diff --stat {since}
|
|
61
|
+
## Prerequisite
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
**Verify `/dev-review` passed:**
|
|
64
|
+
- If review not done or failed → "Run /dev-review first"
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
plans/features/{feature}/specs/*.md
|
|
66
|
+
## Sources to Gather
|
|
68
67
|
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
**Git (source of truth):**
|
|
69
|
+
- `git log --oneline {since}` - Commits made
|
|
70
|
+
- `git diff --stat {since}` - Files changed
|
|
71
|
+
- `gh pr view {number}` - PR info (if available)
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
**Intent & Context:**
|
|
74
|
+
- specs/*.md - What was intended
|
|
75
|
+
- use-cases/*.md - Business context
|
|
76
|
+
- implementation.md (previous) - Track cumulative status
|
|
75
77
|
|
|
76
|
-
|
|
78
|
+
## Analysis
|
|
77
79
|
|
|
78
|
-
Map git changes to specs and use cases
|
|
80
|
+
**Map git changes to specs and use cases:**
|
|
79
81
|
|
|
80
|
-
```
|
|
81
82
|
For each changed file:
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
**Mapping table:**
|
|
83
|
+
- What component? (API, UI, model, etc.)
|
|
84
|
+
- Which spec item does it fulfill?
|
|
85
|
+
- Which use case does it support?
|
|
86
|
+
- Complete or partial?
|
|
89
87
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
**Extract tech debt:**
|
|
89
|
+
- TODOs in changed files (grep for TODO/FIXME/HACK/XXX)
|
|
90
|
+
- Incomplete spec items (spec says X, implementation does Y)
|
|
91
|
+
- Known issues from commits (WIP, temporary, workaround)
|
|
92
|
+
- Review comments not addressed
|
|
95
93
|
|
|
96
|
-
|
|
94
|
+
**Identify doc updates needed:**
|
|
97
95
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
```
|
|
101
|
-
1. TODOs in changed files
|
|
102
|
-
grep -r "TODO\|FIXME\|HACK\|XXX" {changed_files}
|
|
103
|
-
|
|
104
|
-
2. Incomplete spec items
|
|
105
|
-
→ Spec says X, implementation does Y
|
|
106
|
-
|
|
107
|
-
3. Known issues from commits
|
|
108
|
-
→ "WIP:", "temporary", "workaround"
|
|
109
|
-
|
|
110
|
-
4. Review comments not addressed
|
|
111
|
-
→ From /dev-review output
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
### Phase 4: Identify Documentation Updates
|
|
115
|
-
|
|
116
|
-
Based on what changed:
|
|
117
|
-
|
|
118
|
-
| Change Type | Doc Update Needed |
|
|
119
|
-
|-------------|-------------------|
|
|
96
|
+
| Change Type | Doc Update |
|
|
97
|
+
|-------------|------------|
|
|
120
98
|
| New API endpoint | API Reference |
|
|
121
99
|
| New UI feature | User Guide |
|
|
122
100
|
| New config option | Configuration docs |
|
|
123
101
|
| Breaking change | Migration guide |
|
|
124
102
|
| New component | Component docs |
|
|
125
103
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
#### summary.md (per session/PR)
|
|
129
|
-
|
|
130
|
-
```markdown
|
|
131
|
-
# Summary: {Feature} - {Date/PR}
|
|
132
|
-
|
|
133
|
-
> **PR**: #{number} or commit range
|
|
134
|
-
> **Author**: {who}
|
|
135
|
-
> **Review**: Passed
|
|
136
|
-
|
|
137
|
-
## What Was Built
|
|
138
|
-
|
|
139
|
-
### API Changes
|
|
140
|
-
- `POST /api/billing/checkout` - Process payment
|
|
141
|
-
- `GET /api/billing/invoices` - List invoices
|
|
142
|
-
|
|
143
|
-
### UI Changes
|
|
144
|
-
- CheckoutForm component
|
|
145
|
-
- InvoiceList component
|
|
146
|
-
- PaymentSuccess page
|
|
147
|
-
|
|
148
|
-
### Data Changes
|
|
149
|
-
- Added Invoice model
|
|
150
|
-
- Added Payment model
|
|
151
|
-
- Migration: 20240118_add_billing_tables
|
|
152
|
-
|
|
153
|
-
## Spec Items Completed
|
|
154
|
-
|
|
155
|
-
| Spec | Title | Status |
|
|
156
|
-
|------|-------|--------|
|
|
157
|
-
| SPEC-PAY-001 | Checkout Flow | ✅ Complete |
|
|
158
|
-
| SPEC-PAY-002 | Payment Processing | ✅ Complete |
|
|
159
|
-
| SPEC-PAY-004 | Subscription Mgmt | ⚠️ Partial |
|
|
160
|
-
|
|
161
|
-
## Use Cases Addressed
|
|
162
|
-
|
|
163
|
-
| UC | Title | Coverage |
|
|
164
|
-
|----|-------|----------|
|
|
165
|
-
| UC-PAY-001 | Checkout | Full |
|
|
166
|
-
| UC-PAY-002 | Subscribe | Create only |
|
|
167
|
-
|
|
168
|
-
## Commits
|
|
169
|
-
|
|
170
|
-
- `abc1234` feat(billing): add checkout endpoint
|
|
171
|
-
- `def5678` feat(billing): add CheckoutForm component
|
|
172
|
-
- `ghi9012` feat(billing): add invoice model
|
|
173
|
-
|
|
174
|
-
## Next Steps
|
|
175
|
-
|
|
176
|
-
1. Complete subscription upgrade/downgrade (SPEC-PAY-004)
|
|
177
|
-
2. Add refund functionality (SPEC-PAY-005)
|
|
178
|
-
3. Update API documentation
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
#### implementation.md (cumulative status)
|
|
104
|
+
## Output Files
|
|
182
105
|
|
|
183
|
-
|
|
184
|
-
|
|
106
|
+
**summary.md** (per session/PR):
|
|
107
|
+
- What was built (API, UI, data changes)
|
|
108
|
+
- Spec items completed (with status)
|
|
109
|
+
- Use cases addressed (coverage)
|
|
110
|
+
- Commits list
|
|
111
|
+
- Next steps
|
|
185
112
|
|
|
186
|
-
|
|
187
|
-
|
|
113
|
+
**implementation.md** (cumulative):
|
|
114
|
+
- Overall progress percentage
|
|
115
|
+
- Completed items (with PR reference)
|
|
116
|
+
- In progress items (what's done, what's remaining)
|
|
117
|
+
- Not started items (with blockers if any)
|
|
118
|
+
- History (date, PR, summary)
|
|
188
119
|
|
|
189
|
-
|
|
120
|
+
**tech-debt.md** (updated):
|
|
121
|
+
- High/Medium/Low priority issues
|
|
122
|
+
- Location, impact, notes for each
|
|
123
|
+
- Code TODOs with file:line references
|
|
190
124
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
| Invoices | SPEC-PAY-003 | UC-PAY-003 | PR #125 |
|
|
125
|
+
**docs-updates.md** (updated):
|
|
126
|
+
- Required updates (API Reference, User Guide, Configuration)
|
|
127
|
+
- Examples to add (code snippets)
|
|
128
|
+
- Screenshots needed
|
|
196
129
|
|
|
197
|
-
##
|
|
198
|
-
|
|
199
|
-
| Item | Spec | UC | Done | Remaining |
|
|
200
|
-
|------|------|----|------|-----------|
|
|
201
|
-
| Subscriptions | SPEC-PAY-004 | UC-PAY-002 | Create/cancel | Upgrade/downgrade |
|
|
202
|
-
|
|
203
|
-
## Not Started ❌
|
|
204
|
-
|
|
205
|
-
| Item | Spec | UC | Blocked By |
|
|
206
|
-
|------|------|----|------------|
|
|
207
|
-
| Refunds | SPEC-PAY-005 | UC-PAY-004 | - |
|
|
208
|
-
| Usage billing | SPEC-PAY-006 | UC-PAY-005 | Phase 2 |
|
|
209
|
-
|
|
210
|
-
## History
|
|
211
|
-
|
|
212
|
-
| Date | PR | Summary |
|
|
213
|
-
|------|----|---------|
|
|
214
|
-
| 2024-01-18 | #123 | Checkout + payments |
|
|
215
|
-
| 2024-01-20 | #125 | Invoice generation |
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
#### tech-debt.md
|
|
219
|
-
|
|
220
|
-
```markdown
|
|
221
|
-
# Tech Debt: {Feature}
|
|
222
|
-
|
|
223
|
-
> **Last Updated**: {date}
|
|
224
|
-
|
|
225
|
-
## High Priority
|
|
226
|
-
|
|
227
|
-
| Issue | Location | Impact | Notes |
|
|
228
|
-
|-------|----------|--------|-------|
|
|
229
|
-
| No retry on payment failure | `billing/stripe.ts:45` | Users see errors | Add exponential backoff |
|
|
230
|
-
|
|
231
|
-
## Medium Priority
|
|
232
|
-
|
|
233
|
-
| Issue | Location | Impact | Notes |
|
|
234
|
-
|-------|----------|--------|-------|
|
|
235
|
-
| Hardcoded tax rate | `billing/invoice.ts:23` | Wrong tax for some regions | Make configurable |
|
|
236
|
-
| No pagination | `api/invoices.ts:12` | Slow for many invoices | Add cursor pagination |
|
|
237
|
-
|
|
238
|
-
## Low Priority
|
|
239
|
-
|
|
240
|
-
| Issue | Location | Impact | Notes |
|
|
241
|
-
|-------|----------|--------|-------|
|
|
242
|
-
| TODO: Add logging | `billing/checkout.ts:78` | Hard to debug | Add structured logging |
|
|
243
|
-
|
|
244
|
-
## Code TODOs
|
|
245
|
-
|
|
246
|
-
```
|
|
247
|
-
billing/stripe.ts:45: TODO: Add retry logic for failed payments
|
|
248
|
-
billing/invoice.ts:23: TODO: Make tax rate configurable
|
|
249
|
-
billing/checkout.ts:78: TODO: Add logging
|
|
250
|
-
```
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
#### docs-updates.md
|
|
254
|
-
|
|
255
|
-
```markdown
|
|
256
|
-
# Documentation Updates: {Feature}
|
|
257
|
-
|
|
258
|
-
> **Last Updated**: {date}
|
|
259
|
-
|
|
260
|
-
## Required Updates
|
|
261
|
-
|
|
262
|
-
### API Reference
|
|
263
|
-
- [ ] Add `POST /api/billing/checkout` endpoint
|
|
264
|
-
- [ ] Add `GET /api/billing/invoices` endpoint
|
|
265
|
-
- [ ] Add `POST /api/billing/subscriptions` endpoint
|
|
266
|
-
|
|
267
|
-
### User Guide
|
|
268
|
-
- [ ] Add "Making a Purchase" section
|
|
269
|
-
- [ ] Add "Managing Your Subscription" section
|
|
270
|
-
- [ ] Add "Viewing Invoices" section
|
|
271
|
-
|
|
272
|
-
### Configuration
|
|
273
|
-
- [ ] Document `STRIPE_SECRET_KEY` env var
|
|
274
|
-
- [ ] Document `STRIPE_WEBHOOK_SECRET` env var
|
|
275
|
-
|
|
276
|
-
## Examples to Add
|
|
277
|
-
|
|
278
|
-
### API Examples
|
|
279
|
-
```bash
|
|
280
|
-
# Checkout
|
|
281
|
-
curl -X POST /api/billing/checkout \
|
|
282
|
-
-H "Authorization: Bearer {token}" \
|
|
283
|
-
-d '{"planId": "pro", "paymentMethodId": "pm_xxx"}'
|
|
284
|
-
```
|
|
130
|
+
## Resume Flow
|
|
285
131
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
-
|
|
289
|
-
|
|
290
|
-
|
|
132
|
+
When returning to work later:
|
|
133
|
+
1. Read implementation.md → See what's done, what's remaining
|
|
134
|
+
2. Read tech-debt.md → See known issues
|
|
135
|
+
3. Read summary.md (latest) → See where you left off
|
|
136
|
+
4. Continue with `/dev-specs` or `/dev-coding`
|
|
291
137
|
|
|
292
138
|
## Integration with /dev-review
|
|
293
139
|
|