cokit-cli 1.2.7 → 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 (467) hide show
  1. package/README.md +8 -31
  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 +8 -10
  21. package/docs/cokit-slides.md +2 -5
  22. package/docs/cokit-sync-and-maintenance-guide.md +42 -190
  23. package/docs/cokit-team-presentation.md +6 -9
  24. package/docs/copilot-processing-flow.md +3 -3
  25. package/docs/migration-guide.md +14 -14
  26. package/docs/project-overview-pdr.md +5 -6
  27. package/docs/project-roadmap.md +12 -14
  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 +13 -17
  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/templates/repo/.github/agents/brainstormer.agent.md +28 -14
  218. package/templates/repo/.github/agents/code-reviewer.agent.md +101 -67
  219. package/templates/repo/.github/agents/code-simplifier.agent.md +36 -41
  220. package/templates/repo/.github/agents/debugger.agent.md +29 -24
  221. package/templates/repo/.github/agents/docs-manager.agent.md +15 -23
  222. package/templates/repo/.github/agents/fullstack-developer.agent.md +16 -6
  223. package/templates/repo/.github/agents/git-manager.agent.md +0 -3
  224. package/templates/repo/.github/agents/planner.agent.md +16 -34
  225. package/templates/repo/.github/agents/project-manager.agent.md +24 -0
  226. package/templates/repo/.github/agents/researcher.agent.md +15 -13
  227. package/templates/repo/.github/agents/tester.agent.md +43 -20
  228. package/templates/repo/.github/agents/ui-ux-designer.agent.md +16 -49
  229. package/templates/repo/.github/prompts/ck-ask.prompt.md +0 -1
  230. package/templates/repo/.github/prompts/ck-bootstrap.prompt.md +0 -3
  231. package/templates/repo/.github/prompts/ck-brainstorm.prompt.md +0 -1
  232. package/templates/repo/.github/prompts/ck-cook.prompt.md +0 -1
  233. package/templates/repo/.github/prompts/ck-debug.prompt.md +0 -1
  234. package/templates/repo/.github/prompts/ck-deploy.prompt.md +22 -0
  235. package/templates/repo/.github/prompts/ck-docs.prompt.md +0 -1
  236. package/templates/repo/.github/prompts/ck-frontend.prompt.md +20 -0
  237. package/templates/repo/.github/prompts/ck-help.prompt.md +0 -1
  238. package/templates/repo/.github/prompts/ck-plan-fast.prompt.md +0 -3
  239. package/templates/repo/.github/prompts/ck-plan-hard.prompt.md +0 -3
  240. package/templates/repo/.github/prompts/ck-plan.prompt.md +0 -3
  241. package/templates/repo/.github/prompts/ck-project.prompt.md +20 -0
  242. package/templates/repo/.github/prompts/ck-review.prompt.md +0 -3
  243. package/templates/repo/.github/prompts/ck-scout.prompt.md +0 -1
  244. package/templates/repo/.github/prompts/ck-security.prompt.md +22 -0
  245. package/templates/repo/.github/prompts/ck-ship.prompt.md +22 -0
  246. package/templates/repo/.github/prompts/ck-test.prompt.md +0 -2
  247. package/templates/repo/.github/prompts/ck-watzup.prompt.md +0 -1
  248. package/templates/repo/.github/skills/agent-browser/SKILL.md +11 -8
  249. package/templates/repo/.github/skills/agent-browser/references/agent-browser-vs-chrome-devtools.md +112 -0
  250. package/templates/repo/.github/skills/bootstrap/SKILL.md +102 -0
  251. package/templates/repo/.github/skills/bootstrap/references/shared-phases.md +59 -0
  252. package/templates/repo/.github/skills/bootstrap/references/workflow-auto.md +52 -0
  253. package/templates/repo/.github/skills/bootstrap/references/workflow-fast.md +50 -0
  254. package/templates/repo/.github/skills/bootstrap/references/workflow-full.md +60 -0
  255. package/templates/repo/.github/skills/bootstrap/references/workflow-parallel.md +59 -0
  256. package/templates/repo/.github/skills/brainstorm/SKILL.md +63 -15
  257. package/templates/repo/.github/skills/code-review/SKILL.md +138 -135
  258. package/templates/repo/.github/skills/code-review/references/adversarial-review.md +223 -0
  259. package/templates/repo/.github/skills/code-review/references/checklist-workflow.md +100 -0
  260. package/templates/repo/.github/skills/code-review/references/checklists/api.md +52 -0
  261. package/templates/repo/.github/skills/code-review/references/checklists/base.md +100 -0
  262. package/templates/repo/.github/skills/code-review/references/checklists/web-app.md +54 -0
  263. package/templates/repo/.github/skills/code-review/references/code-review-reception.md +48 -144
  264. package/templates/repo/.github/skills/code-review/references/codebase-scan-workflow.md +30 -0
  265. package/templates/repo/.github/skills/code-review/references/edge-case-scouting.md +119 -0
  266. package/templates/repo/.github/skills/code-review/references/input-mode-resolution.md +135 -0
  267. package/templates/repo/.github/skills/code-review/references/parallel-review-workflow.md +76 -0
  268. package/templates/repo/.github/skills/code-review/references/requesting-code-review.md +19 -8
  269. package/templates/repo/.github/skills/code-review/references/spec-compliance-review.md +43 -0
  270. package/templates/repo/.github/skills/code-review/references/task-management-reviews.md +155 -0
  271. package/templates/repo/.github/skills/common/README.md +2 -12
  272. package/templates/repo/.github/skills/common/api_key_helper.py +7 -37
  273. package/templates/repo/.github/skills/context-engineering/SKILL.md +4 -3
  274. package/templates/repo/.github/skills/context-engineering/references/context-degradation.md +2 -2
  275. package/templates/repo/.github/skills/context-engineering/references/runtime-awareness.md +5 -47
  276. package/templates/repo/.github/skills/cook/README.md +13 -13
  277. package/templates/repo/.github/skills/cook/SKILL.md +86 -58
  278. package/templates/repo/.github/skills/cook/references/intent-detection.md +7 -7
  279. package/templates/repo/.github/skills/cook/references/review-cycle.md +2 -2
  280. package/templates/repo/.github/skills/cook/references/subagent-patterns.md +75 -0
  281. package/templates/repo/.github/skills/cook/references/workflow-steps.md +75 -23
  282. package/templates/repo/.github/skills/databases/SKILL.md +3 -30
  283. package/templates/repo/.github/skills/databases/db-design.md +1 -1
  284. package/templates/repo/.github/skills/debug/SKILL.md +47 -105
  285. package/templates/repo/.github/skills/debug/references/frontend-verification.md +103 -0
  286. package/templates/repo/.github/skills/debug/references/investigation-methodology.md +101 -0
  287. package/templates/repo/.github/skills/debug/references/log-and-ci-analysis.md +97 -0
  288. package/templates/repo/.github/skills/debug/references/performance-diagnostics.md +113 -0
  289. package/templates/repo/.github/skills/debug/references/reporting-standards.md +122 -0
  290. package/templates/repo/.github/skills/debug/references/task-management-debugging.md +155 -0
  291. package/templates/repo/.github/skills/deploy/SKILL.md +154 -0
  292. package/templates/repo/.github/skills/deploy/references/platform-config-templates.md +35 -0
  293. package/templates/repo/.github/skills/deploy/references/platforms/aws.md +58 -0
  294. package/templates/repo/.github/skills/deploy/references/platforms/cloudflare.md +41 -0
  295. package/templates/repo/.github/skills/deploy/references/platforms/coolify.md +32 -0
  296. package/templates/repo/.github/skills/deploy/references/platforms/digitalocean.md +45 -0
  297. package/templates/repo/.github/skills/deploy/references/platforms/dokploy.md +29 -0
  298. package/templates/repo/.github/skills/deploy/references/platforms/flyio.md +54 -0
  299. package/templates/repo/.github/skills/deploy/references/platforms/gcp.md +45 -0
  300. package/templates/repo/.github/skills/deploy/references/platforms/github-pages.md +56 -0
  301. package/templates/repo/.github/skills/deploy/references/platforms/heroku.md +31 -0
  302. package/templates/repo/.github/skills/deploy/references/platforms/netlify.md +39 -0
  303. package/templates/repo/.github/skills/deploy/references/platforms/railway.md +38 -0
  304. package/templates/repo/.github/skills/deploy/references/platforms/render.md +39 -0
  305. package/templates/repo/.github/skills/deploy/references/platforms/tose.md +35 -0
  306. package/templates/repo/.github/skills/deploy/references/platforms/vercel.md +37 -0
  307. package/templates/repo/.github/skills/deploy/references/platforms/vultr.md +27 -0
  308. package/templates/repo/.github/skills/devops/SKILL.md +6 -12
  309. package/templates/repo/.github/skills/docs-seeker/SKILL.md +2 -1
  310. package/templates/repo/.github/skills/docs-seeker/references/context7-patterns.md +4 -0
  311. package/templates/repo/.github/skills/docs-seeker/scripts/fetch-docs.js +1 -2
  312. package/templates/repo/.github/skills/docs-seeker/scripts/utils/env-loader.js +4 -4
  313. package/templates/repo/.github/skills/docs-seeker/workflows/library-search.md +1 -0
  314. package/templates/repo/.github/skills/fix/SKILL.md +141 -44
  315. package/templates/repo/.github/skills/fix/references/complexity-assessment.md +21 -9
  316. package/templates/repo/.github/skills/fix/references/diagnosis-protocol.md +133 -0
  317. package/templates/repo/.github/skills/fix/references/mode-selection.md +27 -11
  318. package/templates/repo/.github/skills/fix/references/parallel-exploration.md +35 -12
  319. package/templates/repo/.github/skills/fix/references/prevention-gate.md +87 -0
  320. package/templates/repo/.github/skills/fix/references/review-cycle.md +3 -3
  321. package/templates/repo/.github/skills/fix/references/skill-activation-matrix.md +64 -31
  322. package/templates/repo/.github/skills/fix/references/task-orchestration.md +110 -0
  323. package/templates/repo/.github/skills/fix/references/workflow-deep.md +110 -47
  324. package/templates/repo/.github/skills/fix/references/workflow-logs.md +46 -10
  325. package/templates/repo/.github/skills/fix/references/workflow-quick.md +43 -20
  326. package/templates/repo/.github/skills/fix/references/workflow-standard.md +75 -41
  327. package/templates/repo/.github/skills/fix/references/workflow-test.md +49 -10
  328. package/templates/repo/.github/skills/fix/references/workflow-ui.md +56 -18
  329. package/templates/repo/.github/skills/frontend-design/SKILL.md +49 -17
  330. package/templates/repo/.github/skills/frontend-design/references/ai-multimodal-overview.md +165 -0
  331. package/templates/repo/.github/skills/frontend-design/references/anti-slop-rules.md +103 -0
  332. package/templates/repo/.github/skills/frontend-design/references/asset-generation.md +284 -108
  333. package/templates/repo/.github/skills/frontend-design/references/bento-motion-engine.md +142 -0
  334. package/templates/repo/.github/skills/frontend-design/references/magicui-components.md +129 -0
  335. package/templates/repo/.github/skills/frontend-design/references/performance-guardrails.md +169 -0
  336. package/templates/repo/.github/skills/frontend-design/references/premium-design-patterns.md +93 -0
  337. package/templates/repo/.github/skills/frontend-design/references/redesign-audit-checklist.md +114 -0
  338. package/templates/repo/.github/skills/frontend-design/references/visual-analysis-overview.md +1 -1
  339. package/templates/repo/.github/skills/frontend-design/references/workflow-3d.md +98 -0
  340. package/templates/repo/.github/skills/frontend-design/references/workflow-describe.md +4 -3
  341. package/templates/repo/.github/skills/frontend-design/references/workflow-immersive.md +82 -0
  342. package/templates/repo/.github/skills/frontend-design/references/workflow-quick.md +10 -12
  343. package/templates/repo/.github/skills/frontend-design/references/workflow-screenshot.md +9 -8
  344. package/templates/repo/.github/skills/frontend-design/references/workflow-video.md +74 -0
  345. package/templates/repo/.github/skills/frontend-development/SKILL.md +400 -0
  346. package/templates/repo/.github/skills/frontend-development/resources/common-patterns.md +331 -0
  347. package/templates/repo/.github/skills/frontend-development/resources/complete-examples.md +872 -0
  348. package/templates/repo/.github/skills/frontend-development/resources/component-patterns.md +502 -0
  349. package/templates/repo/.github/skills/frontend-development/resources/data-fetching.md +767 -0
  350. package/templates/repo/.github/skills/frontend-development/resources/file-organization.md +502 -0
  351. package/templates/repo/.github/skills/frontend-development/resources/loading-and-error-states.md +501 -0
  352. package/templates/repo/.github/skills/frontend-development/resources/performance.md +406 -0
  353. package/templates/repo/.github/skills/frontend-development/resources/routing-guide.md +364 -0
  354. package/templates/repo/.github/skills/frontend-development/resources/styling-guide.md +428 -0
  355. package/templates/repo/.github/skills/frontend-development/resources/typescript-standards.md +418 -0
  356. package/templates/repo/.github/skills/git/SKILL.md +18 -4
  357. package/templates/repo/.github/skills/git/references/commit-standards.md +3 -3
  358. package/templates/repo/.github/skills/git/references/workflow-commit.md +3 -3
  359. package/templates/repo/.github/skills/git/references/workflow-merge.md +1 -1
  360. package/templates/repo/.github/skills/git/references/workflow-pr.md +1 -1
  361. package/templates/repo/.github/skills/git/references/workflow-push.md +1 -1
  362. package/templates/repo/.github/skills/mcp-management/README.md +18 -18
  363. package/templates/repo/.github/skills/mcp-management/SKILL.md +16 -15
  364. package/templates/repo/.github/skills/mcp-management/references/configuration.md +4 -4
  365. package/templates/repo/.github/skills/mcp-management/references/gemini-cli-integration.md +12 -12
  366. package/templates/repo/.github/skills/mcp-management/scripts/.env.example +2 -2
  367. package/templates/repo/.github/skills/mcp-management/scripts/mcp-client.ts +1 -1
  368. package/templates/repo/.github/skills/mermaidjs-v11/SKILL.md +1 -0
  369. package/templates/repo/.github/skills/planning/SKILL.md +122 -91
  370. package/templates/repo/.github/skills/planning/references/archive-workflow.md +53 -0
  371. package/templates/repo/.github/skills/planning/references/codebase-understanding.md +1 -1
  372. package/templates/repo/.github/skills/planning/references/output-standards.md +17 -13
  373. package/templates/repo/.github/skills/planning/references/plan-organization.md +52 -30
  374. package/templates/repo/.github/skills/planning/references/red-team-personas.md +69 -0
  375. package/templates/repo/.github/skills/planning/references/red-team-workflow.md +77 -0
  376. package/templates/repo/.github/skills/planning/references/scope-challenge.md +90 -0
  377. package/templates/repo/.github/skills/planning/references/task-management.md +134 -0
  378. package/templates/repo/.github/skills/planning/references/validate-question-framework.md +80 -0
  379. package/templates/repo/.github/skills/planning/references/validate-workflow.md +65 -0
  380. package/templates/repo/.github/skills/planning/references/workflow-modes.md +154 -0
  381. package/templates/repo/.github/skills/problem-solving/SKILL.md +1 -0
  382. package/templates/repo/.github/skills/project-management/SKILL.md +133 -0
  383. package/templates/repo/.github/skills/project-management/references/documentation-triggers.md +60 -0
  384. package/templates/repo/.github/skills/project-management/references/hydration-workflow.md +89 -0
  385. package/templates/repo/.github/skills/project-management/references/progress-tracking.md +120 -0
  386. package/templates/repo/.github/skills/project-management/references/reporting-patterns.md +94 -0
  387. package/templates/repo/.github/skills/project-management/references/task-operations.md +87 -0
  388. package/templates/repo/.github/skills/repomix/SKILL.md +3 -2
  389. package/templates/repo/.github/skills/repomix/references/usage-patterns.md +2 -2
  390. package/templates/repo/.github/skills/repomix/scripts/README.md +1 -1
  391. package/templates/repo/.github/skills/repomix/scripts/repomix_batch.py +2 -2
  392. package/templates/repo/.github/skills/research/SKILL.md +7 -4
  393. package/templates/repo/.github/skills/scout/SKILL.md +24 -24
  394. package/templates/repo/.github/skills/scout/references/external-scouting.md +17 -17
  395. package/templates/repo/.github/skills/scout/references/internal-scouting.md +9 -9
  396. package/templates/repo/.github/skills/scout/references/task-management-scouting.md +125 -0
  397. package/templates/repo/.github/skills/security/SKILL.md +139 -0
  398. package/templates/repo/.github/skills/security/references/stride-owasp-checklist.md +128 -0
  399. package/templates/repo/.github/skills/sequential-thinking/README.md +3 -3
  400. package/templates/repo/.github/skills/sequential-thinking/SKILL.md +2 -0
  401. package/templates/repo/.github/skills/sequential-thinking/package-lock.json +3652 -0
  402. package/templates/repo/.github/skills/sequential-thinking/package.json +1 -1
  403. package/templates/repo/.github/skills/ship/SKILL.md +116 -0
  404. package/templates/repo/.github/skills/ship/references/auto-detect.md +103 -0
  405. package/templates/repo/.github/skills/ship/references/pr-template.md +90 -0
  406. package/templates/repo/.github/skills/ship/references/ship-workflow.md +241 -0
  407. package/templates/repo/.github/skills/test/SKILL.md +111 -0
  408. package/templates/repo/.github/skills/test/references/report-format.md +58 -0
  409. package/templates/repo/.github/skills/test/references/test-execution-workflow.md +103 -0
  410. package/templates/repo/.github/skills/test/references/ui-testing-workflow.md +65 -0
  411. package/templates/repo/.github/skills/ui-styling/SKILL.md +2 -0
  412. package/templates/repo/.github/skills/web-testing/SKILL.md +8 -60
  413. package/docs/guide-next-steps-speckit-cokit-implementation.md +0 -187
  414. package/prompts/ck-spec-analyze.prompt.md +0 -201
  415. package/prompts/ck-spec-checklist.prompt.md +0 -308
  416. package/prompts/ck-spec-clarify.prompt.md +0 -190
  417. package/prompts/ck-spec-constitution.prompt.md +0 -92
  418. package/prompts/ck-spec-implement.prompt.md +0 -157
  419. package/prompts/ck-spec-plan.prompt.md +0 -95
  420. package/prompts/ck-spec-specify.prompt.md +0 -261
  421. package/prompts/ck-spec-tasks.prompt.md +0 -181
  422. package/templates/repo/.github/AGENTS.md +0 -103
  423. package/templates/repo/.github/prompts/ck-spec-analyze.prompt.md +0 -201
  424. package/templates/repo/.github/prompts/ck-spec-checklist.prompt.md +0 -308
  425. package/templates/repo/.github/prompts/ck-spec-clarify.prompt.md +0 -190
  426. package/templates/repo/.github/prompts/ck-spec-constitution.prompt.md +0 -92
  427. package/templates/repo/.github/prompts/ck-spec-implement.prompt.md +0 -157
  428. package/templates/repo/.github/prompts/ck-spec-plan.prompt.md +0 -95
  429. package/templates/repo/.github/prompts/ck-spec-specify.prompt.md +0 -261
  430. package/templates/repo/.github/prompts/ck-spec-tasks.prompt.md +0 -181
  431. package/templates/repo/.github/skills/databases/stacks/bigquery.md +0 -231
  432. package/templates/repo/.github/skills/databases/stacks/d1_cloudflare.md +0 -137
  433. package/templates/repo/.github/skills/databases/stacks/mysql.md +0 -216
  434. package/templates/repo/.github/skills/databases/stacks/postgres.md +0 -235
  435. package/templates/repo/.github/skills/databases/stacks/sqlite.md +0 -244
  436. package/templates/repo/.github/skills/mcp-management/assets/tools.json +0 -3146
  437. package/templates/repo/.github/skills/mcp-management/scripts/dist/analyze-tools.js +0 -70
  438. package/templates/repo/.github/skills/mcp-management/scripts/dist/cli.js +0 -160
  439. package/templates/repo/.github/skills/mcp-management/scripts/dist/mcp-client.js +0 -183
  440. package/templates/repo/.github/skills/ui-styling/LICENSE.txt +0 -202
  441. package/templates/repo/.github/spec-kit/memory/constitution.md +0 -50
  442. package/templates/repo/.github/spec-kit/scripts/bash/check-prerequisites.sh +0 -166
  443. package/templates/repo/.github/spec-kit/scripts/bash/common.sh +0 -156
  444. package/templates/repo/.github/spec-kit/scripts/bash/create-new-feature.sh +0 -297
  445. package/templates/repo/.github/spec-kit/scripts/bash/setup-plan.sh +0 -61
  446. package/templates/repo/.github/spec-kit/scripts/bash/update-agent-context.sh +0 -799
  447. package/templates/repo/.github/spec-kit/scripts/powershell/check-prerequisites.ps1 +0 -148
  448. package/templates/repo/.github/spec-kit/scripts/powershell/common.ps1 +0 -137
  449. package/templates/repo/.github/spec-kit/scripts/powershell/create-new-feature.ps1 +0 -283
  450. package/templates/repo/.github/spec-kit/scripts/powershell/setup-plan.ps1 +0 -61
  451. package/templates/repo/.github/spec-kit/scripts/powershell/update-agent-context.ps1 +0 -448
  452. package/templates/repo/.github/spec-kit/templates/agent-file-template.md +0 -28
  453. package/templates/repo/.github/spec-kit/templates/checklist-template.md +0 -40
  454. package/templates/repo/.github/spec-kit/templates/commands/analyze.md +0 -187
  455. package/templates/repo/.github/spec-kit/templates/commands/checklist.md +0 -297
  456. package/templates/repo/.github/spec-kit/templates/commands/clarify.md +0 -184
  457. package/templates/repo/.github/spec-kit/templates/commands/constitution.md +0 -82
  458. package/templates/repo/.github/spec-kit/templates/commands/implement.md +0 -138
  459. package/templates/repo/.github/spec-kit/templates/commands/plan.md +0 -95
  460. package/templates/repo/.github/spec-kit/templates/commands/specify.md +0 -261
  461. package/templates/repo/.github/spec-kit/templates/commands/tasks.md +0 -140
  462. package/templates/repo/.github/spec-kit/templates/commands/taskstoissues.md +0 -33
  463. package/templates/repo/.github/spec-kit/templates/plan-template.md +0 -104
  464. package/templates/repo/.github/spec-kit/templates/spec-template.md +0 -115
  465. package/templates/repo/.github/spec-kit/templates/tasks-phase-template.md +0 -42
  466. package/templates/repo/.github/spec-kit/templates/tasks-template.md +0 -268
  467. package/templates/repo/.github/spec-kit/templates/vscode-settings.json +0 -14
@@ -0,0 +1,94 @@
1
+ # Reporting Patterns
2
+
3
+ ## Report Types
4
+
5
+ ### 1. Session Status Report
6
+
7
+ Quick summary of work done in current session.
8
+
9
+ ```markdown
10
+ ## Session Report: [Date]
11
+
12
+ ### Work Completed
13
+ - [x] [Task/feature description]
14
+ - [x] [Task/feature description]
15
+
16
+ ### In Progress
17
+ - [ ] [Task description] — [% complete, blocker if any]
18
+
19
+ ### Tasks Created
20
+ - [N] tasks hydrated from [plan]
21
+ - [M] completed, [K] remaining
22
+
23
+ ### Next Session
24
+ 1. [Priority item]
25
+ 2. [Follow-up item]
26
+ ```
27
+
28
+ ### 2. Plan Completion Report
29
+
30
+ Comprehensive summary when a plan reaches completion.
31
+
32
+ ```markdown
33
+ ## Plan Complete: [Plan Name]
34
+
35
+ ### Summary
36
+ - **Duration:** [start] → [end]
37
+ - **Phases:** [N] completed
38
+ - **Files changed:** [count]
39
+ - **Tests:** [pass/total]
40
+
41
+ ### Achievements
42
+ - [Feature/capability delivered]
43
+
44
+ ### Known Limitations
45
+ - [Any caveats or future work needed]
46
+
47
+ ### Documentation Updates
48
+ - [Which docs were updated]
49
+ ```
50
+
51
+ ### 3. Progress Report (Multi-Plan)
52
+
53
+ Overview across all active plans.
54
+
55
+ ```markdown
56
+ ## Project Progress: [Date]
57
+
58
+ | Plan | Status | Progress | Priority | Next Action |
59
+ |------|--------|----------|----------|-------------|
60
+ | [name] | [status] | [%] | P[N] | [action] |
61
+
62
+ ### Highlights
63
+ - [Key achievement or milestone]
64
+
65
+ ### Risks
66
+ - [Risk] — [Mitigation]
67
+
68
+ ### Blockers
69
+ - [Blocker] — [Resolution path]
70
+ ```
71
+
72
+ ## Report Naming
73
+
74
+ Use pattern from `## Naming` section injected by hooks:
75
+ `{reports-path}/pm-{date}-{time}-{slug}.md`
76
+
77
+ Example: `plans/reports/pm-260205-2221-auth-progress.md`
78
+
79
+ ## Report Generation Workflow
80
+
81
+ 1. `TaskList()` → gather all task statuses
82
+ 2. Glob `./plans/*/plan.md` → scan active plans
83
+ 3. Read phase files → count checkboxes
84
+ 4. Compile metrics into report template
85
+ 5. Write to reports directory
86
+ 6. Highlight: achievements, blockers, risks, next steps
87
+
88
+ ## Concision Rules
89
+
90
+ - Sacrifice grammar for brevity
91
+ - Use tables over paragraphs where possible
92
+ - List unresolved questions at end
93
+ - Metrics > prose (use numbers, percentages)
94
+ - Skip obvious context; focus on actionable insights
@@ -0,0 +1,87 @@
1
+ # Task Operations Reference
2
+
3
+ Copilot provides 4 native tools for session-scoped task management.
4
+
5
+ **Tool Availability:** `TaskCreate`, `TaskUpdate`, `TaskGet`, `TaskList` are **CLI-only** — disabled in VSCode extension (`isTTY` check). If these tools error, fall back to `TodoWrite` for progress tracking. Plan file sync-back works identically without Task tools.
6
+
7
+ ## TaskCreate
8
+
9
+ Create structured tasks with metadata and dependencies.
10
+
11
+ ```
12
+ TaskCreate(
13
+ subject: "Implement JWT auth middleware",
14
+ description: "Add JWT validation to API routes. Verify tokens, extract claims, attach to context.",
15
+ activeForm: "Implementing JWT auth middleware",
16
+ metadata: { feature: "auth", phase: 2, priority: "P1", effort: "2h",
17
+ planDir: "plans/260205-auth/", phaseFile: "phase-02-api.md" }
18
+ )
19
+ ```
20
+
21
+ **Parameters:**
22
+ - `subject` (required): Imperative title, <60 chars ("Implement X", "Add Y", "Fix Z")
23
+ - `description` (required): Detailed requirements + acceptance criteria
24
+ - `activeForm` (optional): Present-continuous shown in spinner ("Implementing X")
25
+ - `metadata` (optional): Arbitrary key-value pairs for tracking
26
+
27
+ **Required metadata fields:** `phase`, `priority` (P1/P2/P3), `effort`, `planDir`, `phaseFile`
28
+ **Optional metadata:** `step`, `critical`, `riskLevel`, `dependencies`, `feature`, `owner`
29
+
30
+ ## TaskUpdate
31
+
32
+ Manage state transitions and dependency chains.
33
+
34
+ ```
35
+ TaskUpdate(
36
+ taskId: "task-123",
37
+ status: "in_progress",
38
+ addBlockedBy: ["task-122"]
39
+ )
40
+ ```
41
+
42
+ **Status lifecycle:** `pending` → `in_progress` → `completed`
43
+
44
+ **Dependency fields:**
45
+ - `addBlockedBy`: "I cannot start until these tasks complete"
46
+ - `addBlocks`: "These tasks cannot start until I complete"
47
+ - `owner`: Assign to specific agent
48
+
49
+ When a blocking task completes, dependent tasks auto-unblock.
50
+
51
+ ## TaskGet & TaskList
52
+
53
+ - `TaskGet(taskId)` → Full task details including dependencies
54
+ - `TaskList()` → All tasks with status, owner, blockedBy
55
+
56
+ **Task is "available" when:** status=`pending`, no owner, blockedBy list empty.
57
+
58
+ ## Dependency Patterns
59
+
60
+ ```
61
+ Phase 1 (no blockers) ← start here
62
+ Phase 2 (addBlockedBy: [P1-id]) ← auto-unblocked when P1 completes
63
+ Phase 3 (addBlockedBy: [P2-id])
64
+ Step 3.4 (addBlockedBy: [P2-id]) ← critical steps share phase dependency
65
+ ```
66
+
67
+ ## When to Use Tasks
68
+
69
+ | Scenario | Tasks? | Why |
70
+ |----------|--------|-----|
71
+ | Multi-phase feature (3+) | Yes | Track progress, enable parallel |
72
+ | Complex dependencies | Yes | Automatic unblocking |
73
+ | Parallel agent work | Yes | Shared progress tracking |
74
+ | Single-phase quick fix | No | Overhead exceeds benefit |
75
+ | <3 related steps | No | Just do them directly |
76
+
77
+ **3-Task Rule:** <3 tasks → skip creation, overhead not worth it.
78
+
79
+ ## Parallel Agent Coordination
80
+
81
+ 1. Create tasks with scoped ownership per agent
82
+ 2. Each agent works in designated directories only
83
+ 3. When Agent A completes a task → `TaskUpdate(status: "completed")`
84
+ 4. Tasks blocked by completed work auto-unblock
85
+ 5. Agent B (or A) claims newly available work
86
+
87
+ **Key:** Assign `owner` field to prevent agents from claiming same task.
@@ -1,11 +1,12 @@
1
1
  ---
2
2
  name: repomix
3
3
  description: Pack repositories into AI-friendly files with Repomix (XML, Markdown, plain text). Use for codebase snapshots, LLM context preparation, security audits, third-party library analysis.
4
+ argument-hint: "[path] [--style xml|markdown|plain|json]"
4
5
  ---
5
6
 
6
7
  # Repomix Skill
7
8
 
8
- Repomix packs entire repositories into single, AI-friendly files. Perfect for feeding codebases to LLMs like ChatGPT, Gemini, and others.
9
+ Repomix packs entire repositories into single, AI-friendly files. Perfect for feeding codebases to LLMs like Copilot, ChatGPT, and Gemini.
9
10
 
10
11
  ## When to Use
11
12
 
@@ -153,7 +154,7 @@ repomix --init # creates repomix.config.json
153
154
  Repomix automatically counts tokens for individual files, total repository, and per-format output.
154
155
 
155
156
  Typical LLM context limits:
156
- - Model (Medium): ~200K tokens
157
+ - Copilot: ~200K tokens
157
158
  - GPT-4: ~128K tokens
158
159
  - GPT-3.5: ~16K tokens
159
160
 
@@ -144,9 +144,9 @@ repomix --include "$(cat staged-files.txt | tr '\n' ',')" -o .context/latest.xml
144
144
  {"version": "2.0.0", "tasks": [{"label": "Package for AI", "type": "shell", "command": "repomix --include 'src/**' --remove-comments --copy"}]}
145
145
  ```
146
146
 
147
- ### AI Coding Agent
147
+ ### Copilot
148
148
  ```bash
149
- repomix --style markdown --copy # Then paste into the AI agent
149
+ repomix --style markdown --copy # Then paste into Copilot chat
150
150
  ```
151
151
 
152
152
  ## Language-Specific Patterns
@@ -88,7 +88,7 @@ Loads .env files in order of precedence:
88
88
  1. Process environment (highest priority)
89
89
  2. `./repomix/.env` (skill-specific)
90
90
  3. `./skills/.env` (skills directory)
91
- 4. `$HOME/.copilot/.env` (lowest priority)
91
+ 4. `project .env` (lowest priority)
92
92
 
93
93
  ### Command Line Options
94
94
 
@@ -36,7 +36,7 @@ class EnvLoader:
36
36
  """
37
37
  Load environment variables from .env files in order of precedence.
38
38
 
39
- Order: process.env > skill/.env > skills/.env > .copilot/.env
39
+ Order: process.env > skill/.env > skills/.env > project .env
40
40
 
41
41
  Returns:
42
42
  Dictionary of environment variables
@@ -46,7 +46,7 @@ class EnvLoader:
46
46
 
47
47
  # Define search paths in reverse order (lowest to highest priority)
48
48
  search_paths = [
49
- script_dir.parent.parent.parent / ".env", # .copilot/.env
49
+ script_dir.parent.parent.parent / ".env", # project .env
50
50
  script_dir.parent.parent / ".env", # skills/.env
51
51
  script_dir.parent / ".env", # skill/.env (repomix/.env)
52
52
  ]
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: research
3
- description: Research technical solutions, analyze architectures, gather requirements thoroughly. Use for technology evaluation, best practices research, solution design, scalability/security/maintainability analysis.
3
+ description: "Research technical solutions, analyze architectures, gather requirements thoroughly. Use for technology evaluation, best practices research, solution design, scalability/security/maintainability analysis."
4
+ license: MIT
5
+ argument-hint: "[topic]"
4
6
  ---
5
7
 
6
8
  # Research
@@ -23,8 +25,8 @@ First, you will clearly define the research scope by:
23
25
  You will employ a multi-source research strategy:
24
26
 
25
27
  1. **Search Strategy**:
26
- - **Gemini Toggle**: Check `$HOME/.copilot/.ck.json` (or `~/.copilot/.ck.json`) for `skills.research.useGemini` (default: `true`). If `false`, skip Gemini and use WebSearch.
27
- - **Gemini Model**: Read from `$HOME/.copilot/.ck.json`: `gemini.model` (default: `gemini-3-flash-preview`)
28
+ - **Gemini Toggle**: Check `.ck.json` (or `.ck.json`) for `skills.research.useGemini` (default: `true`). If `false`, skip Gemini and use WebSearch.
29
+ - **Gemini Model**: Read from `.ck.json`: `gemini.model` (default: `gemini-3-flash-preview`)
28
30
  - If `useGemini` is enabled and `gemini` bash command is available, execute `gemini -y -m <gemini.model> "...your search prompt..."` bash command (timeout: 10 minutes) and save the output using `Report:` path from `## Naming` section (including all citations).
29
31
  - If `useGemini` is disabled or `gemini` bash command is not available, use `WebSearch` tool.
30
32
  - Run multiple `gemini` bash commands or `WebSearch` tools in parallel to search for relevant information.
@@ -154,6 +156,7 @@ You will ensure all research meets these criteria:
154
156
  - Always note deprecation warnings and migration paths for older technologies
155
157
 
156
158
  ## Output Requirements
159
+ **IMPORTANT:** Invoke "/ck-project-organization" skill to organize the outputs.
157
160
 
158
161
  Your final report must:
159
162
  1. Be saved using the `Report:` path from `## Naming` section with a descriptive filename
@@ -166,4 +169,4 @@ Your final report must:
166
169
  **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
167
170
  **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
168
171
 
169
- **Remember:** You are not just collecting information, but providing strategic technical intelligence that enables informed decision-making. Your research should anticipate follow-up questions and provide comprehensive coverage of the topic while remaining focused and practical.
172
+ **Remember:** You are not just collecting information, but providing strategic technical intelligence that enables informed decision-making. Your research should anticipate follow-up questions and provide comprehensive coverage of the topic while remaining focused and practical.
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: scout
3
- description: Fast codebase scouting using parallel agents. Use for file discovery, task context gathering, quick searches across directories. Supports internal and external search agents.
3
+ description: "Fast codebase scouting using parallel agents. Use for file discovery, task context gathering, quick searches across directories. Supports internal (Explore) and external (Gemini/OpenCode) agents."
4
+ argument-hint: "[search-target] [ext]"
4
5
  ---
5
6
 
6
7
  # Scout
@@ -8,7 +9,7 @@ description: Fast codebase scouting using parallel agents. Use for file discover
8
9
  Fast, token-efficient codebase scouting using parallel agents to find files needed for tasks.
9
10
 
10
11
  ## Arguments
11
- - Default: Scout using built-in search agents in parallel (`./references/internal-scouting.md`)
12
+ - Default: Scout using built-in Explore subagents in parallel (`./references/internal-scouting.md`)
12
13
  - `ext`: Scout using external Gemini/OpenCode CLI tools in parallel (`./references/external-scouting.md`)
13
14
 
14
15
  ## When to Use
@@ -28,7 +29,7 @@ Fast, token-efficient codebase scouting using parallel agents to find files need
28
29
 
29
30
  ## Configuration
30
31
 
31
- Read from `$HOME/.copilot/.ck.json`:
32
+ Read from `.ck.json`:
32
33
  - `gemini.model` - Gemini model (default: `gemini-3-flash-preview`)
33
34
 
34
35
  ## Workflow
@@ -36,7 +37,7 @@ Read from `$HOME/.copilot/.ck.json`:
36
37
  ### 1. Analyze Task
37
38
  - Parse user prompt for search targets
38
39
  - Identify key directories, patterns, file types, lines of code
39
- - Determine optimal SCALE value of agents to spawn
40
+ - Determine optimal SCALE value of subagents to spawn
40
41
 
41
42
  ### 2. Divide and Conquer
42
43
  - Split codebase into logical segments per agent
@@ -44,32 +45,31 @@ Read from `$HOME/.copilot/.ck.json`:
44
45
  - Ensure no overlap, maximize coverage
45
46
 
46
47
  ### 3. Register Scout Tasks
47
-
48
- **Skip this step if agent count <= 2.**
49
-
50
- - Check for existing scout tasks in the current session to avoid duplicates.
51
- - Create a markdown checklist one entry per agent — including scope metadata (directories, patterns assigned).
52
- - Example checklist entry: `- [ ] Agent 1: src/api/*, src/models/* — searching for auth-related files`
53
- - Reference: `references/task-management-scouting.md` for checklist format and metadata fields.
48
+ - **Skip if:** Agent count ≤ 2 (overhead exceeds benefit)
49
+ - **Skip if:** Task tools unavailable (VSCode extension) — use `TodoWrite` instead
50
+ - `TaskList` first — check for existing scout tasks in session
51
+ - If not found, `TaskCreate` per agent with scope metadata
52
+ - See `references/task-management-scouting.md` for patterns and examples
54
53
 
55
54
  ### 4. Spawn Parallel Agents
56
-
57
55
  Load appropriate reference based on decision tree:
58
- - **Internal (Default):** `references/internal-scouting.md` (search agents)
56
+ - **Internal (Default):** `references/internal-scouting.md` (Explore subagents)
59
57
  - **External:** `references/external-scouting.md` (Gemini/OpenCode)
60
58
 
61
59
  **Notes:**
62
- - Update each task to in_progress before spawning its agent.
63
- - Prompt detailed instructions for each agent with exact directories or files it should read.
64
- - Remember that each agent has less than 200K tokens of context window.
65
- - Amount of agents to-be-spawned depends on the current system resources available and amount of files to be scanned.
66
- - Each agent must return a detailed summary report to a main agent.
60
+ - `TaskUpdate` each task to `in_progress` before spawning its agent (skip if Task tools unavailable)
61
+ - Prompt detailed instructions for each subagent with exact directories or files it should read
62
+ - Remember that each subagent has less than 200K tokens of context window
63
+ - Amount of subagents to-be-spawned depends on the current system resources available and amount of files to be scanned
64
+ - Each subagent must return a detailed summary report to a main agent
67
65
 
68
66
  ### 5. Collect Results
69
- - Timeout: 3 minutes per agent (skip non-responders).
70
- - Update completed tasks to done; log timed-out agents in the report under "Unresolved Questions".
71
- - Aggregate findings into single report.
72
- - List unresolved questions at end.
67
+ **IMPORTANT:** Invoke "/ck-project-organization" skill to organize the outputs.
68
+
69
+ - Timeout: 3 minutes per agent (skip non-responders)
70
+ - `TaskUpdate` completed tasks; log timed-out agents in report (skip if Task tools unavailable)
71
+ - Aggregate findings into single report
72
+ - List unresolved questions at end
73
73
 
74
74
  ## Report Format
75
75
 
@@ -86,6 +86,6 @@ Load appropriate reference based on decision tree:
86
86
 
87
87
  ## References
88
88
 
89
- - `references/internal-scouting.md` - Using search agents
89
+ - `references/internal-scouting.md` - Using Explore subagents
90
90
  - `references/external-scouting.md` - Using Gemini/OpenCode CLI
91
- - `references/task-management-scouting.md` - Checklist format and scope metadata for scout tasks
91
+ - `references/task-management-scouting.md` - Task patterns for scout coordination
@@ -12,16 +12,16 @@ SCALE >= 6 → Use internal scouting instead
12
12
 
13
13
  ## Configuration
14
14
 
15
- Read from `$HOME/.copilot/.ck.json`:
15
+ Read from `.ck.json`:
16
16
  ```json
17
17
  {
18
18
  "gemini": {
19
- "model": "gemini-3.0-flash"
19
+ "model": "gemini-3-flash-preview"
20
20
  }
21
21
  }
22
22
  ```
23
23
 
24
- Default model: `gemini-3.0-flash`
24
+ Default model: `gemini-3-flash-preview`
25
25
 
26
26
  ## Gemini CLI (SCALE <= 3)
27
27
 
@@ -32,7 +32,7 @@ gemini -y -m <model> "[prompt]"
32
32
 
33
33
  ### Example
34
34
  ```bash
35
- gemini -y -m gemini-3.0-flash "Search src/ for authentication files. List paths with brief descriptions."
35
+ gemini -y -m gemini-3-flash-preview "Search src/ for authentication files. List paths with brief descriptions."
36
36
  ```
37
37
 
38
38
  ## OpenCode CLI (SCALE 4-5)
@@ -57,16 +57,16 @@ which opencode
57
57
 
58
58
  If not installed, ask user:
59
59
  1. **Yes** - Provide installation instructions (may need manual auth steps)
60
- 2. **No** - Fall back to Explore agents (`internal-scouting.md`)
60
+ 2. **No** - Fall back to Explore subagents (`internal-scouting.md`)
61
61
 
62
62
  ## Spawning Parallel Bash Agents
63
63
 
64
- Use `Task` tool with `type: "Bash"` to spawn parallel agents:
64
+ Use `Task` tool with `subagent_type: "Bash"` to spawn parallel agents:
65
65
 
66
66
  ```
67
- Task 1: type="Bash", prompt="Run: gemini -y -m gemini-3.0-flash '[prompt1]'"
68
- Task 2: type="Bash", prompt="Run: gemini -y -m gemini-3.0-flash '[prompt2]'"
69
- Task 3: type="Bash", prompt="Run: gemini -y -m gemini-3.0-flash '[prompt3]'"
67
+ Task 1: subagent_type="Bash", prompt="Run: gemini -y -m gemini-3-flash-preview '[prompt1]'"
68
+ Task 2: subagent_type="Bash", prompt="Run: gemini -y -m gemini-3-flash-preview '[prompt2]'"
69
+ Task 3: subagent_type="Bash", prompt="Run: gemini -y -m gemini-3-flash-preview '[prompt3]'"
70
70
  ```
71
71
 
72
72
  Spawn all in single message for parallel execution.
@@ -84,9 +84,9 @@ User: "Find database migration files"
84
84
 
85
85
  Spawn 3 parallel Bash agents via Task tool:
86
86
  ```
87
- Task 1 (Bash): "Run: gemini -y -m gemini-3.0-flash 'Search db/, migrations/ for migration files'"
88
- Task 2 (Bash): "Run: gemini -y -m gemini-3.0-flash 'Search lib/, src/ for database schema files'"
89
- Task 3 (Bash): "Run: gemini -y -m gemini-3.0-flash 'Search config/ for database configuration'"
87
+ Task 1 (Bash): "Run: gemini -y -m gemini-3-flash-preview 'Search db/, migrations/ for migration files'"
88
+ Task 2 (Bash): "Run: gemini -y -m gemini-3-flash-preview 'Search lib/, src/ for database schema files'"
89
+ Task 3 (Bash): "Run: gemini -y -m gemini-3-flash-preview 'Search config/ for database configuration'"
90
90
  ```
91
91
 
92
92
  ## Reading File Content
@@ -112,15 +112,15 @@ lines_per_chunk = ceil(total_lines / chunks)
112
112
 
113
113
  **Small files (<500 lines each):**
114
114
  ```
115
- Task 1: type="Bash", prompt="cat file1.ts file2.ts"
116
- Task 2: type="Bash", prompt="cat file3.ts file4.ts"
115
+ Task 1: subagent_type="Bash", prompt="cat file1.ts file2.ts"
116
+ Task 2: subagent_type="Bash", prompt="cat file3.ts file4.ts"
117
117
  ```
118
118
 
119
119
  **Large file (>500 lines) - use sed for ranges:**
120
120
  ```
121
- Task 1: type="Bash", prompt="sed -n '1,500p' large-file.ts"
122
- Task 2: type="Bash", prompt="sed -n '501,1000p' large-file.ts"
123
- Task 3: type="Bash", prompt="sed -n '1001,1500p' large-file.ts"
121
+ Task 1: subagent_type="Bash", prompt="sed -n '1,500p' large-file.ts"
122
+ Task 2: subagent_type="Bash", prompt="sed -n '501,1000p' large-file.ts"
123
+ Task 3: subagent_type="Bash", prompt="sed -n '1001,1500p' large-file.ts"
124
124
  ```
125
125
 
126
126
  ### Chunking Decision Tree
@@ -1,15 +1,15 @@
1
- # Internal Scouting with Explore Agents
1
+ # Internal Scouting with Explore Subagents
2
2
 
3
- Use Explore agents when SCALE >= 6 or external tools unavailable.
3
+ Use Explore subagents when SCALE >= 6 or external tools unavailable.
4
4
 
5
5
  ## How It Works
6
6
 
7
- Spawn multiple `Explore` agents via `Task` tool to search codebase in parallel.
7
+ Spawn multiple `Explore` subagents via `Task` tool to search codebase in parallel.
8
8
 
9
9
  ## Task Tool Configuration
10
10
 
11
11
  ```
12
- type: "Explore"
12
+ subagent_type: "Explore"
13
13
  ```
14
14
 
15
15
  ## Prompt Template
@@ -90,15 +90,15 @@ lines_per_chunk = ceil(total_lines / chunks)
90
90
 
91
91
  **Small files (<500 lines each):**
92
92
  ```
93
- Task 1: type="Bash", prompt="cat file1.ts file2.ts"
94
- Task 2: type="Bash", prompt="cat file3.ts file4.ts"
93
+ Task 1: subagent_type="Bash", prompt="cat file1.ts file2.ts"
94
+ Task 2: subagent_type="Bash", prompt="cat file3.ts file4.ts"
95
95
  ```
96
96
 
97
97
  **Large file (>500 lines) - use sed for ranges:**
98
98
  ```
99
- Task 1: type="Bash", prompt="sed -n '1,500p' large-file.ts"
100
- Task 2: type="Bash", prompt="sed -n '501,1000p' large-file.ts"
101
- Task 3: type="Bash", prompt="sed -n '1001,1500p' large-file.ts"
99
+ Task 1: subagent_type="Bash", prompt="sed -n '1,500p' large-file.ts"
100
+ Task 2: subagent_type="Bash", prompt="sed -n '501,1000p' large-file.ts"
101
+ Task 3: subagent_type="Bash", prompt="sed -n '1001,1500p' large-file.ts"
102
102
  ```
103
103
 
104
104
  ### Chunking Decision Tree
@@ -0,0 +1,125 @@
1
+ # Scout Task Management Patterns
2
+
3
+ Track parallel scout agent execution via Native Tasks (TaskCreate, TaskUpdate, TaskList).
4
+
5
+ ## When to Create Tasks
6
+
7
+ | Agents | Create Tasks? | Rationale |
8
+ |--------|--------------|-----------|
9
+ | ≤ 2 | No | Overhead exceeds benefit, finishes quickly |
10
+ | ≥ 3 | Yes | Meaningful coordination, progress monitoring |
11
+
12
+ ## Task Registration Flow
13
+
14
+ ```
15
+ TaskList() // Check for existing scout tasks
16
+ → Found tasks? → Skip creation, reuse existing
17
+ → Empty? → TaskCreate per agent (see schema below)
18
+ ```
19
+
20
+ ## Metadata Schema
21
+
22
+ ```
23
+ TaskCreate(
24
+ subject: "Scout {directory} for {target}",
25
+ activeForm: "Scouting {directory}",
26
+ description: "Search {directories} for {patterns}",
27
+ metadata: {
28
+ agentType: "Explore", // "Explore" (internal) or "Bash" (external)
29
+ scope: "src/auth/,src/middleware/",
30
+ scale: 6,
31
+ agentIndex: 1, // 1-indexed position
32
+ totalAgents: 6,
33
+ toolMode: "internal", // "internal" or "external"
34
+ priority: "P2", // Always P2 for scout coordination
35
+ effort: "3m" // Fixed timeout per agent
36
+ }
37
+ )
38
+ ```
39
+
40
+ ### Required Fields
41
+
42
+ - `agentType` — Subagent type: `"Explore"` for internal, `"Bash"` for external
43
+ - `scope` — Comma-separated directory boundaries for this agent
44
+ - `scale` — Total SCALE value determined in Step 1
45
+ - `agentIndex` / `totalAgents` — Position tracking (e.g., 3 of 6)
46
+ - `toolMode` — `"internal"` or `"external"`
47
+ - `priority` — Always `"P2"` (scout = coordination, not primary work)
48
+ - `effort` — Always `"3m"` (fixed timeout)
49
+
50
+ ### Optional Fields
51
+
52
+ - `searchPatterns` — Key patterns searched (aids debugging)
53
+ - `externalTool` — If external: `"gemini"` or `"opencode"`
54
+
55
+ ## Task Lifecycle
56
+
57
+ ```
58
+ Step 3: TaskCreate per agent → status: pending
59
+ Step 4: Before spawning agent → TaskUpdate → status: in_progress
60
+ Step 5: Agent returns report → TaskUpdate → status: completed
61
+ Step 5: Agent times out (3m) → Keep in_progress, add error metadata
62
+ ```
63
+
64
+ ### Timeout Handling
65
+
66
+ ```
67
+ TaskUpdate(taskId, {
68
+ metadata: { ...existing, error: "timeout" }
69
+ })
70
+ // Task stays in_progress — distinguishes timeout from incomplete
71
+ // Log in final report's "Unresolved Questions" section
72
+ ```
73
+
74
+ ## Examples
75
+
76
+ ### Internal Scouting (SCALE=6)
77
+
78
+ ```
79
+ // Step 3: Register 6 tasks
80
+ TaskCreate(subject: "Scout src/auth/ for auth files",
81
+ activeForm: "Scouting src/auth/",
82
+ metadata: { agentType: "Explore", scope: "src/auth/", scale: 6,
83
+ agentIndex: 1, totalAgents: 6, toolMode: "internal",
84
+ priority: "P2", effort: "3m" }) // → taskId1
85
+
86
+ // Repeat for agents 2-6 with different scopes
87
+
88
+ // Step 4: Spawn agents
89
+ TaskUpdate(taskId1, { status: "in_progress" })
90
+ // ... spawn all Explore subagents in single Task tool call
91
+
92
+ // Step 5: Collect
93
+ TaskUpdate(taskId1, { status: "completed" }) // report received
94
+ TaskUpdate(taskId3, { metadata: { error: "timeout" } }) // timed out
95
+ ```
96
+
97
+ ### External Scouting (SCALE=3, gemini)
98
+
99
+ ```
100
+ TaskCreate(subject: "Scout db/ for migrations via gemini",
101
+ activeForm: "Scouting db/ via gemini",
102
+ metadata: { agentType: "Bash", scope: "db/,migrations/", scale: 3,
103
+ agentIndex: 1, totalAgents: 3, toolMode: "external",
104
+ externalTool: "gemini", priority: "P2", effort: "3m" })
105
+ ```
106
+
107
+ ## Integration with Cook/Planning
108
+
109
+ Scout tasks are **independent** from cook/planning phase tasks — NOT parent-child.
110
+
111
+ **Rationale:** Different lifecycle. Scout completes before cook continues. Mixing creates confusion in TaskList.
112
+
113
+ **Sequence when cook spawns scout:**
114
+ 1. Cook Step 2 → spawns planner → planner spawns scout
115
+ 2. Scout registers its own tasks (Step 3), executes (Step 4-5)
116
+ 3. Scout returns aggregated report → planner continues
117
+ 4. Cook Step 3 hydrates phase tasks (separate from scout tasks)
118
+
119
+ ## Quality Check Output
120
+
121
+ After registration: `✓ Registered [N] scout tasks ([internal|external] mode, SCALE={scale})`
122
+
123
+ ## Error Handling
124
+
125
+ If `TaskCreate` fails: log warning, continue without task tracking. Scout remains fully functional — tasks add observability, not functionality.