prizmkit 1.1.0 → 1.1.3

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 (95) hide show
  1. package/bundled/VERSION.json +3 -3
  2. package/bundled/adapters/claude/agent-adapter.js +18 -0
  3. package/bundled/adapters/claude/command-adapter.js +1 -27
  4. package/bundled/agents/prizm-dev-team-critic.md +2 -0
  5. package/bundled/agents/prizm-dev-team-dev.md +2 -0
  6. package/bundled/agents/prizm-dev-team-reviewer.md +2 -0
  7. package/bundled/dev-pipeline/README.md +63 -63
  8. package/bundled/dev-pipeline/assets/feature-list-example.json +1 -1
  9. package/bundled/dev-pipeline/assets/prizm-dev-team-integration.md +1 -1
  10. package/bundled/dev-pipeline/{launch-daemon.sh → launch-feature-daemon.sh} +33 -33
  11. package/bundled/dev-pipeline/launch-refactor-daemon.sh +454 -0
  12. package/bundled/dev-pipeline/lib/branch.sh +1 -1
  13. package/bundled/dev-pipeline/reset-feature.sh +3 -3
  14. package/bundled/dev-pipeline/reset-refactor.sh +312 -0
  15. package/bundled/dev-pipeline/{retry-bug.sh → retry-bugfix.sh} +47 -59
  16. package/bundled/dev-pipeline/retry-feature.sh +41 -54
  17. package/bundled/dev-pipeline/retry-refactor.sh +358 -0
  18. package/bundled/dev-pipeline/run-bugfix.sh +6 -0
  19. package/bundled/dev-pipeline/{run.sh → run-feature.sh} +31 -31
  20. package/bundled/dev-pipeline/run-refactor.sh +787 -0
  21. package/bundled/dev-pipeline/scripts/generate-bootstrap-prompt.py +177 -10
  22. package/bundled/dev-pipeline/scripts/generate-refactor-prompt.py +419 -0
  23. package/bundled/dev-pipeline/scripts/init-refactor-pipeline.py +393 -0
  24. package/bundled/dev-pipeline/scripts/update-refactor-status.py +726 -0
  25. package/bundled/dev-pipeline/templates/agent-prompts/critic-code-challenge.md +13 -0
  26. package/bundled/dev-pipeline/templates/agent-prompts/critic-plan-challenge.md +7 -0
  27. package/bundled/dev-pipeline/templates/agent-prompts/dev-fix.md +7 -0
  28. package/bundled/dev-pipeline/templates/agent-prompts/dev-implement.md +26 -0
  29. package/bundled/dev-pipeline/templates/agent-prompts/dev-resume.md +5 -0
  30. package/bundled/dev-pipeline/templates/agent-prompts/reviewer-analyze.md +5 -0
  31. package/bundled/dev-pipeline/templates/agent-prompts/reviewer-review.md +12 -0
  32. package/bundled/dev-pipeline/templates/bootstrap-tier1.md +29 -2
  33. package/bundled/dev-pipeline/templates/bootstrap-tier2.md +8 -7
  34. package/bundled/dev-pipeline/templates/bootstrap-tier3.md +11 -10
  35. package/bundled/dev-pipeline/templates/bugfix-bootstrap-prompt.md +2 -3
  36. package/bundled/dev-pipeline/templates/feature-list-schema.json +1 -1
  37. package/bundled/dev-pipeline/templates/refactor-list-schema.json +159 -0
  38. package/bundled/dev-pipeline/templates/sections/ac-verification-checklist.md +13 -0
  39. package/bundled/dev-pipeline/templates/sections/feature-context.md +1 -1
  40. package/bundled/dev-pipeline/templates/sections/phase-analyze-agent.md +9 -8
  41. package/bundled/dev-pipeline/templates/sections/phase-analyze-full.md +9 -8
  42. package/bundled/dev-pipeline/templates/sections/phase-browser-verification.md +2 -1
  43. package/bundled/dev-pipeline/templates/sections/phase-critic-code.md +8 -10
  44. package/bundled/dev-pipeline/templates/sections/phase-critic-plan-full.md +9 -10
  45. package/bundled/dev-pipeline/templates/sections/phase-critic-plan.md +8 -9
  46. package/bundled/dev-pipeline/templates/sections/phase-implement-agent.md +7 -10
  47. package/bundled/dev-pipeline/templates/sections/phase-implement-full.md +8 -15
  48. package/bundled/dev-pipeline/templates/sections/phase-review-agent.md +7 -12
  49. package/bundled/dev-pipeline/templates/sections/phase-review-full.md +8 -19
  50. package/bundled/dev-pipeline/templates/sections/test-failure-recovery.md +75 -0
  51. package/bundled/skills/_metadata.json +33 -6
  52. package/bundled/skills/app-planner/SKILL.md +105 -320
  53. package/bundled/skills/app-planner/assets/app-design-guide.md +101 -0
  54. package/bundled/skills/app-planner/references/frontend-design-guide.md +1 -1
  55. package/bundled/skills/app-planner/references/project-brief-guide.md +49 -80
  56. package/bundled/skills/bug-fix-workflow/SKILL.md +2 -2
  57. package/bundled/skills/bug-planner/SKILL.md +68 -5
  58. package/bundled/skills/bug-planner/scripts/validate-bug-list.py +3 -2
  59. package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +19 -5
  60. package/bundled/skills/{dev-pipeline-launcher → feature-pipeline-launcher}/SKILL.md +32 -32
  61. package/bundled/skills/feature-planner/SKILL.md +337 -0
  62. package/bundled/skills/{app-planner → feature-planner}/assets/evaluation-guide.md +4 -4
  63. package/bundled/skills/{app-planner → feature-planner}/assets/planning-guide.md +3 -171
  64. package/bundled/skills/{app-planner → feature-planner}/references/browser-interaction.md +6 -5
  65. package/bundled/skills/feature-planner/references/decomposition-patterns.md +75 -0
  66. package/bundled/skills/{app-planner → feature-planner}/references/error-recovery.md +8 -8
  67. package/bundled/skills/{app-planner → feature-planner}/references/incremental-feature-planning.md +1 -1
  68. package/bundled/skills/{app-planner/references/new-app-planning.md → feature-planner/references/new-project-planning.md} +1 -1
  69. package/bundled/skills/{app-planner → feature-planner}/scripts/validate-and-generate.py +4 -4
  70. package/bundled/skills/feature-workflow/SKILL.md +23 -23
  71. package/bundled/skills/prizm-kit/SKILL.md +1 -3
  72. package/bundled/skills/prizmkit-analyze/SKILL.md +2 -5
  73. package/bundled/skills/prizmkit-code-review/SKILL.md +2 -2
  74. package/bundled/skills/prizmkit-committer/SKILL.md +4 -8
  75. package/bundled/skills/prizmkit-deploy/SKILL.md +1 -5
  76. package/bundled/skills/prizmkit-implement/SKILL.md +3 -50
  77. package/bundled/skills/prizmkit-init/SKILL.md +5 -77
  78. package/bundled/skills/prizmkit-plan/SKILL.md +1 -12
  79. package/bundled/skills/prizmkit-prizm-docs/SKILL.md +6 -24
  80. package/bundled/skills/prizmkit-prizm-docs/assets/PRIZM-SPEC.md +21 -0
  81. package/bundled/skills/prizmkit-retrospective/SKILL.md +12 -117
  82. package/bundled/skills/recovery-workflow/SKILL.md +166 -316
  83. package/bundled/skills/recovery-workflow/evals/evals.json +29 -13
  84. package/bundled/skills/recovery-workflow/scripts/detect-recovery-state.py +232 -274
  85. package/bundled/skills/refactor-pipeline-launcher/SKILL.md +352 -0
  86. package/bundled/skills/refactor-planner/SKILL.md +436 -0
  87. package/bundled/skills/refactor-planner/assets/planning-guide.md +292 -0
  88. package/bundled/skills/refactor-planner/references/behavior-preservation.md +301 -0
  89. package/bundled/skills/refactor-planner/references/refactor-scoping-guide.md +221 -0
  90. package/bundled/skills/refactor-planner/scripts/validate-and-generate-refactor.py +786 -0
  91. package/bundled/skills/refactor-workflow/SKILL.md +299 -319
  92. package/package.json +1 -1
  93. package/src/clean.js +3 -3
  94. package/src/scaffold.js +6 -6
  95. /package/bundled/skills/{dev-pipeline-launcher → feature-pipeline-launcher}/scripts/preflight-check.py +0 -0
@@ -1,176 +1,8 @@
1
- # App Planning Reference Guide
1
+ # Feature Planning Reference Guide
2
2
 
3
- This guide provides structured templates, decision matrices, and patterns for each phase of the app planning process. It is intended as a practical reference for the AI during interactive planning sessions.
3
+ This guide provides structured templates and patterns for writing high-quality feature descriptions, acceptance criteria, complexity estimates, dependency graphs, and session granularity decisions. Use during feature-planner sessions.
4
4
 
5
- ---
6
-
7
- ## 1. App Vision Template
8
-
9
- Use this template to capture the app vision during the initial planning phase.
10
-
11
- ```markdown
12
- # App Vision: [APP_NAME]
13
-
14
- ## Problem Statement
15
- [What problem does this app solve?]
16
-
17
- ## Target Users
18
- - Primary: [Who are the main users?]
19
- - Secondary: [Any secondary user types?]
20
-
21
- ## Core Value Proposition
22
- [What makes this app valuable? What's the "elevator pitch"?]
23
-
24
- ## Key Differentiators
25
- [What sets this apart from existing solutions?]
26
- ```
27
-
28
- ### Guidance
29
-
30
- - **Problem Statement**: Should describe a real pain point in 1-3 sentences. Avoid vague statements like "improve productivity." Be specific about who suffers and why.
31
- - **Target Users**: Identify at least one primary user persona. Secondary users are optional but useful for prioritization decisions later.
32
- - **Core Value Proposition**: Should be expressible in one sentence. If it takes a paragraph, the scope is likely too broad.
33
- - **Key Differentiators**: List 1-3 concrete differentiators. If none exist, reconsider whether the app needs to be built.
34
-
35
- ---
36
-
37
- ## 2. Tech Stack Decision Matrix
38
-
39
- Use these tables to guide tech stack selection based on project requirements.
40
-
41
- ### Frontend Frameworks
42
-
43
- | Framework | Best For | Ecosystem |
44
- |-----------|----------|-----------|
45
- | Next.js 14+ | Full-stack React, SSR, API routes | React ecosystem, Vercel |
46
- | Nuxt 3 | Full-stack Vue, SSR | Vue ecosystem |
47
- | SvelteKit | Performance-focused, smaller teams | Svelte ecosystem |
48
- | Remix | Nested routes, data loading | React ecosystem |
49
-
50
- ### Backend Frameworks
51
-
52
- | Framework | Best For | Language |
53
- |-----------|----------|----------|
54
- | Express.js | Flexible, minimal | Node.js/TS |
55
- | FastAPI | High-perf APIs, Python ML | Python |
56
- | NestJS | Enterprise, structured | Node.js/TS |
57
- | Django | Batteries-included, admin | Python |
58
- | Go (Gin/Echo) | High concurrency | Go |
59
-
60
- ### Databases
61
-
62
- | Database | Best For | Type |
63
- |----------|----------|------|
64
- | PostgreSQL | Complex queries, ACID | Relational |
65
- | MySQL | Read-heavy, simple | Relational |
66
- | MongoDB | Flexible schema, documents | Document |
67
- | SQLite | Embedded, prototyping | Relational |
68
- | Redis | Caching, sessions, pub/sub | Key-Value |
69
-
70
- ### Design Systems
71
-
72
- | System | Best For | Framework |
73
- |--------|----------|-----------|
74
- | shadcn/ui | Modern, customizable | React/Next.js |
75
- | Ant Design | Enterprise, data-heavy | React |
76
- | Material UI | Google-style, full-featured | React |
77
- | Vuetify | Material Design for Vue | Vue |
78
- | Tailwind CSS | Utility-first, any framework | Any |
79
-
80
- ### Common Service Patterns
81
-
82
- | Need | Options |
83
- |------|---------|
84
- | Auth | NextAuth.js, Auth0, Clerk, Supabase Auth, custom JWT |
85
- | Real-time | WebSocket, Socket.io, SSE, Supabase Realtime |
86
- | File Storage | S3, Cloudflare R2, Supabase Storage |
87
- | Email | SendGrid, Resend, Postmark |
88
- | Payments | Stripe, LemonSqueezy |
89
- | Search | Algolia, Meilisearch, Elasticsearch |
90
-
91
- ### Selection Heuristics
92
-
93
- - If the user has no strong preference, default to **Next.js + PostgreSQL + shadcn/ui + Tailwind CSS** as a general-purpose stack.
94
- - If the project involves ML/AI backends, prefer **FastAPI** on the backend.
95
- - If the project requires high concurrency with minimal resource usage, consider **Go**.
96
- - If rapid prototyping is the goal, consider **SQLite** initially with a migration path to PostgreSQL.
97
- - Always ask about deployment preferences (Vercel, AWS, self-hosted) as this influences framework choice.
98
-
99
- ---
100
-
101
- ## 3. Feature Decomposition Patterns
102
-
103
- Use these patterns as starting points when breaking an app into features. Adapt them to the specific project.
104
-
105
- ### Pattern A: CRUD-Based App
106
-
107
- Examples: CMS, project management tools, inventory systems.
108
-
109
- ```
110
- F-001: Infrastructure Setup (no deps)
111
- F-002: User Authentication (deps: F-001)
112
- F-003: Core Entity CRUD (deps: F-002)
113
- F-004: Entity Relationships (deps: F-003)
114
- F-005: Search & Filtering (deps: F-003)
115
- F-006: Notifications (deps: F-003)
116
- F-007: Admin Dashboard (deps: F-004, F-005)
117
- F-008: Analytics & Reporting (deps: F-007)
118
- ```
119
-
120
- ### Pattern B: SaaS Platform
121
-
122
- Examples: subscription services, multi-tenant tools, B2B products.
123
-
124
- ```
125
- F-001: Infrastructure + Multi-tenant Setup (no deps)
126
- F-002: User Auth + Organization Management (deps: F-001)
127
- F-003: Core Product Feature (deps: F-002)
128
- F-004: Subscription & Billing (deps: F-002)
129
- F-005: Usage Tracking & Limits (deps: F-003, F-004)
130
- F-006: Admin Portal (deps: F-005)
131
- F-007: API & Integrations (deps: F-003)
132
- F-008: Analytics Dashboard (deps: F-006, F-007)
133
- ```
134
-
135
- ### Pattern C: Social/Community App
136
-
137
- Examples: forums, social networks, community platforms.
138
-
139
- ```
140
- F-001: Infrastructure Setup (no deps)
141
- F-002: User Auth + Profiles (deps: F-001)
142
- F-003: Content Creation (posts/media) (deps: F-002)
143
- F-004: Social Graph (follow/friend) (deps: F-002)
144
- F-005: Feed Algorithm (deps: F-003, F-004)
145
- F-006: Interactions (likes, comments) (deps: F-003)
146
- F-007: Real-time Messaging (deps: F-004)
147
- F-008: Notifications (deps: F-005, F-006, F-007)
148
- F-009: Discovery & Search (deps: F-005)
149
- ```
150
-
151
- ### Pattern D: E-commerce App
152
-
153
- Examples: online stores, marketplaces, booking platforms.
154
-
155
- ```
156
- F-001: Infrastructure Setup (no deps)
157
- F-002: User Auth (deps: F-001)
158
- F-003: Product Catalog (deps: F-001)
159
- F-004: Shopping Cart (deps: F-002, F-003)
160
- F-005: Checkout & Payment (deps: F-004)
161
- F-006: Order Management (deps: F-005)
162
- F-007: Inventory Management (deps: F-003)
163
- F-008: Reviews & Ratings (deps: F-002, F-003)
164
- F-009: Search & Recommendations (deps: F-003, F-008)
165
- F-010: Admin Dashboard (deps: F-006, F-007)
166
- ```
167
-
168
- ### Decomposition Guidelines
169
-
170
- - Every app starts with an infrastructure/setup feature (F-001) that has zero dependencies.
171
- - Authentication almost always comes second unless the app is fully public.
172
- - Group related functionality into single features rather than splitting too finely. A feature should represent a coherent unit of user-facing value.
173
- - If a pattern does not match the app being planned, combine elements from multiple patterns or define a custom decomposition from scratch.
5
+ For app-level design references (vision templates, tech stack matrix), see `app-planner/assets/app-design-guide.md`. For feature decomposition patterns (CRUD, SaaS, Social, E-commerce), see `${SKILL_DIR}/references/decomposition-patterns.md`.
174
6
 
175
7
  ---
176
8
 
@@ -16,10 +16,9 @@ If yes, generate the `browser_interaction` object:
16
16
  "url": "http://localhost:3000/login",
17
17
  "setup_command": "npm run dev",
18
18
  "verify_steps": [
19
- "snapshot",
20
- "click <ref> click login button",
21
- "fill <ref> 'test@example.com' enter email",
22
- "screenshot"
19
+ "Verify login form renders with email and password fields",
20
+ "Verify valid credentials redirect to dashboard",
21
+ "Verify invalid password shows error message"
23
22
  ],
24
23
  "screenshot": true
25
24
  }
@@ -30,5 +29,7 @@ If yes, generate the `browser_interaction` object:
30
29
 
31
30
  - `url` is required — the page URL to verify
32
31
  - `setup_command` is optional — command to start dev server (omit if already running)
33
- - `verify_steps` are descriptive placeholders the actual `ref` IDs are resolved at runtime by `playwright-cli snapshot`. Use natural language descriptions (e.g., "click login button") that the pipeline agent will map to real refs.
32
+ - `verify_steps` are **verification goals**, not specific playwright-cli commands. Describe WHAT to verify, not HOW to verify it. The pipeline AI will read the actual code, use `playwright-cli snapshot` to discover real element refs, and decide the concrete click/fill/assert operations itself. This works better than prescribing steps at planning time because: (1) element refs don't exist yet, (2) UI structure may change during implementation, (3) the AI has full context of the actual code when it runs verification.
33
+ - **Good**: `"Verify login form accepts valid credentials and redirects to dashboard"`
34
+ - **Bad**: `"click <ref> — click login button"` (guesses at refs that don't exist yet)
34
35
  - `screenshot` defaults to `true` — capture final state for human review
@@ -0,0 +1,75 @@
1
+ # Feature Decomposition Patterns
2
+
3
+ Use these patterns as starting points when breaking an app into features. Adapt them to the specific project.
4
+
5
+ For app-level design references (vision templates, tech stack decision matrix), see `app-planner/assets/app-design-guide.md`.
6
+
7
+ ## Pattern A: CRUD-Based App
8
+
9
+ Examples: CMS, project management tools, inventory systems.
10
+
11
+ ```
12
+ F-001: Infrastructure Setup (no deps)
13
+ F-002: User Authentication (deps: F-001)
14
+ F-003: Core Entity CRUD (deps: F-002)
15
+ F-004: Entity Relationships (deps: F-003)
16
+ F-005: Search & Filtering (deps: F-003)
17
+ F-006: Notifications (deps: F-003)
18
+ F-007: Admin Dashboard (deps: F-004, F-005)
19
+ F-008: Analytics & Reporting (deps: F-007)
20
+ ```
21
+
22
+ ## Pattern B: SaaS Platform
23
+
24
+ Examples: subscription services, multi-tenant tools, B2B products.
25
+
26
+ ```
27
+ F-001: Infrastructure + Multi-tenant Setup (no deps)
28
+ F-002: User Auth + Organization Management (deps: F-001)
29
+ F-003: Core Product Feature (deps: F-002)
30
+ F-004: Subscription & Billing (deps: F-002)
31
+ F-005: Usage Tracking & Limits (deps: F-003, F-004)
32
+ F-006: Admin Portal (deps: F-005)
33
+ F-007: API & Integrations (deps: F-003)
34
+ F-008: Analytics Dashboard (deps: F-006, F-007)
35
+ ```
36
+
37
+ ## Pattern C: Social/Community App
38
+
39
+ Examples: forums, social networks, community platforms.
40
+
41
+ ```
42
+ F-001: Infrastructure Setup (no deps)
43
+ F-002: User Auth + Profiles (deps: F-001)
44
+ F-003: Content Creation (posts/media) (deps: F-002)
45
+ F-004: Social Graph (follow/friend) (deps: F-002)
46
+ F-005: Feed Algorithm (deps: F-003, F-004)
47
+ F-006: Interactions (likes, comments) (deps: F-003)
48
+ F-007: Real-time Messaging (deps: F-004)
49
+ F-008: Notifications (deps: F-005, F-006, F-007)
50
+ F-009: Discovery & Search (deps: F-005)
51
+ ```
52
+
53
+ ## Pattern D: E-commerce App
54
+
55
+ Examples: online stores, marketplaces, booking platforms.
56
+
57
+ ```
58
+ F-001: Infrastructure Setup (no deps)
59
+ F-002: User Auth (deps: F-001)
60
+ F-003: Product Catalog (deps: F-001)
61
+ F-004: Shopping Cart (deps: F-002, F-003)
62
+ F-005: Checkout & Payment (deps: F-004)
63
+ F-006: Order Management (deps: F-005)
64
+ F-007: Inventory Management (deps: F-003)
65
+ F-008: Reviews & Ratings (deps: F-002, F-003)
66
+ F-009: Search & Recommendations (deps: F-003, F-008)
67
+ F-010: Admin Dashboard (deps: F-006, F-007)
68
+ ```
69
+
70
+ ## Decomposition Guidelines
71
+
72
+ - Every app starts with an infrastructure/setup feature (F-001) that has zero dependencies.
73
+ - Authentication almost always comes second unless the app is fully public.
74
+ - Group related functionality into single features rather than splitting too finely. A feature should represent a coherent unit of user-facing value.
75
+ - If a pattern does not match the app being planned, combine elements from multiple patterns or define a custom decomposition from scratch.
@@ -51,7 +51,7 @@ if all_retries_exceeded:
51
51
 
52
52
  ## Resume Support
53
53
 
54
- App-planner sessions can be resumed from the last completed checkpoint without losing context.
54
+ feature-planner sessions can be resumed from the last completed checkpoint without losing context.
55
55
 
56
56
  ### Detection Logic
57
57
 
@@ -59,10 +59,10 @@ Check for artifact files in working directory:
59
59
 
60
60
  | Artifacts Found | Last Completed Checkpoint | Next Phase | Resume Action |
61
61
  |-----------------|--------------------------|-----------|----------------|
62
- | None | (new session) | Phase 1: Vision | Start fresh planning |
63
- | `feature-list.json` exists | CP-AP-6 (file generated) | Phase 7: Final validation | Offer to validate or extend |
64
- | `feature-list.json` + validation passed | CP-AP-7 (validation pass) | Handoff: dev-pipeline | Offer: execute pipeline now |
65
- | Partial state (incomplete file) | CP-AP-2 or CP-AP-4 | Next phase after last checkpoint | Resume interactive planning |
62
+ | None | (new session) | Phase 1: Scope | Start fresh planning |
63
+ | `feature-list.json` exists | CP-FP-4 (file generated) | Phase 9: Final validation | Offer to validate or extend |
64
+ | `feature-list.json` + validation passed | CP-FP-5 (validation pass) | Handoff: dev-pipeline | Offer: execute pipeline now |
65
+ | Partial state (incomplete file) | CP-FP-1 or CP-FP-2 | Next phase after last checkpoint | Resume interactive planning |
66
66
  | User restarts mid-session | User says "restart" | Return to Phase 1 Vision, or load previous checkpoint if requested |
67
67
  | Max validation retries exceeded | 3 failed validation loops | Offer: (a) manual review, (b) restart from Phase 1 |
68
68
 
@@ -72,7 +72,7 @@ For projects using `.prizmkit/` structure:
72
72
 
73
73
  ```bash
74
74
  # Explicit resume (if file is not in current directory):
75
- app-planner --resume-from <path-to-existing-feature-list.json>
75
+ feature-planner --resume-from <path-to-existing-feature-list.json>
76
76
  ```
77
77
 
78
78
  AI detects existing file → suggests:
@@ -85,7 +85,7 @@ Resume incremental planning? (Y/n)"
85
85
 
86
86
  If in Incremental mode but existing `feature-list.json` not found:
87
87
  - Ask: "Start new plan or provide existing file?"
88
- - If new plan chosen → switch to Route A (New App Planning)
88
+ - If new plan chosen → switch to Route A (New Feature Set)
89
89
  - If existing file uploaded → continue Route B
90
90
 
91
91
  ### Artifact Path Convention
@@ -102,7 +102,7 @@ After writing, verify: `ls -la feature-list.json` from project root.
102
102
  <project-root>/
103
103
  ├── feature-list.json # Primary output (always here, at project root)
104
104
  └── .prizmkit/planning/ # Optional organization for backups
105
- ├── feature-list.validated.json # Checkpoint backup after CP-AP-7
105
+ ├── feature-list.validated.json # Checkpoint backup after CP-FP-5
106
106
  └── <ISO-timestamp>.backup.json # Optional incremental backups
107
107
  ```
108
108
 
@@ -109,4 +109,4 @@ Use concise prompts during interaction:
109
109
  - [ ] Existing style preserved
110
110
  - [ ] Dependency graph still DAG
111
111
  - [ ] Validation passes
112
- - [ ] Next step recommendation follows priority: launcher → daemon → run.sh
112
+ - [ ] Next step recommendation follows priority: launcher → daemon → run-feature.sh
@@ -82,4 +82,4 @@ Split into `sub_features` when:
82
82
  - [ ] IDs are sequential
83
83
  - [ ] `status` initialized to `pending`
84
84
  - [ ] Validation passes
85
- - [ ] Next step recommendation follows priority: launcher → daemon → run.sh
85
+ - [ ] Next step recommendation follows priority: launcher → daemon → run-feature.sh
@@ -13,7 +13,7 @@ Usage:
13
13
  python3 validate-and-generate.py validate --input feature-list.json [--output validated.json] [--mode new|incremental]
14
14
  python3 validate-and-generate.py template --output feature-list.json
15
15
  python3 validate-and-generate.py summary --input feature-list.json [--format markdown|json]
16
- python3 validate-and-generate.py grade --workspace /.codebuddy/skill-evals/app-planner-workspace --iteration iteration-1
16
+ python3 validate-and-generate.py grade --workspace /.codebuddy/skill-evals/feature-planner-workspace --iteration iteration-1
17
17
 
18
18
  Python 3.6+ required. No external dependencies.
19
19
  """
@@ -444,7 +444,7 @@ def generate_template():
444
444
  "app_name": "YOUR_APP_NAME",
445
445
  "app_description": "YOUR_APP_DESCRIPTION",
446
446
  "created_at": now,
447
- "created_by": "app-planner",
447
+ "created_by": "feature-planner",
448
448
  "source_spec": "",
449
449
  "features": [
450
450
  {
@@ -740,7 +740,7 @@ def cmd_grade(args):
740
740
  """Handle the 'grade' command for evaluation framework integration.
741
741
 
742
742
  Collects validation results from eval runs and generates grading data.
743
- Used by npm run skill:review for automated evaluation of app-planner.
743
+ Used by npm run skill:review for automated evaluation of feature-planner.
744
744
  """
745
745
  workspace = getattr(args, 'workspace', None)
746
746
  iteration = getattr(args, 'iteration', None)
@@ -911,7 +911,7 @@ def main():
911
911
  p_grade.add_argument(
912
912
  "--workspace",
913
913
  required=True,
914
- help="Path to eval workspace (e.g., /.codebuddy/skill-evals/app-planner-workspace)",
914
+ help="Path to eval workspace (e.g., /.codebuddy/skill-evals/feature-planner-workspace)",
915
915
  )
916
916
  p_grade.add_argument(
917
917
  "--iteration",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "feature-workflow"
3
3
  tier: companion
4
- description: "One-stop entry point for feature development. Brainstorms requirements with the user until fully clarified, then orchestrates app-planner → dev-pipeline-launcher → execution. Handles multi-feature batch development from a single request. Use this skill whenever the user wants to build an app, develop multiple features at once, or go from idea to running code in one step. Trigger on: 'build an app', 'develop features', 'implement all features', 'one-stop development', 'batch implement', 'build a new application', 'build a system', 'one-click complete', 'batch implement'. (project)"
4
+ description: "One-stop entry point for feature development. Brainstorms requirements with the user until fully clarified, then orchestrates feature-planner → feature-pipeline-launcher → execution. Handles multi-feature batch development from a single request. Use this skill whenever the user wants to build an app, develop multiple features at once, or go from idea to running code in one step. Trigger on: 'build an app', 'develop features', 'implement all features', 'one-stop development', 'batch implement', 'build a new application', 'build a system', 'one-click complete', 'batch implement'. (project)"
5
5
  ---
6
6
 
7
7
  # Feature Workflow
@@ -18,8 +18,8 @@ User says:
18
18
  - After receiving a batch of related feature requests
19
19
 
20
20
  **Do NOT use this skill when:**
21
- - User only wants to plan features (use `app-planner` directly)
22
- - User only wants to launch pipeline for existing feature-list.json (use `dev-pipeline-launcher`)
21
+ - User only wants to plan features (use `feature-planner` directly)
22
+ - User only wants to launch pipeline for existing feature-list.json (use `feature-pipeline-launcher`)
23
23
  - User wants to fix bugs (use `bug-planner` + `bugfix-pipeline-launcher`)
24
24
  - User wants to refactor code (use `refactor-workflow`)
25
25
 
@@ -32,9 +32,9 @@ feature-workflow <idea / requirements>
32
32
 
33
33
  ├── Phase 1: Brainstorm → deep interactive Q&A until requirements are crystal clear
34
34
 
35
- ├── Phase 2: Plan → app-planner → feature-list.json
35
+ ├── Phase 2: Plan → feature-planner → feature-list.json
36
36
 
37
- ├── Phase 3: Launch → dev-pipeline-launcher → pipeline execution
37
+ ├── Phase 3: Launch → feature-pipeline-launcher → pipeline execution
38
38
 
39
39
  └── Phase 4: Monitor → track progress → report results
40
40
  ```
@@ -44,16 +44,16 @@ feature-workflow <idea / requirements>
44
44
  | Phase | Action | Result |
45
45
  |-------|--------|--------|
46
46
  | 1 | **Brainstorm** — interactive Q&A with user | Fully clarified requirements document |
47
- | 2 | Call `app-planner` with clarified requirements | `feature-list.json` with N features |
48
- | 3 | Call `dev-pipeline-launcher` | Pipeline started (execution mode chosen by user via launcher) |
47
+ | 2 | Call `feature-planner` with clarified requirements | `feature-list.json` with N features |
48
+ | 3 | Call `feature-pipeline-launcher` | Pipeline started (execution mode chosen by user via launcher) |
49
49
  | 4 | Monitor progress | Status updates, completion report |
50
50
 
51
51
  ### Why This Skill Exists
52
52
 
53
53
  Without this skill, users must:
54
54
  1. Figure out all requirements themselves
55
- 2. Invoke `app-planner` → wait for feature-list.json
56
- 3. Invoke `dev-pipeline-launcher` → wait for pipeline start
55
+ 2. Invoke `feature-planner` → wait for feature-list.json
56
+ 3. Invoke `feature-pipeline-launcher` → wait for pipeline start
57
57
  4. Manually check progress
58
58
 
59
59
  With this skill, users can:
@@ -79,22 +79,22 @@ Natural language description of the project or features. Can be:
79
79
  - A batch of features: "Implement user registration, login, and password recovery features"
80
80
  - An incremental request: "Add user avatar upload and nickname modification to the existing system"
81
81
 
82
- Flow: brainstorm → app-planner → dev-pipeline-launcher → monitor
82
+ Flow: brainstorm → feature-planner → feature-pipeline-launcher → monitor
83
83
 
84
84
  **Mode B: From existing feature-list.json**
85
85
 
86
86
  When user says "run pipeline from existing file" or feature-list.json already exists:
87
- - Skip brainstorm and `app-planner` (file already exists)
88
- - Invoke `dev-pipeline-launcher` directly
87
+ - Skip brainstorm and `feature-planner` (file already exists)
88
+ - Invoke `feature-pipeline-launcher` directly
89
89
  - Monitor and report progress
90
90
 
91
91
  **Mode C: Incremental (add to existing project)**
92
92
 
93
93
  When user says "add features to existing project" or the project already has features:
94
94
  - Brainstorm new feature requirements with the user
95
- - Invoke `app-planner` in incremental mode (reads existing feature-list.json)
95
+ - Invoke `feature-planner` in incremental mode (reads existing feature-list.json)
96
96
  - Append new features to existing list
97
- - Invoke `dev-pipeline-launcher`
97
+ - Invoke `feature-pipeline-launcher`
98
98
  - Monitor and report progress
99
99
 
100
100
  ---
@@ -236,13 +236,13 @@ Present this summary to the user and get explicit confirmation before proceeding
236
236
 
237
237
  **STEPS**:
238
238
 
239
- 1. **Invoke `app-planner` skill** with the full requirements summary from Phase 1:
239
+ 1. **Invoke `feature-planner` skill** with the full requirements summary from Phase 1:
240
240
  - Pass the structured requirements summary as input — NOT the raw user conversation
241
241
  - For new projects: standard planning mode
242
242
  - For existing projects with `--incremental`: incremental planning mode
243
243
 
244
- 2. **Interactive planning** (if app-planner requires clarification):
245
- - Because Phase 1 was thorough, app-planner should need minimal clarification
244
+ 2. **Interactive planning** (if feature-planner requires clarification):
245
+ - Because Phase 1 was thorough, feature-planner should need minimal clarification
246
246
  - If questions arise, answer from the Phase 1 context or pass through to user
247
247
 
248
248
  3. **Validate output**:
@@ -271,7 +271,7 @@ Present this summary to the user and get explicit confirmation before proceeding
271
271
  Proceed? (Y/n)
272
272
  ```
273
273
 
274
- 2. **Invoke `dev-pipeline-launcher` skill**:
274
+ 2. **Invoke `feature-pipeline-launcher` skill**:
275
275
  - The launcher handles all prerequisites checks
276
276
  - The launcher presents execution mode choices to the user (foreground/background/manual)
277
277
  - The launcher asks whether to enable Critic Agent (adversarial review) — passes `--critic` flag if chosen
@@ -294,7 +294,7 @@ Present this summary to the user and get explicit confirmation before proceeding
294
294
 
295
295
  1. **Initial status check**:
296
296
  ```bash
297
- dev-pipeline/launch-daemon.sh status
297
+ dev-pipeline/launch-feature-daemon.sh status
298
298
  ```
299
299
 
300
300
  2. **Offer monitoring options**:
@@ -363,7 +363,7 @@ While the pipeline runs, the user can continue the conversation:
363
363
  |-------|--------|
364
364
  | User's idea is too vague to brainstorm | Ask for more context: "Can you describe the main problem this solves?" |
365
365
  | Brainstorming stalls | Offer concrete options: "Would you prefer A or B?" |
366
- | `app-planner` cannot parse requirements | Refine the requirements summary and retry |
366
+ | `feature-planner` cannot parse requirements | Refine the requirements summary and retry |
367
367
  | `feature-list.json` generation failed | Show error, retry with refined input |
368
368
  | Pipeline launch failed | Show daemon log, suggest manual start |
369
369
  | All features blocked/failed | Show status, suggest retrying specific features |
@@ -375,8 +375,8 @@ While the pipeline runs, the user can continue the conversation:
375
375
 
376
376
  | Skill | Relationship |
377
377
  |-------|-------------|
378
- | `app-planner` | **Called by Phase 2** — generates feature-list.json from clarified requirements |
379
- | `dev-pipeline-launcher` | **Called by Phase 3** — starts pipeline (handles execution mode selection) |
378
+ | `feature-planner` | **Called by Phase 2** — generates feature-list.json from clarified requirements |
379
+ | `feature-pipeline-launcher` | **Called by Phase 3** — starts pipeline (handles execution mode selection) |
380
380
  | `bug-planner` | **Alternative** — for bug fix workflows |
381
381
  | `bugfix-pipeline-launcher` | **Alternative** — for bug fix pipelines |
382
382
  | `refactor-workflow` | **Alternative** — for code restructuring |
@@ -389,7 +389,7 @@ While the pipeline runs, the user can continue the conversation:
389
389
  |-----------|-----------------|------------------|-------------------|
390
390
  | **Purpose** | New features (batch) | Single bug fix (interactive) | Code restructuring |
391
391
  | **Brainstorming** | Yes — deep interactive Q&A | No (bug report is input) | No (analysis built-in) |
392
- | **Planning Skill** | `app-planner` | None (triage built-in) | None (analysis built-in) |
392
+ | **Planning Skill** | `feature-planner` | None (triage built-in) | None (analysis built-in) |
393
393
  | **Branch** | Pipeline manages per-feature | `fix/<BUG_ID>-*` | `refactor/<slug>` |
394
394
  | **Execution** | Foreground or background daemon | In-session, interactive | In-session |
395
395
  | **Input** | Rough idea or requirements | Bug report / stack trace | Module / code target |
@@ -1,12 +1,10 @@
1
1
  ---
2
2
  name: "prizm-kit"
3
- description: "Full-lifecycle dev toolkit. Covers spec-driven development, Prizm context docs, code quality, debugging, deployment, and knowledge management. Use this skill whenever the user asks about PrizmKit workflow, wants to know which command to use, or needs help choosing between full workflow and fast path. Trigger on: '/prizmkit', 'prizmkit help', 'which prizmkit command', 'how do I start a feature'. (project)"
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', or '/prizmkit'. (project)"
4
4
  ---
5
5
 
6
6
  # PrizmKit — Full-Lifecycle Development Toolkit
7
7
 
8
- PrizmKit is a comprehensive, independent AI development toolkit that covers the complete development lifecycle from project inception to delivery and maintenance. It can take over any project and keep documentation in sync with code.
9
-
10
8
 
11
9
  ## When to Use the Full Workflow
12
10
 
@@ -1,12 +1,10 @@
1
1
  ---
2
2
  name: "prizmkit-analyze"
3
- description: "Cross-document consistency analysis for spec.md and plan.md (including Tasks section). Detects duplications, ambiguities, gaps, and rule conflicts. Read-only. Use this skill to check if spec and plan are aligned, validate documents before coding, or as a quality gate after planning. Trigger on: 'analyze', 'check consistency', 'validate spec', 'review plan', 'is the spec ready', 'check if spec and plan are aligned', 'validate documents before coding'. (project)"
3
+ description: "Cross-document consistency analysis for spec.md and plan.md. Detects duplications, ambiguities, gaps, and rule conflicts. Read-only quality gate use after /prizmkit-plan, before /prizmkit-implement. Trigger on: 'analyze', 'check consistency', 'validate spec', 'review plan', 'is the spec ready'. (project)"
4
4
  ---
5
5
 
6
6
  # PrizmKit Analyze
7
7
 
8
- Perform a non-destructive cross-artifact consistency and quality analysis across spec.md and plan.md (including Tasks section) before implementation. Identifies duplications, ambiguities, underspecified items, rule conflicts, and coverage gaps.
9
-
10
8
  ### When to Use
11
9
  - After `/prizmkit-plan` to validate spec-plan-tasks alignment before implementation
12
10
  - User says "analyze", "check consistency", "validate spec", "review plan"
@@ -179,7 +177,6 @@ Ask the user: "Would you like me to suggest concrete remediation edits for the t
179
177
  - Rerunning without changes should produce consistent IDs and counts (deterministic)
180
178
 
181
179
  ### Analysis Approach
182
- - Do not modify files — read-only analysis ensures artifacts remain stable for the implement phase
183
180
  - If a section is absent, report it accurately rather than guessing what it might contain
184
181
  - Prizm Rules violations are always CRITICAL — they represent project-wide constraints that outrank individual feature decisions
185
182
  - Cite specific instances rather than generic patterns — "spec §2.1 says REST but plan §Architecture says GraphQL" is more useful than "terminology inconsistency found"
@@ -207,4 +204,4 @@ In unattended pipeline mode, the analyze→fix→analyze cycle can loop indefini
207
204
 
208
205
  ## Output
209
206
 
210
- Analysis report is output to conversation only. No files are created or modified.
207
+ Analysis report is output to conversation only.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "prizmkit-code-review"
3
- description: "Code review with fix strategy formulation. Diagnoses issues across 6 dimensions, then produces structured Fix Instructions with root cause, impact analysis, and verification criteria. Use after implementation as quality gate before committing. Trigger on: 'review', 'check code', 'review my implementation', 'code review', 'is it ready to commit'. (project)"
3
+ description: "Code review with fix strategy formulation. Diagnoses issues across 6 dimensions, then produces structured Fix Instructions. Use after /prizmkit-implement as quality gate before committing. Trigger on: 'review', 'check code', 'code review', 'is it ready to commit'. (project)"
4
4
  ---
5
5
 
6
6
  # PrizmKit Code Review
@@ -31,7 +31,7 @@ The review itself is read-only. Fix Instructions are structured guidance for the
31
31
 
32
32
  1. **Detect mode and load review baseline + dimension rules**:
33
33
  - If `spec.md` exists → **Feature mode**: read `spec.md` + `plan.md` as baseline. Load `${SKILL_DIR}/rules/dimensions-feature.md` for review dimensions.
34
- - If `refactor-analysis.md` exists → **Refactor mode**: read `refactor-analysis.md` + `plan.md` as baseline. Load `${SKILL_DIR}/rules/dimensions-refactor.md` for review dimensions.
34
+ - If `refactor-analysis.md` exists → **Refactor mode**: read `refactor-analysis.md` + `plan.md` as baseline. Load `${SKILL_DIR}/rules/dimensions-refactor.md` for refactor-specific dimensions, **and also** `${SKILL_DIR}/rules/dimensions-feature.md` §3–§6 for standard dimensions (code quality, security, consistency, test coverage) that still apply.
35
35
  - If `fix-plan.md` exists → **Bugfix mode**: read `fix-plan.md` as baseline. Load `${SKILL_DIR}/rules/dimensions-bugfix.md` for review dimensions.
36
36
  - If none found → prompt user: "No review baseline found. Which workflow are you in? (feature/refactor/bugfix)"
37
37
  2. Read **architecture index**: `.prizm-docs/root.prizm` RULES and PATTERNS for project conventions
@@ -1,14 +1,10 @@
1
1
  ---
2
2
  name: "prizmkit-committer"
3
- description: "Pure git commit workflow with safety checks. Stages files, analyzes diff, generates Conventional Commits message, and commits. Does NOT modify .prizm-docs/ — architecture sync is handled by /prizmkit-retrospective before this skill is invoked. Trigger on: 'commit', 'submit', 'finish', 'done', 'ship it', 'save my work'. (project)"
3
+ description: "Pure git commit workflow with safety checks. Stages files, generates Conventional Commits message, and commits. Does NOT modify .prizm-docs/ — run /prizmkit-retrospective first. Trigger on: 'commit', 'submit', 'finish', 'done', 'ship it'. (project)"
4
4
  ---
5
5
 
6
6
  # PrizmKit Committer
7
7
 
8
- Pure git commit workflow. Analyzes changes, generates a Conventional Commits message, performs safety checks, and commits.
9
-
10
- **This skill is a pure git commit tool. It does NOT modify any project files — no `.prizm-docs/`, no source code.** It only reads diffs, generates a commit message, and commits. For feature/refactor workflows, run `/prizmkit-retrospective` (and optionally `/prizmkit-deploy` if new infrastructure was introduced) before this skill. For bug fixes, skip retrospective and deploy entirely.
11
-
12
8
  ### When to Use
13
9
  - User says "commit", "submit", "finish", "done with this task", "ship it"
14
10
  - After `/prizmkit-retrospective` has finished architecture sync
@@ -24,7 +20,7 @@ Pure git commit workflow. Analyzes changes, generates a Conventional Commits mes
24
20
 
25
21
  ### Workflow
26
22
 
27
- Follow these steps STRICTLY in order:
23
+ Follow these steps in order — skipping or reordering can stage sensitive files or commit without proper verification:
28
24
 
29
25
  #### Step 1: Status Check
30
26
  ```bash
@@ -33,8 +29,8 @@ git status
33
29
  - If "nothing to commit, working tree clean": inform user and stop
34
30
  - If there are changes: proceed
35
31
 
36
- #### Step 2: Condense Commit
37
- By consulting the primary agent or based on the existing context, condense this commit message.
32
+ #### Step 2: Generate Commit Message
33
+ Analyze the staged diff and context (spec title, plan summary, review verdict) to generate a concise Conventional Commits message. The message should capture the *what* and *why* of the change.
38
34
 
39
35
  #### Step 3: Update CHANGELOG.md
40
36
  If CHANGELOG.md exists in the project root, append an entry following Keep a Changelog format under the `[Unreleased]` section. Match the existing style in the file.
@@ -1,14 +1,10 @@
1
1
  ---
2
2
  name: "prizmkit-deploy"
3
- description: "Generate or update deployment documentation based on project state and deploy strategy. Produces DEPLOY.md with local dev setup, testing, production deployment, and rollback procedures. Fully autonomous — no user interaction required. Use after /prizmkit-retrospective and before /prizmkit-committer. Trigger on: 'deploy docs', 'deployment guide', 'how to deploy', 'generate deploy', 'update deploy'. (project)"
3
+ description: "Generate or update DEPLOY.md with local dev setup, testing, production deployment, and rollback procedures. Fully autonomous. Use after /prizmkit-retrospective, before /prizmkit-committer. Trigger on: 'deploy docs', 'deployment guide', 'how to deploy', 'DEPLOY.md'. (project)"
4
4
  ---
5
5
 
6
6
  # PrizmKit Deploy
7
7
 
8
- Generate or update deployment documentation by scanning the project's actual state and reading the deployment strategy from `.prizmkit/config.json`. Produces a `DEPLOY.md` at the project root covering local development, testing, production deployment, and rollback.
9
-
10
- **This skill generates documentation — it does NOT execute any deployment operations.**
11
-
12
8
  ### When to Use
13
9
  - After `/prizmkit-retrospective` and before `/prizmkit-committer` to complete documentation before commit
14
10
  - After a batch of features has been implemented and reviewed