prizmkit 1.1.80 → 1.1.82

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.
Files changed (65) hide show
  1. package/bundled/VERSION.json +3 -3
  2. package/bundled/dev-pipeline/lib/heartbeat.sh +1 -1
  3. package/bundled/dev-pipeline/run-feature.sh +3 -3
  4. package/bundled/dev-pipeline/templates/bootstrap-tier1.md +2 -5
  5. package/bundled/dev-pipeline/templates/bootstrap-tier2.md +2 -5
  6. package/bundled/dev-pipeline/templates/bootstrap-tier3.md +2 -5
  7. package/bundled/dev-pipeline/templates/sections/failure-capture.md +0 -5
  8. package/bundled/skills/_metadata.json +1 -1
  9. package/bundled/skills/app-planner/SKILL.md +2 -9
  10. package/bundled/skills/app-planner/references/rules/backend/derivation-rules.md +10 -0
  11. package/bundled/skills/app-planner/references/rules/database/derivation-rules.md +9 -0
  12. package/bundled/skills/app-planner/references/rules/frontend/derivation-rules.md +10 -0
  13. package/bundled/skills/app-planner/references/rules/frontend/question-bank.md +17 -0
  14. package/bundled/skills/app-planner/references/rules/frontend/template.md +19 -0
  15. package/bundled/skills/app-planner/references/rules/mobile/derivation-rules.md +10 -0
  16. package/bundled/skills/bug-fix-workflow/SKILL.md +17 -24
  17. package/bundled/skills/bug-fix-workflow/references/bug-diagnosis.md +4 -29
  18. package/bundled/skills/bug-planner/SKILL.md +20 -12
  19. package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +5 -67
  20. package/bundled/skills/bugfix-pipeline-launcher/references/configuration.md +50 -1
  21. package/bundled/skills/feature-pipeline-launcher/SKILL.md +16 -56
  22. package/bundled/skills/feature-pipeline-launcher/references/configuration.md +26 -0
  23. package/bundled/skills/feature-planner/SKILL.md +5 -9
  24. package/bundled/skills/feature-workflow/SKILL.md +22 -63
  25. package/bundled/skills/prizm-kit/SKILL.md +3 -2
  26. package/bundled/skills/prizmkit-code-review/SKILL.md +1 -1
  27. package/bundled/skills/prizmkit-committer/SKILL.md +3 -1
  28. package/bundled/skills/prizmkit-deploy/SKILL.md +1 -1
  29. package/bundled/skills/prizmkit-implement/SKILL.md +1 -1
  30. package/bundled/skills/prizmkit-prizm-docs/SKILL.md +1 -0
  31. package/bundled/skills/prizmkit-retrospective/SKILL.md +1 -1
  32. package/bundled/skills/recovery-workflow/SKILL.md +23 -73
  33. package/bundled/skills/refactor-pipeline-launcher/SKILL.md +6 -51
  34. package/bundled/skills/refactor-pipeline-launcher/references/configuration.md +34 -0
  35. package/bundled/skills/refactor-planner/SKILL.md +6 -8
  36. package/bundled/skills/refactor-workflow/SKILL.md +14 -75
  37. package/bundled/skills-windows/app-planner/SKILL.md +2 -9
  38. package/bundled/skills-windows/app-planner/references/rules/backend/derivation-rules.md +10 -0
  39. package/bundled/skills-windows/app-planner/references/rules/database/derivation-rules.md +9 -0
  40. package/bundled/skills-windows/app-planner/references/rules/frontend/derivation-rules.md +10 -0
  41. package/bundled/skills-windows/app-planner/references/rules/frontend/question-bank.md +17 -0
  42. package/bundled/skills-windows/app-planner/references/rules/frontend/template.md +19 -0
  43. package/bundled/skills-windows/app-planner/references/rules/mobile/derivation-rules.md +10 -0
  44. package/bundled/skills-windows/bug-fix-workflow/SKILL.md +17 -24
  45. package/bundled/skills-windows/bug-fix-workflow/references/bug-diagnosis.md +4 -29
  46. package/bundled/skills-windows/bug-planner/SKILL.md +20 -12
  47. package/bundled/skills-windows/bugfix-pipeline-launcher/SKILL.md +5 -63
  48. package/bundled/skills-windows/bugfix-pipeline-launcher/references/configuration.md +46 -1
  49. package/bundled/skills-windows/feature-pipeline-launcher/SKILL.md +17 -53
  50. package/bundled/skills-windows/feature-pipeline-launcher/references/configuration.md +22 -0
  51. package/bundled/skills-windows/feature-planner/SKILL.md +5 -9
  52. package/bundled/skills-windows/feature-workflow/SKILL.md +22 -63
  53. package/bundled/skills-windows/prizm-kit/SKILL.md +3 -2
  54. package/bundled/skills-windows/prizmkit-code-review/SKILL.md +1 -1
  55. package/bundled/skills-windows/prizmkit-committer/SKILL.md +3 -1
  56. package/bundled/skills-windows/prizmkit-deploy/SKILL.md +1 -1
  57. package/bundled/skills-windows/prizmkit-implement/SKILL.md +1 -1
  58. package/bundled/skills-windows/prizmkit-prizm-docs/SKILL.md +1 -0
  59. package/bundled/skills-windows/prizmkit-retrospective/SKILL.md +1 -1
  60. package/bundled/skills-windows/recovery-workflow/SKILL.md +23 -73
  61. package/bundled/skills-windows/refactor-pipeline-launcher/SKILL.md +7 -46
  62. package/bundled/skills-windows/refactor-pipeline-launcher/references/configuration.md +28 -0
  63. package/bundled/skills-windows/refactor-planner/SKILL.md +6 -8
  64. package/bundled/skills-windows/refactor-workflow/SKILL.md +14 -75
  65. package/package.json +1 -1
@@ -137,73 +137,15 @@ Detect user intent from their message, then follow the corresponding workflow:
137
137
  --action status
138
138
  ```
139
139
 
140
- 4. **Ask execution mode** (first user decision — SEPARATE `AskUserQuestion` call):
140
+ 4. **Ask execution mode** (first user decision — SEPARATE `AskUserQuestion` call with exactly 1 question):
141
141
 
142
- **This MUST be its own standalone `AskUserQuestion` call.** Do NOT combine execution mode with step 5 config questions. The execution mode question is asked ALONE, user responds, THEN you proceed to step 5.
142
+ Present the three execution modes from the **Execution Mode** section above (Foreground / Background daemon / Manual), multiSelect: false. Then STOP and wait for the user's response before continuing to step 5.
143
143
 
144
- Use `AskUserQuestion` with exactly 1 question:
144
+ 5. **Ask configuration options** — applies to ALL execution modes (Foreground, Background, AND Manual). This is a SEPARATE `AskUserQuestion` call from step 4.
145
145
 
146
- **Question 1 — Execution mode** (multiSelect: false):
147
- - Foreground (Recommended) — pipeline runs in the current session via `run-bugfix.ps1 run`. Visible output and direct error feedback.
148
- - Background daemon — pipeline runs fully detached via `launch-bugfix-daemon.ps1`. Survives AI CLI session closure.
149
- - Manual — display the final assembled commands only. Do not execute anything. User runs them on their own.
146
+ RULE: Execution mode (step 4) and configuration (step 5) are two distinct `AskUserQuestion` calls, asked in order, each followed by waiting for the user's answer. Merging them, assuming defaults, or showing the final command before the user has answered both rounds produces a misconfigured pipeline that runs autonomously for a long time — so it MUST NOT happen. If you find yourself writing the final command before the user has answered, STOP.
150
147
 
151
- ⚠️ STOP HERE and wait for user response before continuing to step 5.
152
-
153
- 5. **Ask configuration options** ⚠️ MANDATORY INTERACTIVE STEP — applies to ALL execution modes (Foreground, Background, AND Manual). This is a SEPARATE `AskUserQuestion` call from step 4. You MUST ask the user to configure options and WAIT for their response BEFORE proceeding to step 6.
154
-
155
- ⛔ **HARD STOP**: You MUST call `AskUserQuestion` with the 4 questions below and WAIT for the user's response. You MUST NOT:
156
- - Combine step 4 and step 5 into one `AskUserQuestion` call (this is the most common violation — execution mode MUST be asked separately in step 4)
157
- - Skip this step and jump to the next step
158
- - Merge this step and the next step into one response
159
- - Assume default values and show the command without asking
160
- - Show the command as text and ask "ready?" without presenting the options
161
- If you find yourself writing the final command before the user has answered these 4 questions, STOP — you are violating this rule.
162
-
163
- Use `AskUserQuestion` to present ALL 4 configuration choices (the full 4-question budget goes to config, NOT shared with execution mode):
164
-
165
- **Question 1 — Verbose logging** (multiSelect: false):
166
- - On (default) — Detailed AI session logs including tool calls and subagent activity
167
- - Off — Minimal logging
168
-
169
- **Question 2 — Max retries** (multiSelect: false):
170
- - 3 (default)
171
- - 1
172
- - 5
173
-
174
- **Question 3 — Critic review** (multiSelect: false):
175
- - Off (default) — Skip adversarial review
176
- - On — Enable adversarial critic review: an independent AI agent reviews the diagnosis/plan for completeness and the fix for defects, edge cases, and regression risks. Adds ~5-10 min per bug.
177
-
178
- **Question 4 — Advanced config?** (multiSelect: false):
179
- - No (default) — Use defaults for session timeout and failure behavior
180
- - Yes — Configure session timeout, stop-on-failure, and reasoning effort options
181
-
182
- Note: Bug filter defaults to all bugs (by severity order). Default Critic to Off unless bugs have `severity: "critical"` or `severity: "high"` (in which case default to On). If the user selects "Other" on any option, handle their custom input.
183
-
184
- **If user chose "Yes" to Advanced config**, ask a second round of `AskUserQuestion`:
185
-
186
- **Question 1 — Session timeout** (multiSelect: false):
187
- - None (default) — No timeout
188
- - 30 min — `SESSION_TIMEOUT=1800`
189
- - 1 hour — `SESSION_TIMEOUT=3600`
190
- - 2 hours — `SESSION_TIMEOUT=7200`
191
-
192
- **Question 2 — Stop on failure** (multiSelect: false):
193
- - Off (default) — Pipeline continues to next task after failure
194
- - On — Pipeline halts immediately when a task exhausts all retries (`STOP_ON_FAILURE=1`)
195
-
196
- **Question 3 — Reasoning effort** (multiSelect: false):
197
- - Default (none) — Use CLI default
198
- - low — Minimize reasoning, fastest output (`PRIZMKIT_EFFORT=low`)
199
- - medium — Moderate reasoning (`PRIZMKIT_EFFORT=medium`)
200
- - high — Thorough reasoning for complex tasks (`PRIZMKIT_EFFORT=high`)
201
- - xhigh — Extensive reasoning (`PRIZMKIT_EFFORT=xhigh`)
202
- - max — Maximum reasoning, Claude Code only (`PRIZMKIT_EFFORT=max`)
203
-
204
- **Environment variable mapping** and **advanced environment variables** tables — read `${SKILL_DIR}/references/configuration.md` for the full translation tables (8 config→env mappings + 8 advanced variables).
205
-
206
- ⚠️ STOP HERE and wait for user response before continuing to step 6.
148
+ The step-5 questions (4 round-1 questions, plus a round 2 if the user picks "Yes" to Advanced config) and their env-var mappings are enumerated in `${SKILL_DIR}/references/configuration.md` under "Interactive Configuration Options". Present round 1 as one `AskUserQuestion` call; run round 2 only if Advanced config = Yes. Then STOP and wait for the user's response before continuing to step 6.
207
149
 
208
150
  6. **Show final command**: Assemble the complete command from execution mode + confirmed configuration, and present it to the user.
209
151
 
@@ -11,7 +11,7 @@ Translating user responses to env vars:
11
11
  | Verbose: Off | `VERBOSE=0` |
12
12
  | Verbose: On | `VERBOSE=1` |
13
13
  | Max retries: N | `MAX_RETRIES=N` |
14
- | Critic: On | `ENABLE_CRITIC=true` |
14
+ | Critic: On | `ENABLE_CRITIC=1` |
15
15
  | Timeout: value | `SESSION_TIMEOUT=<seconds>` |
16
16
  | Stop on failure: On | `STOP_ON_FAILURE=1` |
17
17
  | Deploy: Yes | `ENABLE_DEPLOY=1` |
@@ -32,6 +32,51 @@ Not exposed in interactive menu, pass via `--env`:
32
32
  | `LOG_RETENTION_DAYS` | `14` | Delete logs older than N days |
33
33
  | `LOG_MAX_TOTAL_MB` | `1024` | Keep total logs under N MB via oldest-first cleanup |
34
34
 
35
+ ## Interactive Configuration Options
36
+
37
+ Present these via `AskUserQuestion` in step 5. Round 1 is one `AskUserQuestion` call with all 4 questions; round 2 only runs if the user picks "Yes" to Advanced config.
38
+
39
+ ### Round 1 (always asked)
40
+
41
+ **Question 1 — Verbose logging** (multiSelect: false):
42
+ - On (default) — Detailed AI session logs including tool calls and subagent activity
43
+ - Off — Minimal logging
44
+
45
+ **Question 2 — Max retries** (multiSelect: false):
46
+ - 3 (default)
47
+ - 1
48
+ - 5
49
+
50
+ **Question 3 — Critic review** (multiSelect: false):
51
+ - Off (default) — Skip adversarial review (`ENABLE_CRITIC=0`)
52
+ - On — Enable adversarial critic review (`ENABLE_CRITIC=1`): an independent AI agent reviews the diagnosis/plan for completeness and the fix for defects, edge cases, and regression risks. Adds ~5-10 min per bug.
53
+
54
+ **Question 4 — Advanced config?** (multiSelect: false):
55
+ - No (default) — Use defaults for session timeout and failure behavior
56
+ - Yes — Configure session timeout, stop-on-failure, and reasoning effort options
57
+
58
+ Note: Bug filter defaults to all bugs (by severity order). Default Critic to Off unless bugs have `severity: "critical"` or `severity: "high"` (in which case default to On). If the user selects "Other" on any option, handle their custom input.
59
+
60
+ ### Round 2 (only if Advanced config = Yes)
61
+
62
+ **Question 1 — Session timeout** (multiSelect: false):
63
+ - None (default) — No timeout
64
+ - 30 min — `SESSION_TIMEOUT=1800`
65
+ - 1 hour — `SESSION_TIMEOUT=3600`
66
+ - 2 hours — `SESSION_TIMEOUT=7200`
67
+
68
+ **Question 2 — Stop on failure** (multiSelect: false):
69
+ - Off (default) — Pipeline continues to next task after failure
70
+ - On — Pipeline halts immediately when a task exhausts all retries (`STOP_ON_FAILURE=1`)
71
+
72
+ **Question 3 — Reasoning effort** (multiSelect: false):
73
+ - Default (none) — Use CLI default
74
+ - low — Minimize reasoning, fastest output (`PRIZMKIT_EFFORT=low`)
75
+ - medium — Moderate reasoning (`PRIZMKIT_EFFORT=medium`)
76
+ - high — Thorough reasoning for complex tasks (`PRIZMKIT_EFFORT=high`)
77
+ - xhigh — Extensive reasoning (`PRIZMKIT_EFFORT=xhigh`)
78
+ - max — Maximum reasoning, Claude Code only (`PRIZMKIT_EFFORT=max`)
79
+
35
80
  ## Error Handling
36
81
 
37
82
  | Error | Action |
@@ -7,37 +7,27 @@ description: "Launch and manage the dev-pipeline from within an AI CLI session.
7
7
 
8
8
  Launch the autonomous development pipeline from within an AI CLI conversation. The pipeline runs as a fully detached background process -- closing the AI CLI session does NOT stop the pipeline.
9
9
 
10
- ### Execution Mode
11
-
12
- Three execution modes are available. The user chooses one before configuring other options:
13
-
14
- 1. **Foreground** (recommended) — `.\.prizmkit\dev-pipeline\run-feature.ps1 run`. Visible output, direct error feedback, no orphaned processes.
15
- 2. **Background daemon** — `.\.prizmkit\dev-pipeline\launch-feature-daemon.ps1`. Runs fully detached, survives AI CLI session closure.
16
- 3. **Manual** — Display the assembled command(s) only. Do not execute anything. User runs them on their own.
10
+ Three execution modes are available (Foreground / Background daemon / Manual); they are defined authoritatively in **Intent A, step 5** below.
17
11
 
18
12
  ### When to Use
19
13
 
20
14
  **Start pipeline** -- User says:
21
- - "run pipeline", "start pipeline", "start building", "launch dev-pipeline"
22
- - "run the features", "execute feature list", "start implementing"
23
- - "launch pipeline", "run the pipeline", "start auto-development"
24
- - After feature-planner completes: "build it", "start developing from the feature list"
25
- - "run only F-001 to F-005", "run features F-001,F-003", "only build these features"
15
+ - "run feature pipeline", "run pipeline", "start building features", "launch feature pipeline"
16
+ - "start implementing", "execute feature list", "build all features"
17
+ - After feature-planner completes: "build them", "start building from the list"
18
+ - Supports running a feature subset (e.g. "run only F-001 to F-005", "run features F-001,F-003").
26
19
 
27
20
  **Check status** -- User says:
28
- - "pipeline status", "check pipeline", "how's it going", "progress"
29
- - "check progress", "what's the current situation"
21
+ - "pipeline status", "feature progress", "check the pipeline", "how's the build going"
30
22
 
31
23
  **Stop pipeline** -- User says:
32
- - "stop pipeline", "kill pipeline", "halt", "pause"
33
- - "stop the pipeline", "pause the pipeline"
24
+ - "stop pipeline", "stop the pipeline", "halt pipeline", "pause the build"
34
25
 
35
26
  **Show logs** -- User says:
36
- - "show logs", "pipeline logs", "tail logs", "what's happening"
37
- - "view logs", "check the logs"
27
+ - "pipeline logs", "show pipeline logs", "what's building"
38
28
 
39
- **Retry single feature node** -- User says:
40
- - "retry F-003", "retry this feature", "retry this node", "re-run this feature"
29
+ **Retry single feature** -- User says:
30
+ - "retry F-001", "re-run F-001", "retry this feature"
41
31
 
42
32
  **Do NOT use this skill when:**
43
33
  - User wants to plan features (use `feature-planner` instead)
@@ -155,9 +145,9 @@ Detect user intent from their message, then follow the corresponding workflow:
155
145
 
156
146
  If `global_context.database` is absent and no features mention database keywords, the script skips DB checks automatically.
157
147
 
158
- 5. **Ask execution mode** (first user decision — SEPARATE `AskUserQuestion` call):
148
+ 5. **Ask execution mode** (first user decision):
159
149
 
160
- **This MUST be its own standalone `AskUserQuestion` call.** Do NOT combine execution mode with step 6 config questions. The execution mode question is asked ALONE, user responds, THEN you proceed to step 6.
150
+ **RULE: Ask step 5 and step 6 in separate `AskUserQuestion` calls.** Combining them makes the model merge the questions and skip the mode selection. Ask execution mode ALONE here, wait for the response, THEN proceed to step 6.
161
151
 
162
152
  Use `AskUserQuestion` with exactly 1 question:
163
153
 
@@ -166,19 +156,11 @@ Detect user intent from their message, then follow the corresponding workflow:
166
156
  - Background daemon — pipeline runs fully detached via `launch-feature-daemon.ps1`. Survives AI CLI session closure.
167
157
  - Manual — display the final assembled commands only. Do not execute anything. User runs them on their own.
168
158
 
169
- ⚠️ STOP HERE and wait for user response before continuing to step 6.
170
-
171
- 6. **Ask configuration options** ⚠️ MANDATORY INTERACTIVE STEP — applies to ALL execution modes (Foreground, Background, AND Manual). This is a SEPARATE `AskUserQuestion` call from step 5. You MUST ask the user to configure options and WAIT for their response BEFORE proceeding to step 7.
159
+ STOP HERE and wait for user response before continuing to step 6.
172
160
 
173
- **HARD STOP**: You MUST call `AskUserQuestion` with the 4 questions below and WAIT for the user's response. You MUST NOT:
174
- - Combine step 5 and step 6 into one `AskUserQuestion` call (this is the most common violation — execution mode MUST be asked separately in step 5)
175
- - Skip this step and jump to step 7
176
- - Merge step 6 and step 7 into one response
177
- - Assume default values and show the command without asking
178
- - Show the command as text and ask "ready?" without presenting the options
179
- If you find yourself writing the final command before the user has answered these 4 questions, STOP — you are violating this rule.
161
+ 6. **Ask configuration options** — MANDATORY INTERACTIVE STEP, applies to ALL execution modes (Foreground, Background, AND Manual). This is a SEPARATE `AskUserQuestion` call from step 5 (see the RULE above). You MUST call `AskUserQuestion` with the 4 questions below and WAIT for the user's response before proceeding to step 7. Do NOT assume defaults, do NOT show the command as text and ask "ready?", and do NOT merge step 6 and step 7. If you find yourself writing the final command before the user has answered these 4 questions, STOP — you are violating this rule.
180
162
 
181
- Use `AskUserQuestion` to present ALL 4 configuration choices (the full 4-question budget goes to config, NOT shared with execution mode):
163
+ Use `AskUserQuestion` to present ALL 4 configuration choices:
182
164
 
183
165
  **Question 1 — Critic review** (multiSelect: false):
184
166
  - Off (default) — Skip adversarial review
@@ -199,29 +181,11 @@ Detect user intent from their message, then follow the corresponding workflow:
199
181
 
200
182
  Default Critic to Off unless features have `estimated_complexity: "high"` or above (in which case default to On).
201
183
 
202
- **If user chose "Yes" to Advanced config**, ask a second round of `AskUserQuestion`:
203
-
204
- **Question 1 — Session timeout** (multiSelect: false):
205
- - None (default) — No timeout
206
- - 30 min — `SESSION_TIMEOUT=1800`
207
- - 1 hour — `SESSION_TIMEOUT=3600`
208
- - 2 hours — `SESSION_TIMEOUT=7200`
209
-
210
- **Question 2 — Stop on failure** (multiSelect: false):
211
- - Off (default) — Pipeline continues to next task after failure
212
- - On — Pipeline halts immediately when a task exhausts all retries (`STOP_ON_FAILURE=1`)
213
-
214
- **Question 3 — Reasoning effort** (multiSelect: false):
215
- - Default (none) — Use CLI default
216
- - low — Minimize reasoning, fastest output (`PRIZMKIT_EFFORT=low`)
217
- - medium — Moderate reasoning (`PRIZMKIT_EFFORT=medium`)
218
- - high — Thorough reasoning for complex tasks (`PRIZMKIT_EFFORT=high`)
219
- - xhigh — Extensive reasoning (`PRIZMKIT_EFFORT=xhigh`)
220
- - max — Maximum reasoning, Claude Code only (`PRIZMKIT_EFFORT=max`)
184
+ **If user chose "Yes" to Advanced config**, ask a second round of `AskUserQuestion` — see the advanced config questions (session timeout, stop-on-failure, reasoning effort) in `${SKILL_DIR}/references/configuration.md`.
221
185
 
222
186
  **Environment variable mapping** and **advanced environment variables** tables — read `${SKILL_DIR}/references/configuration.md` for the full translation tables (8 config→env mappings + 9 advanced variables).
223
187
 
224
- ⚠️ STOP HERE and wait for user response before continuing to step 7.
188
+ STOP HERE and wait for user response before continuing to step 7.
225
189
 
226
190
  7. **Show final command**: After user confirms configuration in step 6, assemble the complete command from execution mode + user-confirmed configuration, and present it to the user.
227
191
 
@@ -2,6 +2,28 @@
2
2
 
3
3
  Environment variable mappings for the feature launcher.
4
4
 
5
+ ## Advanced Config Questions (second AskUserQuestion round)
6
+
7
+ Asked only when the user chose "Yes" to Advanced config in step 6.
8
+
9
+ **Question 1 — Session timeout** (multiSelect: false):
10
+ - None (default) — No timeout
11
+ - 30 min — `SESSION_TIMEOUT=1800`
12
+ - 1 hour — `SESSION_TIMEOUT=3600`
13
+ - 2 hours — `SESSION_TIMEOUT=7200`
14
+
15
+ **Question 2 — Stop on failure** (multiSelect: false):
16
+ - Off (default) — Pipeline continues to next task after failure
17
+ - On — Pipeline halts immediately when a task exhausts all retries (`STOP_ON_FAILURE=1`)
18
+
19
+ **Question 3 — Reasoning effort** (multiSelect: false):
20
+ - Default (none) — Use CLI default
21
+ - low — Minimize reasoning, fastest output (`PRIZMKIT_EFFORT=low`)
22
+ - medium — Moderate reasoning (`PRIZMKIT_EFFORT=medium`)
23
+ - high — Thorough reasoning for complex tasks (`PRIZMKIT_EFFORT=high`)
24
+ - xhigh — Extensive reasoning (`PRIZMKIT_EFFORT=xhigh`)
25
+ - max — Maximum reasoning, Claude Code only (`PRIZMKIT_EFFORT=max`)
26
+
5
27
  ## Environment Variable Mapping
6
28
 
7
29
  Translating user responses to env vars:
@@ -60,13 +60,7 @@ When the user provides detailed specifications, rules, or implementation require
60
60
 
61
61
  ## When to Use
62
62
 
63
- Trigger this skill for requests like:
64
- - "Add features to existing system", "Continue planning"
65
- - "Prepare .prizmkit/plans/feature-list.json", "Prepare dev-pipeline input"
66
- - "Reprioritize features", "Split features"
67
- - "Plan features for my project" (when the project already exists)
68
-
69
- Do NOT use this skill when:
63
+ Trigger conditions are covered by the frontmatter `description`. Do NOT use this skill when:
70
64
  - The user wants to plan a new app from scratch → use `app-planner`
71
65
  - The user only wants to run the pipeline → use `feature-pipeline-launcher`
72
66
  - The user is debugging/refactoring or wants to write source code directly
@@ -115,7 +109,7 @@ Do NOT use this skill when:
115
109
  If the script is not available, perform these manual validation checks:
116
110
  1. **ID sequence**: All feature IDs are sequential (F-001, F-002, F-003, ...)
117
111
  2. **No circular dependencies**: No feature depends (directly or transitively) on itself
118
- 3. **Description length**: Minimum 15 words per description (error), recommended minimum 30/50/80/100+ for low/medium/high/critical (warning). No upper limit — more detail is always better
112
+ 3. **Description length**: Minimum 15 words per description (error); see §Output Rules for the recommended-length warning thresholds
119
113
  4. **Dependency references**: All referenced features in dependencies exist in features array
120
114
  5. **Priority enums**: All priority values are exactly "critical", "high", "medium", or "low" (case-sensitive)
121
115
  6. **Status enum**: All status values are one of: pending, in_progress, completed, failed, skipped, split, auto_skipped
@@ -362,7 +356,7 @@ Present a consolidated testing summary table at Phase 8, then ask for confirmati
362
356
 
363
357
  ## Next-Step Execution Policy (after planning)
364
358
 
365
- Recommend invoking `feature-pipeline-launcher` to configure and launch the dev-pipeline. Do NOT recommend running shell scripts directly — that is the launcher's responsibility.
359
+ Recommend invoking `feature-pipeline-launcher` to configure and launch the dev-pipeline. Do NOT recommend running shell scripts directly — that is the launcher's responsibility. Follow the post-planning handoff in §Scope Boundary (never auto-execute).
366
360
 
367
361
  ## Error Recovery & Resume
368
362
 
@@ -399,3 +393,5 @@ After successful validation, report:
399
393
  2. Total features + newly added features
400
394
  3. Dependency and priority highlights
401
395
  4. Recommended next action: `feature-pipeline-launcher`
396
+
397
+ Then apply the post-planning handoff in §Scope Boundary (ask before proceeding; never auto-execute).
@@ -26,39 +26,14 @@ User says:
26
26
 
27
27
  ## Overview
28
28
 
29
- ```
30
- feature-workflow <idea / requirements>
31
-
32
- ├── Phase 1: Brainstorm → collect materials → parallel deep read → discuss requirements
33
-
34
- ├── Phase 2: Plan → feature-planner → .prizmkit/plans/feature-list.json
35
-
36
- ├── Phase 3: Launch → feature-pipeline-launcher → pipeline execution
37
-
38
- └── Phase 4: Monitor → track progress → report results
39
- ```
40
-
41
- ### What This Skill Does
42
-
43
- | Phase | Action | Result |
44
- |-------|--------|--------|
45
- | 1 | **Brainstorm** — collect reference materials, parallel deep read code & docs, discuss requirements grounded in real context | Fully clarified requirements document |
46
- | 2 | Call `feature-planner` with clarified requirements | `.prizmkit/plans/feature-list.json` with N features |
47
- | 3 | Call `feature-pipeline-launcher` | Pipeline started (execution mode chosen by user via launcher) |
48
- | 4 | Monitor progress | Status updates, completion report |
29
+ Given an idea or requirements, the workflow runs four phases:
49
30
 
50
- ### Why This Skill Exists
31
+ 1. **Brainstorm** collect reference materials, parallel deep read code & docs, discuss requirements grounded in real context → fully clarified requirements
32
+ 2. **Plan** — call `feature-planner` with clarified requirements → `.prizmkit/plans/feature-list.json` with N features
33
+ 3. **Launch** — call `feature-pipeline-launcher` → pipeline started (execution mode chosen by user via launcher)
34
+ 4. **Monitor** — track progress → status updates, completion report
51
35
 
52
- Without this skill, users must:
53
- 1. Figure out all requirements themselves
54
- 2. Invoke `feature-planner` → wait for .prizmkit/plans/feature-list.json
55
- 3. Invoke `feature-pipeline-launcher` → wait for pipeline start
56
- 4. Manually check progress
57
-
58
- With this skill, users can:
59
- 1. Say "Build a task management App" with a rough idea
60
- 2. The skill brainstorms to fill in all gaps
61
- 3. All planning + execution happens automatically
36
+ The value: the user starts from a rough idea, the skill brainstorms to fill the gaps, and planning + execution happen automatically — no need to manually invoke each planner/launcher and poll for progress.
62
37
 
63
38
  ### Branch Management
64
39
 
@@ -102,14 +77,14 @@ When user says "add features to existing project" or the project already has fea
102
77
 
103
78
  **Goal**: Through interactive Q&A and deep context reading, transform the user's rough idea into fully clarified, implementation-ready requirements. This phase is the foundation for high-quality code generation — vague requirements produce vague code.
104
79
 
105
- **CRITICAL RULE**: The number of questions is **unlimited**. Do NOT rush through this phase. Ask as many rounds as needed until every aspect is clear. The framework strives for perfect code generation, which requires perfect understanding of requirements.
80
+ Critical rule: the number of questions is unlimited. Do NOT rush through this phase. Ask as many rounds as needed until every aspect is clear. The framework strives for perfect code generation, which requires perfect understanding of requirements.
106
81
 
107
82
  ### Step 1.1: Understand the User's Vision
108
83
 
109
84
  Ask the user to describe what they want to build. Listen for:
110
- - **What** the system/feature does (core functionality)
111
- - **Who** uses it (user roles, personas)
112
- - **Why** it's needed (business value, problem being solved)
85
+ - What the system/feature does (core functionality)
86
+ - Who uses it (user roles, personas)
87
+ - Why it's needed (business value, problem being solved)
113
88
 
114
89
  ### Step 1.2: Collect Reference Materials
115
90
 
@@ -160,7 +135,7 @@ Once brainstorming is complete, produce a structured requirements summary. Read
160
135
 
161
136
  After confirming requirements, assess whether this feature needs the full pipeline or can be done directly in the current session.
162
137
 
163
- **Simple feature Fast Path candidate** (ALL must be true):
138
+ **Simple feature** (Fast Path candidate ALL must be true):
164
139
  - Single module, no cross-module architectural impact
165
140
  - ≤2 new files to create
166
141
  - No new external dependencies or infrastructure changes
@@ -168,11 +143,18 @@ After confirming requirements, assess whether this feature needs the full pipeli
168
143
  - Clear acceptance criteria with existing patterns to follow
169
144
  - No dependency on other unbuilt features
170
145
 
171
- **User choice required (mandatory)**Use `AskUserQuestion` to present interactive selectable options:
146
+ **Complex feature** (Planning Path ANY is true):
147
+ - Cross-module impact (>2 modules affected)
148
+ - New infrastructure, dependencies, or architectural patterns required
149
+ - Multiple interrelated features with dependency ordering
150
+ - Data model or API design decisions needed
151
+ - Requires integration with external services
152
+
153
+ User choice is required (mandatory) — use `AskUserQuestion` to present interactive selectable options. Adjust the question framing to the assessment: for a simple feature, "This feature appears straightforward."; for a complex feature, "This feature is complex and will benefit from structured planning."
172
154
 
173
155
  ```
174
156
  AskUserQuestion:
175
- question: "This feature appears straightforward. How would you like to proceed?"
157
+ question: "How would you like to proceed?" # prefix with the framing note above
176
158
  header: "Approach"
177
159
  options:
178
160
  - label: "Implement now (fast path)"
@@ -187,33 +169,10 @@ AskUserQuestion:
187
169
  3. After implementation, run `/prizmkit-code-review` for quality check
188
170
  4. Commit via `/prizmkit-committer` with `feat(<scope>):` prefix
189
171
  5. Run `/prizmkit-retrospective` to sync `.prizmkit/prizm-docs/`
190
- 6. **End workflow** — skip Phase 2/3/4
191
- - **Add to feature list** → Continue to Phase 2 (Plan via pipeline)
192
-
193
- **Complex feature → Planning Path** (ANY is true):
194
- - Cross-module impact (>2 modules affected)
195
- - New infrastructure, dependencies, or architectural patterns required
196
- - Multiple interrelated features with dependency ordering
197
- - Data model or API design decisions needed
198
- - Requires integration with external services
199
-
200
- **User choice required (mandatory)** — Use `AskUserQuestion` to present interactive selectable options:
201
-
202
- ```
203
- AskUserQuestion:
204
- question: "This feature is complex and will benefit from structured planning. How would you like to proceed?"
205
- header: "Approach"
206
- options:
207
- - label: "Plan and implement now"
208
- description: "Create a plan and implement in this session using /prizmkit-plan + /prizmkit-implement"
209
- - label: "Add to feature list (pipeline)"
210
- description: "Generate .prizmkit/plans/feature-list.json via feature-planner, then launch pipeline for autonomous execution"
211
- ```
212
-
213
- - **Plan and implement now** → Invoke `/prizmkit-plan` with requirements → `/prizmkit-implement` → `/prizmkit-code-review` → `/prizmkit-committer` → `/prizmkit-retrospective`. **End workflow** — skip Phase 2/3/4.
172
+ 6. End workflow — skip Phase 2/3/4
214
173
  - **Add to feature list** → Continue to Phase 2 (Plan via pipeline)
215
174
 
216
- **NEVER proceed without explicit user confirmation via `AskUserQuestion`. Do NOT render options as plain text — the user must be able to click/select.**
175
+ Never proceed without explicit user confirmation via `AskUserQuestion`. Do NOT render options as plain text — the user must be able to click/select.
217
176
 
218
177
  **CHECKPOINT CP-FW-0.5**: Approach selected by user (fast path or pipeline).
219
178
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "prizm-kit"
3
- description: "Full-lifecycle dev toolkit index. Routes to the right PrizmKit skill for spec-driven development, Prizm docs, code quality, deployment, and knowledge management. Use when the user asks 'which command?', 'help', 'how do I start a feature', 'get started', 'what tools', 'dev workflow', 'lifecycle', or '/prizmkit'. Use this as the entry point for the full PrizmKit development lifecycle."
3
+ description: "Full-lifecycle dev toolkit index. Routes to the right PrizmKit skill for spec-driven development, Prizm docs, code quality, deployment, and knowledge management. Use when the user asks 'which command?', 'help', 'how do I start a feature', 'get started', 'what tools', 'dev workflow', 'lifecycle', or '/prizmkit'. Use this as the entry point for the full PrizmKit development lifecycle. (project)"
4
4
  ---
5
5
 
6
6
  # PrizmKit — Full-Lifecycle Development Toolkit
@@ -72,7 +72,8 @@ All three follow the same per-task flow. Detailed documentation policies (when t
72
72
  | `/prizmkit-code-review` | Diagnose issues + produce Fix Instructions | "review", "check code", "is it ready to commit" |
73
73
  | `/prizmkit-retrospective` | Sync .prizmkit/prizm-docs/ with code changes | "retrospective", "retro", "sync docs", "wrap up" |
74
74
  | `/prizmkit-committer` | Safe git commit with Conventional Commits | "commit", "submit", "finish", "ship it" |
75
- | `/prizmkit-deploy` | Generate/update deployment documentation | "deploy docs", "deployment guide", "how to deploy" |
75
+ | `/prizmkit-test` | Generate + run tests, analyze coverage gaps, unified quality report | "test", "run tests", "check quality", "verify code", "补测试" |
76
+ | `/prizmkit-deploy` | Universal deployment gateway: SSH automation, cloud/Docker guided setup, status/logs/rollback | "deploy", "ship it", "go live", "rollback", "deploy status" |
76
77
  | `/prizmkit-init` | Project bootstrap + .prizmkit/prizm-docs/ setup | "init", "initialize", "take over this project" |
77
78
  | `/prizmkit-prizm-docs` | Doc management (init/status/rebuild/validate) | "check docs", "rebuild docs", "validate docs" |
78
79
 
@@ -26,7 +26,7 @@ The loop repeats until the Reviewer finds no issues or the max round limit is re
26
26
 
27
27
  | Parameter | Required | Description |
28
28
  |-----------|----------|-------------|
29
- | `artifact_dir` | No | Directory containing spec.md + plan.md. If omitted, scan `.prizmkit/` subdirectories for the most recently modified directory with a `plan.md` whose tasks are all completed. |
29
+ | `artifact_dir` | No | Directory containing spec.md + plan.md. If omitted, scan `.prizmkit/` subdirectories for the most recently modified directory with a `plan.md` whose tasks are all completed. When invoked as a handoff step, reuse the caller's `artifact_dir` rather than re-detecting. |
30
30
 
31
31
  ## Phase 0: Context Loading
32
32
 
@@ -12,7 +12,7 @@ description: "Pure git commit workflow with safety checks. Stages files, generat
12
12
 
13
13
  ### When NOT to Use
14
14
  - No uncommitted changes exist — nothing to commit
15
- - .prizmkit/prizm-docs/ not synced — run /prizmkit-retrospective first
15
+ - .prizmkit/prizm-docs/ not synced — run /prizmkit-retrospective first (full lifecycle only; the `plan → implement → committer` fast path skips this by design)
16
16
  - Code review not passed in pipeline mode — run /prizmkit-code-review first
17
17
  - Mid-merge conflict resolution — handle manually with git
18
18
 
@@ -24,6 +24,8 @@ description: "Pure git commit workflow with safety checks. Stages files, generat
24
24
  | `.prizmkit/prizm-docs/` synced (feature/refactor) | `/prizmkit-retrospective` has run | Run `/prizmkit-retrospective` first |
25
25
  | Code review passed (pipeline mode) | `review-report.md` in artifact directory has `## Verdict: PASS` | Run `/prizmkit-code-review` first |
26
26
 
27
+ > **Fast-path exemption**: the prizm-docs-synced and review-passed rows above gate the **full lifecycle**. Small, well-scoped changes using the `plan → implement → committer` fast path may commit without them — there is no retrospective or review-report artifact to check, so treat those rows as "satisfied when not applicable."
28
+
27
29
  ### Workflow
28
30
 
29
31
  Follow these steps in order — skipping or reordering can stage sensitive files or commit without proper verification:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "prizmkit-deploy"
3
- description: "Universal deployment gateway for any PrizmKit project. Discovers project type and target (SSH server, Vercel, Docker, etc.), then routes: full automation for SSH Linux with PM2 + Nginx + blue/green switching, guided setup for cloud platforms, or safe documentation fallback for unsupported targets. Also operates existing deployments: status, logs, restart, rollback, health checks, history, validate. Use this skill whenever the user asks about deployment, hosting, going live, or server operations. Triggers on: 'deploy', 'ship it', 'take this live', 'deploy to Vercel', 'deploy to my server', 'check deploy status', 'view logs', 'restart app', 'rollback', 'how do I deploy this', any deployment or hosting question."
3
+ description: "Universal deployment gateway for any PrizmKit project. Discovers project type and target (SSH server, Vercel, Docker, etc.), then routes: full automation for SSH Linux with PM2 + Nginx + blue/green switching, guided setup for cloud platforms, or safe documentation fallback for unsupported targets. Also operates existing deployments: status, logs, restart, rollback, health checks, history, validate. Use this skill whenever the user asks about deployment, hosting, going live, or server operations. Triggers on: 'deploy', 'ship it', 'take this live', 'deploy to Vercel', 'deploy to my server', 'check deploy status', 'view logs', 'restart app', 'rollback', 'how do I deploy this', any deployment or hosting question. (project)"
4
4
  ---
5
5
 
6
6
  # PrizmKit Deploy — Universal Deployment Gateway
@@ -23,7 +23,7 @@ description: "Execute plan.md tasks with TDD approach. Respects task ordering an
23
23
  | `plan.md` with Tasks section | File exists + unchecked tasks | Run `/prizmkit-plan` |
24
24
  | `spec.md` | File exists in same directory as plan.md | Run `/prizmkit-plan` |
25
25
 
26
- **Artifact directory**: Accept `artifact_dir` from caller. If not provided, scan `.prizmkit/` subdirectories for the most recently modified `plan.md` with unchecked tasks.
26
+ **Artifact directory**: Accept `artifact_dir` from caller. If not provided, scan `.prizmkit/` subdirectories for the most recently modified `plan.md` with unchecked tasks. When invoked as a handoff step in a skill chain, reuse the `artifact_dir` from the previous skill rather than re-detecting — re-detection can resolve to a different feature's directory in a multi-task workspace.
27
27
 
28
28
  ## Input
29
29
 
@@ -59,6 +59,7 @@ PRECONDITION: No .prizmkit/prizm-docs/ directory exists, or user confirms overwr
59
59
 
60
60
  Update .prizmkit/prizm-docs/ to reflect recent code changes.
61
61
  PRECONDITION: .prizmkit/prizm-docs/ exists with root.prizm.
62
+ **Scope guard**: Use Update only for out-of-band resync — when docs drifted from code after manual edits, merges, branch switches, or other changes made outside the dev loop. During the normal feature/bugfix/refactor loop, do NOT use Update: `/prizmkit-retrospective` is the sole writer and keeps docs in sync per task. Running both is redundant and risks conflicting edits.
62
63
  → Read `${SKILL_DIR}/references/op-update.md` for detailed steps.
63
64
 
64
65
  ## Operation: Status
@@ -27,7 +27,7 @@ For initial doc setup, validation, or migration, use `/prizmkit-prizm-docs` inst
27
27
 
28
28
  | Parameter | Required | Description |
29
29
  |-----------|----------|-------------|
30
- | `artifact_dir` | No | Directory containing spec.md, plan.md, review-report.md. If omitted, scan `.prizmkit/` subdirectories for the most recently modified directory with a `plan.md`. If no artifact directory found, run in standalone mode (structural sync only from `git diff`). |
30
+ | `artifact_dir` | No | Directory containing spec.md, plan.md, review-report.md. If omitted, scan `.prizmkit/` subdirectories for the most recently modified directory with a `plan.md`. When invoked as a handoff step, reuse the caller's `artifact_dir` rather than re-detecting. If no artifact directory found, run in standalone mode (structural sync only from `git diff`). |
31
31
 
32
32
  ## When NOT to Use
33
33