tracerkit 1.19.2 → 1.19.4
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 +22 -23
- package/package.json +1 -1
- package/skills/brief/SKILL.md +17 -27
- package/skills/check/SKILL.md +31 -77
- package/skills/plan/SKILL.md +1 -15
- package/skills/prd/SKILL.md +0 -5
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ DEFINE PLAN BUILD VERIFY
|
|
|
29
29
|
│ │ │ │
|
|
30
30
|
▼ ▼ ▼ ▼
|
|
31
31
|
PRD doc Phased plan Implement phase Pass/fail
|
|
32
|
-
+ feedback loops
|
|
32
|
+
+ feedback loops
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
## Get Started
|
|
@@ -125,17 +125,17 @@ AI: Phase 1 — Theme visible end-to-end (3 remaining)
|
|
|
125
125
|
Implementing... all checks pass. Commit?
|
|
126
126
|
|
|
127
127
|
You: /tk:check dark-mode-support
|
|
128
|
-
AI:
|
|
129
|
-
|
|
128
|
+
AI: Total: 7/7
|
|
129
|
+
All phases complete — implementation verified.
|
|
130
130
|
```
|
|
131
131
|
|
|
132
132
|
Between sessions, `/tk:brief` shows active features and picks up where you left off:
|
|
133
133
|
|
|
134
134
|
```
|
|
135
135
|
You: /tk:brief
|
|
136
|
-
AI:
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
AI: dark-mode-support (3/7)
|
|
137
|
+
Phase 1 — Theme visible end-to-end: 3/3
|
|
138
|
+
> Phase 2 — User can toggle and persist preference: 0/4
|
|
139
139
|
|
|
140
140
|
**Focus → dark-mode-support**
|
|
141
141
|
```
|
|
@@ -144,26 +144,25 @@ See [Examples](docs/examples.md) for full walkthroughs.
|
|
|
144
144
|
|
|
145
145
|
## Skills
|
|
146
146
|
|
|
147
|
-
| Skill | What it does | Output
|
|
148
|
-
| ------------------ | ------------------------------------------------------ |
|
|
149
|
-
| `/tk:prd <idea>` | Interview → codebase scan → structured PRD | `.tracerkit/prds/<slug>.md`
|
|
150
|
-
| `/tk:plan <slug>` | PRD → phased vertical slices, each demoable on its own | `.tracerkit/plans/<slug>.md`
|
|
151
|
-
| `/tk:build <slug>` | Implement next incomplete phase, run feedback loops | Code changes + checked items in plan
|
|
152
|
-
| `/tk:brief` | Feature dashboard with progress and suggested focus | Terminal only, no files
|
|
153
|
-
| `/tk:check [slug]` | Verify done-when checkboxes against codebase and tests |
|
|
147
|
+
| Skill | What it does | Output |
|
|
148
|
+
| ------------------ | ------------------------------------------------------ | ------------------------------------ |
|
|
149
|
+
| `/tk:prd <idea>` | Interview → codebase scan → structured PRD | `.tracerkit/prds/<slug>.md` |
|
|
150
|
+
| `/tk:plan <slug>` | PRD → phased vertical slices, each demoable on its own | `.tracerkit/plans/<slug>.md` |
|
|
151
|
+
| `/tk:build <slug>` | Implement next incomplete phase, run feedback loops | Code changes + checked items in plan |
|
|
152
|
+
| `/tk:brief` | Feature dashboard with progress and suggested focus | Terminal only, no files |
|
|
153
|
+
| `/tk:check [slug]` | Verify done-when checkboxes against codebase and tests | Checkboxes updated in plan |
|
|
154
154
|
|
|
155
155
|
## Docs
|
|
156
156
|
|
|
157
|
-
| Document
|
|
158
|
-
|
|
|
159
|
-
| [Examples](docs/examples.md)
|
|
160
|
-
| [CLI Reference](docs/cli-reference.md)
|
|
161
|
-
| [
|
|
162
|
-
| [
|
|
163
|
-
| [
|
|
164
|
-
| [
|
|
165
|
-
| [
|
|
166
|
-
| [OpenCode Setup](docs/opencode-setup.md) | Use TracerKit skills in OpenCode |
|
|
157
|
+
| Document | Description |
|
|
158
|
+
| -------------------------------------------- | ------------------------------------------------- |
|
|
159
|
+
| [Examples](docs/examples.md) | Walk through end-to-end usage scenarios |
|
|
160
|
+
| [CLI Reference](docs/cli-reference.md) | Commands: init, update, uninstall |
|
|
161
|
+
| [Comparison](docs/comparison.md) | Compare TracerKit to Spec Kit, Kiro, and OpenSpec |
|
|
162
|
+
| [Cursor Setup](docs/cursor-setup.md) | Use TracerKit skills in Cursor |
|
|
163
|
+
| [Gemini CLI Setup](docs/gemini-cli-setup.md) | Use TracerKit skills in Gemini CLI |
|
|
164
|
+
| [Copilot Setup](docs/copilot-setup.md) | Use TracerKit skills in GitHub Copilot |
|
|
165
|
+
| [OpenCode Setup](docs/opencode-setup.md) | Use TracerKit skills in OpenCode |
|
|
167
166
|
|
|
168
167
|
## Contributing
|
|
169
168
|
|
package/package.json
CHANGED
package/skills/brief/SKILL.md
CHANGED
|
@@ -8,47 +8,37 @@ Overview of active features, progress, and suggested focus.
|
|
|
8
8
|
|
|
9
9
|
## Pre-loaded context
|
|
10
10
|
|
|
11
|
-
- Available
|
|
11
|
+
- Available plans: !`ls .tracerkit/plans/*.md 2>/dev/null || echo "(none)"`
|
|
12
12
|
|
|
13
13
|
## Algorithm
|
|
14
14
|
|
|
15
|
-
### 1. Discover
|
|
15
|
+
### 1. Discover plans
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Glob `.tracerkit/plans/*.md`. Slug = filename without `.md`. If no plans found, output: `No plans found — run /tk:prd to start one.`
|
|
18
18
|
|
|
19
|
-
### 2. Count progress
|
|
19
|
+
### 2. Count progress
|
|
20
20
|
|
|
21
|
-
For each
|
|
21
|
+
For each plan, count `- [x]` and `- [ ]` lines under each `## Phase N` heading. Per-phase: `checked/total`. Sum across phases → total progress. First phase with unchecked items → cursor.
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Skip plans where all items are checked (fully complete).
|
|
24
24
|
|
|
25
|
-
### 3.
|
|
25
|
+
### 3. Show progress
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- < 7 days → `Nd` (e.g. `3d`)
|
|
30
|
-
- < 30 days → `Nw` (e.g. `2w`)
|
|
31
|
-
- 30+ days → `Nmo` (e.g. `1mo`)
|
|
32
|
-
|
|
33
|
-
Output this exact table format:
|
|
27
|
+
For each incomplete plan:
|
|
34
28
|
|
|
35
29
|
```
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
<slug> (checked/total)
|
|
31
|
+
Phase 1 — title: checked/total
|
|
32
|
+
> Phase 2 — title: checked/total
|
|
33
|
+
Phase 3 — title: checked/total
|
|
39
34
|
```
|
|
40
35
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### 4. Determine focus
|
|
44
|
-
|
|
45
|
-
Apply these rules in order:
|
|
36
|
+
The `>` marks the first incomplete phase (cursor). Completed phases show without `>`.
|
|
46
37
|
|
|
47
|
-
|
|
48
|
-
2. Multiple `in_progress` features → select the oldest by `created`
|
|
49
|
-
3. Zero `in_progress` features → select the oldest overall
|
|
38
|
+
### 4. Suggest focus
|
|
50
39
|
|
|
51
|
-
|
|
40
|
+
If exactly one incomplete plan → auto-select it.
|
|
41
|
+
If multiple incomplete plans → select the one closest to completion.
|
|
52
42
|
|
|
53
43
|
```
|
|
54
44
|
**Focus → <slug>**
|
|
@@ -58,6 +48,6 @@ Append below the table:
|
|
|
58
48
|
|
|
59
49
|
Present options and wait for the user's choice:
|
|
60
50
|
|
|
61
|
-
1. Continue focused feature —
|
|
51
|
+
1. Continue focused feature — `/tk:build <slug>` (Recommended)
|
|
62
52
|
2. Start new feature — `/tk:prd`
|
|
63
53
|
3. Check progress — `/tk:check <slug>`
|
package/skills/check/SKILL.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Verify implementation against plan. Shows progress
|
|
2
|
+
description: Verify implementation against plan. Shows progress and finds blockers. Use after implementing a plan.
|
|
3
3
|
argument-hint: '[slug]'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Check Implementation
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Verify plan checkboxes against the codebase. Unmark items that don't hold up (`[x]` → `[ ]`).
|
|
9
9
|
|
|
10
10
|
**Interactive prompts**: present options as a numbered list and wait for the user's choice.
|
|
11
11
|
|
|
@@ -17,23 +17,9 @@ Check implementation against a plan. Update checks, stamp findings, transition s
|
|
|
17
17
|
|
|
18
18
|
The argument (if provided) is: $ARGUMENTS
|
|
19
19
|
|
|
20
|
-
Use the argument as `<slug>` if given.
|
|
20
|
+
Use the argument as `<slug>` if given. Accepts slug or `@file` reference.
|
|
21
21
|
|
|
22
|
-
If no argument is provided,
|
|
23
|
-
|
|
24
|
-
```markdown
|
|
25
|
-
| Feature | Status | Progress |
|
|
26
|
-
| ------- | ------ | -------- |
|
|
27
|
-
| <slug> | ... | 3/7 |
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
For each `.md` file in `.tracerkit/prds/`:
|
|
31
|
-
|
|
32
|
-
1. Read the file, parse YAML frontmatter (block between `---` fences)
|
|
33
|
-
2. Extract `status` — use `unknown` if missing
|
|
34
|
-
3. If `.tracerkit/plans/<slug>.md` exists, count progress (see Progress Algorithm below). Show `—` if no plan.
|
|
35
|
-
|
|
36
|
-
Present each feature as a numbered option and wait for the user's choice.
|
|
22
|
+
If no argument is provided, list available plans as numbered options and wait for the user's choice.
|
|
37
23
|
|
|
38
24
|
## Progress Algorithm
|
|
39
25
|
|
|
@@ -45,57 +31,48 @@ Count `- [x]` and `- [ ]` lines under each `## Phase N` heading. Per-phase: `Pha
|
|
|
45
31
|
|
|
46
32
|
Read `.tracerkit/plans/<slug>.md`. If missing, list plans as numbered options and wait for the user's choice.
|
|
47
33
|
|
|
48
|
-
### 2.
|
|
49
|
-
|
|
50
|
-
Read source PRD referenced in plan header (`> Source PRD: ...`).
|
|
34
|
+
### 2. Fast-path: check if implementation exists
|
|
51
35
|
|
|
52
|
-
|
|
36
|
+
If primary module file(s) from Phase 1 don't exist, skip subagent — report `0/N — not yet started`, list Phase 1 done-when items.
|
|
53
37
|
|
|
54
|
-
|
|
38
|
+
### 3. Launch read-only review
|
|
55
39
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
Use a **general-purpose subagent** (not `code-review` — that agent is for PR reviews). The subagent must be **read-only** (no file writes, no edits). It should:
|
|
40
|
+
Use a **general-purpose subagent** (not `code-review`). The subagent must be **read-only** (no file writes, no edits). It should:
|
|
59
41
|
|
|
60
42
|
1. Read every section of the plan — architectural decisions, each phase, done-when checkboxes
|
|
61
43
|
2. For each phase, check every `- [ ]` / `- [x]` item against the codebase
|
|
62
|
-
3. Run the project's test suite
|
|
63
|
-
4.
|
|
64
|
-
|
|
65
|
-
For each checkbox, determine whether it should be verified (`[x]`) or not (`[ ]`) and report this — do not edit any files.
|
|
44
|
+
3. Run the project's test suite and include pass/fail results
|
|
45
|
+
4. For each checkbox, determine whether it should be checked (`[x]`) or unchecked (`[ ]`)
|
|
66
46
|
|
|
67
47
|
Collect findings into two categories:
|
|
68
48
|
|
|
69
|
-
- **BLOCKERS** — checked items that don't hold up, failing tests, broken contracts
|
|
70
|
-
- **SUGGESTIONS** — improvements, minor gaps, style issues
|
|
71
|
-
|
|
72
|
-
### 3c. Update checkboxes
|
|
49
|
+
- **BLOCKERS** — checked items that don't hold up, failing tests, broken contracts
|
|
50
|
+
- **SUGGESTIONS** — improvements, minor gaps, style issues
|
|
73
51
|
|
|
74
|
-
|
|
52
|
+
### 4. Update checkboxes
|
|
75
53
|
|
|
76
|
-
|
|
54
|
+
Using the subagent's report, update each checkbox in `.tracerkit/plans/<slug>.md`:
|
|
77
55
|
|
|
78
|
-
|
|
56
|
+
- Items that pass verification → `[x]`
|
|
57
|
+
- Items that fail verification → `[ ]` (unmark)
|
|
79
58
|
|
|
80
|
-
|
|
81
|
-
- Some checks verified + zero BLOCKERS → keep PRD as `in_progress`
|
|
82
|
-
- BLOCKERS found → keep PRD as `in_progress`
|
|
83
|
-
|
|
84
|
-
### 5. Report to user
|
|
59
|
+
### 5. Report
|
|
85
60
|
|
|
86
61
|
Count progress per phase (Progress Algorithm), then print:
|
|
87
62
|
|
|
88
|
-
```
|
|
63
|
+
```text
|
|
89
64
|
## Verification: <slug>
|
|
90
65
|
|
|
91
|
-
### Status: created | in_progress | done
|
|
92
|
-
|
|
93
66
|
### Progress
|
|
94
67
|
|
|
95
|
-
Phase 1 — title: checked/total
|
|
96
|
-
Phase 2 — title: checked/total
|
|
97
|
-
Total: checked/total
|
|
68
|
+
Phase 1 — title: checked/total
|
|
69
|
+
> Phase 2 — title: checked/total
|
|
70
|
+
Total: checked/total
|
|
71
|
+
```
|
|
98
72
|
|
|
73
|
+
The `>` marks the first incomplete phase (cursor).
|
|
74
|
+
|
|
75
|
+
```text
|
|
99
76
|
### BLOCKERS
|
|
100
77
|
|
|
101
78
|
- (list or "None")
|
|
@@ -105,41 +82,18 @@ Total: checked/total
|
|
|
105
82
|
- (list or "None")
|
|
106
83
|
```
|
|
107
84
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
Append a verdict block at the bottom of `.tracerkit/plans/<slug>.md`:
|
|
111
|
-
|
|
112
|
-
```markdown
|
|
113
|
-
---
|
|
114
|
-
|
|
115
|
-
## Verdict
|
|
116
|
-
|
|
117
|
-
- **Date**: YYYY-MM-DD
|
|
118
|
-
- **Checks**: (checked/total)
|
|
119
|
-
- **BLOCKERS**: (count)
|
|
120
|
-
- **SUGGESTIONS**: (count)
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
If a previous verdict block exists, replace it with the new one.
|
|
124
|
-
|
|
125
|
-
### 7. On `done` — mark complete
|
|
126
|
-
|
|
127
|
-
If all checks pass and zero BLOCKERS:
|
|
128
|
-
|
|
129
|
-
1. Update PRD frontmatter: `status: done`, add `completed: <UTC ISO 8601>`
|
|
130
|
-
2. Update plan frontmatter: `status: done`, add `completed: <UTC ISO 8601>`
|
|
85
|
+
If all items verified (total checked = total):
|
|
131
86
|
|
|
132
|
-
|
|
87
|
+
> All phases complete — implementation verified.
|
|
133
88
|
|
|
134
|
-
|
|
89
|
+
### 6. Next steps
|
|
135
90
|
|
|
136
|
-
|
|
91
|
+
If blockers exist, list items to fix, then re-run `/tk:check <slug>`.
|
|
137
92
|
|
|
138
|
-
|
|
93
|
+
If all items verified, suggest creating a PR or shipping.
|
|
139
94
|
|
|
140
95
|
## Rules
|
|
141
96
|
|
|
142
97
|
- The review subagent must be **read-only** — it must not create, edit, or delete any files
|
|
143
|
-
- The only file writes this skill makes are:
|
|
98
|
+
- The only file writes this skill makes are: checkbox updates in the plan
|
|
144
99
|
- Never modify implementation code — only observe and report
|
|
145
|
-
- If the PRD file is missing but all checks pass, warn and proceed — mark the plan complete only (skip PRD status update)
|
package/skills/plan/SKILL.md
CHANGED
|
@@ -32,10 +32,6 @@ If `.tracerkit/plans/<slug>.md` exists, present options and wait:
|
|
|
32
32
|
1. Overwrite existing (Recommended)
|
|
33
33
|
2. Pick a new name
|
|
34
34
|
|
|
35
|
-
### 1b. Update PRD status
|
|
36
|
-
|
|
37
|
-
Set `status: in_progress` in `.tracerkit/prds/<slug>.md` frontmatter. Change only `status`.
|
|
38
|
-
|
|
39
35
|
### 2. Explore the codebase
|
|
40
36
|
|
|
41
37
|
Map architecture, patterns, integration points. Skip if codebase context exists from prior step.
|
|
@@ -107,19 +103,9 @@ Iterate until approved.
|
|
|
107
103
|
Save to `.tracerkit/plans/<slug>.md` (create dir if missing).
|
|
108
104
|
|
|
109
105
|
```markdown
|
|
110
|
-
---
|
|
111
|
-
source_prd: .tracerkit/prds/<slug>.md
|
|
112
|
-
slug: <slug>
|
|
113
|
-
status: in_progress
|
|
114
|
-
---
|
|
115
|
-
|
|
116
106
|
# Plan: <Feature Name>
|
|
117
|
-
|
|
118
|
-
> Source PRD: `.tracerkit/prds/<slug>.md`
|
|
119
107
|
```
|
|
120
108
|
|
|
121
|
-
Then update PRD frontmatter: add `plan: .tracerkit/plans/<slug>.md` field (creates backlink).
|
|
122
|
-
|
|
123
109
|
Use this structure for the plan body:
|
|
124
110
|
|
|
125
111
|
```markdown
|
|
@@ -173,5 +159,5 @@ To implement this plan phase by phase, run `/tk:build <slug>`. It handles branch
|
|
|
173
159
|
- Each phase must be demoable end-to-end on its own
|
|
174
160
|
- "Done when" must be a checkbox list of testable conditions, not prose
|
|
175
161
|
- **Safety valve**: if a phase has >5 "Done when" items, stop and split it into smaller phases before continuing
|
|
176
|
-
- Never modify the source PRD content
|
|
162
|
+
- Never modify the source PRD content
|
|
177
163
|
- Carry PRD's Out of Scope forward verbatim
|