tracerkit 1.3.1 → 1.3.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/README.md +59 -69
- package/dist/bin.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
# TracerKit
|
|
4
4
|
|
|
5
5
|
[](https://github.com/helderberto/tracerkit/actions/workflows/ci.yml)
|
|
6
|
+
[](https://www.npmjs.com/package/tracerkit)
|
|
7
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
8
|
|
|
7
9
|
A spec-driven workflow for Claude Code. Three skills take a feature from idea to verified archive: define, plan, verify.
|
|
8
10
|
|
|
@@ -175,17 +177,29 @@ The term comes from [The Pragmatic Programmer](https://pragprog.com/titles/tpp20
|
|
|
175
177
|
<details>
|
|
176
178
|
<summary>New feature from scratch</summary>
|
|
177
179
|
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
180
|
+
```
|
|
181
|
+
You: /tk:prd add dark mode support
|
|
182
|
+
AI: Starting PRD interview...
|
|
183
|
+
? What problem does this solve for users?
|
|
184
|
+
? Should it detect system preference or manual toggle only?
|
|
185
|
+
? Which components need theming?
|
|
186
|
+
...
|
|
187
|
+
✓ Written prds/dark-mode-support.md
|
|
188
|
+
|
|
189
|
+
You: /tk:plan dark-mode-support
|
|
190
|
+
AI: Reading PRD...
|
|
191
|
+
✓ Phase 1 — CSS variables + ThemeProvider (schema → context → tests)
|
|
192
|
+
✓ Phase 2 — Toggle component + localStorage (UI → persistence → tests)
|
|
193
|
+
✓ Phase 3 — System preference detection (media query → sync → tests)
|
|
194
|
+
Written plans/dark-mode-support.md
|
|
195
|
+
|
|
196
|
+
You: # implement each phase with Claude...
|
|
197
|
+
|
|
198
|
+
You: /tk:verify dark-mode-support
|
|
199
|
+
AI: Verifying against plan...
|
|
200
|
+
✓ All done-when conditions met
|
|
201
|
+
✓ Tests passing
|
|
202
|
+
PASS — archived to archive/dark-mode-support/
|
|
189
203
|
```
|
|
190
204
|
|
|
191
205
|
</details>
|
|
@@ -193,15 +207,16 @@ The term comes from [The Pragmatic Programmer](https://pragprog.com/titles/tpp20
|
|
|
193
207
|
<details>
|
|
194
208
|
<summary>Iterating on an accepted PRD</summary>
|
|
195
209
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
210
|
+
```
|
|
211
|
+
You: /tk:prd update dark mode to detect system preference
|
|
212
|
+
AI: Found existing prds/dark-mode-support.md
|
|
213
|
+
? Start fresh or revise the existing PRD?
|
|
214
|
+
...
|
|
215
|
+
✓ Updated prds/dark-mode-support.md
|
|
216
|
+
|
|
217
|
+
You: /tk:plan dark-mode-support
|
|
218
|
+
AI: Reading updated PRD...
|
|
219
|
+
✓ Regenerated plans/dark-mode-support.md with new scope
|
|
205
220
|
```
|
|
206
221
|
|
|
207
222
|
</details>
|
|
@@ -209,62 +224,37 @@ PRDs are living documents — refine them any time before or during implementati
|
|
|
209
224
|
<details>
|
|
210
225
|
<summary>Verify → fix → re-verify loop</summary>
|
|
211
226
|
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
#
|
|
227
|
+
```
|
|
228
|
+
You: /tk:verify dark-mode-support
|
|
229
|
+
AI: Verifying against plan...
|
|
230
|
+
✗ Missing toggle persistence in localStorage
|
|
231
|
+
✗ 2 failing tests in ThemeProvider.test.ts
|
|
232
|
+
NEEDS_WORK — 2 blockers found
|
|
233
|
+
|
|
234
|
+
You: # fix the blockers...
|
|
235
|
+
|
|
236
|
+
You: /tk:verify dark-mode-support
|
|
237
|
+
AI: Verifying against plan...
|
|
238
|
+
✓ All done-when conditions met
|
|
239
|
+
✓ Tests passing
|
|
240
|
+
PASS — archived to archive/dark-mode-support/
|
|
220
241
|
```
|
|
221
242
|
|
|
222
243
|
</details>
|
|
223
244
|
|
|
224
245
|
<details>
|
|
225
|
-
<summary>
|
|
246
|
+
<summary>Check workflow status</summary>
|
|
226
247
|
|
|
227
248
|
```
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
|
238
|
-
prds/<slug>.md
|
|
239
|
-
|
|
|
240
|
-
v
|
|
241
|
-
+----------+----------+
|
|
242
|
-
| /tk:plan <slug> |
|
|
243
|
-
| Vertical Slices |
|
|
244
|
-
+----------+----------+
|
|
245
|
-
|
|
|
246
|
-
plans/<slug>.md
|
|
247
|
-
|
|
|
248
|
-
v
|
|
249
|
-
+----------+----------+
|
|
250
|
-
| Implement phases |
|
|
251
|
-
| (you + Claude) |
|
|
252
|
-
+----------+----------+
|
|
253
|
-
|
|
|
254
|
-
v
|
|
255
|
-
+----------+----------+
|
|
256
|
-
| /tk:verify <slug> |
|
|
257
|
-
| Review + archive |
|
|
258
|
-
+----------+----------+
|
|
259
|
-
|
|
|
260
|
-
+--------+--------+
|
|
261
|
-
| |
|
|
262
|
-
NEEDS_WORK PASS
|
|
263
|
-
| |
|
|
264
|
-
v v
|
|
265
|
-
Fix blockers Auto-archived
|
|
266
|
-
then re-run to archive/
|
|
267
|
-
/tk:verify
|
|
249
|
+
You: /tk:status
|
|
250
|
+
AI: Feature Status Dashboard
|
|
251
|
+
┌──────────────────────┬─────────────┬─────┐
|
|
252
|
+
│ Feature │ Status │ Age │
|
|
253
|
+
├──────────────────────┼─────────────┼─────┤
|
|
254
|
+
│ dark-mode-support │ in_progress │ 3d │
|
|
255
|
+
│ api-rate-limiting │ created │ 1d │
|
|
256
|
+
│ user-avatars │ done │ 7d │
|
|
257
|
+
└──────────────────────┴─────────────┴─────┘
|
|
268
258
|
```
|
|
269
259
|
|
|
270
260
|
</details>
|
package/dist/bin.js
CHANGED
|
@@ -22,13 +22,13 @@ function o(e) {
|
|
|
22
22
|
return t ? i() : n ? r(n) : process.cwd();
|
|
23
23
|
}
|
|
24
24
|
function s(r) {
|
|
25
|
-
if (r.includes("--version") || r.includes("-v")) return ["tracerkit/1.3.
|
|
25
|
+
if (r.includes("--version") || r.includes("-v")) return ["tracerkit/1.3.2"];
|
|
26
26
|
let i = r[0], s = r.slice(1);
|
|
27
27
|
switch (i) {
|
|
28
28
|
case "init": return t(o(s));
|
|
29
29
|
case "update": {
|
|
30
30
|
let t = s.includes("--force"), n = e(o(s.filter((e) => e !== "--force")), { force: t });
|
|
31
|
-
return n.push("", "Updated to tracerkit/1.3.
|
|
31
|
+
return n.push("", "Updated to tracerkit/1.3.2"), n.push("If using Claude Code, restart your session to load changes."), n;
|
|
32
32
|
}
|
|
33
33
|
case "uninstall": return n(o(s));
|
|
34
34
|
default: return a;
|