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
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: mcp-management
3
3
  description: Manage MCP servers - discover, analyze, execute tools/prompts/resources. Use for MCP integrations, intelligent tool selection, multi-server management, context-efficient capability discovery.
4
+ argument-hint: "[task or server-name]"
4
5
  ---
5
6
 
6
7
  # MCP Management
@@ -15,7 +16,7 @@ MCP is an open protocol enabling AI agents to connect to external tools and data
15
16
  - Progressive disclosure of MCP capabilities (load only what's needed)
16
17
  - Intelligent tool/prompt/resource selection based on task requirements
17
18
  - Multi-server management from single config file
18
- - Context-efficient: agents handle MCP discovery and execution
19
+ - Context-efficient: subagents handle MCP discovery and execution
19
20
  - Persistent tool catalog: automatically saves discovered tools to JSON for fast reference
20
21
 
21
22
  ## When to Use This Skill
@@ -25,17 +26,17 @@ Use this skill when:
25
26
  2. **Task-Based Tool Selection**: Analyzing which MCP tools are relevant for a specific task
26
27
  3. **Executing MCP Tools**: Calling MCP tools programmatically with proper parameter handling
27
28
  4. **MCP Integration**: Building or debugging MCP client implementations
28
- 5. **Context Management**: Avoiding context pollution by delegating MCP operations to agents
29
+ 5. **Context Management**: Avoiding context pollution by delegating MCP operations to subagents
29
30
 
30
31
  ## Core Capabilities
31
32
 
32
33
  ### 1. Configuration Management
33
34
 
34
- MCP servers configured in `$HOME/.copilot/.mcp.json`.
35
+ MCP servers configured in `.vscode/mcp.json`.
35
36
 
36
37
  **Gemini CLI Integration** (recommended): Create symlink to `.gemini/settings.json`:
37
38
  ```bash
38
- mkdir -p .gemini && ln -sf $HOME/.copilot/.mcp.json .gemini/settings.json
39
+ mkdir -p .gemini && ln -sf .vscode/mcp.json .gemini/settings.json
39
40
  ```
40
41
 
41
42
  See [references/configuration.md](references/configuration.md) and [references/gemini-cli-integration.md](references/gemini-cli-integration.md).
@@ -80,7 +81,7 @@ echo "Take a screenshot of https://example.com" | gemini -y -m <gemini.model>
80
81
  npx tsx scripts/cli.ts call-tool memory create_entities '{"entities":[...]}'
81
82
  ```
82
83
 
83
- **Fallback: mcp-manager Agent**
84
+ **Fallback: mcp-manager Subagent**
84
85
 
85
86
  See [references/gemini-cli-integration.md](references/gemini-cli-integration.md) for complete examples.
86
87
 
@@ -104,16 +105,16 @@ echo "Take a screenshot of https://example.com. Return JSON only per GEMINI.md i
104
105
 
105
106
  **Benefits**:
106
107
  - Automatic tool discovery
107
- - Structured JSON responses (parseable by the agent)
108
+ - Structured JSON responses (parseable by AI)
108
109
  - GEMINI.md auto-loaded for consistent formatting
109
- - Faster than agent orchestration
110
+ - Faster than subagent orchestration
110
111
  - No natural language ambiguity
111
112
 
112
113
  See [references/gemini-cli-integration.md](references/gemini-cli-integration.md) for complete guide.
113
114
 
114
- ### Pattern 2: Agent-Based Execution (Fallback)
115
+ ### Pattern 2: Subagent-Based Execution (Fallback)
115
116
 
116
- Use `mcp-manager` agent when Gemini CLI unavailable. Agent discovers tools, selects relevant ones, executes tasks, reports back.
117
+ Use `mcp-manager` agent when Gemini CLI unavailable. Subagent discovers tools, selects relevant ones, executes tasks, reports back.
117
118
 
118
119
  **Benefit**: Main context stays clean, only relevant tool definitions loaded when needed.
119
120
 
@@ -130,7 +131,7 @@ Coordinate tools across multiple servers. Each tool knows its source server for
130
131
  ### scripts/mcp-client.ts
131
132
 
132
133
  Core MCP client manager class. Handles:
133
- - Config loading from `$HOME/.copilot/.mcp.json`
134
+ - Config loading from `.vscode/mcp.json`
134
135
  - Connecting to multiple MCP servers
135
136
  - Listing tools/prompts/resources across all servers
136
137
  - Executing tools with proper error handling
@@ -151,7 +152,7 @@ Command-line interface for MCP operations. Commands:
151
152
  **Method 1: Gemini CLI** (recommended)
152
153
  ```bash
153
154
  npm install -g gemini-cli
154
- mkdir -p .gemini && ln -sf $HOME/.copilot/.mcp.json .gemini/settings.json
155
+ mkdir -p .gemini && ln -sf .vscode/mcp.json .gemini/settings.json
155
156
  # IMPORTANT: Use stdin piping, NOT -p flag (deprecated, skips MCP init)
156
157
  # GEMINI.md auto-loads to enforce JSON responses
157
158
  echo "Take a screenshot of https://example.com. Return JSON only per GEMINI.md instructions." | gemini -y -m <gemini.model>
@@ -161,12 +162,12 @@ Returns structured JSON: `{"server":"puppeteer","tool":"screenshot","success":tr
161
162
 
162
163
  **Method 2: Scripts**
163
164
  ```bash
164
- cd $HOME/.copilot/skills/mcp-management/scripts && npm install
165
+ cd skills/mcp-management/scripts && npm install
165
166
  npx tsx cli.ts list-tools # Saves to assets/tools.json
166
167
  npx tsx cli.ts call-tool memory create_entities '{"entities":[...]}'
167
168
  ```
168
169
 
169
- **Method 3: mcp-manager Agent**
170
+ **Method 3: mcp-manager Subagent**
170
171
 
171
172
  See [references/gemini-cli-integration.md](references/gemini-cli-integration.md) for complete guide.
172
173
 
@@ -193,7 +194,7 @@ See [references/mcp-protocol.md](references/mcp-protocol.md) for:
193
194
  - Use when: Need specific tool/server control
194
195
  - Execute: `npx tsx scripts/cli.ts call-tool <server> <tool> <args>`
195
196
 
196
- 3. **mcp-manager Agent** (Fallback): Context-efficient delegation
197
+ 3. **mcp-manager Subagent** (Fallback): Context-efficient delegation
197
198
  - Use when: Gemini unavailable or failed
198
199
  - Keeps main context clean
199
200
 
@@ -206,4 +207,4 @@ The `mcp-manager` agent uses this skill to:
206
207
  - Discover MCP capabilities without loading into main context
207
208
  - Report results back to main agent
208
209
 
209
- This keeps main agent context clean and enables efficient MCP integration.
210
+ This keeps main agent context clean and enables efficient MCP integration.
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Configuration File Structure
4
4
 
5
- MCP servers are configured in `$HOME/.copilot/.mcp.json`:
5
+ MCP servers are configured in `.vscode/mcp.json`:
6
6
 
7
7
  ```json
8
8
  {
@@ -101,9 +101,9 @@ Reference env vars with `${VAR_NAME}` syntax:
101
101
  Scripts check for config in this order:
102
102
 
103
103
  1. `process.env` (runtime environment)
104
- 2. `$HOME/.copilot/skills/mcp-management/.env`
105
- 3. `$HOME/.copilot/skills/.env`
106
- 4. `$HOME/.copilot/.env`
104
+ 2. `skills/mcp-management/.env`
105
+ 3. `skills/.env`
106
+ 4. `.env`
107
107
 
108
108
  ## Validation
109
109
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Model Configuration
4
4
 
5
- Read model from `$HOME/.copilot/.ck.json`: `gemini.model` (default: `gemini-3.0-flash`)
5
+ Read model from `.ck.json`: `gemini.model` (default: `gemini-3-flash-preview`)
6
6
 
7
7
  ## ⚠️ CRITICAL: Use Stdin Piping, NOT -p Flag
8
8
 
@@ -12,7 +12,7 @@ The `-p` flag is **deprecated** and skips MCP server initialization, causing too
12
12
  # ❌ WRONG - Deprecated -p flag skips MCP connections!
13
13
  gemini -y -m <gemini.model> -p "Take a screenshot"
14
14
  # Also wrong: Using --model instead of -m
15
- gemini -y -p "Take a screenshot" --model gemini-3.0-flash
15
+ gemini -y -p "Take a screenshot" --model gemini-3-flash-preview
16
16
 
17
17
  # ✅ CORRECT - This initializes MCP servers
18
18
  echo "Take a screenshot" | gemini -y -m <gemini.model>
@@ -39,17 +39,17 @@ gemini --version
39
39
 
40
40
  ### Symlink Setup
41
41
 
42
- Gemini CLI reads MCP servers from `.gemini/settings.json`. Create a symlink to `$HOME/.copilot/.mcp.json`:
42
+ Gemini CLI reads MCP servers from `.gemini/settings.json`. Create a symlink to `.vscode/mcp.json`:
43
43
 
44
44
  ```bash
45
45
  # Create .gemini directory
46
46
  mkdir -p .gemini
47
47
 
48
48
  # Create symlink (Unix/Linux/macOS)
49
- ln -sf $HOME/.copilot/.mcp.json .gemini/settings.json
49
+ ln -sf .vscode/mcp.json .gemini/settings.json
50
50
 
51
51
  # Create symlink (Windows - requires admin or developer mode)
52
- mklink .gemini\settings.json .copilot\.mcp.json
52
+ mklink .gemini\settings.json .vscode/mcp.json
53
53
  ```
54
54
 
55
55
  ### Security
@@ -74,8 +74,8 @@ echo "<prompt>" | gemini [flags]
74
74
 
75
75
  - `-y`: Skip confirmation prompts (auto-approve tool execution)
76
76
  - `-m <model>`: Model selection
77
- - `gemini-3.0-flash` (fast, recommended for MCP)
78
- - `gemini-3.0-flash` (balanced)
77
+ - `gemini-3-flash-preview` (fast, recommended for MCP)
78
+ - `gemini-3-pro-preview` (balanced)
79
79
  - `gemini-pro` (high quality)
80
80
 
81
81
  ### Examples
@@ -97,7 +97,7 @@ echo "Search for latest Next.js 15 features and summarize the top 3" | gemini -y
97
97
 
98
98
  **Multi-Tool Orchestration**:
99
99
  ```bash
100
- echo "Search for AI documentation, take a screenshot of the homepage, and save both to memory" | gemini -y -m <gemini.model>
100
+ echo "Search for API documentation, take a screenshot of the homepage, and save both to memory" | gemini -y -m <gemini.model>
101
101
  ```
102
102
 
103
103
  **Browser Automation**:
@@ -107,7 +107,7 @@ echo "Navigate to https://example.com, click the signup button, and take a scree
107
107
 
108
108
  ## How It Works
109
109
 
110
- 1. **Configuration Loading**: Reads `.gemini/settings.json` (symlinked to `$HOME/.copilot/.mcp.json`)
110
+ 1. **Configuration Loading**: Reads `.gemini/settings.json` (symlinked to `.vscode/mcp.json`)
111
111
  2. **Server Connection**: Connects to all configured MCP servers
112
112
  3. **Tool Discovery**: Lists all available tools from servers
113
113
  4. **Prompt Analysis**: Gemini model analyzes the prompt
@@ -119,7 +119,7 @@ echo "Navigate to https://example.com, click the signup button, and take a scree
119
119
 
120
120
  ### Trusted Servers (Skip Confirmations)
121
121
 
122
- Edit `$HOME/.copilot/.mcp.json`:
122
+ Edit `.vscode/mcp.json`:
123
123
 
124
124
  ```json
125
125
  {
@@ -194,7 +194,7 @@ ls -la .gemini/settings.json
194
194
  dir .gemini\settings.json
195
195
  ```
196
196
 
197
- Should show symlink pointing to `$HOME/.copilot/.mcp.json`.
197
+ Should show symlink pointing to `.vscode/mcp.json`.
198
198
 
199
199
  ### Debug Mode
200
200
 
@@ -212,7 +212,7 @@ Shows detailed MCP communication logs.
212
212
  | Direct Scripts | ⭐⭐ | ⭐⭐⭐ | ⭐⭐⭐ | Specific tools |
213
213
  | mcp-manager | ⭐ | ⭐⭐ | ⭐⭐⭐ | Fallback |
214
214
 
215
- **Recommendation**: Use Gemini CLI as primary method, fallback to scripts/agent when unavailable.
215
+ **Recommendation**: Use Gemini CLI as primary method, fallback to scripts/subagent when unavailable.
216
216
 
217
217
  ## Resources
218
218
 
@@ -1,7 +1,7 @@
1
1
  # MCP Management Scripts Environment Variables
2
2
 
3
- # Path to MCP configuration file (optional, defaults to .copilot/.mcp.json)
4
- MCP_CONFIG_PATH=.copilot/.mcp.json
3
+ # Path to MCP configuration file (optional, defaults to .vscode/mcp.json)
4
+ MCP_CONFIG_PATH=.vscode/mcp.json
5
5
 
6
6
  # Logging level (optional, defaults to info)
7
7
  LOG_LEVEL=info
@@ -10,7 +10,7 @@ export class MCPClientManager {
10
10
  config = null;
11
11
  clients = new Map();
12
12
  transports = new Map();
13
- async loadConfig(configPath = '$HOME/.copilot/.mcp.json') {
13
+ async loadConfig(configPath = '.vscode/mcp.json') {
14
14
  const fullPath = resolve(process.cwd(), configPath);
15
15
  const content = await readFile(fullPath, 'utf-8');
16
16
  const config = JSON.parse(content);
@@ -46,7 +46,7 @@ export class MCPClientManager {
46
46
  private clients: Map<string, Client> = new Map();
47
47
  private transports: Map<string, StdioClientTransport> = new Map();
48
48
 
49
- async loadConfig(configPath: string = '$HOME/.copilot/.mcp.json'): Promise<MCPConfig> {
49
+ async loadConfig(configPath: string = '.vscode/mcp.json'): Promise<MCPConfig> {
50
50
  const fullPath = resolve(process.cwd(), configPath);
51
51
  const content = await readFile(fullPath, 'utf-8');
52
52
  const config = JSON.parse(content) as MCPConfig;
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: mermaidjs-v11
3
3
  description: Create diagrams with Mermaid.js v11 syntax. Use for flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, state diagrams, architecture diagrams, timelines, user journeys.
4
+ argument-hint: "[diagram-type or description]"
4
5
  ---
5
6
 
6
7
  # Mermaid.js v11
@@ -1,46 +1,86 @@
1
1
  ---
2
- name: planning
3
- description: Plan implementations, design architectures, create technical roadmaps with detailed phases. Use for feature planning, system design, solution architecture, implementation strategy, phase documentation.
2
+ name: plan
3
+ description: "Plan implementations, design architectures, create technical roadmaps with detailed phases. Use for feature planning, system design, solution architecture, implementation strategy, phase documentation."
4
+ argument-hint: "[task] OR [archive|red-team|validate]"
5
+ license: MIT
4
6
  ---
5
7
 
6
8
  # Planning
7
9
 
8
10
  Create detailed technical implementation plans through research, codebase analysis, solution design, and comprehensive documentation.
9
11
 
12
+ **IMPORTANT:** Before you start, scan unfinished plans in the current project at `./plans/` directory, read the `plan.md`, if there are relevant plans with your upcoming plan, update them as well. If you're unsure or need more clarifications, use ask the user.
13
+
14
+ ### Cross-Plan Dependency Detection
15
+
16
+ During the pre-creation scan, detect and mark blocking relationships between plans:
17
+
18
+ 1. **Scan** — Read `plan.md` frontmatter of each unfinished plan (status != `completed`/`cancelled`)
19
+ 2. **Compare scope** — Check overlapping files, shared dependencies, same feature area
20
+ 3. **Classify relationship:**
21
+ - New plan needs output of existing plan → new plan `blockedBy: [existing-plan-dir]`
22
+ - New plan changes something existing plan depends on → existing plan `blockedBy: [new-plan-dir]`, new plan `blocks: [existing-plan-dir]`
23
+ - Mutual dependency → both plans reference each other in `blockedBy`/`blocks`
24
+ 4. **Bidirectional update** — When relationship detected, update BOTH `plan.md` files' frontmatter
25
+ 5. **Ambiguous?** → Use asking the user with header "Plan Dependency", present detected overlap, ask user to confirm relationship type (blocks/blockedBy/none)
26
+
27
+ **Frontmatter fields** (relative plan dir paths):
28
+ ```yaml
29
+ blockedBy: [260301-1200-auth-system] # This plan waits on these plans
30
+ blocks: [260228-0900-user-dashboard] # This plan blocks these plans
31
+ ```
32
+
33
+ **Status interaction:** A plan with `blockedBy` entries where ANY blocker is not `completed` → plan status should note `blocked` in its overview. When all blockers complete, the blocked plan becomes unblocked automatically on next scan.
34
+
35
+ ## Default (No Arguments)
36
+
37
+ If invoked with a task description, proceed with planning workflow. If invoked WITHOUT arguments or with unclear intent, use asking the user to present available operations:
38
+
39
+ | Operation | Description |
40
+ |-----------|-------------|
41
+ | `(default)` | Create implementation plan for a task |
42
+ | `archive` | Write journal entry & archive plans |
43
+ | `red-team` | Adversarial plan review |
44
+ | `validate` | Critical questions interview |
45
+
46
+ Present as options by asking the user with header "Planning Operation", question "What would you like to do?".
47
+
10
48
  ## Workflow Modes
11
49
 
12
- Default: `--auto` analyze the task and auto-pick the most appropriate mode.
50
+ Default: `--auto` (analyze task complexity and auto-pick mode).
13
51
 
14
- | Flag | Research | Red Team | Validation | Cook Flag |
15
- |------|----------|----------|------------|-----------|
16
- | `--auto` | Auto | Auto | Auto | auto |
17
- | `--fast` | Skip | Skip | Skip | fast |
18
- | `--hard` | Full | Yes | Yes | hard |
19
- | `--parallel` | Parallel | Yes | Yes | parallel |
20
- | `--two` | Full | Yes | Yes | two |
52
+ | Flag | Mode | Research | Red Team | Validation | Cook Flag |
53
+ |------|------|----------|----------|------------|-----------|
54
+ | `--auto` | Auto-detect | Follows mode | Follows mode | Follows mode | Follows mode |
55
+ | `--fast` | Fast | Skip | Skip | Skip | `--auto` |
56
+ | `--hard` | Hard | 2 researchers | Yes | Optional | (none) |
57
+ | `--parallel` | Parallel | 2 researchers | Yes | Optional | `--parallel` |
58
+ | `--two` | Two approaches | 2+ researchers | After selection | After selection | (none) |
21
59
 
22
- Add `--no-tasks` to any mode to skip todo checklist hydration after the plan is written.
60
+ Add `--no-tasks` to skip task hydration in any mode.
23
61
 
24
- See `references/workflow-modes.md` for detailed mode behavior.
62
+ Load: `references/workflow-modes.md` for auto-detection logic, per-mode workflows, context reminders.
25
63
 
26
64
  ## When to Use
27
65
 
28
- Use this skill when:
29
66
  - Planning new feature implementations
30
67
  - Architecting system designs
31
68
  - Evaluating technical approaches
32
69
  - Creating implementation roadmaps
33
70
  - Breaking down complex requirements
34
- - Assessing technical trade-offs
35
71
 
36
72
  ## Core Responsibilities & Rules
37
73
 
38
74
  Always honoring **YAGNI**, **KISS**, and **DRY** principles.
39
75
  **Be honest, be brutal, straight to the point, and be concise.**
40
76
 
77
+ ### 0. Scope Challenge
78
+ Load: `references/scope-challenge.md`
79
+ **Skip if:** `--fast` mode or trivial task (single file fix, <20 word description)
80
+
41
81
  ### 1. Research & Analysis
42
82
  Load: `references/research-phase.md`
43
- **Skip if:** Provided with researcher reports
83
+ **Skip if:** Fast mode or provided with researcher reports
44
84
 
45
85
  ### 2. Codebase Understanding
46
86
  Load: `references/codebase-understanding.md`
@@ -55,109 +95,100 @@ Load: `references/plan-organization.md`
55
95
  ### 5. Task Breakdown & Output Standards
56
96
  Load: `references/output-standards.md`
57
97
 
98
+ ## Process Flow (Authoritative)
99
+
100
+ ```mermaid
101
+ flowchart TD
102
+ A[Pre-Creation Check] --> B[Cross-Plan Scan]
103
+ B --> C[Scope Challenge]
104
+ C --> D[Mode Detection]
105
+ D -->|fast| E[Skip Research]
106
+ D -->|hard/parallel/two| F[Spawn Researchers]
107
+ E --> G[Codebase Analysis]
108
+ F --> G
109
+ G --> H[Write Plan via Planner]
110
+ H --> I{Red Team?}
111
+ I -->|Yes| J[Red Team Review]
112
+ I -->|No| K{Validate?}
113
+ J --> K
114
+ K -->|Yes| L[Validation Interview]
115
+ K -->|No| M[Hydrate Tasks]
116
+ L --> M
117
+ M --> N[Output Cook Command]
118
+ N --> O[Journal]
119
+ ```
120
+
121
+ **This diagram is the authoritative workflow.** Prose sections below provide detail for each node.
122
+
58
123
  ## Workflow Process
59
124
 
60
- 1. **Pre-Creation Check** → Check `## Plan Context` from hook injection; follow Active Plan State rules below.
61
- 2. **Mode Detection** → Use explicit flag if provided; otherwise auto-detect based on task complexity.
62
- 3. **Research Phase** → Spawn parallel researcher agents to investigate approaches (skip in `--fast` mode).
63
- 4. **Codebase Analysis** → Read docs in `./docs`; activate `/ck-scout` if file relationships are unclear.
64
- 5. **Plan Documentation** → Write comprehensive plan via `planner` agent using the directory structure below.
65
- 6. **Red Team Review** → Spawn adversarial reviewers to challenge assumptions (`--hard`, `--parallel`, `--two` modes only). See `references/workflow-modes.md`.
66
- 7. **Post-Plan Validation** → Use `/ck-plan-validate` to verify completeness and coherence (`--hard`, `--parallel`, `--two` modes only).
67
- 8. **Hydrate Tasks** → Create a todo checklist from plan phases with dependency annotations (default on; skip with `--no-tasks` or fewer than 3 phases).
68
- 9. **Context Reminder** → Output the cook command with the absolute plan path (MANDATORY): `Use plan at: {absolute-plan-dir-path}`
125
+ 1. **Pre-Creation Check** → Check Plan Context for active/suggested/none
126
+ 1b. **Cross-Plan Scan** → Scan unfinished plans, detect `blockedBy`/`blocks` relationships, update both plans
127
+ 1c. **Scope Challenge** → Run Step 0 scope questions, select mode (see `references/scope-challenge.md`)
128
+ **Skip if:** `--fast` mode or trivial task
129
+ 2. **Mode Detection** → Auto-detect or use explicit flag (see `workflow-modes.md`)
130
+ 3. **Research Phase** → Spawn researchers (skip in fast mode)
131
+ 4. **Codebase Analysis** → Read docs, scout if needed
132
+ 5. **Plan Documentation** → Write comprehensive plan via planner subagent
133
+ 6. **Red Team Review** → Run `/ck-plan red-team {plan-path}` (hard/parallel/two modes)
134
+ 7. **Post-Plan Validation** → Run `/ck-plan validate {plan-path}` (hard/parallel/two modes)
135
+ 8. **Hydrate Tasks** → Create Tasks from phases (default on, `--no-tasks` to skip)
136
+ 9. **Context Reminder** → Output cook command with absolute path (MANDATORY)
137
+ 10. **Journal** → Run `/ck-journal` to write a concise technical journal entry upon completion
69
138
 
70
139
  ## Output Requirements
140
+ **IMPORTANT:** Invoke "/ck-project-organization" skill to organize the outputs.
71
141
 
72
142
  - DO NOT implement code - only create plans
73
143
  - Respond with plan file path and summary
74
144
  - Ensure self-contained plans with necessary context
75
145
  - Include code snippets/pseudocode when clarifying
76
- - Provide multiple options with trade-offs when appropriate
77
- - Fully respect the `./docs/development-rules.md` file.
146
+ - Fully respect the `./docs/development-rules.md` file
78
147
 
79
148
  ## Task Management
80
149
 
81
- Plan files are persistent on disk. Todo checklists are session-scoped. Hydration bridges the gap by converting plan phases into trackable checklist items at plan-creation time.
150
+ Plan files = persistent. Tasks = session-scoped. Hydration bridges the gap.
82
151
 
83
- - **Default:** Auto-hydrate after plan is written (create checklist with one item per phase).
84
- - **Skip with:** `--no-tasks` flag or when plan has fewer than 3 phases (3-Task Rule).
85
- - **Checklist format:** Include phase name, dependencies, and owning agent hint per item.
152
+ **Default:** Auto-hydrate tasks after plan files are written. Skip with `--no-tasks`.
153
+ **3-Task Rule:** <3 phases skip task creation.
154
+ **Fallback:** Task tools (`TaskCreate`/`TaskUpdate`/`TaskGet`/`TaskList`) are CLI-only unavailable in VSCode extension. If they error, use `TodoWrite` for tracking. Plan files remain the source of truth; hydration is an optimization, not a requirement.
86
155
 
87
- See `references/task-management.md` for checklist schema and dependency notation.
156
+ Load: `references/task-management.md` for hydration pattern, TaskCreate patterns, cook handoff protocol.
88
157
 
89
- ### Important
90
- DO NOT create plans or reports in USER directory.
91
- ALWAYS create plans or reports in CURRENT WORKING PROJECT DIRECTORY.
92
-
93
- **Plan Directory Structure**
94
- IN CURRENT WORKING PROJECT DIRECTORY:
95
- ```
96
- plans/
97
- └── {date}-plan-name/
98
- ├── research/
99
- │ ├── researcher-XX-report.md
100
- │ └── ...
101
- ├── reports/
102
- │ ├── XX-report.md
103
- │ └── ...
104
- ├── scout/
105
- │ ├── scout-XX-report.md
106
- │ └── ...
107
- ├── plan.md
108
- ├── phase-XX-phase-name-here.md
109
- └── ...
110
- ```
158
+ ### Hydration Workflow
159
+ 1. Write plan.md + phase files (persistent layer)
160
+ 2. TaskCreate per phase with `addBlockedBy` chain (skip if Task tools unavailable)
161
+ 3. TaskCreate for critical/high-risk steps within phases (skip if Task tools unavailable)
162
+ 4. Metadata: phase, priority, effort, planDir, phaseFile
163
+ 5. Cook picks up via TaskList (same session) or re-hydrates (new session)
111
164
 
112
165
  ## Active Plan State
113
166
 
114
- Prevents version proliferation by tracking current working plan via session state.
115
-
116
- ### Active vs Suggested Plans
117
-
118
- Check the `## Plan Context` section injected by hooks:
119
- - **"Plan: {path}"** = Active plan, explicitly set via `set-active-plan.cjs` — use this path for all reports
120
- - **"Suggested: {path}"** = Branch-matched hint only — do NOT auto-use
121
- - **"Plan: none"** = No active plan
167
+ Check `## Plan Context` injected by hooks:
168
+ - **"Plan: {path}"** → Active plan. Ask "Continue? [Y/n]"
169
+ - **"Suggested: {path}"** Branch hint only. Ask if activate or create new.
170
+ - **"Plan: none"** → Create new using `Plan dir:` from `## Naming`
122
171
 
123
- ### Rules
124
-
125
- 1. **If "Plan:" shows a path**: Ask "Continue with existing plan? [Y/n]"
126
- 2. **If "Suggested:" shows a path**: Inform user, ask if they want to activate or create new
127
- 3. **If "Plan: none"**: Create new plan using naming from `## Naming` section
128
- 4. **Update on create**: Run `node $HOME/.copilot/scripts/set-active-plan.cjs {plan-dir}`
129
-
130
- ### Report Output Location
131
-
132
- All agents writing reports MUST:
133
- 1. Check `## Naming` section injected by hooks for the computed naming pattern
134
- 2. Active plans use plan-specific reports path
135
- 3. Suggested plans use default reports path (not plan folder)
172
+ Reports: Active plans → plan-specific path. Suggested → default path.
136
173
 
137
174
  ### Important
138
- DO NOT create plans or reports in USER directory.
139
- ALWAYS create plans or reports in CURRENT WORKING PROJECT DIRECTORY.
175
+ **DO NOT** create plans or reports in USER directory.
176
+ **MUST** create plans or reports in **THE CURRENT WORKING PROJECT DIRECTORY**.
140
177
 
141
- **Important:** Suggested plans do NOT get plan-specific reports — this prevents pollution of old plan folders.
178
+ ## Subcommands
179
+
180
+ | Subcommand | Reference | Purpose |
181
+ |------------|-----------|---------|
182
+ | `/ck-plan archive` | `references/archive-workflow.md` | Archive plans + write journal entries |
183
+ | `/ck-plan red-team` | `references/red-team-workflow.md` | Adversarial plan review with hostile reviewers |
184
+ | `/ck-plan validate` | `references/validate-workflow.md` | Validate plan with critical questions interview |
142
185
 
143
186
  ## Quality Standards
144
187
 
145
- - Be thorough and specific
146
- - Consider long-term maintainability
188
+ - Thorough and specific, consider long-term maintainability
147
189
  - Research thoroughly when uncertain
148
190
  - Address security and performance concerns
149
- - Make plans detailed enough for junior developers
191
+ - Detailed enough for junior developers
150
192
  - Validate against existing codebase patterns
151
193
 
152
194
  **Remember:** Plan quality determines implementation success. Be comprehensive and consider all solution aspects.
153
-
154
- ## References
155
-
156
- Load as needed:
157
- - `references/workflow-modes.md` - Mode behavior details and flag descriptions
158
- - `references/task-management.md` - Checklist schema, dependency notation, hydration rules
159
- - `references/research-phase.md` - Research phase execution
160
- - `references/codebase-understanding.md` - Codebase analysis steps
161
- - `references/solution-design.md` - Solution design process
162
- - `references/plan-organization.md` - Plan file structure and organization
163
- - `references/output-standards.md` - Task breakdown and output format standards
@@ -0,0 +1,53 @@
1
+ # Archive Workflow
2
+
3
+ ## Your mission
4
+ Read and analyze the plans, then write journal entries and archive specific plans or all plans in the `plans` directory.
5
+
6
+ ## Plan Resolution
7
+ 1. If `$ARGUMENTS` provided → Use that path
8
+ 2. Else read all plans in the `plans` directory
9
+
10
+ ## Workflow
11
+
12
+ ### Step 1: Read Plan Files
13
+
14
+ Read the plan directory:
15
+ - `plan.md` - Overview and phases list
16
+ - `phase-*.md` - 20 first lines of each phase file to understand the progress and status
17
+
18
+ ### Step 2: Summarize the plans and document them with `/ck-journal` skill invocation
19
+ ask if user wants to document journal entries or not.
20
+ Skip this step if user selects "No".
21
+ If user selects "Yes":
22
+ - Analyze the information in previous steps.
23
+ - Use Task tool with `subagent_type="journal-writer"` in parallel to document all plans.
24
+ - Journal entries should be concise and focused on the most important events, key changes, impacts, and decisions.
25
+ - Keep journal entries in the `./docs/journals/` directory.
26
+
27
+ ### Step 3: Ask user to confirm the action before archiving these plans
28
+ ask if user wants to proceed with archiving these plans, select specific plans to archive or all completed plans only.
29
+ ask if user wants to delete permanently or move to the `./plans/archive` directory.
30
+
31
+ ### Step 4: Archive the plans
32
+ Start archiving the plans based on the user's choice:
33
+ - Move the plans to the `./plans/archive` directory.
34
+ - Delete the plans permanently: `rm -rf ./plans/<plan-1> ./plans/<plan-2> ...`
35
+
36
+ ### Step 5: Ask if user wants to commit the changes
37
+ ask if user wants to commit the changes with these options:
38
+ - Stage and commit the changes (Use `/ck-git` for commit flow)
39
+ - Commit and push the changes (Use `/ck-git` for push flow)
40
+ - Nah, I'll do it later
41
+
42
+ ## Output
43
+ After archiving the plans, provide summary:
44
+ - Number of plans archived
45
+ - Number of plans deleted permanently
46
+ - Table of plans that are archived or deleted (title, status, created date, LOC)
47
+ - Table of journal entries that are created (title, status, created date, LOC)
48
+
49
+ ## Important Notes
50
+ - Only ask questions about genuine decision points
51
+ - Sacrifice grammar for concision
52
+ - List any unresolved questions at the end
53
+ - Ensure token efficiency while maintaining high quality
@@ -5,7 +5,7 @@
5
5
  ## Core Activities
6
6
 
7
7
  ### Parallel Scout Agents
8
- - Use `/scout:ext` (preferred) or `/scout` (fallback) slash command to search the codebase for files needed to complete the task
8
+ - Use `/ck-scout ext` (preferred) or `/ck-scout` (fallback) skill invocation to search the codebase for files needed to complete the task
9
9
  - Each scout locates files needed for specific task aspects
10
10
  - Wait for all scout agents to report back before analysis
11
11
  - Efficient for finding relevant code across large codebases