prizmkit 1.1.100 → 1.1.102

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 (317) hide show
  1. package/bin/create-prizmkit.js +4 -4
  2. package/bundled/VERSION.json +3 -3
  3. package/bundled/dev-pipeline/.env.example +3 -3
  4. package/bundled/dev-pipeline/README.md +110 -90
  5. package/bundled/dev-pipeline/assets/prizm-dev-team-integration.md +1 -1
  6. package/bundled/dev-pipeline/cli.py +27 -0
  7. package/bundled/dev-pipeline/prizmkit_runtime/__init__.py +13 -0
  8. package/bundled/dev-pipeline/prizmkit_runtime/__main__.py +9 -0
  9. package/bundled/dev-pipeline/prizmkit_runtime/cli.py +193 -0
  10. package/bundled/dev-pipeline/prizmkit_runtime/commands.py +313 -0
  11. package/bundled/dev-pipeline/prizmkit_runtime/compat.py +32 -0
  12. package/bundled/dev-pipeline/prizmkit_runtime/config.py +410 -0
  13. package/bundled/dev-pipeline/prizmkit_runtime/daemon.py +478 -0
  14. package/bundled/dev-pipeline/prizmkit_runtime/gitops.py +734 -0
  15. package/bundled/dev-pipeline/prizmkit_runtime/heartbeat.py +256 -0
  16. package/bundled/dev-pipeline/prizmkit_runtime/interoperability.py +109 -0
  17. package/bundled/dev-pipeline/prizmkit_runtime/paths.py +110 -0
  18. package/bundled/dev-pipeline/prizmkit_runtime/processes.py +373 -0
  19. package/bundled/dev-pipeline/prizmkit_runtime/reset.py +389 -0
  20. package/bundled/dev-pipeline/prizmkit_runtime/runner_bookkeeping.py +51 -0
  21. package/bundled/dev-pipeline/prizmkit_runtime/runner_classification.py +179 -0
  22. package/bundled/dev-pipeline/prizmkit_runtime/runner_models.py +355 -0
  23. package/bundled/dev-pipeline/prizmkit_runtime/runner_prompts.py +118 -0
  24. package/bundled/dev-pipeline/prizmkit_runtime/runner_recovery.py +187 -0
  25. package/bundled/dev-pipeline/prizmkit_runtime/runner_status.py +153 -0
  26. package/bundled/dev-pipeline/prizmkit_runtime/runners.py +425 -0
  27. package/bundled/dev-pipeline/prizmkit_runtime/sessions.py +560 -0
  28. package/bundled/dev-pipeline/prizmkit_runtime/status.py +71 -0
  29. package/bundled/dev-pipeline/scripts/generate-bootstrap-prompt.py +51 -36
  30. package/bundled/dev-pipeline/scripts/generate-bugfix-prompt.py +20 -5
  31. package/bundled/dev-pipeline/scripts/generate-recovery-prompt.py +2 -2
  32. package/bundled/dev-pipeline/scripts/parse-stream-progress.py +39 -0
  33. package/bundled/dev-pipeline/templates/agent-prompts/dev-implement.md +8 -2
  34. package/bundled/dev-pipeline/templates/agent-prompts/reviewer-review.md +1 -1
  35. package/bundled/dev-pipeline/templates/bootstrap-prompt.md +6 -2
  36. package/bundled/dev-pipeline/templates/bootstrap-tier1.md +14 -6
  37. package/bundled/dev-pipeline/templates/bootstrap-tier2.md +14 -4
  38. package/bundled/dev-pipeline/templates/bootstrap-tier3.md +14 -4
  39. package/bundled/dev-pipeline/templates/sections/context-budget-rules.md +2 -0
  40. package/bundled/dev-pipeline/templates/sections/log-size-awareness.md +9 -30
  41. package/bundled/dev-pipeline/templates/sections/phase-context-snapshot-agent-suffix.md +15 -7
  42. package/bundled/dev-pipeline/templates/sections/phase-implement-agent.md +42 -29
  43. package/bundled/dev-pipeline/templates/sections/phase-implement-full.md +41 -39
  44. package/bundled/dev-pipeline/templates/sections/phase-implement-lite.md +8 -17
  45. package/bundled/dev-pipeline/templates/sections/phase-prizmkit-test.md +2 -2
  46. package/bundled/dev-pipeline/templates/sections/phase-review-agent.md +1 -3
  47. package/bundled/dev-pipeline/templates/sections/phase-review-full.md +1 -3
  48. package/bundled/dev-pipeline/templates/sections/phase0-test-baseline.md +3 -8
  49. package/bundled/dev-pipeline/templates/sections/test-failure-recovery-agent.md +6 -2
  50. package/bundled/dev-pipeline/templates/sections/test-failure-recovery-lite.md +5 -1
  51. package/bundled/dev-pipeline/tests/test_auto_skip.py +436 -14
  52. package/bundled/dev-pipeline/tests/test_generate_bootstrap_prompt.py +115 -7
  53. package/bundled/dev-pipeline/tests/test_generate_bugfix_prompt.py +40 -0
  54. package/bundled/dev-pipeline/tests/test_python_runner_parity.py +1226 -0
  55. package/bundled/dev-pipeline/tests/test_unified_cli.py +1045 -0
  56. package/bundled/skills/_metadata.json +1 -1
  57. package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +29 -34
  58. package/bundled/skills/bugfix-pipeline-launcher/references/configuration.md +6 -5
  59. package/bundled/skills/feature-pipeline-launcher/SKILL.md +29 -35
  60. package/bundled/skills/feature-pipeline-launcher/references/configuration.md +7 -6
  61. package/bundled/skills/feature-workflow/SKILL.md +3 -6
  62. package/bundled/skills/recovery-workflow/SKILL.md +23 -32
  63. package/bundled/skills/refactor-pipeline-launcher/SKILL.md +29 -35
  64. package/bundled/skills/refactor-pipeline-launcher/references/configuration.md +7 -6
  65. package/bundled/skills/refactor-workflow/SKILL.md +3 -6
  66. package/bundled/templates/hooks/commit-intent.json +2 -2
  67. package/bundled/templates/hooks/diff-prizm-docs.py +226 -0
  68. package/bundled/templates/hooks/prizm-pre-commit.py +45 -0
  69. package/bundled/templates/hooks/validate-prizm-docs.py +240 -0
  70. package/package.json +1 -1
  71. package/src/config.js +42 -19
  72. package/src/external-skills.js +14 -14
  73. package/src/index.js +3 -6
  74. package/src/manifest.js +11 -5
  75. package/src/metadata.js +7 -18
  76. package/src/platforms.js +25 -0
  77. package/src/prompts.js +0 -12
  78. package/src/runtimes.js +18 -11
  79. package/src/scaffold.js +144 -122
  80. package/src/upgrade.js +12 -3
  81. package/bundled/dev-pipeline/launch-bugfix-daemon.sh +0 -500
  82. package/bundled/dev-pipeline/launch-feature-daemon.sh +0 -657
  83. package/bundled/dev-pipeline/launch-refactor-daemon.sh +0 -502
  84. package/bundled/dev-pipeline/lib/branch.sh +0 -326
  85. package/bundled/dev-pipeline/lib/common.sh +0 -1476
  86. package/bundled/dev-pipeline/lib/heartbeat.sh +0 -469
  87. package/bundled/dev-pipeline/reset-bug.sh +0 -425
  88. package/bundled/dev-pipeline/reset-feature.sh +0 -436
  89. package/bundled/dev-pipeline/reset-refactor.sh +0 -423
  90. package/bundled/dev-pipeline/run-bugfix.sh +0 -1430
  91. package/bundled/dev-pipeline/run-feature.sh +0 -1718
  92. package/bundled/dev-pipeline/run-recovery.sh +0 -648
  93. package/bundled/dev-pipeline/run-refactor.sh +0 -1463
  94. package/bundled/dev-pipeline/tests/test-path-resolution.sh +0 -100
  95. package/bundled/dev-pipeline-windows/.env.example +0 -36
  96. package/bundled/dev-pipeline-windows/README.md +0 -30
  97. package/bundled/dev-pipeline-windows/SCHEMA_ANALYSIS.md +0 -533
  98. package/bundled/dev-pipeline-windows/assets/feature-list-example.json +0 -146
  99. package/bundled/dev-pipeline-windows/assets/prizm-dev-team-integration.md +0 -137
  100. package/bundled/dev-pipeline-windows/launch-bugfix-daemon.ps1 +0 -9
  101. package/bundled/dev-pipeline-windows/launch-feature-daemon.ps1 +0 -9
  102. package/bundled/dev-pipeline-windows/launch-refactor-daemon.ps1 +0 -9
  103. package/bundled/dev-pipeline-windows/lib/branch.ps1 +0 -235
  104. package/bundled/dev-pipeline-windows/lib/common.ps1 +0 -991
  105. package/bundled/dev-pipeline-windows/lib/daemon.ps1 +0 -140
  106. package/bundled/dev-pipeline-windows/lib/pipeline.ps1 +0 -1051
  107. package/bundled/dev-pipeline-windows/lib/reset.ps1 +0 -121
  108. package/bundled/dev-pipeline-windows/reset-bug.ps1 +0 -10
  109. package/bundled/dev-pipeline-windows/reset-feature.ps1 +0 -10
  110. package/bundled/dev-pipeline-windows/reset-refactor.ps1 +0 -10
  111. package/bundled/dev-pipeline-windows/run-bugfix.ps1 +0 -9
  112. package/bundled/dev-pipeline-windows/run-feature.ps1 +0 -9
  113. package/bundled/dev-pipeline-windows/run-recovery.ps1 +0 -179
  114. package/bundled/dev-pipeline-windows/run-refactor.ps1 +0 -9
  115. package/bundled/dev-pipeline-windows/scripts/check-session-status.py +0 -301
  116. package/bundled/dev-pipeline-windows/scripts/continuation.py +0 -374
  117. package/bundled/dev-pipeline-windows/scripts/detect-stuck.py +0 -530
  118. package/bundled/dev-pipeline-windows/scripts/generate-bootstrap-prompt.py +0 -2279
  119. package/bundled/dev-pipeline-windows/scripts/generate-bugfix-prompt.py +0 -763
  120. package/bundled/dev-pipeline-windows/scripts/generate-recovery-prompt.py +0 -805
  121. package/bundled/dev-pipeline-windows/scripts/generate-refactor-prompt.py +0 -841
  122. package/bundled/dev-pipeline-windows/scripts/init-bugfix-pipeline.py +0 -316
  123. package/bundled/dev-pipeline-windows/scripts/init-dev-team.py +0 -134
  124. package/bundled/dev-pipeline-windows/scripts/init-pipeline.py +0 -382
  125. package/bundled/dev-pipeline-windows/scripts/init-refactor-pipeline.py +0 -399
  126. package/bundled/dev-pipeline-windows/scripts/parse-stream-progress.py +0 -1362
  127. package/bundled/dev-pipeline-windows/scripts/patch-completion-notes.py +0 -191
  128. package/bundled/dev-pipeline-windows/scripts/prizmkit-test-gate.py +0 -446
  129. package/bundled/dev-pipeline-windows/scripts/update-bug-status.py +0 -1121
  130. package/bundled/dev-pipeline-windows/scripts/update-checkpoint.py +0 -173
  131. package/bundled/dev-pipeline-windows/scripts/update-feature-status.py +0 -1789
  132. package/bundled/dev-pipeline-windows/scripts/update-refactor-status.py +0 -1327
  133. package/bundled/dev-pipeline-windows/scripts/utils.py +0 -542
  134. package/bundled/dev-pipeline-windows/templates/agent-prompts/critic-plan-challenge.md +0 -7
  135. package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-fix.md +0 -7
  136. package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-implement.md +0 -65
  137. package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-resume.md +0 -5
  138. package/bundled/dev-pipeline-windows/templates/agent-prompts/reviewer-review.md +0 -7
  139. package/bundled/dev-pipeline-windows/templates/bootstrap-prompt.md +0 -73
  140. package/bundled/dev-pipeline-windows/templates/bootstrap-tier1.md +0 -589
  141. package/bundled/dev-pipeline-windows/templates/bootstrap-tier2.md +0 -710
  142. package/bundled/dev-pipeline-windows/templates/bootstrap-tier3.md +0 -791
  143. package/bundled/dev-pipeline-windows/templates/bug-fix-list-schema.json +0 -263
  144. package/bundled/dev-pipeline-windows/templates/bugfix-bootstrap-prompt.md +0 -326
  145. package/bundled/dev-pipeline-windows/templates/feature-list-schema.json +0 -237
  146. package/bundled/dev-pipeline-windows/templates/refactor-bootstrap-prompt.md +0 -340
  147. package/bundled/dev-pipeline-windows/templates/refactor-list-schema.json +0 -270
  148. package/bundled/dev-pipeline-windows/templates/sections/ac-verification-checklist.md +0 -7
  149. package/bundled/dev-pipeline-windows/templates/sections/checkpoint-system.md +0 -91
  150. package/bundled/dev-pipeline-windows/templates/sections/context-budget-rules.md +0 -34
  151. package/bundled/dev-pipeline-windows/templates/sections/critical-paths-agent.md +0 -10
  152. package/bundled/dev-pipeline-windows/templates/sections/critical-paths-full.md +0 -12
  153. package/bundled/dev-pipeline-windows/templates/sections/critical-paths-lite.md +0 -7
  154. package/bundled/dev-pipeline-windows/templates/sections/directory-convention-agent.md +0 -8
  155. package/bundled/dev-pipeline-windows/templates/sections/directory-convention-full.md +0 -9
  156. package/bundled/dev-pipeline-windows/templates/sections/directory-convention-lite.md +0 -6
  157. package/bundled/dev-pipeline-windows/templates/sections/failure-capture.md +0 -21
  158. package/bundled/dev-pipeline-windows/templates/sections/feature-context.md +0 -21
  159. package/bundled/dev-pipeline-windows/templates/sections/log-size-awareness.md +0 -41
  160. package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification-auto.md +0 -283
  161. package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification-opencli.md +0 -112
  162. package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification.md +0 -168
  163. package/bundled/dev-pipeline-windows/templates/sections/phase-commit-full.md +0 -82
  164. package/bundled/dev-pipeline-windows/templates/sections/phase-commit.md +0 -75
  165. package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-agent-suffix.md +0 -23
  166. package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-base.md +0 -14
  167. package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-lite-suffix.md +0 -19
  168. package/bundled/dev-pipeline-windows/templates/sections/phase-critic-plan-full.md +0 -63
  169. package/bundled/dev-pipeline-windows/templates/sections/phase-critic-plan.md +0 -42
  170. package/bundled/dev-pipeline-windows/templates/sections/phase-implement-agent.md +0 -44
  171. package/bundled/dev-pipeline-windows/templates/sections/phase-implement-full.md +0 -59
  172. package/bundled/dev-pipeline-windows/templates/sections/phase-implement-lite.md +0 -39
  173. package/bundled/dev-pipeline-windows/templates/sections/phase-plan-agent.md +0 -27
  174. package/bundled/dev-pipeline-windows/templates/sections/phase-plan-lite.md +0 -27
  175. package/bundled/dev-pipeline-windows/templates/sections/phase-prizmkit-test.md +0 -39
  176. package/bundled/dev-pipeline-windows/templates/sections/phase-review-agent.md +0 -35
  177. package/bundled/dev-pipeline-windows/templates/sections/phase-review-full.md +0 -35
  178. package/bundled/dev-pipeline-windows/templates/sections/phase-specify-plan-full.md +0 -73
  179. package/bundled/dev-pipeline-windows/templates/sections/phase0-init.md +0 -13
  180. package/bundled/dev-pipeline-windows/templates/sections/phase0-test-baseline.md +0 -21
  181. package/bundled/dev-pipeline-windows/templates/sections/session-context.md +0 -5
  182. package/bundled/dev-pipeline-windows/templates/sections/subagent-timeout-recovery.md +0 -6
  183. package/bundled/dev-pipeline-windows/templates/sections/task-contract.md +0 -34
  184. package/bundled/dev-pipeline-windows/templates/sections/test-failure-recovery-agent.md +0 -48
  185. package/bundled/dev-pipeline-windows/templates/sections/test-failure-recovery-lite.md +0 -48
  186. package/bundled/dev-pipeline-windows/templates/session-status-schema.json +0 -83
  187. package/bundled/skills-windows/app-planner/SKILL.md +0 -296
  188. package/bundled/skills-windows/app-planner/assets/app-design-guide.md +0 -101
  189. package/bundled/skills-windows/app-planner/references/architecture-decisions.md +0 -52
  190. package/bundled/skills-windows/app-planner/references/brainstorm-guide.md +0 -101
  191. package/bundled/skills-windows/app-planner/references/frontend-design-guide.md +0 -71
  192. package/bundled/skills-windows/app-planner/references/infrastructure-convention-discovery.md +0 -108
  193. package/bundled/skills-windows/app-planner/references/project-brief-guide.md +0 -82
  194. package/bundled/skills-windows/app-planner/references/project-conventions-discovery.md +0 -59
  195. package/bundled/skills-windows/app-planner/references/project-state-detection.md +0 -90
  196. package/bundled/skills-windows/app-planner/references/red-team-checklist.md +0 -40
  197. package/bundled/skills-windows/app-planner/references/rules/backend/derivation-rules.md +0 -619
  198. package/bundled/skills-windows/app-planner/references/rules/backend/fixed-rules.md +0 -285
  199. package/bundled/skills-windows/app-planner/references/rules/backend/question-bank.md +0 -249
  200. package/bundled/skills-windows/app-planner/references/rules/backend/question-manifest.json +0 -46
  201. package/bundled/skills-windows/app-planner/references/rules/backend/template.md +0 -173
  202. package/bundled/skills-windows/app-planner/references/rules/database/derivation-rules.md +0 -382
  203. package/bundled/skills-windows/app-planner/references/rules/database/fixed-rules.md +0 -211
  204. package/bundled/skills-windows/app-planner/references/rules/database/question-bank.md +0 -184
  205. package/bundled/skills-windows/app-planner/references/rules/database/question-manifest.json +0 -39
  206. package/bundled/skills-windows/app-planner/references/rules/database/template.md +0 -158
  207. package/bundled/skills-windows/app-planner/references/rules/frontend/derivation-rules.md +0 -820
  208. package/bundled/skills-windows/app-planner/references/rules/frontend/fixed-rules.md +0 -188
  209. package/bundled/skills-windows/app-planner/references/rules/frontend/question-bank.md +0 -319
  210. package/bundled/skills-windows/app-planner/references/rules/frontend/question-manifest.json +0 -51
  211. package/bundled/skills-windows/app-planner/references/rules/frontend/template.md +0 -339
  212. package/bundled/skills-windows/app-planner/references/rules/mobile/derivation-rules.md +0 -649
  213. package/bundled/skills-windows/app-planner/references/rules/mobile/fixed-rules.md +0 -290
  214. package/bundled/skills-windows/app-planner/references/rules/mobile/question-bank.md +0 -232
  215. package/bundled/skills-windows/app-planner/references/rules/mobile/question-manifest.json +0 -47
  216. package/bundled/skills-windows/app-planner/references/rules/mobile/template.md +0 -175
  217. package/bundled/skills-windows/app-planner/references/rules-configuration.md +0 -46
  218. package/bundled/skills-windows/bug-fix-workflow/SKILL.md +0 -379
  219. package/bundled/skills-windows/bug-fix-workflow/references/bug-diagnosis.md +0 -41
  220. package/bundled/skills-windows/bug-planner/SKILL.md +0 -402
  221. package/bundled/skills-windows/bug-planner/assets/bug-confirmation-template.md +0 -43
  222. package/bundled/skills-windows/bug-planner/references/critic-and-verification.md +0 -44
  223. package/bundled/skills-windows/bug-planner/references/error-recovery.md +0 -73
  224. package/bundled/skills-windows/bug-planner/references/input-formats.md +0 -53
  225. package/bundled/skills-windows/bug-planner/references/schema-validation.md +0 -25
  226. package/bundled/skills-windows/bug-planner/references/severity-rules.md +0 -16
  227. package/bundled/skills-windows/bug-planner/scripts/validate-bug-list.py +0 -322
  228. package/bundled/skills-windows/bugfix-pipeline-launcher/SKILL.md +0 -304
  229. package/bundled/skills-windows/bugfix-pipeline-launcher/references/configuration.md +0 -84
  230. package/bundled/skills-windows/feature-pipeline-launcher/SKILL.md +0 -381
  231. package/bundled/skills-windows/feature-pipeline-launcher/references/configuration.md +0 -67
  232. package/bundled/skills-windows/feature-pipeline-launcher/scripts/preflight-check.py +0 -462
  233. package/bundled/skills-windows/feature-planner/SKILL.md +0 -397
  234. package/bundled/skills-windows/feature-planner/assets/evaluation-guide.md +0 -64
  235. package/bundled/skills-windows/feature-planner/assets/planning-guide.md +0 -214
  236. package/bundled/skills-windows/feature-planner/references/browser-interaction.md +0 -59
  237. package/bundled/skills-windows/feature-planner/references/completeness-review.md +0 -57
  238. package/bundled/skills-windows/feature-planner/references/decomposition-patterns.md +0 -75
  239. package/bundled/skills-windows/feature-planner/references/error-recovery.md +0 -90
  240. package/bundled/skills-windows/feature-planner/references/incremental-feature-planning.md +0 -112
  241. package/bundled/skills-windows/feature-planner/references/new-project-planning.md +0 -85
  242. package/bundled/skills-windows/feature-planner/scripts/validate-and-generate.py +0 -1020
  243. package/bundled/skills-windows/feature-workflow/SKILL.md +0 -374
  244. package/bundled/skills-windows/feature-workflow/references/brainstorm-guide.md +0 -137
  245. package/bundled/skills-windows/prizm-kit/SKILL.md +0 -93
  246. package/bundled/skills-windows/prizmkit-code-review/SKILL.md +0 -161
  247. package/bundled/skills-windows/prizmkit-code-review/references/dev-agent-prompt.md +0 -30
  248. package/bundled/skills-windows/prizmkit-code-review/references/review-report-template.md +0 -31
  249. package/bundled/skills-windows/prizmkit-code-review/references/reviewer-agent-prompt.md +0 -66
  250. package/bundled/skills-windows/prizmkit-code-review/scripts/check_loop.py +0 -186
  251. package/bundled/skills-windows/prizmkit-committer/SKILL.md +0 -89
  252. package/bundled/skills-windows/prizmkit-deploy/SKILL.md +0 -444
  253. package/bundled/skills-windows/prizmkit-deploy/references/ci-cd-workflows.md +0 -115
  254. package/bundled/skills-windows/prizmkit-deploy/references/cloud-platform-deploy.md +0 -93
  255. package/bundled/skills-windows/prizmkit-deploy/references/data-safety-examples.md +0 -120
  256. package/bundled/skills-windows/prizmkit-deploy/references/database-setup.md +0 -46
  257. package/bundled/skills-windows/prizmkit-deploy/references/deploy-config-schema.md +0 -148
  258. package/bundled/skills-windows/prizmkit-deploy/references/deploy-history-schema.md +0 -62
  259. package/bundled/skills-windows/prizmkit-deploy/references/deployment-modes.md +0 -50
  260. package/bundled/skills-windows/prizmkit-deploy/references/direct-upload.md +0 -26
  261. package/bundled/skills-windows/prizmkit-deploy/references/dns-setup.md +0 -42
  262. package/bundled/skills-windows/prizmkit-deploy/references/docker-deploy.md +0 -31
  263. package/bundled/skills-windows/prizmkit-deploy/references/firewall-setup.md +0 -37
  264. package/bundled/skills-windows/prizmkit-deploy/references/live-validation-notes.md +0 -21
  265. package/bundled/skills-windows/prizmkit-deploy/references/nginx-blue-green.md +0 -59
  266. package/bundled/skills-windows/prizmkit-deploy/references/ssh-bootstrap-flow.md +0 -49
  267. package/bundled/skills-windows/prizmkit-deploy/references/ssh-execution-flow.md +0 -41
  268. package/bundled/skills-windows/prizmkit-deploy/references/ssh-takeover.md +0 -20
  269. package/bundled/skills-windows/prizmkit-deploy/references/ssl-setup.md +0 -56
  270. package/bundled/skills-windows/prizmkit-implement/SKILL.md +0 -71
  271. package/bundled/skills-windows/prizmkit-init/SKILL.md +0 -356
  272. package/bundled/skills-windows/prizmkit-init/assets/project-brief-template.md +0 -82
  273. package/bundled/skills-windows/prizmkit-init/references/config-schema.md +0 -70
  274. package/bundled/skills-windows/prizmkit-init/references/rules/layer-detection.md +0 -41
  275. package/bundled/skills-windows/prizmkit-init/references/tech-stack-catalog.md +0 -13
  276. package/bundled/skills-windows/prizmkit-init/references/update-supplement.md +0 -9
  277. package/bundled/skills-windows/prizmkit-plan/SKILL.md +0 -102
  278. package/bundled/skills-windows/prizmkit-plan/assets/plan-template.md +0 -115
  279. package/bundled/skills-windows/prizmkit-plan/assets/spec-template.md +0 -73
  280. package/bundled/skills-windows/prizmkit-plan/references/clarify-guide.md +0 -67
  281. package/bundled/skills-windows/prizmkit-plan/references/examples.md +0 -85
  282. package/bundled/skills-windows/prizmkit-plan/references/verification-checklist.md +0 -60
  283. package/bundled/skills-windows/prizmkit-prizm-docs/SKILL.md +0 -129
  284. package/bundled/skills-windows/prizmkit-prizm-docs/assets/prizm-docs-format.md +0 -613
  285. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-init.md +0 -45
  286. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-rebuild.md +0 -15
  287. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-status.md +0 -14
  288. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-update.md +0 -19
  289. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-validate.md +0 -17
  290. package/bundled/skills-windows/prizmkit-retrospective/SKILL.md +0 -87
  291. package/bundled/skills-windows/prizmkit-retrospective/references/knowledge-injection-steps.md +0 -50
  292. package/bundled/skills-windows/prizmkit-retrospective/references/structural-sync-steps.md +0 -43
  293. package/bundled/skills-windows/prizmkit-test/SKILL.md +0 -227
  294. package/bundled/skills-windows/prizmkit-test/references/boundary-coverage-protocol.md +0 -220
  295. package/bundled/skills-windows/prizmkit-test/references/examples.md +0 -143
  296. package/bundled/skills-windows/prizmkit-test/references/service-boundary-test-catalog.md +0 -225
  297. package/bundled/skills-windows/prizmkit-test/references/test-generation-steps.md +0 -109
  298. package/bundled/skills-windows/prizmkit-test/references/test-report-template.md +0 -111
  299. package/bundled/skills-windows/prizmkit-test/scripts/validate_boundary_report.py +0 -347
  300. package/bundled/skills-windows/recovery-workflow/SKILL.md +0 -355
  301. package/bundled/skills-windows/recovery-workflow/evals/evals.json +0 -46
  302. package/bundled/skills-windows/recovery-workflow/references/detection.md +0 -58
  303. package/bundled/skills-windows/recovery-workflow/scripts/detect-recovery-state.py +0 -544
  304. package/bundled/skills-windows/refactor-pipeline-launcher/SKILL.md +0 -346
  305. package/bundled/skills-windows/refactor-pipeline-launcher/references/configuration.md +0 -72
  306. package/bundled/skills-windows/refactor-planner/SKILL.md +0 -398
  307. package/bundled/skills-windows/refactor-planner/assets/planning-guide.md +0 -292
  308. package/bundled/skills-windows/refactor-planner/references/behavior-preservation.md +0 -301
  309. package/bundled/skills-windows/refactor-planner/references/fast-path.md +0 -59
  310. package/bundled/skills-windows/refactor-planner/references/planning-phases.md +0 -135
  311. package/bundled/skills-windows/refactor-planner/references/refactor-scoping-guide.md +0 -221
  312. package/bundled/skills-windows/refactor-planner/scripts/validate-and-generate-refactor.py +0 -858
  313. package/bundled/skills-windows/refactor-workflow/SKILL.md +0 -343
  314. package/bundled/skills-windows/refactor-workflow/references/brainstorm-guide.md +0 -116
  315. package/bundled/templates/hooks/diff-prizm-docs.sh +0 -158
  316. package/bundled/templates/hooks/prizm-pre-commit.sh +0 -108
  317. package/bundled/templates/hooks/validate-prizm-docs.sh +0 -139
@@ -1,374 +0,0 @@
1
- ---
2
- name: "feature-workflow"
3
- 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'."
4
- ---
5
-
6
- # Feature Workflow
7
-
8
- One-stop entry point for feature development. Covers the complete journey from a vague idea to running code: deep requirement brainstorming → structured planning → autonomous pipeline execution.
9
-
10
- ## When to Use
11
-
12
- User says:
13
- - "Build a new application", "Build XXX system", "Create a project"
14
- - "One-click complete these features", "Batch implement these requirements"
15
- - "Build a task management App from scratch"
16
- - "Help me implement user login, registration, and avatar upload features"
17
- - After receiving a batch of related feature requests
18
-
19
- **Do NOT use this skill when:**
20
- - User only wants to plan features (use `feature-planner` directly)
21
- - User only wants to launch pipeline for existing .prizmkit/plans/feature-list.json (use `feature-pipeline-launcher`)
22
- - User wants to fix bugs (use `bug-planner` + `bugfix-pipeline-launcher`)
23
- - User wants to refactor code (use `refactor-workflow`)
24
-
25
- ---
26
-
27
- ## Overview
28
-
29
- Given an idea or requirements, the workflow runs four phases:
30
-
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
35
-
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.
37
-
38
- ### Branch Management
39
-
40
- The dev-pipeline handles branch management per-feature automatically:
41
- - Each feature is implemented on its own branch by the pipeline
42
- - Branches are created, committed, and managed by the pipeline session
43
- - This workflow does NOT create a top-level branch — the pipeline manages granular per-feature branches
44
-
45
- ---
46
-
47
- ## Input Modes
48
-
49
- **Mode A: From natural language requirements** (default)
50
-
51
- Natural language description of the project or features. Can be:
52
- - A project vision: "Build a task management App with user login, task CRUD, and task categories"
53
- - A batch of features: "Implement user registration, login, and password recovery features"
54
- - An incremental request: "Add user avatar upload and nickname modification to the existing system"
55
-
56
- Flow: brainstorm → feature-planner → feature-pipeline-launcher → monitor
57
-
58
- **Mode B: From existing .prizmkit/plans/feature-list.json**
59
-
60
- When user says "run pipeline from existing file" or .prizmkit/plans/feature-list.json already exists:
61
- - Skip brainstorm and `feature-planner` (file already exists)
62
- - Invoke `feature-pipeline-launcher` directly
63
- - Monitor and report progress
64
-
65
- **Mode C: Incremental (add to existing project)**
66
-
67
- When user says "add features to existing project" or the project already has features:
68
- - Brainstorm new feature requirements with the user
69
- - Invoke `feature-planner` in incremental mode (reads existing .prizmkit/plans/feature-list.json)
70
- - Append new features to existing list
71
- - Invoke `feature-pipeline-launcher`
72
- - Monitor and report progress
73
-
74
- ---
75
-
76
- ## Phase 1: Brainstorm — Deep Requirement Clarification
77
-
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.
79
-
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.
81
-
82
- ### Step 1.1: Understand the User's Vision
83
-
84
- Ask the user to describe what they want to build. Listen for:
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)
88
-
89
- ### Step 1.2: Collect Reference Materials
90
-
91
- **Upfront Material Detection (Hard Rule)**: If the user has already provided materials (file paths, URLs, rules, specifications, code snippets) in the same message that invoked this skill:
92
- 1. Acknowledge what was received: "I received the following materials: [list]"
93
- 2. Read/fetch all provided materials immediately
94
- 3. You MUST still ask: "Are there any additional materials you'd like to provide?"
95
- 4. NEVER skip this collection step just because the user already provided some materials
96
-
97
- **If the user has NOT provided any materials upfront**, ask the user explicitly what resources they have. Do NOT skip this step — user-provided materials are far more valuable than blind directory scanning.
98
-
99
- Ask:
100
- 1. **Existing code** — "Is there existing code I should look at? Which files or directories are relevant?"
101
- 2. **Design documents** — "Do you have any design docs, wireframes, API specs, or PRDs I should read?"
102
- 3. **Knowledge docs** — "Are there related `.prizmkit/prizm-docs/`, README files, or internal wiki pages?"
103
- 4. **Reference projects** — "Any reference implementations or similar projects I should look at for inspiration?"
104
-
105
- Record everything the user provides — these become inputs for Step 1.3.
106
-
107
- ### Step 1.3: Parallel Deep Reading
108
-
109
- Read `${SKILL_DIR}/references/brainstorm-guide.md` §Step 1.3 for the parallel agent dispatch procedure — spawn 4 agents (A: code paths, B: documents, C: prizm-docs, D: database/config) to build comprehensive project context before discussion. Synthesize findings before proceeding.
110
-
111
- ### Step 1.4: Discuss Requirements
112
-
113
- Read `${SKILL_DIR}/references/brainstorm-guide.md` §Step 1.4 for the full requirements discussion framework — functional requirements, data model, user experience, integration/architecture, edge cases, and non-functional requirements. Ask targeted questions based on what was learned from parallel reading. **Adapt question depth to the feature complexity.**
114
-
115
- ### Step 1.5: Confirm and Supplement
116
-
117
- After the discussion:
118
-
119
- 1. **Summarize** the requirements — present it back to the user
120
- 2. **Ask explicitly**: "Is there anything else you'd like to discuss or supplement before we proceed to formal planning?"
121
- 3. **Identify gaps** — if any areas are still unclear, list them explicitly and ask follow-up questions
122
- 4. **Repeat** until the user confirms: "That covers everything" or "Let's proceed"
123
-
124
- Read `${SKILL_DIR}/references/brainstorm-guide.md` §Completion Signs for the full checklist of when brainstorming is complete vs when more questions are needed.
125
-
126
- ### Step 1.6: Requirements Summary
127
-
128
- Once brainstorming is complete, produce a structured requirements summary. Read `${SKILL_DIR}/references/brainstorm-guide.md` §Requirements Summary Template for the structured output format. Present the summary to the user and get explicit confirmation before proceeding.
129
-
130
- **CHECKPOINT CP-FW-0**: Requirements fully clarified and confirmed by user.
131
-
132
- ---
133
-
134
- ### Step 1.7: Complexity Assessment & Approach Selection
135
-
136
- After confirming requirements, assess whether this feature needs the full pipeline or can be done directly in the current session.
137
-
138
- **Simple feature** (Fast Path candidate — ALL must be true):
139
- - Single module, no cross-module architectural impact
140
- - ≤2 new files to create
141
- - No new external dependencies or infrastructure changes
142
- - Straightforward implementation (CRUD, utility, simple UI component)
143
- - Clear acceptance criteria with existing patterns to follow
144
- - No dependency on other unbuilt features
145
-
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."
154
-
155
- ```
156
- AskUserQuestion:
157
- question: "How would you like to proceed?" # prefix with the framing note above
158
- header: "Approach"
159
- options:
160
- - label: "Implement now (fast path)"
161
- description: "Plan and implement directly in this session using /prizmkit-plan + /prizmkit-implement"
162
- - label: "Add to feature list (pipeline)"
163
- description: "Generate .prizmkit/plans/feature-list.json via feature-planner, then launch pipeline for autonomous execution"
164
- ```
165
-
166
- - **Implement now** → Fast Path Workflow:
167
- 1. Invoke `/prizmkit-plan` with the requirements summary → generates `spec.md` + `plan.md`
168
- 2. Invoke `/prizmkit-implement` to execute the plan
169
- 3. After implementation, run `/prizmkit-code-review` for quality check
170
- 4. Commit via `/prizmkit-committer` with `feat(<scope>):` prefix
171
- 5. Run `/prizmkit-retrospective` to sync `.prizmkit/prizm-docs/`
172
- 6. End workflow — skip Phase 2/3/4
173
- - **Add to feature list** → Continue to Phase 2 (Plan via pipeline)
174
-
175
- Never proceed without explicit user confirmation via `AskUserQuestion`. Do NOT render options as plain text — the user must be able to click/select.
176
-
177
- **CHECKPOINT CP-FW-0.5**: Approach selected by user (fast path or pipeline).
178
-
179
- ---
180
-
181
- ## Phase 2: Plan
182
-
183
- **Goal**: Generate structured .prizmkit/plans/feature-list.json from the clarified requirements.
184
-
185
- **STEPS**:
186
-
187
- 1. **Invoke `feature-planner` skill** with the full requirements summary from Phase 1:
188
- - Pass the structured requirements summary as input — NOT the raw user conversation
189
- - For new projects: standard planning mode
190
- - For existing projects with `--incremental`: incremental planning mode
191
- - **Input**: Markdown requirements summary (feature descriptions, goals, constraints)
192
- - **Output**: `.prizmkit/plans/feature-list.json` (schema: `dev-pipeline-feature-list-v1`) containing `project_name`, `features[]` with id (F-NNN), title, description, priority, dependencies, acceptance_criteria, status
193
-
194
- 2. **Interactive planning** (if feature-planner requires clarification):
195
- - Because Phase 1 was thorough, feature-planner should need minimal clarification
196
- - If questions arise, answer from the Phase 1 context or pass through to user
197
-
198
- 3. **Validate output**:
199
- - Confirm `.prizmkit/plans/feature-list.json` exists
200
- - Show summary: total features, complexity distribution, dependencies
201
-
202
- **CHECKPOINT CP-FW-1**: `.prizmkit/plans/feature-list.json` generated and validated.
203
-
204
- **If user says `--from <file>`**: Skip Phase 1 and Phase 2 entirely.
205
-
206
- ---
207
-
208
- ## Phase 3: Launch
209
-
210
- **Goal**: Start the development pipeline.
211
-
212
- **STEPS**:
213
-
214
- 1. **Show feature summary** before launching:
215
- ```
216
- Ready to launch pipeline with N features:
217
- F-001: User authentication (high complexity)
218
- F-002: Task CRUD (medium complexity)
219
- F-003: Task categories (low complexity)
220
-
221
- Proceed? (Y/n)
222
- ```
223
-
224
- 2. **Invoke `feature-pipeline-launcher` skill**:
225
- - **Input**: Path to validated `.prizmkit/plans/feature-list.json`
226
- - The launcher handles all prerequisites checks
227
- - The launcher presents execution mode choices to the user (foreground/background/manual)
228
- - The launcher asks whether to enable Critic Agent (adversarial review) — passes `--critic` flag if chosen
229
- - Do NOT duplicate execution mode or critic selection here — let the launcher handle it
230
- - **Output**: PID/status, log file path, execution mode selected
231
-
232
- 3. **Verify launch success**:
233
- - Confirm pipeline is running
234
- - Record PID and log path for Phase 4
235
-
236
- **CHECKPOINT CP-FW-2**: Pipeline launched successfully.
237
-
238
- ---
239
-
240
- ## Phase 4: Monitor
241
-
242
- **Goal**: Track pipeline progress and report to user.
243
-
244
- **STEPS**:
245
-
246
- 1. **Initial status check**:
247
- ```powershell
248
- .\.prizmkit\dev-pipeline\launch-feature-daemon.ps1 status
249
- ```
250
-
251
- 2. **Offer monitoring options**:
252
- - "I'll check progress periodically. Say 'status' anytime for an update."
253
- - "Say 'logs' to see recent activity."
254
- - "Say 'stop' to pause the pipeline."
255
-
256
- 3. **Periodic progress reports** (when user asks):
257
- ```powershell
258
- function Invoke-PrizmPython {
259
- param([Parameter(ValueFromRemainingArguments = $true)][string[]]$Arguments)
260
- $python = Get-Command python -ErrorAction SilentlyContinue
261
- if ($python) {
262
- & $python.Source -c 'import sys; raise SystemExit(0 if sys.version_info[0] == 3 else 1)' *> $null
263
- if ($LASTEXITCODE -eq 0) {
264
- & $python.Source @Arguments
265
- return
266
- }
267
- }
268
- $py = Get-Command py -ErrorAction SilentlyContinue
269
- if ($py) {
270
- & $py.Source -3 -c 'import sys; raise SystemExit(0 if sys.version_info[0] == 3 else 1)' *> $null
271
- if ($LASTEXITCODE -eq 0) {
272
- & $py.Source -3 @Arguments
273
- return
274
- }
275
- }
276
- throw "Python 3 is required. Install Python and ensure python or py is in PATH."
277
- }
278
- Invoke-PrizmPython .prizmkit/dev-pipeline/scripts/update-feature-status.py `
279
- --feature-list .prizmkit/plans/feature-list.json `
280
- --state-dir .prizmkit/state/features `
281
- --action status
282
- ```
283
-
284
- 4. **Completion report** (when pipeline finishes all features):
285
- ```
286
- Pipeline completed: 3/3 features
287
-
288
- Summary:
289
- - F-001: User authentication → COMMITTED (feat: user auth)
290
- - F-002: Task CRUD → COMMITTED (feat: task crud)
291
- - F-003: Task categories → COMMITTED (feat: categories)
292
-
293
- Next steps:
294
- - Review changes: git log --oneline -5
295
- - Run tests: npm test
296
- - Push when ready: git push
297
- ```
298
-
299
- **CHECKPOINT CP-FW-3**: All features completed or user stopped pipeline.
300
-
301
- ---
302
-
303
- ## Resume — Interruption Recovery
304
-
305
- The workflow supports resuming by detecting existing state:
306
-
307
- | State Found | Resume From |
308
- |-------------|------------|
309
- | No `.prizmkit/plans/feature-list.json` | Phase 1: Brainstorm |
310
- | `.prizmkit/plans/feature-list.json` exists, no pipeline state | Phase 3: Launch |
311
- | `.prizmkit/plans/feature-list.json` + pipeline state exists | Phase 4: Monitor (check status) |
312
- | All features completed | Report completion, suggest next steps |
313
-
314
- **Resume**: If `.prizmkit/plans/feature-list.json` exists, ask user: "Existing feature plan found with N features. Resume pipeline or re-plan?"
315
-
316
- ---
317
-
318
- ## Interaction During Pipeline
319
-
320
- While the pipeline runs, the user can continue the conversation:
321
-
322
- | User says | Action |
323
- |-----------|--------|
324
- | "status" / "progress" | Show current progress |
325
- | "logs" | Show recent log activity |
326
- | "stop" | Stop the pipeline (state preserved) |
327
- | "show F-002 logs" | Show specific feature's session log |
328
-
329
- ---
330
-
331
- ## Error Handling
332
-
333
- | Error | Action |
334
- |-------|--------|
335
- | User's idea is too vague to brainstorm | Ask for more context: "Can you describe the main problem this solves?" |
336
- | Brainstorming stalls | Offer concrete options: "Would you prefer A or B?" |
337
- | `feature-planner` cannot parse requirements | Refine the requirements summary and retry |
338
- | `.prizmkit/plans/feature-list.json` generation failed | Show error, retry with refined input |
339
- | Pipeline launch failed | Show daemon log, suggest manual start |
340
- | All features blocked/failed | Show status, suggest retrying specific features |
341
- | User wants to cancel mid-brainstorming | Save conversation context, offer to resume later |
342
-
343
- ---
344
-
345
- ## Relationship to Other Skills
346
-
347
- | Skill | Relationship |
348
- |-------|-------------|
349
- | `feature-planner` | **Called by Phase 2** — generates .prizmkit/plans/feature-list.json from clarified requirements |
350
- | `feature-pipeline-launcher` | **Called by Phase 3** — starts pipeline (handles execution mode selection) |
351
- | `bug-planner` | **Alternative** — for bug fix workflows |
352
- | `bugfix-pipeline-launcher` | **Alternative** — for bug fix pipelines |
353
- | `refactor-workflow` | **Alternative** — for code restructuring |
354
-
355
- ---
356
-
357
- ## Comparison with Alternative Workflows
358
-
359
- Read `${SKILL_DIR}/references/brainstorm-guide.md` §Comparison for the full comparison table (feature-workflow vs bug-fix-workflow vs refactor-workflow across 9 dimensions).
360
-
361
- ---
362
-
363
- ## Path References
364
-
365
- All internal asset paths use `${SKILL_DIR}` placeholder for cross-IDE compatibility.
366
-
367
- ## Output
368
-
369
- - Structured requirements summary (Phase 1 artifact)
370
- - `.prizmkit/plans/feature-list.json` (Phase 2 artifact)
371
- - Pipeline execution (Phase 3)
372
- - Progress updates (Phase 4)
373
- - Multiple git commits with `feat(<scope>):` prefix
374
- - Updated `.prizmkit/prizm-docs/` (via prizmkit-retrospective per feature)
@@ -1,137 +0,0 @@
1
- # Brainstorm Guide — Detailed Procedures
2
-
3
- Procedural details for Phase 1 brainstorming in feature-workflow.
4
-
5
- ## Step 1.3: Parallel Deep Reading
6
-
7
- **Goal**: Build comprehensive understanding of the project context before discussing detailed requirements. Spawn multiple agents in parallel to read all relevant materials simultaneously.
8
-
9
- **Parallel reading tasks** (launch concurrently):
10
-
11
- | Agent | What to read | Purpose |
12
- |-------|-------------|---------|
13
- | Agent A | User-provided code paths — read existing source files | Understand current architecture, patterns, conventions |
14
- | Agent B | User-provided documents — design docs, specs, PRDs | Understand intended requirements and constraints |
15
- | Agent C | `.prizmkit/prizm-docs/` — root.prizm, L1/L2 docs, TRAPS, RULES | Understand existing architecture knowledge and known pitfalls |
16
- | Agent D | Database/schema files + `.prizmkit/config.json` | Understand data model and tech stack preferences |
17
-
18
- **Also gather** (can be included in any agent's task):
19
- - Directory structure of the project
20
- - Existing test patterns and conventions
21
- - Dependency relationships between existing modules
22
-
23
- **After all agents complete**: Synthesize findings into a coherent understanding before proceeding to discussion.
24
-
25
- ## Step 1.4: Discuss Requirements
26
-
27
- **Now** — with deep knowledge of the actual codebase and documents — discuss the requirements with the user. This discussion is grounded in real context, not abstract questions.
28
-
29
- Present what you learned from the parallel reading:
30
- - Current project structure and patterns (with specific references)
31
- - Existing data model and schema conventions
32
- - Known TRAPS and pitfalls from `.prizmkit/prizm-docs/`
33
- - Integration points with existing modules
34
-
35
- Then ask targeted questions based on what you read. **Adapt question depth to the feature complexity** — a simple CRUD feature needs fewer questions than a real-time collaboration system.
36
-
37
- ### Functional Requirements
38
- - What are the core user actions/workflows?
39
- - What inputs does the system accept? What outputs does it produce?
40
- - What are the key business rules and validation logic?
41
- - Are there different user roles with different permissions?
42
-
43
- ### Data Model & Database (if applicable)
44
- - What entities/data need to be stored?
45
- - What are the relationships between entities?
46
- - Are there existing database tables this feature must integrate with?
47
- - What fields are required vs optional? What data types?
48
- - Any unique constraints, indexes, or special query patterns needed?
49
- - **RULE**: If the project has existing database tables, ALL new table designs must reference and conform to the existing schema style (naming conventions, ID strategy, timestamp patterns, constraint patterns). Ask the user to confirm the data model before proceeding.
50
-
51
- ### User Experience
52
- - What does the user see and interact with?
53
- - What is the expected flow/sequence of actions?
54
- - How should errors be displayed to the user?
55
- - Are there any specific UI/UX requirements?
56
-
57
- ### Integration & Architecture
58
- - "Based on the existing code, this feature would integrate with [modules]. Does that match your expectations?"
59
- - Any external APIs or services involved?
60
- - What authentication/authorization model applies?
61
- - Any real-time requirements (WebSocket, SSE, polling)?
62
-
63
- ### Edge Cases & Error Handling
64
- - What happens when things go wrong? (network failure, invalid input, concurrent access)
65
- - What are the boundary conditions? (empty states, max limits, permissions denied)
66
- - Any rate limiting, quotas, or resource constraints?
67
-
68
- ### Non-Functional Requirements
69
- - Performance expectations? (response time, throughput)
70
- - Scalability considerations?
71
- - Security requirements? (encryption, audit logs, compliance)
72
-
73
- ## Comparison with Alternative Workflows
74
-
75
- | Dimension | feature-workflow | bug-fix-workflow | refactor-workflow |
76
- |-----------|-----------------|------------------|--------------------|
77
- | **Purpose** | New features (batch) | Single bug fix (interactive) | Code restructuring (batch) |
78
- | **Brainstorming** | Yes — collect materials, parallel read, discuss | No (bug report is input) | Yes — clarify type, collect materials, parallel read, discuss |
79
- | **Planning Skill** | `feature-planner` | None (triage built-in) | `refactor-planner` |
80
- | **Branch** | Pipeline manages per-feature | `fix/<BUG_ID>-*` | Pipeline manages per-refactor |
81
- | **Execution** | Foreground or background daemon | In-session, interactive | Foreground or background daemon |
82
- | **Input** | Rough idea or requirements | Bug report / stack trace | Rough refactoring idea or target |
83
- | **Output** | Multiple `feat()` commits | Single `fix()` commit | Multiple `refactor()` commits |
84
- | **Behavior Change** | Expected (new functionality) | Fix behavior | Forbidden (structure only) |
85
- | **Batch alternative** | (this is the batch flow) | `bug-planner` + `bugfix-pipeline-launcher` | (this is the batch flow) |
86
-
87
- ## Completion Signs
88
-
89
- **Signs that brainstorming is complete:**
90
- - All functional requirements have concrete acceptance criteria
91
- - Data model entities and relationships are defined
92
- - Edge cases and error handling are addressed
93
- - Integration points are identified
94
- - The user has confirmed the summary is accurate
95
-
96
- **Signs that more questions are needed:**
97
- - User's answers contain vague terms ("handle it appropriately", "make it user-friendly", "standard behavior")
98
- - Core business rules are undefined ("depends on the situation")
99
- - Data relationships are unclear ("somehow connected")
100
- - User says "I'm not sure" — help them think through it with concrete options
101
-
102
- ## Requirements Summary Template
103
-
104
- Once brainstorming is complete, produce a structured requirements summary using the following format. Present the summary to the user and get explicit confirmation before proceeding.
105
-
106
- ```markdown
107
- ## Requirements Summary
108
-
109
- ### Project/Feature: [Name]
110
-
111
- ### Core Functionality
112
- - [Bullet list of what the system does]
113
-
114
- ### User Roles
115
- - [Role]: [What they can do]
116
-
117
- ### Data Model Overview
118
- - [Entity]: [Key fields, relationships]
119
-
120
- ### Key Business Rules
121
- - [Rule 1]
122
- - [Rule 2]
123
-
124
- ### Integration Points
125
- - [External system/API/module]
126
-
127
- ### Edge Cases & Error Handling
128
- - [Case]: [Expected behavior]
129
-
130
- ### Non-Functional Requirements
131
- - [Requirement]
132
-
133
- ### Reference Materials Reviewed
134
- - [List of code paths, documents, .prizmkit/prizm-docs/ files that were read]
135
-
136
- ### Confirmed by user: ✓
137
- ```
@@ -1,93 +0,0 @@
1
- ---
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. (project)"
4
- ---
5
-
6
- # PrizmKit — Full-Lifecycle Development Toolkit
7
-
8
- ### When to Use
9
- - User asks "which command?", "help", "how do I start a feature", "get started", "what tools"
10
- - User wants to understand the PrizmKit development lifecycle
11
- - User invokes "/prizmkit" or asks about dev workflow
12
- - User is new to the project and needs orientation
13
-
14
- ### When NOT to Use
15
- - User already knows which specific skill to use — invoke it directly
16
- - Mid-implementation — use the specific skill needed (/prizmkit-implement, /prizmkit-code-review, etc.)
17
- - User wants to execute immediately without orientation — go directly to /prizmkit-plan or /prizmkit-implement
18
-
19
- ## Task Execution Model
20
-
21
- PrizmKit uses **headless mode** — each task runs as an independent AI CLI session with NO context carryover between tasks. Every session starts by reading docs and ends by maintaining docs.
22
-
23
- **Per-task flow**:
24
- ```
25
- read docs → plan → implement → code-review → retrospective → committer
26
- ```
27
-
28
- Each task begins by reading context at two levels:
29
-
30
- **Application level** (read every session):
31
- - `.prizmkit/prizm-docs/root.prizm` — L0 project architecture index (modules, tech stack, conventions)
32
- - `.prizmkit/plans/project-brief.md` — user's product vision checklist (generated during project initialization)
33
- - `.prizmkit/config.json` — tech stack config, deploy strategy
34
-
35
- **Task level** (read for the specific task):
36
- - `spec.md` / `plan.md` — task specification and implementation plan
37
- - `.prizmkit/prizm-docs/<module>.prizm` (L1/L2) — architecture docs for affected modules (TRAPS, DECISIONS, INTERFACES)
38
-
39
- Each cycle produces spec, plan, and task artifacts that create a traceable record of what was built and why. `.prizmkit/prizm-docs/` stays in sync through retrospective, so the next session starts with up-to-date context.
40
-
41
- **Fast path** — for small, well-scoped changes, always ask user whether to use fast path:
42
- ```
43
- /prizmkit-plan → /prizmkit-implement → /prizmkit-committer
44
- ```
45
-
46
- ### Development Scenarios
47
-
48
- PrizmKit supports any development scenario through the same skill chain. `/prizmkit-plan` produces `spec.md` + `plan.md` regardless of the task type:
49
-
50
- | Scenario | Artifacts | When to Use |
51
- |----------|-----------|-------------|
52
- | **Feature** | `spec.md` → `plan.md` → code | New functionality, UI, API, data model changes |
53
- | **Bug Fix** | `spec.md` → `plan.md` → code | Complex defects, regressions, crash fixes. Simple bugs can use fast path directly. |
54
- | **Refactor** | `spec.md` → `plan.md` → code | Restructure, extract, rename, performance. No behavior change. |
55
-
56
- All three follow the same per-task flow. Detailed documentation policies (when to update `.prizmkit/prizm-docs/`, when to skip steps) are defined within each skill — not here.
57
-
58
- ### Best Practices for AI-Driven Development
59
-
60
- **Monorepo structure recommended**: Keep frontend, backend, and shared libraries in one repository. AI needs visibility into the full call chain — cross-repo references are invisible to it. If you have a multi-repo setup, add all related repos to the AI workspace so module boundaries and API contracts are discoverable.
61
-
62
- **Module organization**: Ensure every meaningful module has a `.prizmkit/prizm-docs/` L1 doc. AI reads TRAPS and DECISIONS before modifying files — undocumented modules get no guardrails.
63
-
64
- **Small, focused tasks**: Break large features into tasks that can each be completed in one AI session. The pipeline handles this automatically via `/prizmkit-plan` task decomposition.
65
-
66
- ## Core Skill Reference
67
-
68
- | Skill | Purpose | Trigger Phrases |
69
- |-------|---------|-----------------|
70
- | `/prizmkit-plan` | Specify + plan: natural language → spec.md → plan.md + tasks | "specify", "plan", "new feature", "I want to add...", "architect", "break it down" |
71
- | `/prizmkit-implement` | Execute plan.md tasks, write code (TDD) | "implement", "build", "code it", "start coding" |
72
- | `/prizmkit-code-review` | Diagnose issues + produce Fix Instructions | "review", "check code", "is it ready to commit" |
73
- | `/prizmkit-retrospective` | Sync .prizmkit/prizm-docs/ with code changes | "retrospective", "retro", "sync docs", "wrap up" |
74
- | `/prizmkit-committer` | Safe git commit with Conventional Commits | "commit", "submit", "finish", "ship it" |
75
- | `/prizmkit-test` | Generate + run tests, analyze coverage gaps, unified quality report | "test", "run tests", "check quality", "verify code", "add tests" |
76
- | `/prizmkit-deploy` | Universal deployment gateway: SSH automation, cloud/Docker guided setup, status/logs/rollback | "deploy", "ship it", "go live", "rollback", "deploy status" |
77
- | `/prizmkit-init` | Project bootstrap + .prizmkit/prizm-docs/ setup | "init", "initialize", "take over this project" |
78
- | `/prizmkit-prizm-docs` | Doc management (init/status/rebuild/validate) | "check docs", "rebuild docs", "validate docs" |
79
-
80
- **Reading guide**:
81
- - Need code structure/modules/interfaces/traps/decisions? → `.prizmkit/prizm-docs/`
82
-
83
- ## Quick Start (First-Time Setup)
84
-
85
- 1. `npx prizmkit install .` → installs skills, rules (`prizm-documentation.md`, `prizm-commit-workflow.md`), hooks, platform scaffolding
86
- 2. `/prizmkit-init` → scans project code, generates `.prizmkit/prizm-docs/`, detects tech stack, populates `.prizmkit/config.json`
87
- 3. `/prizmkit-plan` → specify your first feature → produces spec.md + plan.md
88
- 4. `/prizmkit-implement` → TDD implementation following the plan
89
- 5. `/prizmkit-code-review` → review before commit
90
- 6. `/prizmkit-retrospective` → sync `.prizmkit/prizm-docs/` with changes
91
- 7. `/prizmkit-committer` → safe Conventional Commit
92
-
93
- > **Note**: Rules and hooks are installed by `npx prizmkit install`, not by `/prizmkit-init`.