prizmkit 1.1.14 → 1.1.15
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
CHANGED
|
@@ -96,28 +96,29 @@ Do NOT use this skill when:
|
|
|
96
96
|
|
|
97
97
|
The point is: YOU decide what's relevant based on what you see. A Next.js SaaS app needs completely different conventions than a Python data pipeline or a Go microservice.
|
|
98
98
|
|
|
99
|
-
**Step 3: Present findings
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
**Step 3: Present findings via `AskUserQuestion`**
|
|
100
|
+
|
|
101
|
+
First, show "Already decided" conventions as text:
|
|
102
102
|
> **Already decided** (detected from your codebase):
|
|
103
103
|
> - [convention]: [value] (source: [where you found it])
|
|
104
104
|
> - [convention]: [value] (source: [where you found it])
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
105
|
+
|
|
106
|
+
Then use `AskUserQuestion` for conventions that need user input (up to 4 questions per call, use multiple calls as needed — no limit on total rounds). Each question:
|
|
107
|
+
- Question text includes the convention name AND why it matters for this project
|
|
108
|
+
- Options are the reasonable choices (2-4 per question)
|
|
109
|
+
- Mark the recommended option first with "(Recommended)" in its label
|
|
110
|
+
- Use `description` field to explain trade-offs
|
|
111
|
+
|
|
112
|
+
After each batch of `AskUserQuestion` calls, reassess: are there more project-level conventions to cover? If yes, continue with more `AskUserQuestion` calls. Keep going until ALL project-level conventions are fully addressed.
|
|
113
|
+
|
|
114
|
+
Then ask in text: "Anything I missed that you'd like to standardize?" — if the user adds more, continue the discovery loop.
|
|
114
115
|
|
|
115
116
|
**Rules:**
|
|
117
|
+
- **No interaction limit** — keep asking until every project-level convention is covered. Do NOT stop early or batch-skip to save rounds.
|
|
116
118
|
- Every proposed convention must be justified by something you observed in the project — explain WHY it matters
|
|
117
119
|
- Auto-confirm anything already evident from the codebase (show as "detected", let user override)
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
- Present options (not open-ended questions) for each convention that needs input
|
|
120
|
+
- Propose as many conventions as the project genuinely needs, but don't pad with irrelevant ones
|
|
121
|
+
- The "Anything I missed?" question is NOT the end — if the user adds items, ask follow-up `AskUserQuestion` calls to clarify those too
|
|
121
122
|
|
|
122
123
|
→ Save answers to `CLAUDE.md` / `CODEBUDDY.md` under `### Project Conventions` section (format: one bullet per convention)
|
|
123
124
|
→ Output format will naturally vary per project — that is the intended behavior
|
|
@@ -146,52 +147,49 @@ Note:
|
|
|
146
147
|
|
|
147
148
|
## Interaction Style (Hard Rule)
|
|
148
149
|
|
|
149
|
-
**ALL decision points MUST use
|
|
150
|
+
**ALL decision points MUST use the `AskUserQuestion` tool** to present interactive, selectable options. Do NOT render options as plain text (e.g., `[A] option [B] option`) — the user must be able to click/select, not type a letter.
|
|
151
|
+
|
|
152
|
+
This applies to:
|
|
150
153
|
- Intent confirmation
|
|
151
154
|
- Project conventions
|
|
152
155
|
- Tech stack selection
|
|
153
156
|
- Architecture decisions
|
|
154
157
|
- Handoff recommendations
|
|
155
158
|
- Session exit gates
|
|
159
|
+
- Brownfield prerequisite check
|
|
160
|
+
- Any other decision point
|
|
156
161
|
|
|
157
|
-
**
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
> **[B] Explore ideas first** — brainstorm freely before committing to a plan
|
|
164
|
-
> **[C] Skip to feature planning** — if you already know what to build
|
|
162
|
+
**How to use `AskUserQuestion`:**
|
|
163
|
+
- Each decision point → one `AskUserQuestion` call with 1-4 questions. Use multiple calls as needed — there is NO limit on total rounds for project-level convention discovery. Keep going until everything is covered.
|
|
164
|
+
- Each question has 2-4 selectable options (the tool auto-adds "Other" for custom input)
|
|
165
|
+
- Use `multiSelect: true` when the user can pick more than one
|
|
166
|
+
- Mark the recommended option first and append "(Recommended)" to its label
|
|
167
|
+
- Use the `description` field to explain trade-offs or implications
|
|
165
168
|
|
|
166
|
-
**When gathering information** (e.g.,
|
|
167
|
-
- If common answers exist → offer options + "Other" choice
|
|
168
|
-
- If truly open-ended (e.g., "describe your app idea") → ask directly, but follow up with option-based clarifications
|
|
169
|
+
**When gathering open-ended information** (e.g., "describe your app idea"), use regular text questions — but follow up with `AskUserQuestion`-based clarifications wherever possible.
|
|
169
170
|
|
|
170
171
|
## Intent Confirmation (Mandatory First Step)
|
|
171
172
|
|
|
172
|
-
After initial greeting,
|
|
173
|
+
After initial greeting, use `AskUserQuestion` to confirm intent:
|
|
173
174
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
> **[C] Generate project context only** — for an existing project that needs a project brief without full planning
|
|
175
|
+
**Question**: "What would you like to do?"
|
|
176
|
+
- **Produce a project plan (Recommended)** — define vision, tech stack, and constraints → generates project-brief.md for pipeline use
|
|
177
|
+
- **Explore ideas first** — brainstorm and refine ideas before committing to a plan
|
|
178
|
+
- **Generate project context only** — for an existing project that needs a project brief without full planning
|
|
179
179
|
|
|
180
180
|
Route by answer:
|
|
181
|
-
- **
|
|
182
|
-
- **
|
|
181
|
+
- **Produce a project plan** → Continue to Core Workflow. Set session goal = `produce`.
|
|
182
|
+
- **Explore ideas first** → Enter **Exploration Mode**:
|
|
183
183
|
- Run project conventions check first
|
|
184
184
|
- Load `${SKILL_DIR}/references/brainstorm-guide.md` and follow its structured ideation process (Phases A-D)
|
|
185
185
|
- Brainstorm Phase D output serves as the Vision Summary (CP-AP-2)
|
|
186
|
-
- After brainstorm completes,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
> **[B] Continue refining** — keep brainstorming
|
|
191
|
-
> **[C] Save draft & exit** — save progress to .prizmkit/planning/
|
|
186
|
+
- After brainstorm completes, use `AskUserQuestion`: "Ideas are taking shape. What's next?"
|
|
187
|
+
- **Proceed to feature decomposition (Recommended)** — hand off to feature-planner
|
|
188
|
+
- **Continue refining** — keep brainstorming
|
|
189
|
+
- **Save draft & exit** — save progress to .prizmkit/planning/
|
|
192
190
|
- **Checkpoints in explore mode**: CP-AP-0 (required), CP-AP-1 (required), CP-AP-2 (from brainstorm output), CP-AP-3 (only if user proceeds to Phase 2), CP-AP-4 and CP-AP-5 (only if user transitions to produce mode)
|
|
193
|
-
- **
|
|
194
|
-
- Run Project State Detection → if greenfield, redirect to
|
|
191
|
+
- **Generate project context only** → Enter **Quick Context Mode** (brownfield only):
|
|
192
|
+
- Run Project State Detection → if greenfield, redirect to produce mode
|
|
195
193
|
- Proactively scan the project (same as brownfield behavior)
|
|
196
194
|
- Generate project-brief.md from inferred context
|
|
197
195
|
- Skip extensive brainstorming and constraint phases
|
|
@@ -230,25 +228,16 @@ Before ANY planning work, check if AI-essential project context files exist:
|
|
|
230
228
|
| `.prizmkit/config.json` | Tech stack + runtime config | exists / missing |
|
|
231
229
|
| `.prizmkit/plans/project-brief.md` | Product vision checklist | exists / missing |
|
|
232
230
|
|
|
233
|
-
**If ANY are missing**,
|
|
231
|
+
**If ANY are missing**, show the status table, then use `AskUserQuestion`:
|
|
234
232
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
> | `.prizm-docs/` | ❌ missing |
|
|
240
|
-
> | `.prizmkit/config.json` | ❌ missing |
|
|
241
|
-
> | `.prizmkit/plans/project-brief.md` | ❌ missing |
|
|
242
|
-
>
|
|
243
|
-
> These files help AI understand your project structure, tech stack, and goals — making planning much more effective.
|
|
244
|
-
>
|
|
245
|
-
> **[A] Run project init first** — invoke `prizmkit-init` to scan your codebase and generate these files, then return to planning (recommended)
|
|
246
|
-
> **[B] Continue without init** — I'll scan the project manually during this session (less thorough)
|
|
247
|
-
> **[C] I'll set these up later** — proceed with planning using only what's available
|
|
233
|
+
**Question**: "Some AI context files are missing. These help AI understand your project — making planning much more effective. How would you like to proceed?"
|
|
234
|
+
- **Run project init first (Recommended)** — invoke `prizmkit-init` to scan your codebase and generate these files, then return to planning
|
|
235
|
+
- **Continue without init** — I'll scan the project manually during this session (less thorough)
|
|
236
|
+
- **Skip, I'll set these up later** — proceed with planning using only what's available
|
|
248
237
|
|
|
249
|
-
- **
|
|
250
|
-
- **
|
|
251
|
-
- **
|
|
238
|
+
- **Run project init first** → Invoke `prizmkit-init`, then resume app-planner from where it left off
|
|
239
|
+
- **Continue without init** → Continue with Step 2 below (manual scan)
|
|
240
|
+
- **Skip** → Continue with Step 3, skip scanning
|
|
252
241
|
|
|
253
242
|
**Step 2: Proactive Project Scanning**
|
|
254
243
|
|
|
@@ -269,7 +258,9 @@ Do NOT ask the user to describe their project — read it yourself first:
|
|
|
269
258
|
|
|
270
259
|
3. **Read key source files** (entry points, main routes, core models) to understand what the project actually does — don't rely solely on metadata.
|
|
271
260
|
|
|
272
|
-
**Step 3: Present inferred summary with confirmation
|
|
261
|
+
**Step 3: Present inferred summary with confirmation**
|
|
262
|
+
|
|
263
|
+
Show the summary as text, then use `AskUserQuestion`:
|
|
273
264
|
|
|
274
265
|
> Based on my analysis of your codebase:
|
|
275
266
|
>
|
|
@@ -277,10 +268,11 @@ Do NOT ask the user to describe their project — read it yourself first:
|
|
|
277
268
|
> **Tech Stack**: [framework] + [language] + [key dependencies]
|
|
278
269
|
> **Key Features Found**: [list 3-5 detected capabilities]
|
|
279
270
|
> **Architecture**: [e.g., monolithic, microservices, serverless]
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
271
|
+
|
|
272
|
+
**Question**: "Does this look correct?"
|
|
273
|
+
- **Yes, looks correct (Recommended)** — proceed with planning
|
|
274
|
+
- **Mostly correct, with changes** — I'll note corrections
|
|
275
|
+
- **This is off** — let me describe the project
|
|
284
276
|
|
|
285
277
|
**Step 4: Pre-fill and focus**
|
|
286
278
|
|
|
@@ -303,15 +295,10 @@ Execute the planning workflow in conversation mode with mandatory checkpoints:
|
|
|
303
295
|
1.1 Confirm deliverable intent (→ Intent Confirmation — option-based)
|
|
304
296
|
1.2 **Requirement clarification** — for ANY unclear aspect of the user's vision, goals, target users, or scope, use option-based questions where possible. When common patterns exist, present them as choices. Only use open-ended questions for truly unique input (e.g., "describe your app idea"). Follow up with option-based clarifications.
|
|
305
297
|
2. Confirm constraints and tech assumptions
|
|
306
|
-
2.1 Tech stack selection — use `${SKILL_DIR}/assets/app-design-guide.md` §2 decision matrix.
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
> No UI/UX design docs found. Would you like to:
|
|
311
|
-
>
|
|
312
|
-
> **[A] Establish design direction now** — guided questions about style, layout, color
|
|
313
|
-
> **[B] Skip for now** — decide during implementation
|
|
314
|
-
> **[C] I have external designs** — link or describe them
|
|
298
|
+
2.1 Tech stack selection — use `${SKILL_DIR}/assets/app-design-guide.md` §2 decision matrix. Use `AskUserQuestion` for each major tech decision (framework, database, styling, etc.)
|
|
299
|
+
2.2 **Frontend design check** (for frontend projects) — scan for existing UI/UX design docs. If none found, use `AskUserQuestion`:
|
|
300
|
+
- Question: "No UI/UX design docs found. Would you like to establish design direction?"
|
|
301
|
+
- Options: "Establish design direction now (Recommended)", "Skip for now", "I have external designs"
|
|
315
302
|
3. Capture architecture decisions and finalize project brief
|
|
316
303
|
4. Hand off to `feature-planner` for feature decomposition
|
|
317
304
|
|
|
@@ -357,25 +344,18 @@ Activate when ALL true:
|
|
|
357
344
|
|
|
358
345
|
When the session appears to be ending:
|
|
359
346
|
1. **Remind**: "You set out to produce a project plan but `.prizmkit/plans/project-brief.md` isn't complete yet."
|
|
360
|
-
2.
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
347
|
+
2. Use `AskUserQuestion`: "How would you like to proceed?"
|
|
348
|
+
- **Continue to completion (Recommended)** — finish the project brief
|
|
349
|
+
- **Save draft & exit** — write current progress as draft to `.prizmkit/planning/`
|
|
350
|
+
- **Abandon** — exit without saving
|
|
364
351
|
|
|
365
352
|
## Handoff to feature-planner
|
|
366
353
|
|
|
367
|
-
After all checkpoints pass, present a summary and
|
|
368
|
-
|
|
369
|
-
1. **Summary
|
|
370
|
-
2.
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
> - Conventions: saved to `CLAUDE.md` / `CODEBUDDY.md`
|
|
375
|
-
>
|
|
376
|
-
> **What's next?**
|
|
377
|
-
>
|
|
378
|
-
> **[A] Proceed to feature decomposition** — invoke `feature-planner` to break down features into `.prizmkit/plans/feature-list.json` (recommended)
|
|
379
|
-
> **[B] Continue refining** — stay in app-planner to adjust vision or constraints
|
|
380
|
-
> **[C] Done for now** — exit with artifacts saved
|
|
354
|
+
After all checkpoints pass, present a summary and use `AskUserQuestion` for next steps:
|
|
355
|
+
|
|
356
|
+
1. **Summary** (as text): List captured vision, tech stack, constraints, architecture decisions, and project brief status
|
|
357
|
+
2. Use `AskUserQuestion`: "Planning complete! What's next?"
|
|
358
|
+
- **Proceed to feature decomposition (Recommended)** — invoke `feature-planner` to break down features into `.prizmkit/plans/feature-list.json`
|
|
359
|
+
- **Continue refining** — stay in app-planner to adjust vision or constraints
|
|
360
|
+
- **Done for now** — exit with artifacts saved
|
|
381
361
|
3. **Artifacts produced**: List files written (`.prizmkit/plans/project-brief.md`, project conventions and architecture decisions in `CLAUDE.md` / `CODEBUDDY.md`)
|