prizmkit 1.0.109 → 1.0.111
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/bundled/VERSION.json +3 -3
- package/bundled/skills/_metadata.json +1 -1
- package/bundled/skills/app-planner/SKILL.md +56 -6
- package/bundled/skills/bug-fix-workflow/SKILL.md +10 -5
- package/bundled/skills/bug-planner/SKILL.md +4 -5
- package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +4 -7
- package/bundled/skills/dev-pipeline-launcher/SKILL.md +11 -14
- package/bundled/skills/refactor-workflow/SKILL.md +8 -0
- package/package.json +1 -1
package/bundled/VERSION.json
CHANGED
|
@@ -14,10 +14,10 @@ Always produce a validated `feature-list.json` that conforms to `dev-pipeline-fe
|
|
|
14
14
|
## When to Use
|
|
15
15
|
|
|
16
16
|
Trigger this skill for requests like:
|
|
17
|
-
- "Plan an app", "Design a project", "
|
|
18
|
-
- "Add features to existing system", "Continue planning"
|
|
17
|
+
- "Plan an app", "Design a project", "Design a new application"
|
|
18
|
+
- "Add features to existing system", "Continue planning"
|
|
19
19
|
- "Prepare feature-list.json", "Prepare dev-pipeline input"
|
|
20
|
-
- "Reprioritize features", "Split features"
|
|
20
|
+
- "Reprioritize features", "Split features"
|
|
21
21
|
|
|
22
22
|
Do NOT use this skill when:
|
|
23
23
|
- user only wants to run pipeline now (invoke `dev-pipeline-launcher`)
|
|
@@ -130,6 +130,55 @@ Checkpoints catch cascading errors early — skipping one means the next phase b
|
|
|
130
130
|
|
|
131
131
|
**Resume Detection**: See §Resume Support for checkpoint-based resumption.
|
|
132
132
|
|
|
133
|
+
## Architecture Decision Capture
|
|
134
|
+
|
|
135
|
+
During planning, key **framework-level** architectural decisions may emerge. When they do, capture them in the project instruction file so all future AI sessions have this context.
|
|
136
|
+
|
|
137
|
+
### What Qualifies (ALL must apply)
|
|
138
|
+
|
|
139
|
+
Only capture decisions that are **framework-shaping** — NOT individual feature details. Qualifying categories:
|
|
140
|
+
|
|
141
|
+
| Category | Examples |
|
|
142
|
+
|----------|----------|
|
|
143
|
+
| Tech stack choices | PostgreSQL over MongoDB, React over Vue, Node.js runtime |
|
|
144
|
+
| Communication patterns | REST vs GraphQL, WebSocket vs SSE vs polling |
|
|
145
|
+
| Architectural patterns | Monorepo, microservices, monolith, event-driven |
|
|
146
|
+
| Data model strategies | Relational vs document, event sourcing, CQRS |
|
|
147
|
+
| Security architecture | JWT vs session, OAuth provider, RBAC model |
|
|
148
|
+
|
|
149
|
+
**Do NOT capture**: individual feature implementation details, UI component choices, specific API endpoint designs, or anything scoped to a single feature.
|
|
150
|
+
|
|
151
|
+
**This is conditional** — most planning sessions will NOT produce architecture decisions. Only capture when genuinely impactful decisions are made during the discussion.
|
|
152
|
+
|
|
153
|
+
### When to Capture
|
|
154
|
+
|
|
155
|
+
After Phase 5 (DAG verification), before Phase 6 (JSON generation). At this point decisions are settled.
|
|
156
|
+
|
|
157
|
+
### How to Capture
|
|
158
|
+
|
|
159
|
+
1. **Detect platform** — determine which project instruction file to update:
|
|
160
|
+
- `.claude/` directory exists → append to `CLAUDE.md`
|
|
161
|
+
- `.codebuddy/` directory exists → append to `CODEBUDDY.md`
|
|
162
|
+
- Both exist → append to both
|
|
163
|
+
- Neither exists → skip (no project instruction file)
|
|
164
|
+
|
|
165
|
+
2. **Check for existing section** — read the target file and look for `### Architecture Decisions` heading:
|
|
166
|
+
- If heading exists → append new entries below it (avoid duplicates with existing entries)
|
|
167
|
+
- If heading does not exist → create it at the end of the file
|
|
168
|
+
|
|
169
|
+
3. **Format** — one line per decision, no feature IDs:
|
|
170
|
+
```markdown
|
|
171
|
+
### Architecture Decisions
|
|
172
|
+
- WebSocket for real-time: sub-second latency required for collaboration features
|
|
173
|
+
- PostgreSQL: relational data model with complex queries, ACID compliance needed
|
|
174
|
+
- Monorepo structure: shared types between frontend and backend
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
4. **User confirmation** — before writing, show the collected decisions and ask:
|
|
178
|
+
> "These architecture decisions were identified during planning. Record them to [CLAUDE.md / CODEBUDDY.md]? (Y/n)"
|
|
179
|
+
|
|
180
|
+
If user declines, skip without further prompting.
|
|
181
|
+
|
|
133
182
|
## Fast Path — Incremental Shortcuts
|
|
134
183
|
|
|
135
184
|
For simple incremental planning, skip detailed Phase 2-3 analysis to accelerate delivery:
|
|
@@ -376,9 +425,10 @@ When the session appears to be ending (user says "thanks", "that's all", "bye",
|
|
|
376
425
|
1. **Remind**: "You set out to produce `feature-list.json` but we haven't completed it yet."
|
|
377
426
|
2. **Offer 3 options**:
|
|
378
427
|
- **(a) Continue to completion** — resume from current phase
|
|
379
|
-
- **(b)
|
|
380
|
-
|
|
381
|
-
|
|
428
|
+
- **(b) Save draft & exit** — write current progress as draft, exit session
|
|
429
|
+
- **(c) Abandon** — exit without saving
|
|
430
|
+
3. **If (b)**: Write the draft file and remind user: "This is a draft, not validated. Run `/app-planner` again to resume and finalize."
|
|
431
|
+
4. **If (c)**: Accept without further prompting.
|
|
382
432
|
|
|
383
433
|
|
|
384
434
|
## Handoff Message Template
|
|
@@ -23,11 +23,16 @@ Fix a single bug interactively within the current AI CLI session. This is the in
|
|
|
23
23
|
|
|
24
24
|
## Input
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-
|
|
26
|
+
**PRECONDITION:**
|
|
27
|
+
|
|
28
|
+
| Input Source | Detection | Example |
|
|
29
|
+
|---|---|---|
|
|
30
|
+
| Bug-fix-list.json entry | User says "fix B-001" → read entry from `bug-fix-list.json` | `fix B-001` |
|
|
31
|
+
| Stack trace / error message | User pastes error directly | `TypeError: Cannot read property...` |
|
|
32
|
+
| Natural language description | User describes the problem | "login page crashes on submit" |
|
|
33
|
+
| Failed test | User references a failing test file | `src/auth/__tests__/login.test.ts` |
|
|
34
|
+
|
|
35
|
+
At least one input source must be provided. If none is clear, ask the user to describe the bug.
|
|
31
36
|
|
|
32
37
|
## Fast Path
|
|
33
38
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: "bug-planner"
|
|
3
3
|
tier: companion
|
|
4
|
-
description: "Interactive bug planning that produces bug-fix-list.json for the Bug Fix Pipeline. Supports multiple input formats: error logs, stack traces, user reports, failed tests, monitoring alerts. Use this skill whenever the user has bugs to report, errors to parse, or test failures to organize. Trigger on: 'plan bug fixes', 'report bugs', 'I have some bugs', 'these tests are failing', 'here is an error log', 'parse these errors', '
|
|
4
|
+
description: "Interactive bug planning that produces bug-fix-list.json for the Bug Fix Pipeline. Supports multiple input formats: error logs, stack traces, user reports, failed tests, monitoring alerts. Use this skill whenever the user has bugs to report, errors to parse, or test failures to organize. Trigger on: 'plan bug fixes', 'report bugs', 'I have some bugs', 'these tests are failing', 'here is an error log', 'parse these errors', 'generate bug list'. (project)"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Bug Planner
|
|
@@ -12,9 +12,8 @@ Interactive skill that collects bug information from various input formats and g
|
|
|
12
12
|
|
|
13
13
|
User says:
|
|
14
14
|
- "plan bug fixes", "report bugs", "create bug list"
|
|
15
|
-
- "
|
|
16
|
-
- "
|
|
17
|
-
- "here's an error log", "parse these errors"
|
|
15
|
+
- "generate bug list", "I have some bugs to fix"
|
|
16
|
+
- "these tests are failing", "here's an error log", "parse these errors"
|
|
18
17
|
- After receiving bug reports, error logs, or failed test output
|
|
19
18
|
|
|
20
19
|
**Do NOT use when:**
|
|
@@ -28,7 +27,7 @@ This skill handles multiple operations. Determine the user's intent and execute
|
|
|
28
27
|
|
|
29
28
|
| User Intent | Operation | Trigger Phrases |
|
|
30
29
|
|---|---|---|
|
|
31
|
-
| Plan bugs interactively | **Interactive Planning** | "plan bug fixes", "report bugs"
|
|
30
|
+
| Plan bugs interactively | **Interactive Planning** | "plan bug fixes", "report bugs" |
|
|
32
31
|
| Parse error logs into bugs | **From Log** | "parse this error log", "here's a stack trace", "parse these errors" |
|
|
33
32
|
| Parse test failures into bugs | **From Tests** | "these tests are failing", "parse test output" |
|
|
34
33
|
| Validate existing bug list | **Validate** | "validate bug list", "check bug-fix-list.json" |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: "bugfix-pipeline-launcher"
|
|
3
|
-
description: "Launch and manage the bugfix pipeline from within an AI CLI session. Start pipeline in background, monitor logs, check status, stop pipeline. Use this skill whenever the user wants to start fixing bugs, run the bugfix pipeline, check bugfix progress, or stop the bugfix pipeline. Trigger on: 'start fixing bugs', 'run bugfix pipeline', 'bugfix status', 'stop bug fix', 'launch bug fix', '
|
|
3
|
+
description: "Launch and manage the bugfix pipeline from within an AI CLI session. Start pipeline in background, monitor logs, check status, stop pipeline. Use this skill whenever the user wants to start fixing bugs, run the bugfix pipeline, check bugfix progress, or stop the bugfix pipeline. Trigger on: 'start fixing bugs', 'run bugfix pipeline', 'bugfix status', 'stop bug fix', 'launch bug fix', 'fix progress', 'stop fixing'. (project)"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Bugfix-Pipeline Launcher
|
|
@@ -29,9 +29,7 @@ Use daemon mode (`launch-bugfix-daemon.sh`) only when:
|
|
|
29
29
|
|
|
30
30
|
**Start bugfix pipeline** -- User says:
|
|
31
31
|
- "start fixing bugs", "run bugfix pipeline", "launch bug fixes", "fix all bugs"
|
|
32
|
-
- "start bug fix", "
|
|
33
|
-
- "launch bug fix", "start fixing bugs", "run bug fix pipeline", "start fixing bugs"
|
|
34
|
-
- "fix all bugs", "batch fix", "launch fix pipeline"
|
|
32
|
+
- "start bug fix", "execute bug list", "begin fixing", "batch fix"
|
|
35
33
|
- After bug-planner completes: "fix them", "start fixing"
|
|
36
34
|
|
|
37
35
|
**Check status** -- User says:
|
|
@@ -39,12 +37,11 @@ Use daemon mode (`launch-bugfix-daemon.sh`) only when:
|
|
|
39
37
|
- "fix progress", "bug fix status", "check fix progress", "how far along are the fixes"
|
|
40
38
|
|
|
41
39
|
**Stop bugfix pipeline** -- User says:
|
|
42
|
-
- "stop bug fix", "stop fixing", "halt bugfix", "pause bug fix"
|
|
43
|
-
- "stop fixing", "pause bug fix", "stop fix pipeline"
|
|
40
|
+
- "stop bug fix", "stop fixing", "halt bugfix", "pause bug fix", "stop fix pipeline"
|
|
44
41
|
|
|
45
42
|
**Show logs** -- User says:
|
|
46
43
|
- "bugfix logs", "show fix logs", "what's being fixed"
|
|
47
|
-
- "view fix logs", "fix logs"
|
|
44
|
+
- "view fix logs", "fix logs"
|
|
48
45
|
|
|
49
46
|
**Do NOT use this skill when:**
|
|
50
47
|
- User wants to plan/collect bugs (use `bug-planner` instead)
|
|
@@ -25,14 +25,13 @@ Use daemon mode (`launch-daemon.sh`) only when:
|
|
|
25
25
|
**Start pipeline** -- User says:
|
|
26
26
|
- "run pipeline", "start pipeline", "start building", "launch dev-pipeline"
|
|
27
27
|
- "run the features", "execute feature list", "start implementing"
|
|
28
|
-
- "launch pipeline", "
|
|
29
|
-
- "implement next steps", "execute feature list", "start building"
|
|
28
|
+
- "launch pipeline", "run the pipeline", "start auto-development"
|
|
30
29
|
- After app-planner completes: "build it", "start developing from the feature list"
|
|
31
30
|
- "run only F-001 to F-005", "run features F-001,F-003", "only build these features"
|
|
32
31
|
|
|
33
32
|
**Check status** -- User says:
|
|
34
33
|
- "pipeline status", "check pipeline", "how's it going", "progress"
|
|
35
|
-
- "
|
|
34
|
+
- "check progress", "what's the current situation"
|
|
36
35
|
|
|
37
36
|
**Stop pipeline** -- User says:
|
|
38
37
|
- "stop pipeline", "kill pipeline", "halt", "pause"
|
|
@@ -40,11 +39,10 @@ Use daemon mode (`launch-daemon.sh`) only when:
|
|
|
40
39
|
|
|
41
40
|
**Show logs** -- User says:
|
|
42
41
|
- "show logs", "pipeline logs", "tail logs", "what's happening"
|
|
43
|
-
- "view logs", "
|
|
42
|
+
- "view logs", "check the logs"
|
|
44
43
|
|
|
45
44
|
**Retry single feature node** -- User says:
|
|
46
|
-
- "retry F-003", "retry this feature", "retry this node"
|
|
47
|
-
- "retry F-003", "retry this node", "re-run this feature"
|
|
45
|
+
- "retry F-003", "retry this feature", "retry this node", "re-run this feature"
|
|
48
46
|
|
|
49
47
|
**Do NOT use this skill when:**
|
|
50
48
|
- User wants to plan features (use `app-planner` instead)
|
|
@@ -148,14 +146,13 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
148
146
|
|
|
149
147
|
5. **Ask user to confirm**: "Ready to launch the pipeline? It will process N features."
|
|
150
148
|
|
|
151
|
-
6. **Launch
|
|
152
|
-
|
|
153
|
-
dev-pipeline/launch-daemon.sh start feature-list.json
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
```
|
|
149
|
+
6. **Launch** (based on chosen mode from step 4):
|
|
150
|
+
- Foreground: `dev-pipeline/run.sh run feature-list.json`
|
|
151
|
+
- Background: `dev-pipeline/launch-daemon.sh start feature-list.json`
|
|
152
|
+
- If user specified environment overrides:
|
|
153
|
+
```bash
|
|
154
|
+
dev-pipeline/launch-daemon.sh start feature-list.json --env "SESSION_TIMEOUT=7200 MAX_RETRIES=5"
|
|
155
|
+
```
|
|
159
156
|
|
|
160
157
|
7. **Verify launch**:
|
|
161
158
|
```bash
|
|
@@ -56,6 +56,14 @@ Refactor artifacts stored at `.prizmkit/refactor/<refactor-slug>/`:
|
|
|
56
56
|
- **`refactor-analysis.md`** — Code analysis (Phase 1)
|
|
57
57
|
- **`plan.md`** — Refactoring plan with Tasks section (Phase 2)
|
|
58
58
|
|
|
59
|
+
**PRECONDITION:**
|
|
60
|
+
|
|
61
|
+
| Required | Check | If Missing |
|
|
62
|
+
|---|---|---|
|
|
63
|
+
| Refactoring target (module path, file path, or natural language description) | User provides target in request | Ask: "What module or code do you want to refactor?" |
|
|
64
|
+
| Test suite exists for target module | Tests can be located and run | WARN user, recommend writing tests first before refactoring |
|
|
65
|
+
| No uncommitted changes on current branch | `git status` is clean | Ask user to commit or stash changes first |
|
|
66
|
+
|
|
59
67
|
**INPUT**: Target description. Can be:
|
|
60
68
|
- Module or file path (e.g., "src/auth/")
|
|
61
69
|
- Natural language description (e.g., "refactor the auth module, extract shared logic")
|