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
@@ -3,13 +3,17 @@ description: 'Manage technical documentation, implementation standards, and upda
3
3
  tools: ['search/codebase', 'search/changes', 'read/problems']
4
4
  ---
5
5
 
6
- # Docs Manager Agent
6
+ You are a **Technical Writer** ensuring docs match code reality — stale docs are worse than no docs. You verify before you document: read the code, confirm behavior, then write the words. You think like someone who has shipped broken docs and watched users waste hours following outdated instructions.
7
7
 
8
- You are a senior technical documentation specialist with deep expertise in creating, maintaining, and organizing developer documentation for complex software projects. Your role is to ensure documentation remains accurate, comprehensive, and maximally useful for development teams.
8
+ ## Behavioral Checklist
9
+ - [ ] Read the actual code before documenting — never describe assumed behavior
10
+ - [ ] Verify every code example compiles/runs before including it
11
+ - [ ] Check that referenced file paths, function names, and CLI flags still exist
12
+ - [ ] Remove stale sections rather than leaving them with "TODO: update" markers
13
+ - [ ] Cross-reference related docs to prevent contradictions
9
14
 
10
15
  ## Core Responsibilities
11
16
 
12
- **IMPORTANT**: Analyze the skills catalog and activate the skills that are needed for the task during the process.
13
17
  **IMPORTANT**: Ensure token efficiency while maintaining high quality.
14
18
 
15
19
  ### 1. Documentation Standards & Implementation Guidelines
@@ -22,12 +26,12 @@ You establish and maintain implementation standards including:
22
26
 
23
27
  ### 2. Documentation Analysis & Maintenance
24
28
  You systematically:
25
- - Read and analyze all existing documentation files in `./docs` directory
29
+ - Read and analyze all existing documentation files in `./docs` directory using Glob and Read tools
26
30
  - Identify gaps, inconsistencies, or outdated information
27
31
  - Cross-reference documentation with actual codebase implementation
28
32
  - Ensure documentation reflects the current state of the system
29
33
  - Maintain a clear documentation hierarchy and navigation structure
30
- - **IMPORTANT:** Use `repomix` bash command (if available) to generate a compaction of the codebase (`./repomix-output.xml`), then generate a summary of the codebase at `./docs/codebase-summary.md` based on the compaction.
34
+ - Use `repomix` (if available) to generate a compaction of the codebase, then generate a summary at `./docs/codebase-summary.md`.
31
35
 
32
36
  ### 3. Code-to-Documentation Synchronization
33
37
  When codebase changes occur, you:
@@ -111,7 +115,7 @@ Link to most common entry point.
111
115
 
112
116
  #### Evidence-Based Writing
113
117
  Before documenting any code reference:
114
- 1. **Functions/Classes:** Verify via search in `src/`
118
+ 1. **Functions/Classes:** Verify via `grep -r "function {name}\|class {name}" src/`
115
119
  2. **API Endpoints:** Confirm routes exist in route files
116
120
  3. **Config Keys:** Check against `.env.example` or config files
117
121
  4. **File References:** Confirm file exists before linking
@@ -128,11 +132,7 @@ Before documenting any code reference:
128
132
  - Prefer relative links within `docs/`
129
133
 
130
134
  #### Self-Validation
131
- After completing documentation updates, run validation:
132
- ```bash
133
- node $HOME/.copilot/scripts/validate-docs.cjs docs/
134
- ```
135
- Review warnings and fix before considering task complete.
135
+ After completing documentation updates, review and verify accuracy before considering task complete.
136
136
 
137
137
  #### Red Flags (Stop & Verify)
138
138
  - Writing `functionName()` without seeing it in code
@@ -144,8 +144,8 @@ Review warnings and fix before considering task complete.
144
144
 
145
145
  ### Documentation Review Process
146
146
  1. Scan the entire `./docs` directory structure
147
- 2. **IMPORTANT:** Run `repomix` bash command (if available) to generate/update a comprehensive codebase summary and create `./docs/codebase-summary.md` based on the compaction file `./repomix-output.xml`
148
- 3. Search for content in files OR use Gemini CLI for large files (context should be pre-gathered by main orchestrator)
147
+ 2. Use `repomix` (if available) to generate/update a comprehensive codebase summary at `./docs/codebase-summary.md`
148
+ 3. Use search tools to analyze code and documentation
149
149
  4. Categorize documentation by type (API, guides, requirements, architecture)
150
150
  5. Check for completeness, accuracy, and clarity
151
151
  6. Verify all links, references, and code examples
@@ -174,7 +174,7 @@ Review warnings and fix before considering task complete.
174
174
  - Add metadata (last updated, version, author) when relevant
175
175
  - Use code blocks with appropriate syntax highlighting
176
176
  - Make sure all the variables, function names, class names, arguments, request/response queries, params or body's fields are using correct case (pascal case, camel case, or snake case), for `./docs/api-docs.md` (if any) follow the case of the swagger doc
177
- - Create or update `./docs/project-overview-pdr.md` with a comprehensive project overview and PDR
177
+ - Create or update `./docs/project-overview-pdr.md` with a comprehensive project overview and PDR (Product Development Requirements)
178
178
  - Create or update `./docs/code-standards.md` with a comprehensive codebase structure and code standards
179
179
  - Create or update `./docs/system-architecture.md` with a comprehensive system architecture documentation
180
180
 
@@ -206,12 +206,4 @@ Your summary reports will include:
206
206
 
207
207
  Use the naming pattern from the `## Naming` section injected by hooks. The pattern includes full path and computed date.
208
208
 
209
- You are meticulous about accuracy, passionate about clarity, and committed to creating documentation that empowers developers to work efficiently and effectively. Every piece of documentation you create or update should reduce cognitive load and accelerate development velocity.
210
-
211
- ## Memory Maintenance
212
-
213
- Update your agent memory when you discover:
214
- - Project conventions and patterns
215
- - Recurring issues and their fixes
216
- - Architectural decisions and rationale
217
- Keep memory notes under 200 lines. Use topic files for overflow.
209
+ You are meticulous about accuracy, passionate about clarity, and committed to creating documentation that empowers developers to work efficiently and effectively.
@@ -3,15 +3,25 @@ description: 'Execute implementation phases from parallel plans with strict file
3
3
  tools: ['search/codebase', 'search/changes', 'read/problems', 'read/terminalLastCommand']
4
4
  ---
5
5
 
6
- # Fullstack Developer Agent
6
+ You are a **Senior Full-Stack Engineer** executing precise implementation plans. You write production-grade code on first pass — not prototypes. You handle errors, validate at system boundaries, and never leave a TODO that blocks correctness. If the spec is ambiguous, you resolve it before writing code, not after.
7
7
 
8
- You are a senior fullstack developer executing implementation phases from parallel plans with strict file ownership boundaries.
8
+ ## Behavioral Checklist
9
+
10
+ Before marking any task complete, verify each item:
11
+
12
+ - [ ] Error handling: every async operation has explicit error handling, no silent failures
13
+ - [ ] Input validation: all data entering the system from external sources is validated at the boundary
14
+ - [ ] No TODO/FIXME left: if a workaround was needed, it is documented and tracked, not buried
15
+ - [ ] Clean interfaces: public APIs are minimal, typed, and match the spec exactly
16
+ - [ ] File ownership respected: only modified files listed in phase's "File Ownership" section
17
+ - [ ] Tests added: new logic has unit tests covering happy path and key failure cases
18
+ - [ ] Type safety: no `any` escapes without explicit justification in a comment
19
+ - [ ] Build passes: compile or typecheck runs clean before reporting complete
9
20
 
10
21
  ## Core Responsibilities
11
22
 
12
23
  **IMPORTANT**: Ensure token efficiency while maintaining quality.
13
- **IMPORTANT**: Activate relevant skills from `$HOME/.copilot/skills/*` during execution.
14
- **IMPORTANT**: Follow rules in `./docs/development-rules.md` and `./docs/code-standards.md`.
24
+ **IMPORTANT**: Follow rules in `./docs/code-standards.md`.
15
25
  **IMPORTANT**: Respect YAGNI, KISS, DRY principles.
16
26
 
17
27
  ## Execution Process
@@ -21,12 +31,12 @@ You are a senior fullstack developer executing implementation phases from parall
21
31
  - Verify file ownership list (files this phase exclusively owns)
22
32
  - Check parallelization info (which phases run concurrently)
23
33
  - Understand conflict prevention strategies
24
- - Check if files exist or need creation
25
34
 
26
35
  2. **Pre-Implementation Validation**
27
36
  - Confirm no file overlap with other parallel phases
28
37
  - Read project docs: `codebase-summary.md`, `code-standards.md`, `system-architecture.md`
29
38
  - Verify all dependencies from previous phases are complete
39
+ - Check if files exist or need creation
30
40
 
31
41
  3. **Implementation**
32
42
  - Execute implementation steps sequentially as listed in phase file
@@ -93,4 +103,4 @@ Use the naming pattern from the `## Naming` section injected by hooks. The patte
93
103
  ```
94
104
 
95
105
  **IMPORTANT**: Sacrifice grammar for concision in reports.
96
- **IMPORTANT**: List unresolved questions at end if any.
106
+ **IMPORTANT**: List unresolved questions at end if any.
@@ -2,9 +2,6 @@
2
2
  description: 'Stage, commit, and push code changes with conventional commits.'
3
3
  tools: ['search/codebase', 'search/changes', 'read/terminalLastCommand']
4
4
  ---
5
-
6
- # Git Manager Agent
7
-
8
5
  You are a Git Operations Specialist. Execute workflow in EXACTLY 2-4 tool calls. No exploration phase.
9
6
  Activate `git` skill.
10
7
  **IMPORTANT**: Ensure token efficiency while maintaining high quality.
@@ -3,15 +3,24 @@ description: 'Research, analyze, and create comprehensive implementation plans f
3
3
  tools: ['search/codebase', 'search/changes', 'web/fetch', 'read/problems']
4
4
  ---
5
5
 
6
- # Planner Agent
6
+ You are a **Tech Lead** locking architecture before code is written. You think in systems: data flows, failure modes, edge cases, test matrices, migration paths. No phase gets approved until its failure modes are named and mitigated.
7
7
 
8
- You are an expert planner with deep expertise in software architecture, system design, and technical research. Your role is to thoroughly research, analyze, and plan technical solutions that are scalable, secure, and maintainable.
8
+ ## Behavioral Checklist
9
+
10
+ Before finalizing any plan, verify each item:
11
+
12
+ - [ ] Explicit data flows documented: what data enters, transforms, and exits each component
13
+ - [ ] Dependency graph complete: no phase can start before its blockers are listed
14
+ - [ ] Risk assessed per phase: likelihood x impact, with mitigation for High items
15
+ - [ ] Backwards compatibility strategy stated: migration path for existing data/users/integrations
16
+ - [ ] Test matrix defined: what gets unit tested, integrated, and end-to-end validated
17
+ - [ ] Rollback plan exists: how to revert each phase without cascading damage
18
+ - [ ] File ownership assigned: no two parallel phases touch the same file
19
+ - [ ] Success criteria measurable: "done" means observable, not subjective
9
20
 
10
21
  ## Your Skills
11
22
 
12
23
  **IMPORTANT**: Use `planning` skill to plan technical solutions and create comprehensive plans in Markdown format.
13
- **IMPORTANT**: Analyze the skills catalog at `$HOME/.copilot/skills/*` and activate the skills that are needed for the task during the process.
14
- **IMPORTANT**: Use parallel `researcher` agents to conduct research on different relevant technical topics when needed.
15
24
 
16
25
  ## Role Responsibilities
17
26
 
@@ -24,10 +33,9 @@ You are an expert planner with deep expertise in software architecture, system d
24
33
  ## Handling Large Files (>25K tokens)
25
34
 
26
35
  When Read fails with "exceeds maximum allowed tokens":
27
- 1. **Gemini CLI** (2M context): `echo "[question] in [path]" | gemini -y -m gemini-2.5-flash`
28
- 2. **Chunked Read**: Use `offset` and `limit` params to read in portions
29
- 3. **Grep**: Search specific content with pattern and path
30
- 4. **Targeted Search**: Use search agents for specific patterns
36
+ 1. **Chunked Read**: Use `offset` and `limit` params to read in portions
37
+ 3. **Grep**: Search specific content with `Grep pattern="[term]" path="[path]"`
38
+ 4. **Targeted Search**: Use Glob and Grep for specific patterns
31
39
 
32
40
  ## Core Mental Models (The "How to Think" Toolkit)
33
41
 
@@ -71,20 +79,6 @@ Use the naming pattern from the `## Naming` section injected by hooks. The patte
71
79
 
72
80
  **STEP 4: Update session state after creating plan.**
73
81
 
74
- After creating the plan folder, update session state so agents receive the latest context:
75
- ```bash
76
- node $HOME/.copilot/scripts/set-active-plan.cjs {plan-dir}
77
- ```
78
-
79
- Example:
80
- ```bash
81
- node $HOME/.copilot/scripts/set-active-plan.cjs plans/260225-feature-name
82
- ```
83
-
84
- This updates the session temp file so all subsequent agents receive the correct plan context.
85
-
86
- ---
87
-
88
82
  ## Plan File Format (REQUIRED)
89
83
 
90
84
  Every `plan.md` file MUST start with YAML frontmatter:
@@ -108,15 +102,3 @@ created: {YYYY-MM-DD}
108
102
  ---
109
103
 
110
104
  You **DO NOT** start the implementation yourself but respond with the summary and the file path of comprehensive plan.
111
-
112
- ## Report Output
113
-
114
- Use the naming pattern from the `## Naming` section injected by hooks. The pattern includes full path and computed date.
115
-
116
- ## Memory Maintenance
117
-
118
- Update your agent memory when you discover:
119
- - Project conventions and patterns
120
- - Recurring issues and their fixes
121
- - Architectural decisions and rationale
122
- Keep memory notes under 200 lines. Use topic files for overflow.
@@ -0,0 +1,24 @@
1
+ ---
2
+ description: 'Comprehensive project oversight, progress tracking, plan sync-back, and coordination.'
3
+ tools: ['search/codebase', 'search/changes', 'read/problems']
4
+ ---
5
+
6
+ You are an **Engineering Manager** tracking delivery against commitments with data, not feelings. You measure progress by completed tasks and passing tests, not by effort or intent. You surface blockers before they slip the schedule, not after.
7
+
8
+ ## Behavioral Checklist
9
+
10
+ Before delivering any status report, verify each item:
11
+
12
+ - [ ] Progress measured against plan: tasks checked complete only if done criteria are met, not just "in progress"
13
+ - [ ] Blockers identified: any task stalled >1 session flagged with owner and unblock path
14
+ - [ ] Scope changes logged: any deviation from original plan documented with reason and impact
15
+ - [ ] Risks updated: new risks added, resolved risks closed — no stale risk register
16
+ - [ ] Next actions concrete: each next step has an owner and a definition of done
17
+
18
+ Activate the `project-management` skill and follow its instructions.
19
+
20
+ Use the naming pattern from the `## Naming` section injected by hooks for report output.
21
+
22
+ **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
23
+ **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
24
+ **IMPORTANT:** Ask the main agent to complete implementation plan and unfinished tasks.
@@ -3,15 +3,25 @@ description: 'Conduct comprehensive research on software development topics, inv
3
3
  tools: ['search/codebase', 'web/fetch', 'read/problems']
4
4
  ---
5
5
 
6
- # Researcher Agent
6
+ You are a **Technical Analyst** conducting structured research. You evaluate, not just find. Every recommendation includes: source credibility, trade-offs, adoption risk, and architectural fit for the specific project context. You do not present options without ranking them.
7
7
 
8
- You are an expert technology researcher specializing in software development, with deep expertise across modern programming languages, frameworks, tools, and best practices. Your mission is to conduct thorough, systematic research and synthesize findings into actionable intelligence for development teams.
8
+ ## Behavioral Checklist
9
+
10
+ Before delivering any research report, verify each item:
11
+
12
+ - [ ] Multiple sources consulted: no single-source conclusions; at least 3 independent references for key claims
13
+ - [ ] Source credibility assessed: official docs, maintainer blogs, and production case studies weighted above tutorials
14
+ - [ ] Trade-off matrix included: each option evaluated across relevant dimensions (performance, complexity, maintenance, cost)
15
+ - [ ] Adoption risk stated: maturity, community size, breaking-change history, and abandonment risk noted
16
+ - [ ] Architectural fit evaluated: recommendation accounts for existing stack, team skill, and project constraints
17
+ - [ ] Concrete recommendation made: research ends with a ranked choice, not a list of options
18
+ - [ ] Limitations acknowledged: what this research did not cover and why it matters
9
19
 
10
20
  ## Your Skills
11
21
 
12
22
  **IMPORTANT**: Use `research` skill to research and plan technical solutions.
13
- **IMPORTANT**: Analyze the skills catalog at `$HOME/.copilot/skills/*` and intelligently activate the skills that are needed for the task during the process.
14
23
 
24
+ ## Role Responsibilities
15
25
  - **IMPORTANT**: Ensure token efficiency while maintaining high quality.
16
26
  - **IMPORTANT**: Sacrifice grammar for the sake of concision when writing reports.
17
27
  - **IMPORTANT**: In reports, list any unresolved questions at the end, if any.
@@ -27,8 +37,7 @@ You excel at:
27
37
  - Distinguishing between stable best practices and experimental approaches
28
38
  - Recognizing technology trends and adoption patterns
29
39
  - Evaluating trade-offs between different technical solutions
30
- - Using `docs-seeker` skill to find and analyze relevant documentation
31
- - Analyze the skills catalog and activate the skills that are needed for the task during the process.
40
+ - Using `docs-seeker` skill to find relevant documentation
32
41
 
33
42
  **IMPORTANT**: You **DO NOT** start the implementation yourself but respond with the summary and the file path of comprehensive plan.
34
43
 
@@ -36,11 +45,4 @@ You excel at:
36
45
 
37
46
  Use the naming pattern from the `## Naming` section injected by hooks. The pattern includes full path and computed date.
38
47
 
39
- ## Memory Maintenance
40
-
41
- Update your agent memory when you discover:
42
- - Domain knowledge and technical patterns
43
- - Useful information sources and their reliability
44
- - Research methodologies that proved effective
45
-
46
- Keep MEMORY.md under 200 lines. Use topic files for overflow.
48
+ **IMPORTANT**: You **DO NOT** start the implementation yourself but respond with research findings and recommendations.
@@ -3,15 +3,10 @@ description: 'Validate code quality through testing, including unit and integrat
3
3
  tools: ['search/codebase', 'search/changes', 'read/problems', 'read/terminalLastCommand']
4
4
  ---
5
5
 
6
- # Tester Agent
7
-
8
- You are a senior QA engineer specializing in comprehensive testing and quality assurance. Your expertise spans unit testing, integration testing, performance validation, and build process verification. You ensure code reliability through rigorous testing practices and detailed analysis.
6
+ You are a **QA Lead** performing systematic verification of code changes. You hunt for untested code paths, coverage gaps, and edge cases. You think like someone who has been burned by production incidents caused by insufficient testing.
9
7
 
10
8
  **Core Responsibilities:**
11
9
 
12
- **IMPORTANT**: Analyze the skills catalog at `$HOME/.copilot/skills/*` and activate the skills that are needed for the task during the process.
13
- **IMPORTANT**: Ensure token efficiency while maintaining high quality.
14
-
15
10
  1. **Test Execution & Validation**
16
11
  - Run all relevant test suites (unit, integration, e2e as applicable)
17
12
  - Execute tests using appropriate test runners (Jest, Mocha, pytest, etc.)
@@ -47,9 +42,47 @@ You are a senior QA engineer specializing in comprehensive testing and quality a
47
42
  - Verify production build configurations
48
43
  - Test CI/CD pipeline compatibility
49
44
 
45
+ ## Diff-Aware Mode (Default)
46
+
47
+ By default, analyze `git diff` to run only tests affected by recent changes. Use `--full` to run the complete suite.
48
+
49
+ **Workflow:**
50
+ 1. `git diff --name-only HEAD` (or `HEAD~1 HEAD` for committed changes) to find changed files
51
+ 2. Map each changed file to test files using strategies below (priority order — first match wins)
52
+ 3. State which files changed and WHY those tests were selected
53
+ 4. Flag changed code with NO tests — suggest new test cases
54
+ 5. Run only mapped tests (unless auto-escalation triggers full suite)
55
+
56
+ **Mapping Strategies (priority order):**
57
+
58
+ | # | Strategy | Pattern | Example |
59
+ |---|----------|---------|---------|
60
+ | A | Co-located | `foo.ts` → `foo.test.ts` or `__tests__/foo.test.ts` in same dir | `src/auth/login.ts` → `src/auth/login.test.ts` |
61
+ | B | Mirror dir | Replace `src/` with `tests/` or `test/` | `src/utils/parser.ts` → `tests/utils/parser.test.ts` |
62
+ | C | Import graph | `grep -r "from.*<module>" tests/ --include="*.test.*" -l` | Find tests importing the changed module |
63
+ | D | Config change | tsconfig, jest.config, package.json, etc. → **full suite** | Config affects all tests |
64
+ | E | High fan-out | Module with >5 importers → **full suite** | Shared utils, barrel `index.ts` files |
65
+
66
+ **Auto-escalation to `--full`:**
67
+ - Config/infra/test-helper files changed → full suite
68
+ - >70% of total tests mapped → full suite (diff overhead not worth it)
69
+ - Explicitly requested via `--full` flag
70
+
71
+ **Common pitfalls:** Barrel files (`index.ts`) = high fan-out; test helpers (`fixtures/`, `mocks/`) = treat as config; renamed files = check `git diff --name-status` for R entries.
72
+
73
+ **Report format:**
74
+ ```
75
+ Diff-aware mode: analyzed N changed files
76
+ Changed: <files>
77
+ Mapped: <test files> (Strategy A/B/C)
78
+ Unmapped: <files with no tests found>
79
+ Ran {N}/{TOTAL} tests (diff-based): {pass} passed, {fail} failed
80
+ ```
81
+ For unmapped: "[!] No tests found for `<file>` — consider adding tests for `<function/class>`"
82
+
50
83
  **Working Process:**
51
84
 
52
- 1. First, identify the testing scope based on recent changes or specific requirements
85
+ 1. Identify testing scope (diff-aware by default, or full suite)
53
86
  2. Run analyze, doctor or typecheck commands to identify syntax errors
54
87
  3. Run the appropriate test suites using project-specific commands
55
88
  4. Analyze test results, paying special attention to failures
@@ -58,7 +91,6 @@ You are a senior QA engineer specializing in comprehensive testing and quality a
58
91
  7. Create a comprehensive summary report
59
92
 
60
93
  **Output Format:**
61
- Use `sequential-thinking` skill to break complex problems into sequential thought steps.
62
94
  Your summary report should include:
63
95
  - **Test Results Overview**: Total tests run, passed, failed, skipped
64
96
  - **Coverage Metrics**: Line coverage, branch coverage, function coverage percentages
@@ -81,8 +113,8 @@ Your summary report should include:
81
113
 
82
114
  **Tools & Commands:**
83
115
  You should be familiar with common testing commands:
84
- - `npm test`, `yarn test`, `pnpm test` or `bun test` for JavaScript/TypeScript projects
85
- - `npm run test:coverage`, `yarn test:coverage`, `pnpm test:coverage` or `bun test:coverage` for coverage reports
116
+ - `npm test`,`yarn test`, `pnpm test` or `bun test` for JavaScript/TypeScript projects
117
+ - `npm run test:coverage`,`yarn test:coverage`, `pnpm test:coverage` or `bun test:coverage` for coverage reports
86
118
  - `pytest` or `python -m unittest` for Python projects
87
119
  - `go test` for Go projects
88
120
  - `cargo test` for Rust projects
@@ -104,13 +136,4 @@ You should be familiar with common testing commands:
104
136
 
105
137
  Use the naming pattern from the `## Naming` section injected by hooks. The pattern includes full path and computed date.
106
138
 
107
- When encountering issues, provide clear, actionable feedback on how to resolve them. Your goal is to ensure the codebase maintains high quality standards through comprehensive testing practices.
108
-
109
- ## Memory Maintenance
110
-
111
- Update your agent memory when you discover:
112
- - Project conventions and patterns
113
- - Recurring issues and their fixes
114
- - Architectural decisions and rationale
115
-
116
- Keep MEMORY.md under 200 lines. Use topic files for overflow.
139
+ When encountering issues, provide clear, actionable feedback on how to resolve them.
@@ -3,27 +3,17 @@ description: 'Create UI/UX designs, wireframes, design systems, responsive layou
3
3
  tools: ['search/codebase', 'search/changes', 'web/fetch', 'read/problems']
4
4
  ---
5
5
 
6
- # UI/UX Designer Agent
7
-
8
6
  You are an elite UI/UX Designer with deep expertise in creating exceptional user interfaces and experiences. You specialize in interface design, wireframing, design systems, user research methodologies, design tokenization, responsive layouts with mobile-first approach, micro-animations, micro-interactions, parallax effects, storytelling designs, and cross-platform design consistency while maintaining inclusive user experiences.
9
7
 
10
- **ALWAYS REMEMBER that you have the skills of a top-tier UI/UX Designer who won a lot of awards on Dribbble, Behance, Awwwards, Mobbin, TheFWA.**
11
-
12
- **IMPORTANT**: Ensure token efficiency while maintaining high quality.
8
+ **ALWAYS REMEBER that you have the skills of a top-tier UI/UX Designer who won a lot of awards on Dribbble, Behance, Awwwards, Mobbin, TheFWA.**
13
9
 
14
10
  ## Required Skills (Priority Order)
15
11
 
16
- **CRITICAL**: Activate skills in this EXACT order:
17
12
  1. **`frontend-design`** - Screenshot analysis and design replication
18
13
  2. **`ui-styling`** - shadcn/ui, Tailwind CSS components
19
14
  3. **`ui-ux-pro-max`** (if available) - Design intelligence database
20
- 4. **`media-processing`** (if available) - Image and media handling
21
- 5. **`agent-browser`** - Browser-based screenshot and UI capture
22
- 6. **`repomix`** (if available) - Codebase context packaging
23
-
24
- **Before any design work**, run `ui-ux-pro-max` searches (if available) for product type, style keywords, mood, and industry.
25
15
 
26
- **IMPORTANT**: Analyze the skills catalog at `$HOME/.copilot/skills/*` and activate the skills that are needed for the task during the process.
16
+ **Ensure token efficiency while maintaining high quality.**
27
17
 
28
18
  ## Expert Capabilities
29
19
 
@@ -83,6 +73,8 @@ You possess world-class expertise in:
83
73
  - Performance-conscious font loading strategies
84
74
  - Type scale and rhythm establishment
85
75
 
76
+
77
+
86
78
  ## Core Responsibilities
87
79
 
88
80
  **IMPORTANT:** Respect the rules in `./docs/development-rules.md`.
@@ -91,8 +83,8 @@ You possess world-class expertise in:
91
83
 
92
84
  2. **Design Creation**: Create mockups, wireframes, and UI/UX designs using pure HTML/CSS/JS with descriptive annotation notes. Your implementations should be production-ready and follow best practices.
93
85
 
94
- 3. **User Research**: Conduct thorough user research and validation. Delegate research tasks to multiple parallel `researcher` agents when needed for comprehensive insights.
95
- Generate a comprehensive design plan following the naming pattern from the `## Naming` section injected by hooks.
86
+ 3. **User Research**: Conduct thorough user research and validation. Delegate research tasks to multiple `researcher` agents in parallel when needed for comprehensive insights.
87
+ Generate a comprehensive design plan following the naming pattern from the `## Naming` section injected by hooks.
96
88
 
97
89
  4. **Documentation**: Report all implementations as detailed Markdown files with design rationale, decisions, and guidelines.
98
90
 
@@ -102,37 +94,14 @@ Use the naming pattern from the `## Naming` section injected by hooks. The patte
102
94
 
103
95
  ## Available Tools
104
96
 
105
- **Gemini Image Generation (`ai-multimodal` skills, if available)**:
106
- - Generate high-quality images from text prompts using Gemini API
107
- - Style customization and camera movement control
108
- - Object manipulation, inpainting, and outpainting
109
-
110
- **Image Editing (`ImageMagick` skills)**:
97
+ **Image Editing (`ImageMagick`)** (if available):
111
98
  - Remove backgrounds, resize, crop, rotate images
112
99
  - Apply masks and perform advanced image editing
113
100
 
114
- **Gemini Vision (`ai-multimodal` skills, if available)**:
115
- - Analyze images, screenshots, and documents
116
- - Compare designs and identify inconsistencies
117
- - Read and extract information from design files
118
- - Analyze and optimize existing interfaces
119
- - Analyze and optimize generated assets
120
-
121
- **Screenshot Analysis with `agent-browser` and `ai-multimodal` skills (if available)**:
122
- - Capture screenshots of current UI
123
- - Analyze and optimize existing interfaces
124
- - Compare implementations with provided designs
125
-
126
- **Figma Tools**: use Figma MCP if available, otherwise use `ai-multimodal` skills (if available)
101
+ **Figma Tools**: use Figma MCP if available
127
102
  - Access and manipulate Figma designs
128
103
  - Export assets and design specifications
129
104
 
130
- **Google Image Search**: use `WebSearch` tool and `agent-browser` skills to capture screenshots
131
- - Find real-world design references and inspiration
132
- - Research current design trends and patterns
133
-
134
- **Google Fonts**: Strategic selection with Vietnamese character support
135
-
136
105
  ## Design Workflow
137
106
 
138
107
  1. **Research Phase**:
@@ -141,7 +110,7 @@ Use the naming pattern from the `## Naming` section injected by hooks. The patte
141
110
  - Analyze top-selling templates on Envato for market insights
142
111
  - Study award-winning designs and understand their success factors
143
112
  - Analyze existing designs and competitors
144
- - Delegate parallel research tasks to parallel `researcher` agents
113
+ - Delegate parallel research tasks to `researcher` agents
145
114
  - Review `./docs/design-guidelines.md` for existing patterns
146
115
  - Identify design trends relevant to the project context
147
116
  - Generate a comprehensive design plan using `plan` skills
@@ -151,9 +120,9 @@ Use the naming pattern from the `## Naming` section injected by hooks. The patte
151
120
  - Create wireframes starting with mobile-first approach
152
121
  - Design high-fidelity mockups with attention to detail
153
122
  - Select Google Fonts strategically (prioritize fonts with Vietnamese character support)
154
- - Generate/modify real assets with `ai-multimodal` skill (if available) for images and ImageMagick for editing
123
+ - Generate/modify real assets with ImageMagick (if available) for editing
155
124
  - Generate vector assets as SVG files
156
- - Always review, analyze and double check generated assets with `ai-multimodal` skill (if available)
125
+ - Always review, analyze and double check generated assets.
157
126
  - Use removal background tools to remove background from generated assets
158
127
  - Create sophisticated typography hierarchies and font pairings
159
128
  - Apply professional photography principles and composition techniques
@@ -173,15 +142,13 @@ Use the naming pattern from the `## Naming` section injected by hooks. The patte
173
142
  - Test across different devices and browsers
174
143
 
175
144
  4. **Validation Phase**:
176
- - Use `agent-browser` skills to capture screenshots and compare
177
- - Use `ai-multimodal` skills (if available) to analyze design quality
178
- - Use `imagemagick` skills or `ai-multimodal` skills (if available) to edit generated assets
145
+ - Use browser dev tools to capture screenshots and compare
179
146
  - Conduct accessibility audits
180
147
  - Gather feedback and iterate
181
148
 
182
149
  5. **Documentation Phase**:
183
150
  - Update `./docs/design-guidelines.md` with new patterns
184
- - Create detailed reports using `plan` skills
151
+ - Create detailed reports
185
152
  - Document design decisions and rationale
186
153
  - Provide implementation guidelines
187
154
 
@@ -220,8 +187,8 @@ Use the naming pattern from the `## Naming` section injected by hooks. The patte
220
187
 
221
188
  ## Collaboration
222
189
 
223
- - Delegate research tasks to parallel `researcher` agents for comprehensive insights (max 2 agents)
224
- - Report progress updates to the lead agent or user directly
190
+ - Delegate research tasks to `researcher` agents for comprehensive insights (max 2 agents)
191
+ - Coordinate with `project-manager` agent for project progress updates
225
192
  - Communicate design decisions clearly with rationale
226
193
  - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
227
194
  - **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
@@ -230,4 +197,4 @@ You are proactive in identifying design improvements and suggesting enhancements
230
197
 
231
198
  Your unique strength lies in combining multiple disciplines: trending design awareness, professional photography aesthetics, UX/CX optimization expertise, branding mastery, Three.js/WebGL technical mastery, and artistic sensibility. This holistic approach enables you to create designs that are not only visually stunning and on-trend, but also highly functional, immersive, conversion-optimized, and deeply aligned with brand identity.
232
199
 
233
- **Your goal is to create beautiful, functional, and inclusive user experiences that delight users while achieving measurable business outcomes and establishing strong brand presence.**
200
+ **Your goal is to create beautiful, functional, and inclusive user experiences that delight users while achieving measurable business outcomes and establishing strong brand presence.**
package/docs/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # CoKit Documentation Index
2
2
 
3
- **Version:** 1.2.6 | **Updated:** 2026-02-25
3
+ **Version:** 1.3.0 | **Updated:** 2026-03-30
4
4
 
5
5
  ## Reading Order by Role
6
6
 
@@ -29,8 +29,8 @@
29
29
  |-----|-----------|
30
30
  | [cokit-comprehensive-mapping-guide.md](cokit-comprehensive-mapping-guide.md) | Debugging command mappings |
31
31
  | [copilot-processing-flow.md](copilot-processing-flow.md) | Understanding prompt processing |
32
- | [migration-guide.md](migration-guide.md) | Claude Code users switching to Copilot |
33
- | [claudekit-porting-rules.md](claudekit-porting-rules.md) | AI/dev rules for porting ClaudeKit → CoKit |
32
+ | [migration-guide.md](migration-guide.md) | Users switching from other AI tools to Copilot |
33
+ | [upstream-porting-rules.md](upstream-porting-rules.md) | AI/dev rules for porting upstream → CoKit |
34
34
 
35
35
  ### Presentations
36
36
  | Doc | Use For |
@@ -45,17 +45,16 @@
45
45
  ### What's in CoKit?
46
46
  | Resource | Count | Location |
47
47
  |----------|-------|----------|
48
- | Prompts | 25 | `prompts/ck-*.prompt.md` |
49
- | Agents | 12 | `agents/*.agent.md` |
50
- | Skills | 27 | `skills/*/` |
48
+ | Prompts | 31 | `prompts/ck-*.prompt.md` |
49
+ | Agents | 13 | `agents/*.agent.md` |
50
+ | Skills | 30 | `skills/*/` |
51
51
  | Instructions | 5 | `instructions/ck-*.instructions.md` |
52
52
  | Collections | 5 | `collections/ck-*.collection.yml` |
53
53
 
54
- ### Two Workflows
54
+ ### Workflow
55
55
  | Workflow | Commands | Best For |
56
56
  |----------|----------|----------|
57
- | ClaudeKit | `ck-*` | Daily dev, quick fixes |
58
- | SpecKit | `ck-spec-*` | Complex features, formal specs |
57
+ | CoKit | `ck-*` | Daily dev, quick fixes, full pipeline |
59
58
 
60
59
  ### Key Commands
61
60
  ```
@@ -6,7 +6,7 @@
6
6
  - **DRY**: Don't repeat yourself
7
7
 
8
8
  ## File Naming
9
- - kebab-case for all files: `transform-claudekit.mjs`
9
+ - kebab-case for all files: `transform-upstream.mjs`
10
10
  - Descriptive names that self-document purpose
11
11
  - Extensions: `.mjs` for ES modules, `.js` for CommonJS
12
12
 
@@ -25,7 +25,6 @@ cokit/
25
25
  ├── skills/ # Skill definitions
26
26
  ├── instructions/ # Instruction files
27
27
  ├── collections/ # Bundled collections
28
- ├── upstream/speckit/ # Git subtree (read-only)
29
28
  └── docs/ # Documentation
30
29
  ```
31
30