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
@@ -4,15 +4,15 @@ End-to-end feature implementation with smart intent detection.
4
4
 
5
5
  ## Installation
6
6
 
7
- Copy the `cook/` folder to your skills directory:
7
+ Install via CoKit CLI:
8
8
  ```bash
9
- cp -r cook ~/.copilot/skills/
9
+ # Install via: npx cokit-cli init
10
10
  ```
11
11
 
12
12
  ## Usage
13
13
 
14
14
  ```bash
15
- /cook <natural language task OR plan path>
15
+ /ck-cook <natural language task OR plan path>
16
16
  ```
17
17
 
18
18
  The skill automatically detects your intent and routes to the appropriate workflow.
@@ -21,25 +21,25 @@ The skill automatically detects your intent and routes to the appropriate workfl
21
21
 
22
22
  ```bash
23
23
  # Interactive mode (default)
24
- /cook implement user authentication
24
+ /ck-cook implement user authentication
25
25
 
26
26
  # Execute existing plan
27
- /cook plans/260120-auth
27
+ /ck-cook plans/260120-auth
28
28
 
29
29
  # Fast mode (skip research)
30
- /cook quick fix for login bug
31
- /cook implement feature --fast
30
+ /ck-cook quick fix for login bug
31
+ /ck-cook implement feature --fast
32
32
 
33
33
  # Auto mode (trust me bro)
34
- /cook implement dashboard trust me
35
- /cook implement feature --auto
34
+ /ck-cook implement dashboard trust me
35
+ /ck-cook implement feature --auto
36
36
 
37
37
  # Parallel mode (multi-agent)
38
- /cook implement auth, payments, notifications
39
- /cook implement feature --parallel
38
+ /ck-cook implement auth, payments, notifications
39
+ /ck-cook implement feature --parallel
40
40
 
41
41
  # No-test mode
42
- /cook implement feature --no-test
42
+ /ck-cook implement feature --no-test
43
43
  ```
44
44
 
45
45
  ## Modes
@@ -77,7 +77,7 @@ cook/
77
77
  ├── intent-detection.md # Detection rules
78
78
  ├── workflow-steps.md # Step definitions
79
79
  ├── review-cycle.md # Review process
80
- └── agent-patterns.md # Agent usage
80
+ └── subagent-patterns.md # Subagent usage
81
81
  ```
82
82
 
83
83
  ## Version
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: cook
3
- description: ALWAYS activate this skill before implementing EVERY feature, plan, or fix.
3
+ description: "ALWAYS activate this skill before implementing EVERY feature, plan, or fix."
4
+ argument-hint: "[task|plan-path] [--interactive|--fast|--parallel|--auto|--no-test]"
4
5
  ---
5
6
 
6
7
  # Cook - Smart Feature Implementation
@@ -12,18 +13,42 @@ End-to-end implementation with automatic workflow detection.
12
13
  ## Usage
13
14
 
14
15
  ```
15
- /cook <natural language task OR plan path>
16
+ /ck-cook <natural language task OR plan path>
16
17
  ```
17
18
 
18
- **Optional flags:** `--fast`, `--parallel`, `--no-test`, `--auto`, `--interactive`
19
+ **IMPORTANT:** If no flag is provided, the skill will use the `interactive` mode by default for the workflow.
19
20
 
20
- Example:
21
+ **Optional flags to select the workflow mode:**
22
+ - `--interactive`: Full workflow with user input (**default**)
23
+ - `--fast`: Skip research, scout→plan→code
24
+ - `--parallel`: Multi-agent execution
25
+ - `--no-test`: Skip testing step
26
+ - `--auto`: Auto-approve all steps
27
+
28
+ **Example:**
21
29
  ```
22
- /cook "Add user authentication to the app" --fast
23
- /cook path/to/plan.md --auto
24
- /cook "Fix login bug" --interactive
30
+ /ck-cook "Add user authentication to the app" --fast
31
+ /ck-cook path/to/plan.md --auto
25
32
  ```
26
33
 
34
+ <HARD-GATE>
35
+ Do NOT write implementation code until a plan exists and has been reviewed.
36
+ This applies regardless of task simplicity. "Simple" tasks are where unexamined assumptions waste the most time.
37
+ Exception: `--fast` mode skips research but still requires a plan step.
38
+ User override: If user explicitly says "just code it" or "skip planning", respect their instruction.
39
+ </HARD-GATE>
40
+
41
+ ## Anti-Rationalization
42
+
43
+ | Thought | Reality |
44
+ |---------|---------|
45
+ | "This is too simple to plan" | Simple tasks have hidden complexity. Plan takes 30 seconds. |
46
+ | "I already know how to do this" | Knowing ≠ planning. Write it down. |
47
+ | "Let me just start coding" | Undisciplined action wastes tokens. Plan first. |
48
+ | "The user wants speed" | Fastest path = plan → implement → done. Not: implement → debug → rewrite. |
49
+ | "I'll plan as I go" | That's not planning, that's hoping. |
50
+ | "Just this once" | Every skip is "just this once." No exceptions. |
51
+
27
52
  ## Smart Intent Detection
28
53
 
29
54
  | Input Pattern | Detected Mode | Behavior |
@@ -33,11 +58,34 @@ Example:
33
58
  | Contains "trust me", "auto" | auto | Auto-approve all steps |
34
59
  | Lists 3+ features OR "parallel" | parallel | Multi-agent execution |
35
60
  | Contains "no test", "skip test" | no-test | Skip testing step |
36
- | `--interactive` flag (explicit) | interactive | Full workflow with user input |
37
61
  | Default | interactive | Full workflow with user input |
38
62
 
39
63
  See `references/intent-detection.md` for detection logic.
40
64
 
65
+ ## Process Flow (Authoritative)
66
+
67
+ ```mermaid
68
+ flowchart TD
69
+ A[Intent Detection] --> B{Has plan path?}
70
+ B -->|Yes| F[Load Plan]
71
+ B -->|No| C{Mode?}
72
+ C -->|fast| D[Scout → Plan → Code]
73
+ C -->|interactive/auto| E[Research → Review → Plan]
74
+ E --> F
75
+ D --> F
76
+ F --> G[Review Gate]
77
+ G -->|approved| H[Implement]
78
+ G -->|rejected| E
79
+ H --> I[Review Gate]
80
+ I -->|approved| J{--no-test?}
81
+ J -->|No| K[Test]
82
+ J -->|Yes| L[Finalize]
83
+ K --> L
84
+ L --> M[Report + Journal]
85
+ ```
86
+
87
+ **This diagram is the authoritative workflow.** Prose sections below provide detail for each node. If prose conflicts with this flow, follow the diagram.
88
+
41
89
  ## Workflow Overview
42
90
 
43
91
  ```
@@ -46,15 +94,16 @@ See `references/intent-detection.md` for detection logic.
46
94
 
47
95
  **Default (non-auto):** Stops at `[Review]` gates for human approval before each major step.
48
96
  **Auto mode (`--auto`):** Skips human review gates, implements all phases continuously.
97
+ **Tasks:** Utilize `TaskCreate`, `TaskUpdate`, `TaskGet`, `TaskList` during implementation step. **Fallback:** These are CLI-only tools — unavailable in VSCode extension. If they error, use `TodoWrite` for progress tracking instead.
49
98
 
50
99
  | Mode | Research | Testing | Review Gates | Phase Progression |
51
100
  |------|----------|---------|--------------|-------------------|
52
101
  | interactive | ✓ | ✓ | **User approval at each step** | One at a time |
53
102
  | auto | ✓ | ✓ | Auto if score≥9.5 | All at once (no stops) |
54
- | fast | ✗ | ✓ | User approval at each step | One at a time |
55
- | parallel | Optional | ✓ | User approval at each step | Parallel groups |
56
- | no-test | ✓ | ✗ | User approval at each step | One at a time |
57
- | code | ✗ | ✓ | User approval at each step | Per plan |
103
+ | fast | ✗ | ✓ | **User approval at each step** | One at a time |
104
+ | parallel | Optional | ✓ | **User approval at each step** | Parallel groups |
105
+ | no-test | ✓ | ✗ | **User approval at each step** | One at a time |
106
+ | code | ✗ | ✓ | **User approval at each step** | Per plan |
58
107
 
59
108
  ## Step Output Format
60
109
 
@@ -73,55 +122,34 @@ Human review required at these checkpoints (skipped with `--auto`):
73
122
  **Always enforced (all modes):**
74
123
  - **Testing:** 100% pass required (unless no-test mode)
75
124
  - **Code Review:** User approval OR auto-approve (score≥9.5, 0 critical)
76
- - **Finalize:** docs-manager MUST complete
77
-
78
- ## Required Agents
79
-
80
- | Phase | Agent | Requirement |
81
- |-------|-------|-------------|
82
- | Research | `researcher` agent (parallel, optional in fast) | Spawn as needed |
83
- | Scout | `scout` agent | Spawn for codebase search |
84
- | Plan | `planner` agent | MUST spawn |
85
- | UI Work | `ui-ux-designer` agent | Spawn when frontend work exists |
86
- | Testing | `tester`, `debugger` agents | MUST spawn |
87
- | Review | `code-reviewer` agent | MUST spawn |
88
- | Finalize | `docs-manager`, `git-manager` agents | MUST spawn |
89
-
90
- ## Implementation Progress Tracking
91
-
92
- During Step 3 (Implementation), track progress using a todo list/checklist in the active plan or phase file:
93
-
94
- ```
95
- - [ ] Phase 1: Setup environment
96
- - [ ] Phase 2: Database models
97
- - [ ] Phase 3: API endpoints
98
- - [ ] Phase 4: UI components
99
- ```
100
-
101
- Update each item as completed. This replaces task management tooling with simple markdown tracking visible in the plan.
102
-
103
- ## CRITICAL ENFORCEMENT
104
-
105
- **Steps 4 (Testing), 5 (Code Review), and 6 (Finalize) MUST delegate to agents. DO NOT implement testing, review, or finalization yourself.**
106
-
107
- - Step 4: Always delegate to `tester` agent. If failures, delegate to `debugger` agent, then re-delegate to `tester`.
108
- - Step 5: Always delegate to `code-reviewer` agent. Never self-review.
109
- - Step 6: Always delegate to `docs-manager` agent for doc updates.
110
-
111
- ## Finalize Step (MANDATORY)
112
-
113
- Step 6 is not optional. All four actions MUST complete:
114
-
115
- 1. Update plan/phase status to completed in plan files
116
- 2. Delegate to `docs-manager` agent → review and update `./docs` if implementation changed APIs, architecture, or behavior
117
- 3. Mark all todo checklist items complete in the active plan
118
- 4. Ask the user: "Would you like to commit these changes via `git-manager` agent?"
119
-
120
- **Never skip finalize**, even in fast or auto mode.
125
+ - **Finalize (MANDATORY - never skip):**
126
+ 1. `project-manager` subagent → run full plan sync-back (all completed tasks/steps across all `phase-XX-*.md`, not only current phase), then update `plan.md` status/progress
127
+ 2. `docs-manager` subagent → update `./docs` if changes warrant
128
+ 3. `TaskUpdate` → mark all Tasks complete after sync-back verification (skip if Task tools unavailable)
129
+ 4. Ask user if they want to commit via `git-manager` subagent
130
+ 5. Run `/ck-journal` to write a concise technical journal entry upon completion
131
+
132
+ ## Required Subagents (MANDATORY)
133
+
134
+ | Phase | Subagent | Requirement |
135
+ |-------|----------|-------------|
136
+ | Research | `researcher` | Optional in fast/code |
137
+ | Scout | `scout` | Optional in code |
138
+ | Plan | `planner` | Optional in code |
139
+ | UI Work | `ui-ux-designer` | If frontend work |
140
+ | Testing | `tester`, `debugger` | **MUST** spawn |
141
+ | Review | `code-reviewer` | **MUST** spawn |
142
+ | Finalize | `project-manager`, `docs-manager`, `git-manager` | **MUST** spawn all 3 |
143
+
144
+ **CRITICAL ENFORCEMENT:**
145
+ - Steps 4, 5, 6 **MUST** use Task tool to spawn subagents
146
+ - DO NOT implement testing, review, or finalization yourself - DELEGATE
147
+ - If workflow ends with 0 Task tool calls, it is INCOMPLETE
148
+ - Pattern: `Task(subagent_type="[type]", prompt="[task]", description="[brief]")`
121
149
 
122
150
  ## References
123
151
 
124
152
  - `references/intent-detection.md` - Detection rules and routing logic
125
153
  - `references/workflow-steps.md` - Detailed step definitions for all modes
126
154
  - `references/review-cycle.md` - Interactive and auto review processes
127
- - `references/agent-patterns.md` - Agent invocation patterns
155
+ - `references/subagent-patterns.md` - Subagent invocation patterns
@@ -67,25 +67,25 @@ Detect multiple features from natural language:
67
67
  ## Examples
68
68
 
69
69
  ```
70
- "/cook implement user auth"
70
+ "/ck-cook implement user auth"
71
71
  → Mode: interactive (default, stops at review gates)
72
72
 
73
- "/cook plans/260120-auth/phase-02-api.md"
73
+ "/ck-cook plans/260120-auth/phase-02-api.md"
74
74
  → Mode: code (path detected, stops at review gates)
75
75
 
76
- "/cook quick fix for the login bug"
76
+ "/ck-cook quick fix for the login bug"
77
77
  → Mode: fast ("quick" keyword, stops at review gates)
78
78
 
79
- "/cook implement auth, payments, notifications, shipping"
79
+ "/ck-cook implement auth, payments, notifications, shipping"
80
80
  → Mode: parallel (4 features, stops at review gates)
81
81
 
82
- "/cook implement dashboard --fast"
82
+ "/ck-cook implement dashboard --fast"
83
83
  → Mode: fast (explicit flag, stops at review gates)
84
84
 
85
- "/cook implement everything --auto"
85
+ "/ck-cook implement everything --auto"
86
86
  → Mode: auto (NO STOPS, implements all phases continuously)
87
87
 
88
- "/cook implement dashboard trust me"
88
+ "/ck-cook implement dashboard trust me"
89
89
  → Mode: auto ("trust me" keyword, NO STOPS)
90
90
  ```
91
91
 
@@ -24,7 +24,7 @@ LOOP:
24
24
  │ - [suggestion] │
25
25
  └─────────────────────────────────────────┘
26
26
 
27
- 3. Ask user directly (header: "Review & Approve") — then wait for response:
27
+ 3. asking the user (header: "Review & Approve"):
28
28
  IF critical_count > 0:
29
29
  - "Fix critical issues" → fix, re-run tester, cycle++, LOOP
30
30
  - "Fix all issues" → fix all, re-run tester, cycle++, LOOP
@@ -37,7 +37,7 @@ LOOP:
37
37
 
38
38
  4. IF cycle >= 3 AND user selects fix:
39
39
  → "⚠ 3 review cycles completed. Final decision required."
40
- Ask user: "Approve with noted issues" / "Abort workflow" — wait for response
40
+ asking the user: "Approve with noted issues" / "Abort workflow"
41
41
  ```
42
42
 
43
43
  ## Auto-Handling Cycle (for auto modes)
@@ -0,0 +1,75 @@
1
+ # Subagent Patterns
2
+
3
+ Standard patterns for spawning and using subagents in cook workflows.
4
+
5
+ ## Task Tool Pattern
6
+ ```
7
+ Task(subagent_type="[type]", prompt="[task description]", description="[brief]")
8
+ ```
9
+
10
+ ## Research Phase
11
+ ```
12
+ Task(subagent_type="researcher", prompt="Research [topic]. Report ≤150 lines.", description="Research [topic]")
13
+ ```
14
+ - Use multiple researchers in parallel for different topics
15
+ - Keep reports ≤150 lines with citations
16
+
17
+ ## Scout Phase
18
+ ```
19
+ Task(subagent_type="scout", prompt="Find files related to [feature] in codebase", description="Scout [feature]")
20
+ ```
21
+ - Use `/ck-scout ext` (preferred) or `/ck-scout` (fallback)
22
+
23
+ ## Planning Phase
24
+ ```
25
+ Task(subagent_type="planner", prompt="Create implementation plan based on reports: [reports]. Save to [path]", description="Plan [feature]")
26
+ ```
27
+ - Input: researcher and scout reports
28
+ - Output: `plan.md` + `phase-XX-*.md` files
29
+
30
+ ## UI Implementation
31
+ ```
32
+ Task(subagent_type="ui-ux-designer", prompt="Implement [feature] UI per ./docs/design-guidelines.md", description="UI [feature]")
33
+ ```
34
+ - For frontend work
35
+ - Follow design guidelines
36
+
37
+ ## Testing
38
+ ```
39
+ Task(subagent_type="tester", prompt="Run test suite for plan phase [phase-name]", description="Test [phase]")
40
+ ```
41
+ - Must achieve 100% pass rate
42
+
43
+ ## Debugging
44
+ ```
45
+ Task(subagent_type="debugger", prompt="Analyze failures: [details]", description="Debug [issue]")
46
+ ```
47
+ - Use when tests fail
48
+ - Provides root cause analysis
49
+
50
+ ## Code Review
51
+ ```
52
+ Task(subagent_type="code-reviewer", prompt="Review changes for [phase]. Check security, performance, YAGNI/KISS/DRY. Return score (X/10), critical, warnings, suggestions.", description="Review [phase]")
53
+ ```
54
+
55
+ ## Project Management
56
+ ```
57
+ Task(subagent_type="project-manager", prompt="Run full sync-back in [plan-path]: reconcile completed tasks with all phase files, backfill stale completed checkboxes across all phases, update plan.md status/progress, and report unresolved mappings.", description="Update plan")
58
+ ```
59
+
60
+ ## Documentation
61
+ ```
62
+ Task(subagent_type="docs-manager", prompt="Update docs for [phase]. Changed files: [list]", description="Update docs")
63
+ ```
64
+
65
+ ## Git Operations
66
+ ```
67
+ Task(subagent_type="git-manager", prompt="Stage and commit changes with conventional commit message", description="Commit changes")
68
+ ```
69
+
70
+ ## Parallel Execution
71
+ ```
72
+ Task(subagent_type="fullstack-developer", prompt="Implement [phase-file] with file ownership: [files]", description="Implement phase [N]")
73
+ ```
74
+ - Launch multiple for parallel phases
75
+ - Include file ownership boundaries
@@ -2,12 +2,14 @@
2
2
 
3
3
  All modes share core steps with mode-specific variations.
4
4
 
5
+ **Task Tool Fallback:** `TaskCreate`/`TaskUpdate`/`TaskGet`/`TaskList` are CLI-only — unavailable in VSCode extension. If they error, use `TodoWrite` for progress tracking. All workflow steps remain functional without Task tools.
6
+
5
7
  ## Step 0: Intent Detection & Setup
6
8
 
7
9
  1. Parse input with `intent-detection.md` rules
8
10
  2. Log detected mode: `✓ Step 0: Mode [X] - [reason]`
9
11
  3. If mode=code: detect plan path, set active plan
10
- 4. Use TaskCreate to create workflow step tasks (with dependencies if complex)
12
+ 4. Use `TaskCreate` to create workflow step tasks (with dependencies if complex)
11
13
 
12
14
  **Output:** `✓ Step 0: Mode [interactive|auto|fast|parallel|no-test|code] - [detection reason]`
13
15
 
@@ -15,7 +17,7 @@ All modes share core steps with mode-specific variations.
15
17
 
16
18
  **Interactive/Auto:**
17
19
  - Spawn multiple `researcher` agents in parallel
18
- - Use `/scout:ext` or `scout` agent for codebase search
20
+ - Use `/ck-scout ext` or `scout` agent for codebase search
19
21
  - Keep reports ≤150 lines
20
22
 
21
23
  **Parallel:**
@@ -25,7 +27,7 @@ All modes share core steps with mode-specific variations.
25
27
 
26
28
  ### [Review Gate 1] Post-Research (skip if auto mode)
27
29
  - Present research summary to user
28
- - Ask user: "Proceed to planning?" / "Request more research" / "Abort" — then wait for response
30
+ - Use asking the user to ask: "Proceed to planning?" / "Request more research" / "Abort"
29
31
  - **Auto mode:** Skip this gate
30
32
 
31
33
  ## Step 2: Planning
@@ -35,11 +37,11 @@ All modes share core steps with mode-specific variations.
35
37
  - Create `plan.md` + `phase-XX-*.md` files
36
38
 
37
39
  **Fast:**
38
- - Use `/plan:fast` with scout results only
40
+ - Use `/ck-plan --fast` with scout results only
39
41
  - Minimal planning, focus on action
40
42
 
41
43
  **Parallel:**
42
- - Use `/plan:parallel` for dependency graph + file ownership matrix
44
+ - Use `/ck-plan --parallel` for dependency graph + file ownership matrix
43
45
 
44
46
  **Code:**
45
47
  - Skip - plan already exists
@@ -49,19 +51,32 @@ All modes share core steps with mode-specific variations.
49
51
 
50
52
  ### [Review Gate 2] Post-Plan (skip if auto mode)
51
53
  - Present plan overview with phases
52
- - Ask user: "Approve plan and start implementation?" / "Request revisions" / "Abort" then wait for response
54
+ - Use asking the user to ask: "Validate the plan or approve plan to start implementation?" - "Validate" / "Approve" / "Abort" / "Other" ("Request revisions")
55
+ - "Validate": run `/ck-plan validate` skill invocation
56
+ - "Approve": continue to implementation
57
+ - "Abort": stop the workflow
58
+ - "Other": revise the plan based on user's feedback
53
59
  - **Auto mode:** Skip this gate
54
60
 
55
61
  ## Step 3: Implementation
56
62
 
63
+ **IMPORTANT:**
64
+ 1. `TaskList` first — check for existing tasks (hydrated by planning skill in same session)
65
+ 2. If tasks exist → pick them up, skip re-creation
66
+ 3. If no tasks → read plan phases, `TaskCreate` for each unchecked `[ ]` item with priority order and metadata (`phase`, `planDir`, `phaseFile`)
67
+ 4. Tasks can be blocked by other tasks via `addBlockedBy`
68
+
57
69
  **All modes:**
70
+ - Use `TaskUpdate` to mark tasks as `in_progress` immediately.
58
71
  - Execute phase tasks sequentially (Step 3.1, 3.2, etc.)
59
72
  - Use `ui-ux-designer` for frontend
60
- - Use ImageMagick/FFmpeg CLI for image assets
73
+ - Use `ai-multimodal` (if available) for image assets
61
74
  - Run type checking after each file
62
75
 
63
76
  **Parallel mode:**
77
+ - Utilize all tools of Tasks: `TaskCreate`, `TaskUpdate`, `TaskGet` and `TaskList`
64
78
  - Launch multiple `fullstack-developer` agents
79
+ - When agents pick up a task, use `TaskUpdate` to assign task to agent and mark tasks as `in_progress` immediately.
65
80
  - Respect file ownership boundaries
66
81
  - Wait for parallel group before next
67
82
 
@@ -69,28 +84,31 @@ All modes share core steps with mode-specific variations.
69
84
 
70
85
  ### [Review Gate 3] Post-Implementation (skip if auto mode)
71
86
  - Present implementation summary (files changed, key changes)
72
- - Ask user: "Proceed to testing?" / "Request implementation changes" / "Abort" — then wait for response
87
+ - Use asking the user to ask: "Proceed to testing?" / "Request implementation changes" / "Abort"
73
88
  - **Auto mode:** Skip this gate
74
89
 
75
90
  ## Step 4: Testing (skip if no-test mode)
76
91
 
77
92
  **All modes (except no-test):**
78
93
  - Write tests: happy path, edge cases, errors
79
- - Use `tester` agent
80
- - If failures: `debugger` → fix → repeat
81
- - **Forbidden:** fake mocks, commented tests, changed assertions
94
+ - **MUST** spawn `tester` subagent: `Task(subagent_type="tester", prompt="Run test suite", description="Run tests")`
95
+ - If failures: **MUST** spawn `debugger` subagent → fix → repeat
96
+ - **Forbidden:** fake mocks, commented tests, changed assertions, skipping subagent delegation
82
97
 
83
- **Output:** `✓ Step 4: Tests [X/X passed]`
98
+ **Output:** `✓ Step 4: Tests [X/X passed] - tester subagent invoked`
84
99
 
85
100
  ### [Review Gate 4] Post-Testing (skip if auto mode)
86
101
  - Present test results summary
87
- - Ask user: "Proceed to code review?" / "Request test fixes" / "Abort" — then wait for response
102
+ - Use asking the user to ask: "Proceed to code review?" / "Request test fixes" / "Abort"
88
103
  - **Auto mode:** Skip this gate
89
104
 
90
105
  ## Step 5: Code Review
91
106
 
107
+ **All modes - MANDATORY subagent:**
108
+ - **MUST** spawn `code-reviewer` subagent: `Task(subagent_type="code-reviewer", prompt="Review changes. Return score, critical issues, warnings.", description="Code review")`
109
+ - **DO NOT** review code yourself - delegate to subagent
110
+
92
111
  **Interactive/Parallel/Code/No-test:**
93
- - Use `code-reviewer` agent
94
112
  - Interactive cycle (max 3): see `review-cycle.md`
95
113
  - Requires user approval
96
114
 
@@ -103,19 +121,47 @@ All modes share core steps with mode-specific variations.
103
121
  - Simplified review, no fix loop
104
122
  - User approves or aborts
105
123
 
106
- **Output:** `✓ Step 5: Review [score]/10 - [Approved|Auto-approved]`
124
+ **Output:** `✓ Step 5: Review [score]/10 - [Approved|Auto-approved] - code-reviewer subagent invoked`
107
125
 
108
126
  ## Step 6: Finalize
109
127
 
110
- **All modes:**
111
- 1. `project-manager` + `docs-manager` agents in parallel
112
- 2. Onboarding check (API keys, env vars)
113
- 3. Auto-commit via `git-manager` agent
128
+ **All modes - MANDATORY subagents (NON-NEGOTIABLE):**
129
+ 1. **MUST** spawn these subagents in parallel:
130
+ - `Task(subagent_type="project-manager", prompt="Run full sync-back for [plan-path]: reconcile all completed Tasks with all phase files, backfill stale completed checkboxes across every phase, then update plan.md frontmatter/table progress. Do NOT only mark current phase.", description="Update plan")`
131
+ - `Task(subagent_type="docs-manager", prompt="Update docs for changes.", description="Update docs")`
132
+ 2. Project-manager sync-back MUST include:
133
+
134
+ ### Status Sync (Finalize)
135
+
136
+ Use CLI commands for deterministic status updates:
137
+
138
+ ```bash
139
+ # Mark completed phases
140
+ ck plan check <phase-id>
141
+
142
+ # Mark in-progress phases
143
+ ck plan check <phase-id> --start
144
+
145
+ # Revert if needed
146
+ ck plan uncheck <phase-id>
147
+ ```
148
+
149
+ **Fallback:** If `ck` is not available, edit plan.md directly —
150
+ only change the Status column cell, preserve table structure.
151
+ - Sweep all `phase-XX-*.md` files in the plan directory.
152
+ - Mark every completed item `[ ] → [x]` based on completed tasks (including earlier phases finished before current phase).
153
+ - Update `plan.md` status/progress (`pending`/`in-progress`/`completed`) from actual checkbox state.
154
+ - Return unresolved mappings if any completed task cannot be matched to a phase file.
155
+ 3. Use `TaskUpdate` to mark Tasks complete after sync-back confirmation.
156
+ 4. Onboarding check (API keys, env vars)
157
+ 5. **MUST** spawn git subagent: `Task(subagent_type="git-manager", prompt="Stage and commit changes", description="Commit")`
158
+
159
+ **CRITICAL:** Step 6 is INCOMPLETE without spawning all 3 subagents. DO NOT skip subagent delegation.
114
160
 
115
- **Auto mode:** Continue to next phase automatically
161
+ **Auto mode:** Continue to next phase automatically, start from **Step 3**.
116
162
  **Others:** Ask user before next phase
117
163
 
118
- **Output:** `✓ Step 6: Finalized - Status updated - Committed`
164
+ **Output:** `✓ Step 6: Finalized - 3 subagents invoked - Full-plan sync-back completed - Committed`
119
165
 
120
166
  ## Mode-Specific Flow Summary
121
167
 
@@ -135,6 +181,12 @@ code: 0 → skip → skip → 3 → [R] → 4 → [R] → 5(user) → 6
135
181
  ## Critical Rules
136
182
 
137
183
  - Never skip steps without mode justification
138
- - Use TaskUpdate to mark tasks complete immediately
139
- - One task in_progress at a time (enforce via TaskList check)
184
+ - **MANDATORY SUBAGENT DELEGATION:** Steps 4, 5, 6 MUST spawn subagents via Task tool. DO NOT implement directly.
185
+ - Step 4: `tester` (and `debugger` if failures)
186
+ - Step 5: `code-reviewer`
187
+ - Step 6: `project-manager`, `docs-manager`, `git-manager`
188
+ - Use `TaskCreate` to create Tasks for each unchecked item with priority order and dependencies (or `TodoWrite` if Task tools unavailable).
189
+ - Use `TaskUpdate` to mark Tasks `in_progress` when picking up a task (skip if Task tools unavailable).
190
+ - Use `TaskUpdate` to mark Tasks `complete` immediately after finalizing the task (skip if Task tools unavailable).
140
191
  - All step outputs follow format: `✓ Step [N]: [status] - [metrics]`
192
+ - **VALIDATION:** If Task tool calls = 0 at end of workflow, the workflow is INCOMPLETE.
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: databases
3
- description: Design schemas, write queries for MongoDB, PostgreSQL, SQL Server. Use for database design, SQL/NoSQL queries, aggregation pipelines, indexes, migrations, replication, performance optimization, psql CLI, EF Core.
3
+ description: Design schemas, write queries for MongoDB and PostgreSQL. Use for database design, SQL/NoSQL queries, aggregation pipelines, indexes, migrations, replication, performance optimization, psql CLI.
4
+ license: MIT
5
+ argument-hint: "[query or schema task]"
4
6
  ---
5
7
 
6
8
  # Databases Skill
@@ -74,38 +76,9 @@ python scripts/db_performance_check.py --db mongodb --threshold 100ms
74
76
  - Regular VACUUM and ANALYZE maintenance
75
77
  - Connection pooling (pgBouncer) for web apps
76
78
 
77
- ## .NET / Entity Framework Core
78
-
79
- For .NET projects, use Entity Framework Core with PostgreSQL or SQL Server:
80
-
81
- ```csharp
82
- // DbContext configuration
83
- public class AppDbContext : DbContext
84
- {
85
- public DbSet<User> Users => Set<User>();
86
- public DbSet<Post> Posts => Set<Post>();
87
-
88
- protected override void OnConfiguring(DbContextOptionsBuilder options)
89
- => options.UseNpgsql("Host=localhost;Database=mydb;Username=user;Password=pass");
90
- // Or: options.UseSqlServer(connectionString);
91
- }
92
-
93
- // Migrations
94
- // dotnet ef migrations add InitialCreate
95
- // dotnet ef database update
96
-
97
- // Query with LINQ
98
- var activeUsers = await _context.Users
99
- .Where(u => u.IsActive)
100
- .Include(u => u.Posts)
101
- .ToListAsync();
102
- ```
103
-
104
79
  ## Resources
105
80
 
106
81
  - MongoDB: https://www.mongodb.com/docs/
107
82
  - PostgreSQL: https://www.postgresql.org/docs/
108
- - SQL Server: https://learn.microsoft.com/sql/
109
- - Entity Framework Core: https://learn.microsoft.com/ef/core/
110
83
  - MongoDB University: https://learn.mongodb.com/
111
84
  - PostgreSQL Tutorial: https://www.postgresqltutorial.com/
@@ -173,7 +173,7 @@ Before delivering final DDL:
173
173
  ## File Structure
174
174
 
175
175
  ```
176
- $HOME/.copilot/skills/databases/
176
+ skills/databases/
177
177
  ├── SKILL.md # Skill description (entry + execution process + checklist)
178
178
  ├── db-design.md # This file
179
179
  ├── transactional.md # OLTP design rules