prizmkit 1.1.14 → 1.1.16
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
|
@@ -12,7 +12,7 @@ Plan an application from idea to actionable project context through interactive
|
|
|
12
12
|
- Architecture decision capture
|
|
13
13
|
- Project brief accumulation (`.prizmkit/plans/project-brief.md`)
|
|
14
14
|
|
|
15
|
-
This skill captures **
|
|
15
|
+
This skill captures **project-level context only**: vision, tech stack, conventions, architecture decisions, and project brief. It does NOT do feature decomposition or generate `feature-list.json` — that is `feature-planner`'s job.
|
|
16
16
|
|
|
17
17
|
For adding features to an **existing** project that already has a project brief, use `feature-planner` directly.
|
|
18
18
|
|
|
@@ -38,10 +38,10 @@ If you believe the task is better suited for a different workflow, you MUST:
|
|
|
38
38
|
2. Project conventions and architecture decisions appended to `CLAUDE.md` / `CODEBUDDY.md` (with user consent)
|
|
39
39
|
|
|
40
40
|
**After planning is complete**, you MUST:
|
|
41
|
-
1. Present the summary of captured vision,
|
|
42
|
-
2.
|
|
43
|
-
3.
|
|
44
|
-
4. **NEVER
|
|
41
|
+
1. Present the summary of captured project-level context (vision, conventions, architecture decisions, project brief)
|
|
42
|
+
2. List the artifacts produced and suggest possible next steps (e.g., `feature-planner`, `prizmkit-plan`, etc.) — but do NOT auto-invoke any of them
|
|
43
|
+
3. **NEVER auto-execute** the pipeline, feature-planner, or any implementation step
|
|
44
|
+
4. **NEVER generate `feature-list.json`** — that is exclusively `feature-planner`'s responsibility
|
|
45
45
|
|
|
46
46
|
## When to Use
|
|
47
47
|
|
|
@@ -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,48 @@ 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
|
-
- Handoff recommendations
|
|
155
157
|
- Session exit gates
|
|
158
|
+
- Brownfield prerequisite check
|
|
159
|
+
- Any other decision point
|
|
156
160
|
|
|
157
|
-
**
|
|
161
|
+
**How to use `AskUserQuestion`:**
|
|
162
|
+
- 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.
|
|
163
|
+
- Each question has 2-4 selectable options (the tool auto-adds "Other" for custom input)
|
|
164
|
+
- Use `multiSelect: true` when the user can pick more than one
|
|
165
|
+
- Mark the recommended option first and append "(Recommended)" to its label
|
|
166
|
+
- Use the `description` field to explain trade-offs or implications
|
|
158
167
|
|
|
159
|
-
|
|
160
|
-
> What would you like to do next?
|
|
161
|
-
>
|
|
162
|
-
> **[A] Produce a project plan** — capture vision, stack, constraints → project-brief.md (recommended)
|
|
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
|
|
165
|
-
|
|
166
|
-
**When gathering information** (e.g., target users, problem statement), use a hybrid approach:
|
|
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
|
|
168
|
+
**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
169
|
|
|
170
170
|
## Intent Confirmation (Mandatory First Step)
|
|
171
171
|
|
|
172
|
-
After initial greeting,
|
|
172
|
+
After initial greeting, use `AskUserQuestion` to confirm intent:
|
|
173
173
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
> **[C] Generate project context only** — for an existing project that needs a project brief without full planning
|
|
174
|
+
**Question**: "What would you like to do?"
|
|
175
|
+
- **Produce a project plan (Recommended)** — define vision, tech stack, and constraints → generates project-brief.md for pipeline use
|
|
176
|
+
- **Explore ideas first** — brainstorm and refine ideas before committing to a plan
|
|
177
|
+
- **Generate project context only** — for an existing project that needs a project brief without full planning
|
|
179
178
|
|
|
180
179
|
Route by answer:
|
|
181
|
-
- **
|
|
182
|
-
- **
|
|
180
|
+
- **Produce a project plan** → Continue to Core Workflow. Set session goal = `produce`.
|
|
181
|
+
- **Explore ideas first** → Enter **Exploration Mode**:
|
|
183
182
|
- Run project conventions check first
|
|
184
183
|
- Load `${SKILL_DIR}/references/brainstorm-guide.md` and follow its structured ideation process (Phases A-D)
|
|
185
184
|
- 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/
|
|
185
|
+
- After brainstorm completes, use `AskUserQuestion`: "Ideas are taking shape. What's next?"
|
|
186
|
+
- **Continue to project planning (Recommended)** — capture tech stack, conventions, and architecture decisions
|
|
187
|
+
- **Continue refining** — keep brainstorming
|
|
188
|
+
- **Save draft & exit** — save progress to .prizmkit/planning/
|
|
192
189
|
- **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
|
|
190
|
+
- **Generate project context only** → Enter **Quick Context Mode** (brownfield only):
|
|
191
|
+
- Run Project State Detection → if greenfield, redirect to produce mode
|
|
195
192
|
- Proactively scan the project (same as brownfield behavior)
|
|
196
193
|
- Generate project-brief.md from inferred context
|
|
197
194
|
- Skip extensive brainstorming and constraint phases
|
|
@@ -230,25 +227,16 @@ Before ANY planning work, check if AI-essential project context files exist:
|
|
|
230
227
|
| `.prizmkit/config.json` | Tech stack + runtime config | exists / missing |
|
|
231
228
|
| `.prizmkit/plans/project-brief.md` | Product vision checklist | exists / missing |
|
|
232
229
|
|
|
233
|
-
**If ANY are missing**,
|
|
230
|
+
**If ANY are missing**, show the status table, then use `AskUserQuestion`:
|
|
234
231
|
|
|
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
|
|
232
|
+
**Question**: "Some AI context files are missing. These help AI understand your project — making planning much more effective. How would you like to proceed?"
|
|
233
|
+
- **Run project init first (Recommended)** — invoke `prizmkit-init` to scan your codebase and generate these files, then return to planning
|
|
234
|
+
- **Continue without init** — I'll scan the project manually during this session (less thorough)
|
|
235
|
+
- **Skip, I'll set these up later** — proceed with planning using only what's available
|
|
248
236
|
|
|
249
|
-
- **
|
|
250
|
-
- **
|
|
251
|
-
- **
|
|
237
|
+
- **Run project init first** → Invoke `prizmkit-init`, then resume app-planner from where it left off
|
|
238
|
+
- **Continue without init** → Continue with Step 2 below (manual scan)
|
|
239
|
+
- **Skip** → Continue with Step 3, skip scanning
|
|
252
240
|
|
|
253
241
|
**Step 2: Proactive Project Scanning**
|
|
254
242
|
|
|
@@ -269,7 +257,9 @@ Do NOT ask the user to describe their project — read it yourself first:
|
|
|
269
257
|
|
|
270
258
|
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
259
|
|
|
272
|
-
**Step 3: Present inferred summary with confirmation
|
|
260
|
+
**Step 3: Present inferred summary with confirmation**
|
|
261
|
+
|
|
262
|
+
Show the summary as text, then use `AskUserQuestion`:
|
|
273
263
|
|
|
274
264
|
> Based on my analysis of your codebase:
|
|
275
265
|
>
|
|
@@ -277,10 +267,11 @@ Do NOT ask the user to describe their project — read it yourself first:
|
|
|
277
267
|
> **Tech Stack**: [framework] + [language] + [key dependencies]
|
|
278
268
|
> **Key Features Found**: [list 3-5 detected capabilities]
|
|
279
269
|
> **Architecture**: [e.g., monolithic, microservices, serverless]
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
270
|
+
|
|
271
|
+
**Question**: "Does this look correct?"
|
|
272
|
+
- **Yes, looks correct (Recommended)** — proceed with planning
|
|
273
|
+
- **Mostly correct, with changes** — I'll note corrections
|
|
274
|
+
- **This is off** — let me describe the project
|
|
284
275
|
|
|
285
276
|
**Step 4: Pre-fill and focus**
|
|
286
277
|
|
|
@@ -303,17 +294,12 @@ Execute the planning workflow in conversation mode with mandatory checkpoints:
|
|
|
303
294
|
1.1 Confirm deliverable intent (→ Intent Confirmation — option-based)
|
|
304
295
|
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
296
|
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
|
|
297
|
+
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.)
|
|
298
|
+
2.2 **Frontend design check** (for frontend projects) — scan for existing UI/UX design docs. If none found, use `AskUserQuestion`:
|
|
299
|
+
- Question: "No UI/UX design docs found. Would you like to establish design direction?"
|
|
300
|
+
- Options: "Establish design direction now (Recommended)", "Skip for now", "I have external designs"
|
|
315
301
|
3. Capture architecture decisions and finalize project brief
|
|
316
|
-
4.
|
|
302
|
+
4. Present completion summary with artifacts produced and possible next steps
|
|
317
303
|
|
|
318
304
|
### Checkpoints (Mandatory Gates)
|
|
319
305
|
|
|
@@ -326,7 +312,7 @@ Checkpoints catch cascading errors early — skipping one means the next phase b
|
|
|
326
312
|
| **CP-AP-2** | Vision Summary | Goal/users/differentiators confirmed by user. For brownfield: existing purpose confirmed or refined. | 1-2 |
|
|
327
313
|
| **CP-AP-3** | Frontend Design Evaluated | For frontend projects: checked for existing UI/UX design system; user was asked if missing. **Auto-pass** for backend-only or non-UI projects. | 2 |
|
|
328
314
|
| **CP-AP-4** | Project Brief Accumulated | `.prizmkit/plans/project-brief.md` exists at `.prizmkit/plans/` with at least 3 ideas listed. For brownfield: already-implemented items marked `[x]` count toward this total. | 3 |
|
|
329
|
-
| **CP-AP-5** |
|
|
315
|
+
| **CP-AP-5** | Planning Complete | All project-level context captured: conventions, tech stack, architecture decisions, project brief finalized | 4 |
|
|
330
316
|
|
|
331
317
|
## Architecture Decision Capture
|
|
332
318
|
|
|
@@ -334,7 +320,7 @@ After Phase 2, if framework-shaping architecture decisions emerged during planni
|
|
|
334
320
|
|
|
335
321
|
**How it works**:
|
|
336
322
|
1. If decisions are captured → append to `CLAUDE.md` / `CODEBUDDY.md` under `### Architecture Decisions` section
|
|
337
|
-
2.
|
|
323
|
+
2. Downstream skills (feature-planner, prizmkit-plan, etc.) read `CLAUDE.md` / `CODEBUDDY.md` as standard context, so they automatically receive these decisions
|
|
338
324
|
3. Do NOT write directly to `.prizm-docs/root.prizm` — that file is maintained by `prizmkit-prizm-docs` and `prizmkit-retrospective`. If the project needs `.prizm-docs/`, recommend the user run `prizmkit-prizm-docs` init after planning.
|
|
339
325
|
|
|
340
326
|
## Project Brief Accumulation
|
|
@@ -357,25 +343,25 @@ Activate when ALL true:
|
|
|
357
343
|
|
|
358
344
|
When the session appears to be ending:
|
|
359
345
|
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
|
-
|
|
364
|
-
|
|
365
|
-
##
|
|
366
|
-
|
|
367
|
-
After all checkpoints pass, present a summary and
|
|
368
|
-
|
|
369
|
-
1. **Summary
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
>
|
|
377
|
-
>
|
|
378
|
-
>
|
|
379
|
-
>
|
|
380
|
-
|
|
381
|
-
|
|
346
|
+
2. Use `AskUserQuestion`: "How would you like to proceed?"
|
|
347
|
+
- **Continue to completion (Recommended)** — finish the project brief
|
|
348
|
+
- **Save draft & exit** — write current progress as draft to `.prizmkit/planning/`
|
|
349
|
+
- **Abandon** — exit without saving
|
|
350
|
+
|
|
351
|
+
## Completion Summary
|
|
352
|
+
|
|
353
|
+
After all checkpoints pass, present a summary and end the session:
|
|
354
|
+
|
|
355
|
+
1. **Summary** (as text): List all project-level artifacts produced:
|
|
356
|
+
- Project conventions → `CLAUDE.md` / `CODEBUDDY.md` `### Project Conventions`
|
|
357
|
+
- Tech stack → `.prizmkit/config.json`
|
|
358
|
+
- Architecture decisions (if any) → `CLAUDE.md` / `CODEBUDDY.md` `### Architecture Decisions`
|
|
359
|
+
- Project brief → `.prizmkit/plans/project-brief.md`
|
|
360
|
+
|
|
361
|
+
2. **Suggest possible next steps** (as text, NOT auto-invoked):
|
|
362
|
+
> Project-level planning is complete. When you're ready, here are some possible next steps:
|
|
363
|
+
> - `feature-planner` — decompose the project into features and generate `feature-list.json`
|
|
364
|
+
> - `prizmkit-plan` — start working on a specific feature directly
|
|
365
|
+
> - `prizmkit-prizm-docs` — initialize or update project documentation
|
|
366
|
+
|
|
367
|
+
**Do NOT invoke any of these.** The user decides what to do next, in their own time.
|