cokit-cli 1.2.6 → 1.3.0

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 (471) hide show
  1. package/README.md +9 -42
  2. package/agents/brainstormer.agent.md +28 -14
  3. package/agents/code-reviewer.agent.md +101 -67
  4. package/agents/code-simplifier.agent.md +36 -41
  5. package/agents/debugger.agent.md +29 -24
  6. package/agents/docs-manager.agent.md +15 -23
  7. package/agents/fullstack-developer.agent.md +16 -6
  8. package/agents/git-manager.agent.md +0 -3
  9. package/agents/planner.agent.md +16 -34
  10. package/agents/project-manager.agent.md +24 -0
  11. package/agents/researcher.agent.md +15 -13
  12. package/agents/tester.agent.md +43 -20
  13. package/agents/ui-ux-designer.agent.md +16 -49
  14. package/docs/README.md +8 -9
  15. package/docs/Skills Orchestration Layer - Training Slides - en.pdf +0 -0
  16. package/docs/Skills Orchestration Layer - Training Slides - vi.pdf +0 -0
  17. package/docs/code-standards.md +1 -2
  18. package/docs/codebase-summary.md +35 -66
  19. package/docs/cokit-commands-usage-guide.md +27 -73
  20. package/docs/cokit-comprehensive-mapping-guide.md +9 -15
  21. package/docs/cokit-slides.md +4 -9
  22. package/docs/cokit-sync-and-maintenance-guide.md +42 -190
  23. package/docs/cokit-team-presentation.md +6 -11
  24. package/docs/copilot-processing-flow.md +3 -3
  25. package/docs/migration-guide.md +15 -15
  26. package/docs/project-overview-pdr.md +6 -7
  27. package/docs/project-roadmap.md +13 -15
  28. package/docs/skills-and-orchestration-layer-en.md +404 -0
  29. package/docs/skills-and-orchestration-layer-vi.md +404 -0
  30. package/docs/system-architecture.md +14 -20
  31. package/docs/{claudekit-porting-rules.md → upstream-porting-rules.md} +15 -16
  32. package/package.json +3 -4
  33. package/prompts/ck-ask.prompt.md +0 -1
  34. package/prompts/ck-bootstrap.prompt.md +0 -3
  35. package/prompts/ck-brainstorm.prompt.md +0 -1
  36. package/prompts/ck-cook.prompt.md +0 -1
  37. package/prompts/ck-debug.prompt.md +0 -1
  38. package/prompts/ck-deploy.prompt.md +22 -0
  39. package/prompts/ck-docs.prompt.md +0 -1
  40. package/prompts/ck-frontend.prompt.md +20 -0
  41. package/prompts/ck-help.prompt.md +0 -1
  42. package/prompts/ck-plan-fast.prompt.md +0 -3
  43. package/prompts/ck-plan-hard.prompt.md +0 -3
  44. package/prompts/ck-plan.prompt.md +0 -3
  45. package/prompts/ck-project.prompt.md +20 -0
  46. package/prompts/ck-review.prompt.md +0 -3
  47. package/prompts/ck-scout.prompt.md +0 -1
  48. package/prompts/ck-security.prompt.md +22 -0
  49. package/prompts/ck-ship.prompt.md +22 -0
  50. package/prompts/ck-test.prompt.md +0 -2
  51. package/prompts/ck-watzup.prompt.md +0 -1
  52. package/skills/agent-browser/SKILL.md +11 -8
  53. package/skills/agent-browser/references/agent-browser-vs-chrome-devtools.md +112 -0
  54. package/skills/bootstrap/SKILL.md +102 -0
  55. package/skills/bootstrap/references/shared-phases.md +59 -0
  56. package/skills/bootstrap/references/workflow-auto.md +52 -0
  57. package/skills/bootstrap/references/workflow-fast.md +50 -0
  58. package/skills/bootstrap/references/workflow-full.md +60 -0
  59. package/skills/bootstrap/references/workflow-parallel.md +59 -0
  60. package/skills/brainstorm/SKILL.md +63 -15
  61. package/skills/code-review/SKILL.md +138 -135
  62. package/skills/code-review/references/adversarial-review.md +223 -0
  63. package/skills/code-review/references/checklist-workflow.md +100 -0
  64. package/skills/code-review/references/checklists/api.md +52 -0
  65. package/skills/code-review/references/checklists/base.md +100 -0
  66. package/skills/code-review/references/checklists/web-app.md +54 -0
  67. package/skills/code-review/references/code-review-reception.md +48 -144
  68. package/skills/code-review/references/codebase-scan-workflow.md +30 -0
  69. package/skills/code-review/references/edge-case-scouting.md +119 -0
  70. package/skills/code-review/references/input-mode-resolution.md +135 -0
  71. package/skills/code-review/references/parallel-review-workflow.md +76 -0
  72. package/skills/code-review/references/requesting-code-review.md +115 -104
  73. package/skills/code-review/references/spec-compliance-review.md +43 -0
  74. package/skills/code-review/references/task-management-reviews.md +155 -0
  75. package/skills/common/README.md +2 -12
  76. package/skills/common/api_key_helper.py +7 -37
  77. package/skills/context-engineering/SKILL.md +4 -3
  78. package/skills/context-engineering/references/context-degradation.md +2 -2
  79. package/skills/context-engineering/references/runtime-awareness.md +5 -47
  80. package/skills/cook/README.md +13 -13
  81. package/skills/cook/SKILL.md +86 -58
  82. package/skills/cook/references/intent-detection.md +7 -7
  83. package/skills/cook/references/review-cycle.md +2 -2
  84. package/skills/cook/references/subagent-patterns.md +75 -0
  85. package/skills/cook/references/workflow-steps.md +75 -23
  86. package/skills/databases/SKILL.md +3 -30
  87. package/skills/databases/db-design.md +1 -1
  88. package/skills/debug/SKILL.md +47 -105
  89. package/skills/debug/references/frontend-verification.md +103 -0
  90. package/skills/debug/references/investigation-methodology.md +101 -0
  91. package/skills/debug/references/log-and-ci-analysis.md +97 -0
  92. package/skills/debug/references/performance-diagnostics.md +113 -0
  93. package/skills/debug/references/reporting-standards.md +122 -0
  94. package/skills/debug/references/task-management-debugging.md +155 -0
  95. package/skills/deploy/SKILL.md +154 -0
  96. package/skills/deploy/references/platform-config-templates.md +35 -0
  97. package/skills/deploy/references/platforms/aws.md +58 -0
  98. package/skills/deploy/references/platforms/cloudflare.md +41 -0
  99. package/skills/deploy/references/platforms/coolify.md +32 -0
  100. package/skills/deploy/references/platforms/digitalocean.md +45 -0
  101. package/skills/deploy/references/platforms/dokploy.md +29 -0
  102. package/skills/deploy/references/platforms/flyio.md +54 -0
  103. package/skills/deploy/references/platforms/gcp.md +45 -0
  104. package/skills/deploy/references/platforms/github-pages.md +56 -0
  105. package/skills/deploy/references/platforms/heroku.md +31 -0
  106. package/skills/deploy/references/platforms/netlify.md +39 -0
  107. package/skills/deploy/references/platforms/railway.md +38 -0
  108. package/skills/deploy/references/platforms/render.md +39 -0
  109. package/skills/deploy/references/platforms/tose.md +35 -0
  110. package/skills/deploy/references/platforms/vercel.md +37 -0
  111. package/skills/deploy/references/platforms/vultr.md +27 -0
  112. package/skills/devops/SKILL.md +6 -12
  113. package/skills/docs-seeker/SKILL.md +2 -1
  114. package/skills/docs-seeker/references/context7-patterns.md +4 -0
  115. package/skills/docs-seeker/scripts/fetch-docs.js +1 -2
  116. package/skills/docs-seeker/scripts/utils/env-loader.js +4 -4
  117. package/skills/docs-seeker/workflows/library-search.md +1 -0
  118. package/skills/fix/SKILL.md +141 -44
  119. package/skills/fix/references/complexity-assessment.md +21 -9
  120. package/skills/fix/references/diagnosis-protocol.md +133 -0
  121. package/skills/fix/references/mode-selection.md +27 -11
  122. package/skills/fix/references/parallel-exploration.md +35 -12
  123. package/skills/fix/references/prevention-gate.md +87 -0
  124. package/skills/fix/references/review-cycle.md +3 -3
  125. package/skills/fix/references/skill-activation-matrix.md +64 -31
  126. package/skills/fix/references/task-orchestration.md +110 -0
  127. package/skills/fix/references/workflow-deep.md +110 -47
  128. package/skills/fix/references/workflow-logs.md +46 -10
  129. package/skills/fix/references/workflow-quick.md +43 -20
  130. package/skills/fix/references/workflow-standard.md +75 -41
  131. package/skills/fix/references/workflow-test.md +49 -10
  132. package/skills/fix/references/workflow-ui.md +56 -18
  133. package/skills/frontend-design/SKILL.md +109 -77
  134. package/skills/frontend-design/references/ai-multimodal-overview.md +165 -0
  135. package/skills/frontend-design/references/anti-slop-rules.md +103 -0
  136. package/skills/frontend-design/references/asset-generation.md +284 -108
  137. package/skills/frontend-design/references/bento-motion-engine.md +142 -0
  138. package/skills/frontend-design/references/magicui-components.md +129 -0
  139. package/skills/frontend-design/references/performance-guardrails.md +169 -0
  140. package/skills/frontend-design/references/premium-design-patterns.md +93 -0
  141. package/skills/frontend-design/references/redesign-audit-checklist.md +114 -0
  142. package/skills/frontend-design/references/visual-analysis-overview.md +1 -1
  143. package/skills/frontend-design/references/workflow-3d.md +98 -0
  144. package/skills/frontend-design/references/workflow-describe.md +4 -3
  145. package/skills/frontend-design/references/workflow-immersive.md +82 -0
  146. package/skills/frontend-design/references/workflow-quick.md +10 -12
  147. package/skills/frontend-design/references/workflow-screenshot.md +9 -8
  148. package/skills/frontend-design/references/workflow-video.md +74 -0
  149. package/skills/frontend-development/SKILL.md +400 -0
  150. package/skills/frontend-development/resources/common-patterns.md +331 -0
  151. package/skills/frontend-development/resources/complete-examples.md +872 -0
  152. package/skills/frontend-development/resources/component-patterns.md +502 -0
  153. package/skills/frontend-development/resources/data-fetching.md +767 -0
  154. package/skills/frontend-development/resources/file-organization.md +502 -0
  155. package/skills/frontend-development/resources/loading-and-error-states.md +501 -0
  156. package/skills/frontend-development/resources/performance.md +406 -0
  157. package/skills/frontend-development/resources/routing-guide.md +364 -0
  158. package/skills/frontend-development/resources/styling-guide.md +428 -0
  159. package/skills/frontend-development/resources/typescript-standards.md +418 -0
  160. package/skills/git/SKILL.md +18 -4
  161. package/skills/git/references/commit-standards.md +3 -3
  162. package/skills/git/references/workflow-commit.md +3 -3
  163. package/skills/git/references/workflow-merge.md +1 -1
  164. package/skills/git/references/workflow-pr.md +1 -1
  165. package/skills/git/references/workflow-push.md +1 -1
  166. package/skills/mcp-management/README.md +18 -18
  167. package/skills/mcp-management/SKILL.md +16 -15
  168. package/skills/mcp-management/references/configuration.md +4 -4
  169. package/skills/mcp-management/references/gemini-cli-integration.md +12 -12
  170. package/skills/mcp-management/scripts/.env.example +2 -2
  171. package/skills/mcp-management/scripts/dist/mcp-client.js +1 -1
  172. package/skills/mcp-management/scripts/mcp-client.ts +1 -1
  173. package/skills/mermaidjs-v11/SKILL.md +1 -0
  174. package/skills/planning/SKILL.md +122 -91
  175. package/skills/planning/references/archive-workflow.md +53 -0
  176. package/skills/planning/references/codebase-understanding.md +1 -1
  177. package/skills/planning/references/output-standards.md +17 -13
  178. package/skills/planning/references/plan-organization.md +52 -30
  179. package/skills/planning/references/red-team-personas.md +69 -0
  180. package/skills/planning/references/red-team-workflow.md +77 -0
  181. package/skills/planning/references/scope-challenge.md +90 -0
  182. package/skills/planning/references/task-management.md +134 -0
  183. package/skills/planning/references/validate-question-framework.md +80 -0
  184. package/skills/planning/references/validate-workflow.md +65 -0
  185. package/skills/planning/references/workflow-modes.md +154 -0
  186. package/skills/problem-solving/SKILL.md +1 -0
  187. package/skills/project-management/SKILL.md +133 -0
  188. package/skills/project-management/references/documentation-triggers.md +60 -0
  189. package/skills/project-management/references/hydration-workflow.md +89 -0
  190. package/skills/project-management/references/progress-tracking.md +120 -0
  191. package/skills/project-management/references/reporting-patterns.md +94 -0
  192. package/skills/project-management/references/task-operations.md +87 -0
  193. package/skills/repomix/SKILL.md +3 -2
  194. package/skills/repomix/references/usage-patterns.md +2 -2
  195. package/skills/repomix/scripts/README.md +1 -1
  196. package/skills/repomix/scripts/repomix_batch.py +2 -2
  197. package/skills/research/SKILL.md +7 -4
  198. package/skills/scout/SKILL.md +24 -24
  199. package/skills/scout/references/external-scouting.md +17 -17
  200. package/skills/scout/references/internal-scouting.md +9 -9
  201. package/skills/scout/references/task-management-scouting.md +125 -0
  202. package/skills/security/SKILL.md +139 -0
  203. package/skills/security/references/stride-owasp-checklist.md +128 -0
  204. package/skills/sequential-thinking/README.md +3 -3
  205. package/skills/sequential-thinking/SKILL.md +2 -0
  206. package/skills/sequential-thinking/package.json +1 -1
  207. package/skills/ship/SKILL.md +116 -0
  208. package/skills/ship/references/auto-detect.md +103 -0
  209. package/skills/ship/references/pr-template.md +90 -0
  210. package/skills/ship/references/ship-workflow.md +241 -0
  211. package/skills/test/SKILL.md +111 -0
  212. package/skills/test/references/report-format.md +58 -0
  213. package/skills/test/references/test-execution-workflow.md +103 -0
  214. package/skills/test/references/ui-testing-workflow.md +65 -0
  215. package/skills/ui-styling/SKILL.md +2 -0
  216. package/skills/web-testing/SKILL.md +8 -60
  217. package/src/commands/add.js +0 -1
  218. package/src/commands/doctor.js +2 -2
  219. package/src/commands/init.js +19 -28
  220. package/src/commands/update.js +1 -1
  221. package/templates/repo/.github/agents/brainstormer.agent.md +28 -14
  222. package/templates/repo/.github/agents/code-reviewer.agent.md +101 -67
  223. package/templates/repo/.github/agents/code-simplifier.agent.md +36 -41
  224. package/templates/repo/.github/agents/debugger.agent.md +29 -24
  225. package/templates/repo/.github/agents/docs-manager.agent.md +15 -23
  226. package/templates/repo/.github/agents/fullstack-developer.agent.md +16 -6
  227. package/templates/repo/.github/agents/git-manager.agent.md +0 -3
  228. package/templates/repo/.github/agents/planner.agent.md +16 -34
  229. package/templates/repo/.github/agents/project-manager.agent.md +24 -0
  230. package/templates/repo/.github/agents/researcher.agent.md +15 -13
  231. package/templates/repo/.github/agents/tester.agent.md +43 -20
  232. package/templates/repo/.github/agents/ui-ux-designer.agent.md +16 -49
  233. package/templates/repo/.github/prompts/ck-ask.prompt.md +0 -1
  234. package/templates/repo/.github/prompts/ck-bootstrap.prompt.md +0 -3
  235. package/templates/repo/.github/prompts/ck-brainstorm.prompt.md +0 -1
  236. package/templates/repo/.github/prompts/ck-cook.prompt.md +0 -1
  237. package/templates/repo/.github/prompts/ck-debug.prompt.md +0 -1
  238. package/templates/repo/.github/prompts/ck-deploy.prompt.md +22 -0
  239. package/templates/repo/.github/prompts/ck-docs.prompt.md +0 -1
  240. package/templates/repo/.github/prompts/ck-frontend.prompt.md +20 -0
  241. package/templates/repo/.github/prompts/ck-help.prompt.md +0 -1
  242. package/templates/repo/.github/prompts/ck-plan-fast.prompt.md +0 -3
  243. package/templates/repo/.github/prompts/ck-plan-hard.prompt.md +0 -3
  244. package/templates/repo/.github/prompts/ck-plan.prompt.md +0 -3
  245. package/templates/repo/.github/prompts/ck-project.prompt.md +20 -0
  246. package/templates/repo/.github/prompts/ck-review.prompt.md +0 -3
  247. package/templates/repo/.github/prompts/ck-scout.prompt.md +0 -1
  248. package/templates/repo/.github/prompts/ck-security.prompt.md +22 -0
  249. package/templates/repo/.github/prompts/ck-ship.prompt.md +22 -0
  250. package/templates/repo/.github/prompts/ck-test.prompt.md +0 -2
  251. package/templates/repo/.github/prompts/ck-watzup.prompt.md +0 -1
  252. package/templates/repo/.github/skills/agent-browser/SKILL.md +11 -8
  253. package/templates/repo/.github/skills/agent-browser/references/agent-browser-vs-chrome-devtools.md +112 -0
  254. package/templates/repo/.github/skills/bootstrap/SKILL.md +102 -0
  255. package/templates/repo/.github/skills/bootstrap/references/shared-phases.md +59 -0
  256. package/templates/repo/.github/skills/bootstrap/references/workflow-auto.md +52 -0
  257. package/templates/repo/.github/skills/bootstrap/references/workflow-fast.md +50 -0
  258. package/templates/repo/.github/skills/bootstrap/references/workflow-full.md +60 -0
  259. package/templates/repo/.github/skills/bootstrap/references/workflow-parallel.md +59 -0
  260. package/templates/repo/.github/skills/brainstorm/SKILL.md +63 -15
  261. package/templates/repo/.github/skills/code-review/SKILL.md +138 -135
  262. package/templates/repo/.github/skills/code-review/references/adversarial-review.md +223 -0
  263. package/templates/repo/.github/skills/code-review/references/checklist-workflow.md +100 -0
  264. package/templates/repo/.github/skills/code-review/references/checklists/api.md +52 -0
  265. package/templates/repo/.github/skills/code-review/references/checklists/base.md +100 -0
  266. package/templates/repo/.github/skills/code-review/references/checklists/web-app.md +54 -0
  267. package/templates/repo/.github/skills/code-review/references/code-review-reception.md +48 -144
  268. package/templates/repo/.github/skills/code-review/references/codebase-scan-workflow.md +30 -0
  269. package/templates/repo/.github/skills/code-review/references/edge-case-scouting.md +119 -0
  270. package/templates/repo/.github/skills/code-review/references/input-mode-resolution.md +135 -0
  271. package/templates/repo/.github/skills/code-review/references/parallel-review-workflow.md +76 -0
  272. package/templates/repo/.github/skills/code-review/references/requesting-code-review.md +19 -8
  273. package/templates/repo/.github/skills/code-review/references/spec-compliance-review.md +43 -0
  274. package/templates/repo/.github/skills/code-review/references/task-management-reviews.md +155 -0
  275. package/templates/repo/.github/skills/common/README.md +2 -12
  276. package/templates/repo/.github/skills/common/api_key_helper.py +7 -37
  277. package/templates/repo/.github/skills/context-engineering/SKILL.md +4 -3
  278. package/templates/repo/.github/skills/context-engineering/references/context-degradation.md +2 -2
  279. package/templates/repo/.github/skills/context-engineering/references/runtime-awareness.md +5 -47
  280. package/templates/repo/.github/skills/cook/README.md +13 -13
  281. package/templates/repo/.github/skills/cook/SKILL.md +86 -58
  282. package/templates/repo/.github/skills/cook/references/intent-detection.md +7 -7
  283. package/templates/repo/.github/skills/cook/references/review-cycle.md +2 -2
  284. package/templates/repo/.github/skills/cook/references/subagent-patterns.md +75 -0
  285. package/templates/repo/.github/skills/cook/references/workflow-steps.md +75 -23
  286. package/templates/repo/.github/skills/databases/SKILL.md +3 -30
  287. package/templates/repo/.github/skills/databases/db-design.md +1 -1
  288. package/templates/repo/.github/skills/debug/SKILL.md +47 -105
  289. package/templates/repo/.github/skills/debug/references/frontend-verification.md +103 -0
  290. package/templates/repo/.github/skills/debug/references/investigation-methodology.md +101 -0
  291. package/templates/repo/.github/skills/debug/references/log-and-ci-analysis.md +97 -0
  292. package/templates/repo/.github/skills/debug/references/performance-diagnostics.md +113 -0
  293. package/templates/repo/.github/skills/debug/references/reporting-standards.md +122 -0
  294. package/templates/repo/.github/skills/debug/references/task-management-debugging.md +155 -0
  295. package/templates/repo/.github/skills/deploy/SKILL.md +154 -0
  296. package/templates/repo/.github/skills/deploy/references/platform-config-templates.md +35 -0
  297. package/templates/repo/.github/skills/deploy/references/platforms/aws.md +58 -0
  298. package/templates/repo/.github/skills/deploy/references/platforms/cloudflare.md +41 -0
  299. package/templates/repo/.github/skills/deploy/references/platforms/coolify.md +32 -0
  300. package/templates/repo/.github/skills/deploy/references/platforms/digitalocean.md +45 -0
  301. package/templates/repo/.github/skills/deploy/references/platforms/dokploy.md +29 -0
  302. package/templates/repo/.github/skills/deploy/references/platforms/flyio.md +54 -0
  303. package/templates/repo/.github/skills/deploy/references/platforms/gcp.md +45 -0
  304. package/templates/repo/.github/skills/deploy/references/platforms/github-pages.md +56 -0
  305. package/templates/repo/.github/skills/deploy/references/platforms/heroku.md +31 -0
  306. package/templates/repo/.github/skills/deploy/references/platforms/netlify.md +39 -0
  307. package/templates/repo/.github/skills/deploy/references/platforms/railway.md +38 -0
  308. package/templates/repo/.github/skills/deploy/references/platforms/render.md +39 -0
  309. package/templates/repo/.github/skills/deploy/references/platforms/tose.md +35 -0
  310. package/templates/repo/.github/skills/deploy/references/platforms/vercel.md +37 -0
  311. package/templates/repo/.github/skills/deploy/references/platforms/vultr.md +27 -0
  312. package/templates/repo/.github/skills/devops/SKILL.md +6 -12
  313. package/templates/repo/.github/skills/docs-seeker/SKILL.md +2 -1
  314. package/templates/repo/.github/skills/docs-seeker/references/context7-patterns.md +4 -0
  315. package/templates/repo/.github/skills/docs-seeker/scripts/fetch-docs.js +1 -2
  316. package/templates/repo/.github/skills/docs-seeker/scripts/utils/env-loader.js +4 -4
  317. package/templates/repo/.github/skills/docs-seeker/workflows/library-search.md +1 -0
  318. package/templates/repo/.github/skills/fix/SKILL.md +141 -44
  319. package/templates/repo/.github/skills/fix/references/complexity-assessment.md +21 -9
  320. package/templates/repo/.github/skills/fix/references/diagnosis-protocol.md +133 -0
  321. package/templates/repo/.github/skills/fix/references/mode-selection.md +27 -11
  322. package/templates/repo/.github/skills/fix/references/parallel-exploration.md +35 -12
  323. package/templates/repo/.github/skills/fix/references/prevention-gate.md +87 -0
  324. package/templates/repo/.github/skills/fix/references/review-cycle.md +3 -3
  325. package/templates/repo/.github/skills/fix/references/skill-activation-matrix.md +64 -31
  326. package/templates/repo/.github/skills/fix/references/task-orchestration.md +110 -0
  327. package/templates/repo/.github/skills/fix/references/workflow-deep.md +110 -47
  328. package/templates/repo/.github/skills/fix/references/workflow-logs.md +46 -10
  329. package/templates/repo/.github/skills/fix/references/workflow-quick.md +43 -20
  330. package/templates/repo/.github/skills/fix/references/workflow-standard.md +75 -41
  331. package/templates/repo/.github/skills/fix/references/workflow-test.md +49 -10
  332. package/templates/repo/.github/skills/fix/references/workflow-ui.md +56 -18
  333. package/templates/repo/.github/skills/frontend-design/SKILL.md +49 -17
  334. package/templates/repo/.github/skills/frontend-design/references/ai-multimodal-overview.md +165 -0
  335. package/templates/repo/.github/skills/frontend-design/references/anti-slop-rules.md +103 -0
  336. package/templates/repo/.github/skills/frontend-design/references/asset-generation.md +284 -108
  337. package/templates/repo/.github/skills/frontend-design/references/bento-motion-engine.md +142 -0
  338. package/templates/repo/.github/skills/frontend-design/references/magicui-components.md +129 -0
  339. package/templates/repo/.github/skills/frontend-design/references/performance-guardrails.md +169 -0
  340. package/templates/repo/.github/skills/frontend-design/references/premium-design-patterns.md +93 -0
  341. package/templates/repo/.github/skills/frontend-design/references/redesign-audit-checklist.md +114 -0
  342. package/templates/repo/.github/skills/frontend-design/references/visual-analysis-overview.md +1 -1
  343. package/templates/repo/.github/skills/frontend-design/references/workflow-3d.md +98 -0
  344. package/templates/repo/.github/skills/frontend-design/references/workflow-describe.md +4 -3
  345. package/templates/repo/.github/skills/frontend-design/references/workflow-immersive.md +82 -0
  346. package/templates/repo/.github/skills/frontend-design/references/workflow-quick.md +10 -12
  347. package/templates/repo/.github/skills/frontend-design/references/workflow-screenshot.md +9 -8
  348. package/templates/repo/.github/skills/frontend-design/references/workflow-video.md +74 -0
  349. package/templates/repo/.github/skills/frontend-development/SKILL.md +400 -0
  350. package/templates/repo/.github/skills/frontend-development/resources/common-patterns.md +331 -0
  351. package/templates/repo/.github/skills/frontend-development/resources/complete-examples.md +872 -0
  352. package/templates/repo/.github/skills/frontend-development/resources/component-patterns.md +502 -0
  353. package/templates/repo/.github/skills/frontend-development/resources/data-fetching.md +767 -0
  354. package/templates/repo/.github/skills/frontend-development/resources/file-organization.md +502 -0
  355. package/templates/repo/.github/skills/frontend-development/resources/loading-and-error-states.md +501 -0
  356. package/templates/repo/.github/skills/frontend-development/resources/performance.md +406 -0
  357. package/templates/repo/.github/skills/frontend-development/resources/routing-guide.md +364 -0
  358. package/templates/repo/.github/skills/frontend-development/resources/styling-guide.md +428 -0
  359. package/templates/repo/.github/skills/frontend-development/resources/typescript-standards.md +418 -0
  360. package/templates/repo/.github/skills/git/SKILL.md +18 -4
  361. package/templates/repo/.github/skills/git/references/commit-standards.md +3 -3
  362. package/templates/repo/.github/skills/git/references/workflow-commit.md +3 -3
  363. package/templates/repo/.github/skills/git/references/workflow-merge.md +1 -1
  364. package/templates/repo/.github/skills/git/references/workflow-pr.md +1 -1
  365. package/templates/repo/.github/skills/git/references/workflow-push.md +1 -1
  366. package/templates/repo/.github/skills/mcp-management/README.md +18 -18
  367. package/templates/repo/.github/skills/mcp-management/SKILL.md +16 -15
  368. package/templates/repo/.github/skills/mcp-management/references/configuration.md +4 -4
  369. package/templates/repo/.github/skills/mcp-management/references/gemini-cli-integration.md +12 -12
  370. package/templates/repo/.github/skills/mcp-management/scripts/.env.example +2 -2
  371. package/templates/repo/.github/skills/mcp-management/scripts/mcp-client.ts +1 -1
  372. package/templates/repo/.github/skills/mermaidjs-v11/SKILL.md +1 -0
  373. package/templates/repo/.github/skills/planning/SKILL.md +122 -91
  374. package/templates/repo/.github/skills/planning/references/archive-workflow.md +53 -0
  375. package/templates/repo/.github/skills/planning/references/codebase-understanding.md +1 -1
  376. package/templates/repo/.github/skills/planning/references/output-standards.md +17 -13
  377. package/templates/repo/.github/skills/planning/references/plan-organization.md +52 -30
  378. package/templates/repo/.github/skills/planning/references/red-team-personas.md +69 -0
  379. package/templates/repo/.github/skills/planning/references/red-team-workflow.md +77 -0
  380. package/templates/repo/.github/skills/planning/references/scope-challenge.md +90 -0
  381. package/templates/repo/.github/skills/planning/references/task-management.md +134 -0
  382. package/templates/repo/.github/skills/planning/references/validate-question-framework.md +80 -0
  383. package/templates/repo/.github/skills/planning/references/validate-workflow.md +65 -0
  384. package/templates/repo/.github/skills/planning/references/workflow-modes.md +154 -0
  385. package/templates/repo/.github/skills/problem-solving/SKILL.md +1 -0
  386. package/templates/repo/.github/skills/project-management/SKILL.md +133 -0
  387. package/templates/repo/.github/skills/project-management/references/documentation-triggers.md +60 -0
  388. package/templates/repo/.github/skills/project-management/references/hydration-workflow.md +89 -0
  389. package/templates/repo/.github/skills/project-management/references/progress-tracking.md +120 -0
  390. package/templates/repo/.github/skills/project-management/references/reporting-patterns.md +94 -0
  391. package/templates/repo/.github/skills/project-management/references/task-operations.md +87 -0
  392. package/templates/repo/.github/skills/repomix/SKILL.md +3 -2
  393. package/templates/repo/.github/skills/repomix/references/usage-patterns.md +2 -2
  394. package/templates/repo/.github/skills/repomix/scripts/README.md +1 -1
  395. package/templates/repo/.github/skills/repomix/scripts/repomix_batch.py +2 -2
  396. package/templates/repo/.github/skills/research/SKILL.md +7 -4
  397. package/templates/repo/.github/skills/scout/SKILL.md +24 -24
  398. package/templates/repo/.github/skills/scout/references/external-scouting.md +17 -17
  399. package/templates/repo/.github/skills/scout/references/internal-scouting.md +9 -9
  400. package/templates/repo/.github/skills/scout/references/task-management-scouting.md +125 -0
  401. package/templates/repo/.github/skills/security/SKILL.md +139 -0
  402. package/templates/repo/.github/skills/security/references/stride-owasp-checklist.md +128 -0
  403. package/templates/repo/.github/skills/sequential-thinking/README.md +3 -3
  404. package/templates/repo/.github/skills/sequential-thinking/SKILL.md +2 -0
  405. package/templates/repo/.github/skills/sequential-thinking/package-lock.json +3652 -0
  406. package/templates/repo/.github/skills/sequential-thinking/package.json +1 -1
  407. package/templates/repo/.github/skills/ship/SKILL.md +116 -0
  408. package/templates/repo/.github/skills/ship/references/auto-detect.md +103 -0
  409. package/templates/repo/.github/skills/ship/references/pr-template.md +90 -0
  410. package/templates/repo/.github/skills/ship/references/ship-workflow.md +241 -0
  411. package/templates/repo/.github/skills/test/SKILL.md +111 -0
  412. package/templates/repo/.github/skills/test/references/report-format.md +58 -0
  413. package/templates/repo/.github/skills/test/references/test-execution-workflow.md +103 -0
  414. package/templates/repo/.github/skills/test/references/ui-testing-workflow.md +65 -0
  415. package/templates/repo/.github/skills/ui-styling/SKILL.md +2 -0
  416. package/templates/repo/.github/skills/web-testing/SKILL.md +8 -60
  417. package/docs/guide-next-steps-speckit-cokit-implementation.md +0 -187
  418. package/prompts/ck-spec-analyze.prompt.md +0 -201
  419. package/prompts/ck-spec-checklist.prompt.md +0 -308
  420. package/prompts/ck-spec-clarify.prompt.md +0 -190
  421. package/prompts/ck-spec-constitution.prompt.md +0 -92
  422. package/prompts/ck-spec-implement.prompt.md +0 -157
  423. package/prompts/ck-spec-plan.prompt.md +0 -95
  424. package/prompts/ck-spec-specify.prompt.md +0 -261
  425. package/prompts/ck-spec-tasks.prompt.md +0 -181
  426. package/templates/repo/.github/AGENTS.md +0 -103
  427. package/templates/repo/.github/prompts/ck-spec-analyze.prompt.md +0 -201
  428. package/templates/repo/.github/prompts/ck-spec-checklist.prompt.md +0 -308
  429. package/templates/repo/.github/prompts/ck-spec-clarify.prompt.md +0 -190
  430. package/templates/repo/.github/prompts/ck-spec-constitution.prompt.md +0 -92
  431. package/templates/repo/.github/prompts/ck-spec-implement.prompt.md +0 -157
  432. package/templates/repo/.github/prompts/ck-spec-plan.prompt.md +0 -95
  433. package/templates/repo/.github/prompts/ck-spec-specify.prompt.md +0 -261
  434. package/templates/repo/.github/prompts/ck-spec-tasks.prompt.md +0 -181
  435. package/templates/repo/.github/skills/databases/stacks/bigquery.md +0 -231
  436. package/templates/repo/.github/skills/databases/stacks/d1_cloudflare.md +0 -137
  437. package/templates/repo/.github/skills/databases/stacks/mysql.md +0 -216
  438. package/templates/repo/.github/skills/databases/stacks/postgres.md +0 -235
  439. package/templates/repo/.github/skills/databases/stacks/sqlite.md +0 -244
  440. package/templates/repo/.github/skills/mcp-management/assets/tools.json +0 -3146
  441. package/templates/repo/.github/skills/mcp-management/scripts/dist/analyze-tools.js +0 -70
  442. package/templates/repo/.github/skills/mcp-management/scripts/dist/cli.js +0 -160
  443. package/templates/repo/.github/skills/mcp-management/scripts/dist/mcp-client.js +0 -183
  444. package/templates/repo/.github/skills/ui-styling/LICENSE.txt +0 -202
  445. package/templates/repo/.github/spec-kit/memory/constitution.md +0 -50
  446. package/templates/repo/.github/spec-kit/scripts/bash/check-prerequisites.sh +0 -166
  447. package/templates/repo/.github/spec-kit/scripts/bash/common.sh +0 -156
  448. package/templates/repo/.github/spec-kit/scripts/bash/create-new-feature.sh +0 -297
  449. package/templates/repo/.github/spec-kit/scripts/bash/setup-plan.sh +0 -61
  450. package/templates/repo/.github/spec-kit/scripts/bash/update-agent-context.sh +0 -799
  451. package/templates/repo/.github/spec-kit/scripts/powershell/check-prerequisites.ps1 +0 -148
  452. package/templates/repo/.github/spec-kit/scripts/powershell/common.ps1 +0 -137
  453. package/templates/repo/.github/spec-kit/scripts/powershell/create-new-feature.ps1 +0 -283
  454. package/templates/repo/.github/spec-kit/scripts/powershell/setup-plan.ps1 +0 -61
  455. package/templates/repo/.github/spec-kit/scripts/powershell/update-agent-context.ps1 +0 -448
  456. package/templates/repo/.github/spec-kit/templates/agent-file-template.md +0 -28
  457. package/templates/repo/.github/spec-kit/templates/checklist-template.md +0 -40
  458. package/templates/repo/.github/spec-kit/templates/commands/analyze.md +0 -187
  459. package/templates/repo/.github/spec-kit/templates/commands/checklist.md +0 -297
  460. package/templates/repo/.github/spec-kit/templates/commands/clarify.md +0 -184
  461. package/templates/repo/.github/spec-kit/templates/commands/constitution.md +0 -82
  462. package/templates/repo/.github/spec-kit/templates/commands/implement.md +0 -138
  463. package/templates/repo/.github/spec-kit/templates/commands/plan.md +0 -95
  464. package/templates/repo/.github/spec-kit/templates/commands/specify.md +0 -261
  465. package/templates/repo/.github/spec-kit/templates/commands/tasks.md +0 -140
  466. package/templates/repo/.github/spec-kit/templates/commands/taskstoissues.md +0 -33
  467. package/templates/repo/.github/spec-kit/templates/plan-template.md +0 -104
  468. package/templates/repo/.github/spec-kit/templates/spec-template.md +0 -115
  469. package/templates/repo/.github/spec-kit/templates/tasks-phase-template.md +0 -42
  470. package/templates/repo/.github/spec-kit/templates/tasks-template.md +0 -268
  471. package/templates/repo/.github/spec-kit/templates/vscode-settings.json +0 -14
@@ -0,0 +1,65 @@
1
+ # Validate Workflow
2
+
3
+ Interview the user with critical questions to validate assumptions, confirm decisions, and surface potential issues in an implementation plan before coding begins.
4
+
5
+ ## Plan Resolution
6
+
7
+ 1. If `$ARGUMENTS` provided → Use that path
8
+ 2. Else check `## Plan Context` section → Use active plan path
9
+ 3. If no plan found → Ask user to specify path or run `/ck-plan --hard` first
10
+
11
+ ## Configuration
12
+
13
+ Check `## Plan Context` section for validation settings:
14
+ - `mode` - Controls auto/prompt/off behavior
15
+ - `questions` - Range like `3-8` (min-max)
16
+
17
+ ## Workflow
18
+
19
+ ### Step 1: Read Plan Files
20
+ - `plan.md` - Overview and phases list
21
+ - `phase-*.md` - All phase files
22
+ - Look for decision points, assumptions, risks, tradeoffs
23
+
24
+ ### Step 2: Extract Question Topics
25
+ Load: `references/validate-question-framework.md`
26
+
27
+ ### Step 3: Generate Questions
28
+ For each detected topic, formulate a concrete question with 2-4 options.
29
+ Mark recommended option with "(Recommended)" suffix.
30
+
31
+ ### Step 4: Interview User
32
+ Use asking the user tool.
33
+ - Use question count from `## Plan Context` validation settings
34
+ - Group related questions (max 4 per tool call)
35
+ - Focus on: assumptions, risks, tradeoffs, architecture
36
+
37
+ ### Step 5: Document Answers
38
+ Add or append `## Validation Log` section in `plan.md`.
39
+ Load: `references/validate-question-framework.md` for recording format.
40
+
41
+ ### Step 6: Propagate Changes to Phases
42
+ Auto-propagate validation decisions to affected phase files.
43
+ Add marker: `<!-- Updated: Validation Session N - {change} -->`
44
+
45
+ ## Output
46
+ - Number of questions asked
47
+ - Key decisions confirmed
48
+ - Phase propagation results
49
+ - Recommendation: proceed or revise
50
+
51
+ ## Next Steps (MANDATORY)
52
+ Remind user with absolute path:
53
+ > **Best Practice:** Run `/clear` before implementing to start with fresh context.
54
+ > Then run:
55
+ > ```
56
+ > /ck-cook --auto {ABSOLUTE_PATH_TO_PLAN_DIR}/plan.md
57
+ > ```
58
+ > **Why `--auto`?** Plan was already validated — safe to skip review gates.
59
+ > **Why absolute path?** After `/clear`, the new session loses previous context.
60
+ > Fresh context helps focus solely on implementation without planning context pollution.
61
+
62
+ ## Important Notes
63
+ - Only ask about genuine decision points
64
+ - If plan is simple, fewer than min questions is okay
65
+ - Prioritize questions that could change implementation significantly
@@ -0,0 +1,154 @@
1
+ # Workflow Modes
2
+
3
+ ## Auto-Detection (Default: `--auto`)
4
+
5
+ When no flag specified, analyze task and pick mode:
6
+
7
+ | Signal | Mode | Rationale |
8
+ |--------|------|-----------|
9
+ | Simple task, clear scope, no unknowns | fast | Skip research overhead |
10
+ | Complex task, unfamiliar domain, new tech | hard | Research needed |
11
+ | 3+ independent features/layers/modules | parallel | Enable concurrent agents |
12
+ | Ambiguous approach, multiple valid paths | two | Compare alternatives |
13
+
14
+ Use asking the user if detection is uncertain.
15
+
16
+ ## Scope Challenge Integration
17
+
18
+ Step 0 (Scope Challenge, see `scope-challenge.md`) runs before mode detection and can influence it:
19
+ - If user selects **EXPANSION** → auto-suggest `--hard` or `--two`
20
+ - If user selects **REDUCTION** → auto-suggest `--fast`
21
+ - If user selects **HOLD** → proceed with auto-detected mode
22
+
23
+ Mode can still be overridden by explicit flags (`--fast`, `--hard`, etc.).
24
+ Scope challenge is skipped when `--fast` is explicitly set or task is trivial.
25
+
26
+ ## Fast Mode (`--fast`)
27
+
28
+ No research. Analyze → Plan → Hydrate Tasks.
29
+
30
+ 1. Read codebase docs (`codebase-summary.md`, `code-standards.md`, `system-architecture.md`)
31
+ 2. Use `planner` subagent to create plan
32
+ 3. Hydrate tasks (unless `--no-tasks`)
33
+ 4. **Context reminder:** `/ck-cook --auto {absolute-plan-path}/plan.md`
34
+
35
+ **Why `--auto` cook flag?** Fast planning pairs with fast execution — skip review gates.
36
+
37
+ ## Hard Mode (`--hard`)
38
+
39
+ Research → Scout → Plan → Red Team → Validate → Hydrate Tasks.
40
+
41
+ 1. Spawn max 2 `researcher` agents in parallel (different aspects, max 5 calls each)
42
+ 2. Read codebase docs; if stale/missing: run `/ck-scout` to search codebase
43
+ 3. Gather research + scout report filepaths → pass to `planner` subagent
44
+ 4. Post-plan red team review (see Red Team Review section below)
45
+ 5. Post-plan validation (see Validation section below)
46
+ 6. Hydrate tasks (unless `--no-tasks`)
47
+ 7. **Context reminder:** `/ck-cook {absolute-plan-path}/plan.md`
48
+
49
+ **Why no cook flag?** Thorough planning needs interactive review gates.
50
+
51
+ ## Parallel Mode (`--parallel`)
52
+
53
+ Research → Scout → Plan with file ownership → Red Team → Validate → Hydrate Tasks with dependency graph.
54
+
55
+ 1. Same as Hard mode steps 1-3
56
+ 2. Planner creates phases with:
57
+ - **Exclusive file ownership** per phase (no overlap)
58
+ - **Dependency matrix** (which phases run concurrently vs sequentially)
59
+ - **Conflict prevention** strategy
60
+ 3. plan.md includes: dependency graph, execution strategy, file ownership matrix
61
+ 4. Hydrate tasks: `addBlockedBy` for sequential deps, no blockers for parallel groups
62
+ 5. Post-plan red team review
63
+ 6. Post-plan validation
64
+ 7. **Context reminder:** `/ck-cook --parallel {absolute-plan-path}/plan.md`
65
+
66
+ ### Parallel Phase Requirements
67
+ - Each phase self-contained, no runtime deps on other phases
68
+ - Clear file boundaries — each file modified in ONE phase only
69
+ - Group by: architectural layer, feature domain, or technology stack
70
+ - Example: Phases 1-3 parallel (DB/API/UI), Phase 4 sequential (integration tests)
71
+
72
+ ## Two-Approach Mode (`--two`)
73
+
74
+ Research → Scout → Plan 2 approaches → Compare → Hydrate Tasks.
75
+
76
+ 1. Same as Hard mode steps 1-3
77
+ 2. Planner creates 2 implementation approaches with:
78
+ - Clear trade-offs (pros/cons each)
79
+ - Recommended approach with rationale
80
+ 3. User selects approach
81
+ 4. Post-plan red team review on selected approach
82
+ 5. Post-plan validation
83
+ 6. Hydrate tasks for selected approach (unless `--no-tasks`)
84
+ 7. **Context reminder:** `/ck-cook {absolute-plan-path}/plan.md`
85
+
86
+ ## Task Hydration Per Mode
87
+
88
+ | Mode | Task Granularity | Dependency Pattern |
89
+ |------|------------------|--------------------|
90
+ | fast | Phase-level only | Sequential chain |
91
+ | hard | Phase + critical steps | Sequential + step deps |
92
+ | parallel | Phase + steps + ownership | Parallel groups + sequential deps |
93
+ | two | After user selects approach | Sequential chain |
94
+
95
+ All modes: See `task-management.md` for TaskCreate patterns and metadata.
96
+
97
+ ## Post-Plan Red Team Review
98
+
99
+ Adversarial review that spawns hostile reviewers to find flaws before validation.
100
+
101
+ **Available in:** hard, parallel, two modes. **Skipped in:** fast mode.
102
+
103
+ **Invocation:** Run `/ck-plan red-team {plan-directory-path}`.
104
+ ```
105
+ /ck-plan red-team {plan-directory-path}
106
+ ```
107
+
108
+ **Sequence:** Red team runs BEFORE validation because:
109
+ 1. Red team may change the plan (added risks, removed sections, new constraints)
110
+ 2. Validation should confirm the FINAL plan, not a pre-review draft
111
+ 3. Validating first then red-teaming would invalidate validation answers
112
+
113
+ ## Post-Plan Validation
114
+
115
+ Check `## Plan Context` → `Validation: mode=X, questions=MIN-MAX`:
116
+
117
+ | Mode | Behavior |
118
+ |------|----------|
119
+ | `prompt` | Ask: "Validate this plan with interview?" → Yes (Recommended) / No |
120
+ | `auto` | Run `/ck-plan validate {plan-directory-path}` |
121
+ | `off` | Skip validation |
122
+
123
+ **Invocation (when prompt mode, user says yes):** Run:
124
+ ```
125
+ /ck-plan validate {plan-directory-path}
126
+ ```
127
+
128
+ **Available in:** hard, parallel, two modes. **Skipped in:** fast mode.
129
+
130
+ ## Context Reminder (MANDATORY)
131
+
132
+ After plan creation, MUST output with **actual absolute path**:
133
+
134
+ | Mode | Cook Command |
135
+ |------|-----------------------------|
136
+ | fast | `/ck-cook --auto {path}/plan.md` |
137
+ | hard | `/ck-cook {path}/plan.md` |
138
+ | parallel | `/ck-cook --parallel {path}/plan.md` |
139
+ | two | `/ck-cook {path}/plan.md` |
140
+
141
+ > **Best Practice:** Run `/clear` before implementing to reduce planning-context carryover.
142
+ > Then run the cook command above.
143
+
144
+ **Why absolute path?** After `/clear`, the new session loses previous context.
145
+ This reminder is **NON-NEGOTIABLE** — always output after presenting the plan.
146
+
147
+ ## Pre-Creation Check
148
+
149
+ Check `## Plan Context` in injected context:
150
+ - **"Plan: {path}"** → Ask "Continue with existing plan? [Y/n]"
151
+ - **"Suggested: {path}"** → Branch hint only, ask if activate or create new
152
+ - **"Plan: none"** → Create new using `Plan dir:` from `## Naming`
153
+
154
+ Pass plan directory path to every subagent during the process.
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: problem-solving
3
3
  description: Apply systematic problem-solving techniques when stuck. Use for complexity spirals, innovation blocks, recurring patterns, assumption constraints, simplification cascades, scale uncertainty.
4
+ argument-hint: "[problem description]"
4
5
  ---
5
6
 
6
7
  # Problem-Solving Techniques
@@ -0,0 +1,133 @@
1
+ ---
2
+ name: project-management
3
+ description: "Track progress, update plan statuses, manage Tasks, generate reports, coordinate docs updates. Use for project oversight, status checks, plan completion, task hydration, cross-session continuity."
4
+ argument-hint: "[task: status, hydrate, sync, report]"
5
+ ---
6
+
7
+ # Project Management
8
+
9
+ Project oversight and coordination using native Tasks with persistent plan files.
10
+
11
+ **Principles:** Token efficiency | Concise reports | Data-driven insights
12
+
13
+ ## When to Use
14
+
15
+ - Checking project status or progress across plans
16
+ - Updating plan statuses after feature completion
17
+ - Hydrating/syncing Tasks with plan files
18
+ - Generating status reports or summaries
19
+ - Coordinating documentation updates after milestones
20
+ - Verifying task completeness against acceptance criteria
21
+ - Cross-session resume of multi-phase work
22
+
23
+ ## Tool Availability
24
+
25
+ `TaskCreate`, `TaskUpdate`, `TaskGet`, `TaskList` are **CLI-only** — disabled in VSCode extension (`isTTY` check).
26
+
27
+ | Environment | Task Tools | Fallback |
28
+ |-------------|-----------|----------|
29
+ | CLI terminal | Available | — |
30
+ | VSCode extension | **Disabled** | `TodoWrite` |
31
+
32
+ **Fallback behavior:** If Task tools error, use `TodoWrite` for progress tracking. Plan file sync-back (checkbox updates, YAML frontmatter) works identically without Task tools. Core PM workflow remains functional.
33
+
34
+ ## Core Capabilities
35
+
36
+ ### 1. Task Operations
37
+ Load: `references/task-operations.md`
38
+
39
+ Use `TaskCreate`, `TaskUpdate`, `TaskGet`, `TaskList` to manage session-scoped tasks (CLI only; see Tool Availability above).
40
+ - Create tasks with metadata (phase, priority, effort, planDir, phaseFile)
41
+ - Track status: `pending` → `in_progress` → `completed`
42
+ - Manage dependencies with `addBlockedBy` / `addBlocks`
43
+ - Coordinate parallel agents with scoped ownership
44
+
45
+ ### 2. Session Bridging (Hydration Pattern)
46
+ Load: `references/hydration-workflow.md`
47
+
48
+ Tasks are ephemeral. Plan files are persistent. The hydration pattern bridges them:
49
+ - **Hydrate:** Read plan `[ ]` items → `TaskCreate` per unchecked item
50
+ - **Work:** `TaskUpdate` tracks progress in real-time
51
+ - **Sync-back:** Reconcile all completed tasks against all phase files, update `[ ]` → `[x]`, update YAML frontmatter status
52
+ - **Resume:** Next session re-hydrates from remaining `[ ]` items
53
+
54
+ ### 3. Progress Tracking
55
+ Load: `references/progress-tracking.md`
56
+
57
+ - Scan `./plans/*/plan.md` for active plans
58
+ - Parse YAML frontmatter for status, priority, effort
59
+ - Count `[x]` vs `[ ]` in phase files for completion %
60
+ - Cross-reference completed work against planned tasks
61
+ - Verify acceptance criteria met before marking complete
62
+
63
+ ### 4. Documentation Coordination
64
+ Load: `references/documentation-triggers.md`
65
+
66
+ Trigger `./docs` updates when:
67
+ - Phase status changes, major features complete
68
+ - API contracts change, architecture decisions made
69
+ - Security patches applied, breaking changes occur
70
+
71
+ Delegate to `docs-manager` subagent for actual updates.
72
+
73
+ ### 5. Status Reporting
74
+ Load: `references/reporting-patterns.md`
75
+
76
+ Generate reports: session summaries, plan completion, multi-plan overviews.
77
+ - Use naming: `{reports-path}/pm-{date}-{time}-{slug}.md`
78
+ - Sacrifice grammar for brevity; use tables over prose
79
+ - List unresolved questions at end
80
+
81
+ ## Workflow
82
+
83
+ ```
84
+ [Scan Plans] → [Hydrate Tasks] → [Track Progress] → [Update Status] → [Generate Report] → [Trigger Doc Updates]
85
+ ```
86
+
87
+ 1. `TaskList()` — check existing tasks first
88
+ 2. If empty: hydrate from plan files (unchecked items)
89
+ 3. During work: `TaskUpdate` as tasks progress
90
+ 4. On completion: run full-plan sync-back (all phase files, including backfill for earlier phases), then update YAML frontmatter
91
+ 5. Generate status report to reports directory
92
+ 6. Delegate doc updates if changes warrant
93
+
94
+ ## Mandatory Sync-Back Guard
95
+
96
+ When updating plan status, NEVER mark only the currently active phase.
97
+
98
+ 1. Sweep all `phase-XX-*.md` files under the target plan directory.
99
+ 2. Reconcile every `TaskUpdate(status: "completed")` item to phase metadata (`phase` / `phaseFile`).
100
+ 3. Backfill stale checkboxes in earlier phases before marking later phases done.
101
+ 4. Update `plan.md` status/progress from real checkbox counts.
102
+ 5. If any completed task cannot be mapped to a phase file, report unresolved mappings and do not claim full completion.
103
+
104
+ ## Plan YAML Frontmatter
105
+
106
+ All `plan.md` files MUST have:
107
+
108
+ ```yaml
109
+ ---
110
+ title: Feature name
111
+ status: in-progress # pending | in-progress | completed
112
+ priority: P1
113
+ effort: medium
114
+ branch: feature-branch
115
+ tags: [auth, api]
116
+ created: 2026-02-05
117
+ ---
118
+ ```
119
+
120
+ Update `status` when plan state changes.
121
+
122
+ ## Quality Standards
123
+
124
+ - All analysis data-driven, referencing specific plans and reports
125
+ - Focus on business value delivery and actionable insights
126
+ - Highlight critical issues requiring immediate attention
127
+ - Maintain traceability between requirements and implementation
128
+
129
+ ## Related Skills
130
+
131
+ - `plan` — Creates implementation plans (planning phase)
132
+ - `cook` — Implements plans (execution phase, invokes project-manager at finalize)
133
+ - `plans-kanban` — Visual dashboard for plan viewing
@@ -0,0 +1,60 @@
1
+ # Documentation Triggers
2
+
3
+ ## When to Update Docs
4
+
5
+ MUST update project documentation in `./docs` when:
6
+
7
+ | Trigger | Which Docs | Action |
8
+ |---------|-----------|--------|
9
+ | Phase status changes | project-roadmap.md | Update progress %, milestone status |
10
+ | Major feature complete | project-roadmap.md, codebase-summary.md | Add feature, update architecture |
11
+ | Bug fix (significant) | project-roadmap.md | Document fix, severity, impact |
12
+ | Security patch | project-roadmap.md, system-architecture.md | Record improvement |
13
+ | API contract changes | system-architecture.md, code-standards.md | Update endpoints, schemas |
14
+ | Architecture decision | system-architecture.md | Document decision + rationale |
15
+ | Scope/timeline change | project-roadmap.md | Adjust phases, dates |
16
+ | Dependencies updated | system-architecture.md | Record version changes |
17
+ | Breaking changes | code-standards.md | Document migration path |
18
+
19
+ ## Documentation Files
20
+
21
+ ```
22
+ ./docs/
23
+ ├── project-overview-pdr.md # Product requirements
24
+ ├── code-standards.md # Coding conventions
25
+ ├── codebase-summary.md # Architecture overview
26
+ ├── design-guidelines.md # UI/UX standards
27
+ ├── deployment-guide.md # Deploy procedures
28
+ ├── system-architecture.md # System design
29
+ └── project-roadmap.md # Milestones & progress
30
+ ```
31
+
32
+ ## Update Protocol
33
+
34
+ 1. **Read current state:** Always read target doc before editing
35
+ 2. **Analyze reports:** Review agent reports in plan reports directory
36
+ 3. **Update content:** Modify progress %, statuses, dates, descriptions
37
+ 4. **Cross-reference:** Ensure consistency across docs
38
+ 5. **Validate:** Verify dates, versions, references accurate
39
+
40
+ ## Quality Standards
41
+
42
+ - **Consistency:** Same formatting, versioning across all docs
43
+ - **Accuracy:** Progress %, dates, statuses reflect reality
44
+ - **Completeness:** Sufficient detail for stakeholder communication
45
+ - **Timeliness:** Update within same session as significant changes
46
+ - **Traceability:** Clear links between roadmap items and implementation
47
+
48
+ ## Delegation Pattern
49
+
50
+ Use `docs-manager` subagent for documentation updates:
51
+
52
+ ```
53
+ Task(
54
+ subagent_type: "docs-manager",
55
+ prompt: "Update ./docs for [changes]. Work context: [path]",
56
+ description: "Update docs"
57
+ )
58
+ ```
59
+
60
+ Project manager coordinates WHEN to update; docs-manager handles HOW.
@@ -0,0 +1,89 @@
1
+ # Hydration Workflow
2
+
3
+ Tasks are **session-scoped** — they disappear when the session ends. Plan files are the **persistent** layer. The hydration pattern bridges sessions.
4
+
5
+ ## Flow Diagram
6
+
7
+ ```
8
+ ┌──────────────────┐ Hydrate ┌───────────────────┐
9
+ │ Plan Files │ ─────────► │ Tasks │
10
+ │ (persistent) │ │ (session-scoped) │
11
+ │ [ ] Phase 1 │ │ ◼ pending │
12
+ │ [ ] Phase 2 │ │ ◼ pending │
13
+ └──────────────────┘ └───────────────────┘
14
+ │ Work
15
+
16
+ ┌──────────────────┐ Sync-back ┌───────────────────┐
17
+ │ Plan Files │ ◄───────── │ Task Updates │
18
+ │ (updated) │ │ (completed) │
19
+ │ [x] Phase 1 │ │ ✓ completed │
20
+ │ [ ] Phase 2 │ │ ◼ in_progress │
21
+ └──────────────────┘ └───────────────────┘
22
+ ```
23
+
24
+ ## Tool Availability
25
+
26
+ Task tools (`TaskCreate`/`TaskUpdate`/`TaskGet`/`TaskList`) are **CLI-only** — disabled in VSCode extension. If unavailable, use `TodoWrite` for progress tracking. The hydration pattern still works: plan files remain source of truth, sync-back updates checkboxes regardless of Task tool availability.
27
+
28
+ ## Session Start: Hydration
29
+
30
+ 1. Read plan files: `plan.md` + `phase-XX-*.md`
31
+ 2. Identify unchecked `[ ]` items = remaining work
32
+ 3. `TaskCreate` per unchecked item with metadata (phase, priority, effort, planDir, phaseFile) — or `TodoWrite` if Task tools unavailable
33
+ 4. Set up `addBlockedBy` dependency chains between phases (skip if using TodoWrite fallback)
34
+ 5. Already-checked `[x]` items = done, skip
35
+
36
+ **Check first:** `TaskList()` — if tasks already exist (same session), skip re-creation. If TaskList errors, proceed with TodoWrite.
37
+
38
+ ## During Work
39
+
40
+ - `TaskUpdate(status: "in_progress")` when picking up a task
41
+ - `TaskUpdate(status: "completed")` immediately after finishing
42
+ - Parallel agents coordinate through shared task list
43
+ - Blocked tasks auto-unblock when dependencies complete
44
+
45
+ ## Session End: Sync-Back
46
+
47
+ 1. Collect completed tasks (`TaskUpdate(status: "completed")`) with metadata (`phase`, `phaseFile`, `planDir`).
48
+ 2. Sweep all `phase-XX-*.md` files in the target plan directory.
49
+ 3. Reconcile and backfill: update `[ ]` → `[x]` for all completed items across every phase file (including earlier phases).
50
+ 4. Update `plan.md` frontmatter: status field (pending → in-progress → completed).
51
+ 5. Update progress percentages in `plan.md` overview from real checkbox counts.
52
+ 6. Report unresolved mappings when completed tasks cannot be matched to a phase file.
53
+ 7. Git commit captures state transition for next session.
54
+
55
+ ## Cross-Session Resume
56
+
57
+ When user runs `/ck-cook path/to/plan.md` in a new session:
58
+ 1. `TaskList()` → empty (tasks died with old session)
59
+ 2. Read plan files → re-hydrate from unchecked `[ ]` items
60
+ 3. Already-checked `[x]` = done, creates tasks only for remaining work
61
+ 4. Dependency chain reconstructed automatically
62
+
63
+ ## Compound Interest Effect
64
+
65
+ Each hydration cycle makes specs smarter:
66
+ - **Session 1:** Execute first tasks, establish patterns
67
+ - **Session 2:** See completed work, build on established patterns
68
+ - **Session 3:** Full context of prior sessions, fewer clarifications needed
69
+
70
+ Git history shows progression. Completed checkboxes show the path that worked. Specs gain **institutional memory** across sessions.
71
+
72
+ ## YAML Frontmatter Sync
73
+
74
+ Plan files MUST have frontmatter with these fields:
75
+
76
+ ```yaml
77
+ ---
78
+ title: Feature name
79
+ description: Brief description
80
+ status: in-progress # pending | in-progress | completed
81
+ priority: P1
82
+ effort: medium
83
+ branch: feature-branch
84
+ tags: [auth, api]
85
+ created: 2026-02-05
86
+ ---
87
+ ```
88
+
89
+ Update `status` field during sync-back when plan state changes.
@@ -0,0 +1,120 @@
1
+ # Progress Tracking
2
+
3
+ ## Plan Analysis Workflow
4
+
5
+ 1. **Read plans directory:** Glob `./plans/*/plan.md` to discover all plans
6
+ 2. **Parse YAML frontmatter:** Extract status, priority, effort, branch, tags
7
+ 3. **Scan phase files:** Count `[x]` (done) vs `[ ]` (remaining) in each phase
8
+ 4. **Reconcile completed tasks:** Ensure all completed task metadata is reflected in phase files (backfill stale earlier phases first)
9
+ 5. **Calculate progress:** `completed / total * 100` per plan
10
+ 6. **Cross-reference:** Compare plan tasks against actual implementation
11
+
12
+ ## Status Update Protocol
13
+
14
+ ### CLI-First Status Updates (Preferred)
15
+
16
+ Use `ck plan` CLI commands for deterministic, format-safe status changes:
17
+
18
+ ```bash
19
+ # Mark phase completed
20
+ ck plan check <phase-id>
21
+
22
+ # Mark phase in-progress
23
+ ck plan check <phase-id> --start
24
+
25
+ # Revert phase to pending
26
+ ck plan uncheck <phase-id>
27
+
28
+ # Add new phase or sub-phase
29
+ ck plan add-phase "Phase Name" [--after <id>]
30
+ ```
31
+
32
+ CLI automatically updates both `plan.md` table AND phase file frontmatter.
33
+ Plan-level status auto-computed: all completed → `completed`, any in-progress → `in-progress`.
34
+
35
+ **Fallback:** If `ck` CLI is not available, edit `plan.md` directly —
36
+ only change the Status column cell, preserve table structure exactly.
37
+
38
+ ### Plan-Level Status
39
+
40
+ Update `plan.md` frontmatter `status` field:
41
+
42
+ | Condition | Status |
43
+ |-----------|--------|
44
+ | No phases started | `pending` |
45
+ | Any phase in progress | `in-progress` |
46
+ | All phases complete | `completed` |
47
+
48
+ ### Phase-Level Status
49
+
50
+ Each `phase-XX-*.md` tracks with checkboxes:
51
+ - `[ ]` = pending
52
+ - `[x]` = completed
53
+ - Count ratio for progress percentage
54
+
55
+ ### Task-Level Status
56
+
57
+ Tasks (session-scoped): `pending` → `in_progress` → `completed`
58
+
59
+ ### Reconciliation Rule
60
+
61
+ If a later phase is marked done while earlier phases still contain stale unchecked completed items, backfill earlier phases in the same sync pass before final status reporting.
62
+
63
+ ## Verification Checklist
64
+
65
+ When verifying task completeness:
66
+
67
+ 1. **Acceptance criteria met?** — Check against plan requirements
68
+ 2. **Code quality validated?** — code-reviewer agent report available?
69
+ 3. **Tests passing?** — tester agent report confirms 100% pass?
70
+ 4. **Documentation updated?** — docs match implementation?
71
+ 5. **No regressions?** — Existing functionality intact?
72
+
73
+ ## Report Generation
74
+
75
+ ### Status Summary Template
76
+
77
+ ```markdown
78
+ ## Project Status: [Date]
79
+
80
+ ### Active Plans
81
+ | Plan | Progress | Priority | Status | Branch |
82
+ |------|----------|----------|--------|--------|
83
+ | [name] | [X]% | P[N] | [status] | [branch] |
84
+
85
+ ### Completed This Session
86
+ - [x] [description]
87
+
88
+ ### Blockers & Risks
89
+ - [ ] [description] — [mitigation]
90
+
91
+ ### Next Steps
92
+ 1. [Priority action]
93
+ 2. [Follow-up]
94
+ ```
95
+
96
+ ### Detailed Report Template
97
+
98
+ ```markdown
99
+ ## [Plan Name] - Detailed Status
100
+
101
+ ### Achievements
102
+ - Completed features, resolved issues, delivered value
103
+
104
+ ### Testing Status
105
+ - Components needing validation, test scenarios, quality gates
106
+
107
+ ### Risk Assessment
108
+ - Potential blockers, technical debt, mitigation strategies
109
+
110
+ ### Recommendations
111
+ - Prioritized next steps, resource needs, timeline projections
112
+ ```
113
+
114
+ ## Metrics to Track
115
+
116
+ - **Phase completion %** — How much of each phase is done
117
+ - **Blocker count** — Open blockers preventing progress
118
+ - **Dependency chain health** — Any circular or stale dependencies
119
+ - **Time since last update** — Identify stale plans needing attention
120
+ - **Test coverage** — Per-feature test pass rates