cokit-cli 1.2.0 → 1.2.2

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 (243) hide show
  1. package/README.md +47 -36
  2. package/agents/brainstormer.agent.md +1 -1
  3. package/agents/debugger.agent.md +1 -1
  4. package/agents/docs-manager.agent.md +2 -2
  5. package/agents/git-manager.agent.md +5 -5
  6. package/agents/planner.agent.md +3 -3
  7. package/agents/researcher.agent.md +0 -1
  8. package/agents/scout.agent.md +9 -9
  9. package/agents/ui-ux-designer.agent.md +0 -1
  10. package/collections/ck-orchestration.collection.yml +2 -2
  11. package/docs/README.md +8 -8
  12. package/docs/codebase-summary.md +19 -19
  13. package/docs/cokit-commands-usage-guide.md +42 -43
  14. package/docs/cokit-comprehensive-mapping-guide.md +15 -15
  15. package/docs/cokit-slides.md +6 -6
  16. package/docs/cokit-sync-and-maintenance-guide.md +45 -45
  17. package/docs/cokit-team-presentation.md +11 -11
  18. package/docs/copilot-processing-flow.md +11 -11
  19. package/docs/guide-next-steps-speckit-cokit-implementation.md +1 -1
  20. package/docs/migration-guide.md +9 -9
  21. package/docs/project-overview-pdr.md +3 -3
  22. package/docs/project-roadmap.md +7 -7
  23. package/docs/system-architecture.md +6 -6
  24. package/package.json +1 -1
  25. package/prompts/ck-ask.prompt.md +3 -2
  26. package/prompts/ck-bootstrap.prompt.md +26 -32
  27. package/prompts/ck-brainstorm.prompt.md +4 -3
  28. package/prompts/ck-cook.prompt.md +5 -4
  29. package/prompts/ck-debug.prompt.md +4 -3
  30. package/prompts/ck-docs.prompt.md +4 -3
  31. package/prompts/ck-fix-ci.prompt.md +46 -0
  32. package/prompts/ck-fix-fast.prompt.md +44 -0
  33. package/prompts/ck-fix-hard.prompt.md +60 -0
  34. package/prompts/ck-fix-logs.prompt.md +53 -0
  35. package/prompts/ck-fix-test.prompt.md +47 -0
  36. package/prompts/ck-fix-types.prompt.md +29 -0
  37. package/prompts/ck-fix-ui.prompt.md +50 -0
  38. package/prompts/ck-fix.prompt.md +13 -15
  39. package/prompts/ck-git.prompt.md +2 -2
  40. package/prompts/ck-help.prompt.md +8 -6
  41. package/prompts/ck-journal.prompt.md +5 -3
  42. package/prompts/ck-plan-fast.prompt.md +26 -5
  43. package/prompts/ck-plan-hard.prompt.md +30 -9
  44. package/prompts/ck-plan-validate.prompt.md +209 -0
  45. package/prompts/ck-plan.prompt.md +49 -12
  46. package/prompts/ck-preview.prompt.md +16 -32
  47. package/prompts/ck-review.prompt.md +10 -11
  48. package/prompts/ck-scout.prompt.md +5 -4
  49. package/prompts/ck-simplify.prompt.md +3 -3
  50. package/prompts/ck-spec-analyze.prompt.md +9 -11
  51. package/prompts/ck-spec-checklist.prompt.md +7 -9
  52. package/prompts/ck-spec-clarify.prompt.md +8 -15
  53. package/prompts/ck-spec-constitution.prompt.md +6 -11
  54. package/prompts/ck-spec-implement.prompt.md +7 -10
  55. package/prompts/ck-spec-plan.prompt.md +5 -18
  56. package/prompts/ck-spec-specify.prompt.md +7 -17
  57. package/prompts/ck-spec-tasks.prompt.md +4 -16
  58. package/prompts/ck-test.prompt.md +5 -3
  59. package/prompts/ck-watzup.prompt.md +4 -2
  60. package/skills/INSTALLATION.md +3 -3
  61. package/skills/README.md +12 -34
  62. package/skills/agent-browser/SKILL.md +0 -1
  63. package/skills/agent_skills_spec.md +2 -2
  64. package/skills/backend-development/SKILL.md +0 -2
  65. package/skills/brainstorm/SKILL.md +7 -9
  66. package/skills/code-review/SKILL.md +9 -9
  67. package/skills/code-review/references/code-review-reception.md +1 -1
  68. package/skills/code-review/references/requesting-code-review.md +7 -7
  69. package/skills/common/api_key_helper.py +8 -8
  70. package/skills/context-engineering/SKILL.md +3 -4
  71. package/skills/context-engineering/references/context-degradation.md +2 -2
  72. package/skills/context-engineering/references/runtime-awareness.md +6 -6
  73. package/skills/cook/README.md +2 -2
  74. package/skills/cook/SKILL.md +3 -4
  75. package/skills/cook/references/agent-patterns.md +75 -0
  76. package/skills/cook/references/review-cycle.md +2 -2
  77. package/skills/cook/references/workflow-steps.md +6 -6
  78. package/skills/databases/SKILL.md +0 -1
  79. package/skills/databases/scripts/db_migrate.py +2 -2
  80. package/skills/databases/scripts/db_performance_check.py +2 -2
  81. package/skills/debug/SKILL.md +0 -1
  82. package/skills/devops/SKILL.md +0 -2
  83. package/skills/devops/scripts/docker_optimize.py +2 -2
  84. package/skills/docs-seeker/SKILL.md +0 -1
  85. package/skills/docs-seeker/package.json +1 -1
  86. package/skills/docs-seeker/scripts/utils/env-loader.js +2 -2
  87. package/skills/fix/SKILL.md +10 -11
  88. package/skills/fix/references/mode-selection.md +11 -27
  89. package/skills/fix/references/parallel-exploration.md +9 -9
  90. package/skills/fix/references/review-cycle.md +3 -3
  91. package/skills/fix/references/skill-activation-matrix.md +3 -3
  92. package/skills/fix/references/workflow-deep.md +11 -11
  93. package/skills/fix/references/workflow-quick.md +5 -5
  94. package/skills/fix/references/workflow-standard.md +12 -12
  95. package/skills/frontend-design/SKILL.md +2 -3
  96. package/skills/frontend-design/references/workflow-describe.md +1 -1
  97. package/skills/frontend-design/references/workflow-quick.md +1 -1
  98. package/skills/frontend-design/references/workflow-screenshot.md +1 -1
  99. package/skills/git/SKILL.md +2 -3
  100. package/skills/git/references/commit-standards.md +2 -2
  101. package/skills/git/references/workflow-commit.md +1 -1
  102. package/skills/git/references/workflow-merge.md +1 -1
  103. package/skills/git/references/workflow-pr.md +1 -1
  104. package/skills/git/references/workflow-push.md +1 -1
  105. package/skills/install.ps1 +5 -5
  106. package/skills/install.sh +2 -2
  107. package/skills/mcp-management/README.md +8 -8
  108. package/skills/mcp-management/SKILL.md +9 -9
  109. package/skills/mcp-management/references/gemini-cli-integration.md +2 -2
  110. package/skills/mcp-management/scripts/.env.example +2 -2
  111. package/skills/planning/SKILL.md +4 -5
  112. package/skills/planning/references/output-standards.md +1 -1
  113. package/skills/planning/references/plan-organization.md +1 -1
  114. package/skills/problem-solving/SKILL.md +1 -2
  115. package/skills/repomix/SKILL.md +2 -2
  116. package/skills/repomix/references/usage-patterns.md +2 -2
  117. package/skills/research/SKILL.md +0 -1
  118. package/skills/scout/SKILL.md +9 -10
  119. package/skills/scout/references/external-scouting.md +10 -10
  120. package/skills/scout/references/internal-scouting.md +9 -9
  121. package/skills/sequential-thinking/README.md +3 -3
  122. package/skills/sequential-thinking/SKILL.md +0 -2
  123. package/skills/sequential-thinking/package.json +1 -1
  124. package/skills/ui-styling/SKILL.md +0 -2
  125. package/skills/web-testing/SKILL.md +0 -2
  126. package/templates/repo/.github/agents/brainstormer.agent.md +1 -1
  127. package/templates/repo/.github/agents/debugger.agent.md +1 -1
  128. package/templates/repo/.github/agents/docs-manager.agent.md +2 -2
  129. package/templates/repo/.github/agents/git-manager.agent.md +5 -5
  130. package/templates/repo/.github/agents/planner.agent.md +3 -3
  131. package/templates/repo/.github/agents/researcher.agent.md +0 -1
  132. package/templates/repo/.github/agents/scout.agent.md +9 -9
  133. package/templates/repo/.github/agents/ui-ux-designer.agent.md +0 -1
  134. package/templates/repo/.github/collections/ck-orchestration.collection.yml +2 -2
  135. package/templates/repo/.github/prompts/ck-ask.prompt.md +3 -2
  136. package/templates/repo/.github/prompts/ck-bootstrap.prompt.md +26 -32
  137. package/templates/repo/.github/prompts/ck-brainstorm.prompt.md +4 -3
  138. package/templates/repo/.github/prompts/ck-cook.prompt.md +5 -4
  139. package/templates/repo/.github/prompts/ck-debug.prompt.md +4 -3
  140. package/templates/repo/.github/prompts/ck-docs.prompt.md +4 -3
  141. package/templates/repo/.github/prompts/ck-fix-ci.prompt.md +46 -0
  142. package/templates/repo/.github/prompts/ck-fix-fast.prompt.md +44 -0
  143. package/templates/repo/.github/prompts/ck-fix-hard.prompt.md +60 -0
  144. package/templates/repo/.github/prompts/ck-fix-logs.prompt.md +53 -0
  145. package/templates/repo/.github/prompts/ck-fix-test.prompt.md +47 -0
  146. package/templates/repo/.github/prompts/ck-fix-types.prompt.md +29 -0
  147. package/templates/repo/.github/prompts/ck-fix-ui.prompt.md +50 -0
  148. package/templates/repo/.github/prompts/ck-fix.prompt.md +13 -15
  149. package/templates/repo/.github/prompts/ck-git.prompt.md +2 -2
  150. package/templates/repo/.github/prompts/ck-help.prompt.md +8 -6
  151. package/templates/repo/.github/prompts/ck-journal.prompt.md +5 -3
  152. package/templates/repo/.github/prompts/ck-plan-fast.prompt.md +26 -5
  153. package/templates/repo/.github/prompts/ck-plan-hard.prompt.md +30 -9
  154. package/templates/repo/.github/prompts/ck-plan-validate.prompt.md +209 -0
  155. package/templates/repo/.github/prompts/ck-plan.prompt.md +49 -12
  156. package/templates/repo/.github/prompts/ck-preview.prompt.md +16 -32
  157. package/templates/repo/.github/prompts/ck-review.prompt.md +10 -11
  158. package/templates/repo/.github/prompts/ck-scout.prompt.md +5 -4
  159. package/templates/repo/.github/prompts/ck-simplify.prompt.md +3 -3
  160. package/templates/repo/.github/prompts/ck-spec-analyze.prompt.md +9 -11
  161. package/templates/repo/.github/prompts/ck-spec-checklist.prompt.md +7 -9
  162. package/templates/repo/.github/prompts/ck-spec-clarify.prompt.md +8 -15
  163. package/templates/repo/.github/prompts/ck-spec-constitution.prompt.md +6 -11
  164. package/templates/repo/.github/prompts/ck-spec-implement.prompt.md +7 -10
  165. package/templates/repo/.github/prompts/ck-spec-plan.prompt.md +5 -18
  166. package/templates/repo/.github/prompts/ck-spec-specify.prompt.md +7 -17
  167. package/templates/repo/.github/prompts/ck-spec-tasks.prompt.md +4 -16
  168. package/templates/repo/.github/prompts/ck-test.prompt.md +5 -3
  169. package/templates/repo/.github/prompts/ck-watzup.prompt.md +4 -2
  170. package/templates/repo/.github/skills/INSTALLATION.md +3 -3
  171. package/templates/repo/.github/skills/README.md +12 -34
  172. package/templates/repo/.github/skills/agent-browser/SKILL.md +0 -1
  173. package/templates/repo/.github/skills/agent_skills_spec.md +2 -2
  174. package/templates/repo/.github/skills/backend-development/SKILL.md +0 -2
  175. package/templates/repo/.github/skills/brainstorm/SKILL.md +7 -9
  176. package/templates/repo/.github/skills/code-review/SKILL.md +9 -9
  177. package/templates/repo/.github/skills/code-review/references/code-review-reception.md +1 -1
  178. package/templates/repo/.github/skills/code-review/references/requesting-code-review.md +7 -7
  179. package/templates/repo/.github/skills/common/api_key_helper.py +8 -8
  180. package/templates/repo/.github/skills/context-engineering/SKILL.md +3 -4
  181. package/templates/repo/.github/skills/context-engineering/references/context-degradation.md +2 -2
  182. package/templates/repo/.github/skills/context-engineering/references/runtime-awareness.md +6 -6
  183. package/templates/repo/.github/skills/cook/README.md +2 -2
  184. package/templates/repo/.github/skills/cook/SKILL.md +3 -4
  185. package/templates/repo/.github/skills/cook/references/agent-patterns.md +75 -0
  186. package/templates/repo/.github/skills/cook/references/review-cycle.md +2 -2
  187. package/templates/repo/.github/skills/cook/references/workflow-steps.md +6 -6
  188. package/templates/repo/.github/skills/databases/SKILL.md +0 -1
  189. package/templates/repo/.github/skills/databases/scripts/db_migrate.py +2 -2
  190. package/templates/repo/.github/skills/databases/scripts/db_performance_check.py +2 -2
  191. package/templates/repo/.github/skills/debug/SKILL.md +0 -1
  192. package/templates/repo/.github/skills/devops/SKILL.md +0 -2
  193. package/templates/repo/.github/skills/devops/scripts/docker_optimize.py +2 -2
  194. package/templates/repo/.github/skills/docs-seeker/SKILL.md +0 -1
  195. package/templates/repo/.github/skills/docs-seeker/package.json +1 -1
  196. package/templates/repo/.github/skills/docs-seeker/scripts/utils/env-loader.js +2 -2
  197. package/templates/repo/.github/skills/fix/SKILL.md +10 -11
  198. package/templates/repo/.github/skills/fix/references/mode-selection.md +11 -27
  199. package/templates/repo/.github/skills/fix/references/parallel-exploration.md +9 -9
  200. package/templates/repo/.github/skills/fix/references/review-cycle.md +3 -3
  201. package/templates/repo/.github/skills/fix/references/skill-activation-matrix.md +3 -3
  202. package/templates/repo/.github/skills/fix/references/workflow-deep.md +11 -11
  203. package/templates/repo/.github/skills/fix/references/workflow-quick.md +5 -5
  204. package/templates/repo/.github/skills/fix/references/workflow-standard.md +12 -12
  205. package/templates/repo/.github/skills/frontend-design/SKILL.md +2 -3
  206. package/templates/repo/.github/skills/frontend-design/references/workflow-describe.md +1 -1
  207. package/templates/repo/.github/skills/frontend-design/references/workflow-quick.md +1 -1
  208. package/templates/repo/.github/skills/frontend-design/references/workflow-screenshot.md +1 -1
  209. package/templates/repo/.github/skills/git/SKILL.md +2 -3
  210. package/templates/repo/.github/skills/git/references/commit-standards.md +2 -2
  211. package/templates/repo/.github/skills/git/references/workflow-commit.md +1 -1
  212. package/templates/repo/.github/skills/git/references/workflow-merge.md +1 -1
  213. package/templates/repo/.github/skills/git/references/workflow-pr.md +1 -1
  214. package/templates/repo/.github/skills/git/references/workflow-push.md +1 -1
  215. package/templates/repo/.github/skills/install.ps1 +5 -5
  216. package/templates/repo/.github/skills/install.sh +2 -2
  217. package/templates/repo/.github/skills/mcp-management/README.md +8 -8
  218. package/templates/repo/.github/skills/mcp-management/SKILL.md +9 -9
  219. package/templates/repo/.github/skills/mcp-management/references/gemini-cli-integration.md +2 -2
  220. package/templates/repo/.github/skills/mcp-management/scripts/.env.example +2 -2
  221. package/templates/repo/.github/skills/planning/SKILL.md +4 -5
  222. package/templates/repo/.github/skills/planning/references/output-standards.md +1 -1
  223. package/templates/repo/.github/skills/planning/references/plan-organization.md +1 -1
  224. package/templates/repo/.github/skills/problem-solving/SKILL.md +1 -2
  225. package/templates/repo/.github/skills/repomix/SKILL.md +2 -2
  226. package/templates/repo/.github/skills/repomix/references/usage-patterns.md +2 -2
  227. package/templates/repo/.github/skills/research/SKILL.md +0 -1
  228. package/templates/repo/.github/skills/scout/SKILL.md +9 -10
  229. package/templates/repo/.github/skills/scout/references/external-scouting.md +10 -10
  230. package/templates/repo/.github/skills/scout/references/internal-scouting.md +9 -9
  231. package/templates/repo/.github/skills/sequential-thinking/README.md +3 -3
  232. package/templates/repo/.github/skills/sequential-thinking/SKILL.md +0 -2
  233. package/templates/repo/.github/skills/sequential-thinking/package.json +1 -1
  234. package/templates/repo/.github/skills/ui-styling/SKILL.md +0 -2
  235. package/templates/repo/.github/skills/web-testing/SKILL.md +0 -2
  236. package/docs/cokit-instruction-guide.html +0 -3004
  237. package/docs/images/cokit-command-finder-final.png +0 -0
  238. package/docs/images/cokit-highlight-fix.png +0 -0
  239. package/docs/images/cokit-highlight-test.png +0 -0
  240. package/prompts/ck-spec-taskstoissues.prompt.md +0 -48
  241. package/skills/cook/references/subagent-patterns.md +0 -75
  242. package/templates/repo/.github/prompts/ck-spec-taskstoissues.prompt.md +0 -48
  243. package/templates/repo/.github/skills/cook/references/subagent-patterns.md +0 -75
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # CoKit
2
2
 
3
3
  Make GitHub Copilot smarter in 30 seconds.
4
+ Check it out at https://camping89.github.io/cokit/index.html
4
5
 
5
6
  ## Installation
6
7
 
@@ -23,99 +24,109 @@ That's it! All CoKit resources are now available in your Copilot.
23
24
  After installation, use commands in GitHub Copilot chat:
24
25
 
25
26
  ```
26
- /ck.plan "Add user authentication"
27
- /ck.fix "Login button not working"
28
- /ck.test
27
+ /ck-plan "Add user authentication"
28
+ /ck-fix "Login button not working"
29
+ /ck-test
29
30
  ```
30
31
 
31
32
  ## Sample Workflows
32
33
 
33
34
  ### Quick Fix (5 min)
34
35
  ```
35
- /ck.fix "Users can't upload files larger than 5MB"
36
+ /ck-fix "Users can't upload files larger than 5MB"
36
37
  ```
37
38
  Done. Single command handles analysis and fix.
38
39
 
39
40
  ### Small Feature (30 min)
40
41
  ```
41
- /ck.plan.fast "Add dark mode toggle"
42
+ /ck-plan-fast "Add dark mode toggle"
42
43
  → implement
43
- /ck.test
44
- /ck.fix (if tests fail)
44
+ /ck-test
45
+ /ck-fix (if tests fail)
45
46
  ```
46
47
 
47
48
  ### Medium Feature (2-4 hours)
48
49
  ```
49
- /ck.plan.hard "Add payment integration with Stripe"
50
+ /ck-plan-hard "Add payment integration with Stripe"
50
51
  → implement phase by phase
51
- /ck.test
52
- /ck.review
52
+ /ck-test
53
+ /ck-review
53
54
  ```
54
55
 
55
56
  ### Complex Feature (multi-day)
56
57
  ```
57
- /ck.spec.specify "Multi-tenant SaaS billing system"
58
- /ck.spec.clarify (answer questions)
59
- /ck.spec.plan
60
- /ck.spec.tasks
61
- /ck.spec.implement
62
- /ck.test
58
+ /ck-spec-specify "Multi-tenant SaaS billing system"
59
+ /ck-spec-clarify (answer questions)
60
+ /ck-spec-plan
61
+ /ck-spec-tasks
62
+ /ck-spec-implement
63
+ /ck-test
63
64
  ```
64
65
 
65
66
  ## Command Reference
66
67
 
67
- ### Daily Development (`ck.*`)
68
+ ### Daily Development (`ck-*`)
68
69
 
69
70
  | Command | When to Use |
70
71
  |---------|-------------|
71
- | `/ck.fix` | Fix bugs, errors, issues |
72
- | `/ck.test` | Run and analyze tests |
73
- | `/ck.plan.fast` | Quick feature (< 2 hours) |
74
- | `/ck.plan.hard` | Feature needing research |
75
- | `/ck.ask` | Technical questions |
76
- | `/ck.review` | Code review |
77
- | `/ck.bootstrap` | Start new project |
72
+ | `/ck-fix` | Fix bugs, errors, issues |
73
+ | `/ck-test` | Run and analyze tests |
74
+ | `/ck-plan-fast` | Quick feature (< 2 hours) |
75
+ | `/ck-plan-hard` | Feature needing research |
76
+ | `/ck-ask` | Technical questions |
77
+ | `/ck-review` | Code review |
78
+ | `/ck-bootstrap` | Start new project |
78
79
 
79
- ### Spec-Driven (`ck.spec.*`)
80
+ ### Spec-Driven (`ck-spec-*`)
80
81
 
81
82
  For complex features needing formal requirements:
82
83
 
83
84
  | Command | When to Use |
84
85
  |---------|-------------|
85
- | `/ck.spec.specify` | Create formal specification |
86
- | `/ck.spec.clarify` | Resolve ambiguities |
87
- | `/ck.spec.plan` | Generate implementation plan |
88
- | `/ck.spec.tasks` | Break into tasks |
89
- | `/ck.spec.implement` | Execute tasks |
86
+ | `/ck-spec-specify` | Create formal specification |
87
+ | `/ck-spec-clarify` | Resolve ambiguities |
88
+ | `/ck-spec-plan` | Generate implementation plan |
89
+ | `/ck-spec-tasks` | Break into tasks |
90
+ | `/ck-spec-implement` | Execute tasks |
90
91
 
91
92
  ## Which Workflow?
92
93
 
93
94
  ```
94
95
  Is this a bug fix?
95
- → /ck.fix
96
+ → /ck-fix
96
97
 
97
98
  Is this < 2 hours work?
98
- → /ck.plan.fast
99
+ → /ck-plan-fast
99
100
 
100
101
  Do you need formal requirements?
101
- → /ck.spec.specify (spec-driven flow)
102
+ → /ck-spec-specify (spec-driven flow)
102
103
 
103
104
  Otherwise?
104
- → /ck.plan.hard (research + plan)
105
+ → /ck-plan-hard (research + plan)
105
106
  ```
106
107
 
107
108
  ## What's Included
108
109
 
109
110
  | Resource | Count | Purpose |
110
111
  |----------|-------|---------|
111
- | Prompts | 28 | Commands for Copilot |
112
+ | Prompts | 27 | Commands for Copilot |
112
113
  | Agents | 12 | Specialized AI assistants |
113
- | Skills | 27 | Domain expertise |
114
+ | Skills | 23 | Domain expertise |
114
115
  | Instructions | 5 | Context-aware rules |
115
116
  | Collections | 5 | Bundled workflows |
116
117
 
117
118
  See [docs/](docs/) for detailed resource documentation.
118
119
 
120
+ ## What's New (v1.2.2)
121
+
122
+ Full Copilot format compliance audit and cleanup:
123
+ - Removed all Claude Code-specific references (tool names, agent patterns, API params)
124
+ - Fixed frontmatter fields to match official Copilot specs across all file types
125
+ - Rewrote `ck-preview` execution for Copilot's `execute/runInTerminal`
126
+ - Cleaned up 45 files (agents, prompts, skills)
127
+
128
+ See [CHANGELOG.md](CHANGELOG.md) for full history.
129
+
119
130
  ## Documentation
120
131
 
121
132
  - [Commands Usage Guide](docs/cokit-commands-usage-guide.md) - When to use each command
@@ -37,7 +37,7 @@ You operate by the holy trinity of software engineering: **YAGNI** (You Aren't G
37
37
  ## Collaboration Tools
38
38
  - Consult the `planner` agent to research industry best practices and find proven solutions
39
39
  - Engage the `docs-manager` agent to understand existing project implementation and constraints
40
- - Use `WebSearch` tool to find efficient approaches and learn from others' experiences
40
+ - Search the web to find efficient approaches and learn from others' experiences
41
41
 
42
42
  ## Workflow Phases
43
43
  1. **Discovery Phase**: Ask clarifying questions about requirements, constraints, timeline, and success criteria
@@ -37,7 +37,7 @@ When investigating issues, you will:
37
37
  - Examine application logs and error traces
38
38
  - Capture system metrics and performance data
39
39
  - Read `./docs/codebase-summary.md` if exists and up-to-date (less than 2 days old)
40
- - Use Glob/Grep tools to search the codebase for files needed to complete the task
40
+ - Search the codebase for files needed to complete the task
41
41
  - When given a Github repository URL, use `repomix --remote <github-repo-url>` to generate codebase summary:
42
42
  ```bash
43
43
  # usage: repomix --remote <github-repo-url>
@@ -21,7 +21,7 @@ You establish and maintain implementation standards including:
21
21
 
22
22
  ### 2. Documentation Analysis & Maintenance
23
23
  You systematically:
24
- - Read and analyze all existing documentation files in `./docs` directory using Glob and Read tools
24
+ - Read and analyze all existing documentation files in `./docs` directory
25
25
  - Identify gaps, inconsistencies, or outdated information
26
26
  - Cross-reference documentation with actual codebase implementation
27
27
  - Ensure documentation reflects the current state of the system
@@ -57,7 +57,7 @@ You organize documentation to:
57
57
  ### Documentation Review Process
58
58
  1. Scan the entire `./docs` directory structure
59
59
  2. Generate/update `./docs/codebase-summary.md` with comprehensive codebase summary
60
- 3. Use Glob/Grep tools OR Gemini CLI for large files
60
+ 3. Search for content in files OR use Gemini CLI for large files
61
61
  4. Categorize documentation by type (API, guides, requirements, architecture)
62
62
  5. Check for completeness, accuracy, and clarity
63
63
  6. Verify all links, references, and code examples
@@ -296,10 +296,10 @@ Keep output concise (<1k chars). No explanations of what you did.
296
296
  ## Token Optimization Strategy
297
297
 
298
298
  **Delegation rationale:**
299
- - Gemini Flash 2.5: $0.075/$0.30 per 1M tokens
300
- - Haiku 4.5: $1/$5 per 1M tokens
301
- - For 100-line diffs, Gemini = **13x cheaper** for analysis
302
- - Haiku focuses on orchestration, Gemini does heavy lifting
299
+ - Worker model (e.g. Gemini Flash 2.5): $0.075/$0.30 per 1M tokens
300
+ - Orchestrator model: $1/$5 per 1M tokens
301
+ - For 100-line diffs, worker model = **13x cheaper** for analysis
302
+ - Orchestrator focuses on routing, worker model does heavy lifting
303
303
 
304
304
  **Efficiency rules:**
305
305
  1. **Compound commands only** - use `&&` to chain operations
@@ -314,7 +314,7 @@ Keep output concise (<1k chars). No explanations of what you did.
314
314
  - 3 tools @ 5K tokens = $0.015 per commit
315
315
  - **81% cost reduction** × 1000 commits/month = $63 saved
316
316
 
317
- ## Critical Instructions for Haiku
317
+ ## Critical Instructions for Orchestrator
318
318
 
319
319
  Your role: **EXECUTE, not EXPLORE**
320
320
 
@@ -19,9 +19,9 @@ You operate by **YAGNI** (You Aren't Gonna Need It), **KISS** (Keep It Simple, S
19
19
 
20
20
  When Read fails with "exceeds maximum allowed tokens":
21
21
  1. **Gemini CLI** (2M context): `echo "[question] in [path]" | gemini -y -m gemini-2.5-flash`
22
- 2. **Chunked Read**: Use `offset` and `limit` params to read in portions
23
- 3. **Grep**: Search specific content with `Grep pattern="[term]" path="[path]"`
24
- 4. **Targeted Search**: Use Glob and Grep for specific patterns
22
+ 2. Read file in portions using offset and limit parameters
23
+ 3. Search for specific content in files
24
+ 4. Search for specific file and content patterns
25
25
 
26
26
  ## Core Mental Models (The "How to Think" Toolkit)
27
27
 
@@ -24,7 +24,6 @@ You excel at:
24
24
  - Recognizing technology trends and adoption patterns
25
25
  - Evaluating trade-offs between different technical solutions
26
26
  - Using `docs-seeker` skills to find relevant documentation
27
- - Using `document-skills` skills to read and analyze documents
28
27
  **IMPORTANT**: You **DO NOT** start the implementation yourself but respond with the summary and the file path of comprehensive plan.
29
28
 
30
29
  ## Report Output
@@ -9,7 +9,7 @@ You are an elite Codebase Scout, a specialized agent designed to rapidly locate
9
9
 
10
10
  ## Your Core Mission
11
11
 
12
- When given a search task, you will use Glob, Grep, and Read tools to efficiently search the codebase and synthesize findings into a comprehensive file list for the user.
12
+ When given a search task, you will use search and file reading capabilities to efficiently search the codebase and synthesize findings into a comprehensive file list for the user.
13
13
  Requirements: **Ensure token efficiency while maintaining high quality.**
14
14
 
15
15
  ## Operational Protocol
@@ -38,8 +38,8 @@ Example prompt structure:
38
38
  "Search the [directories] for files related to [functionality]. Look for [specific patterns like API routes, schema definitions, utility functions]. Return only the file paths that are directly relevant. Be concise and fast - you have 3 minutes."
39
39
 
40
40
  ### 4. Execute Parallel Searches
41
- - Use Glob tool with multiple patterns
42
- - Use Grep for content-based searches
41
+ - Search with multiple file patterns
42
+ - Search file contents for specific patterns
43
43
  - Read key files to understand structure
44
44
  - Complete searches within 3-minute target
45
45
 
@@ -50,7 +50,7 @@ Example prompt structure:
50
50
 
51
51
  ## Search Tools
52
52
 
53
- Use Glob, Grep, and Read tools for efficient codebase exploration.
53
+ Use search and file reading for efficient codebase exploration.
54
54
 
55
55
  ## Example Execution Flow
56
56
 
@@ -79,19 +79,19 @@ Use Glob, Grep, and Read tools for efficient codebase exploration.
79
79
 
80
80
  - If results are sparse: Expand search scope or try different keywords
81
81
  - If results are overwhelming: Categorize and prioritize by relevance
82
- - If Read fails on large files: Use chunked reading or Grep for specific content
82
+ - If Read fails on large files: Use chunked reading or content search for specific content
83
83
 
84
84
  ## Handling Large Files (>25K tokens)
85
85
 
86
86
  When Read fails with "exceeds maximum allowed tokens":
87
87
  1. **Gemini CLI** (2M context): `echo "[question] in [path]" | gemini -y -m gemini-2.5-flash`
88
- 2. **Chunked Read**: Use `offset` and `limit` params to read in portions
89
- 3. **Grep**: Search specific content with `Grep pattern="[term]" path="[path]"`
88
+ 2. Read file in portions using offset and limit parameters
89
+ 3. Search for specific content in files
90
90
 
91
91
  ## Success Criteria
92
92
 
93
93
  You succeed when:
94
- 1. You execute searches efficiently using Glob, Grep, and Read tools
94
+ 1. You execute searches efficiently using search and file reading capabilities
95
95
  2. You synthesize results into a clear, actionable file list
96
96
  3. The user can immediately proceed with their task using the files you found
97
97
  4. You complete the entire operation in under 5 minutes
@@ -104,4 +104,4 @@ Save reports to `plans/reports/` directory with naming pattern `{type}-{date}-{s
104
104
  - Sacrifice grammar for the sake of concision when writing reports.
105
105
  - In reports, list any unresolved questions at the end, if any.
106
106
 
107
- **Remember:** You are a fast, focused searcher. Your power lies in efficiently using Glob, Grep, and Read tools to quickly locate relevant files.
107
+ **Remember:** You are a fast, focused searcher. Your power lies in efficiently searching and reading files to quickly locate relevant content.
@@ -54,5 +54,4 @@ Activate relevant skills based on task:
54
54
  ## Collaboration
55
55
 
56
56
  - Delegate research to `researcher` agents for comprehensive insights
57
- - Coordinate with `project-manager` for progress updates
58
57
  - Follow rules in `./docs/development-rules.md`
@@ -1,7 +1,7 @@
1
1
  id: ck-orchestration
2
2
  name: CK Orchestration Protocol
3
- description: Workflow orchestration patterns for managing subagents, task delegation, and multi-phase implementations.
4
- tags: [orchestration, workflow, subagents, planning]
3
+ description: Workflow orchestration patterns for managing agents, task delegation, and multi-phase implementations.
4
+ tags: [orchestration, workflow, agents, planning]
5
5
  items:
6
6
  - path: agents/planner.agent.md
7
7
  kind: agent
package/docs/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  | # | Doc | Purpose |
9
9
  |---|-----|---------|
10
10
  | 1 | [../README.md](../README.md) | Installation & sample workflows |
11
- | 2 | [cokit-commands-usage-guide.md](cokit-commands-usage-guide.md) | When to use `ck.*` vs `ck.spec.*` |
11
+ | 2 | [cokit-commands-usage-guide.md](cokit-commands-usage-guide.md) | When to use `ck-*` vs `ck-spec-*` |
12
12
 
13
13
  ### Team Members (Understanding CoKit)
14
14
  | # | Doc | Purpose |
@@ -44,7 +44,7 @@
44
44
  ### What's in CoKit?
45
45
  | Resource | Count | Location |
46
46
  |----------|-------|----------|
47
- | Prompts | 28 | `prompts/ck-*.prompt.md` |
47
+ | Prompts | 27 | `prompts/ck-*.prompt.md` |
48
48
  | Agents | 12 | `agents/*.agent.md` |
49
49
  | Skills | 27 | `skills/*/` |
50
50
  | Instructions | 5 | `instructions/ck-*.instructions.md` |
@@ -53,15 +53,15 @@
53
53
  ### Two Workflows
54
54
  | Workflow | Commands | Best For |
55
55
  |----------|----------|----------|
56
- | ClaudeKit | `ck.*` | Daily dev, quick fixes |
57
- | SpecKit | `ck.spec.*` | Complex features, formal specs |
56
+ | ClaudeKit | `ck-*` | Daily dev, quick fixes |
57
+ | SpecKit | `ck-spec-*` | Complex features, formal specs |
58
58
 
59
59
  ### Key Commands
60
60
  ```
61
- /ck.fix → Fix bugs
62
- /ck.plan.fast → Quick feature
63
- /ck.plan.hard → Research + plan
64
- /ck.spec.specify → Formal specification
61
+ /ck-fix → Fix bugs
62
+ /ck-plan-fast → Quick feature
63
+ /ck-plan-hard → Research + plan
64
+ /ck-spec-specify → Formal specification
65
65
  ```
66
66
 
67
67
  ---
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Overview
4
4
 
5
- CoKit is a CLI tool that enhances GitHub Copilot with 28 prompts, 12 agents, 5 instructions, 27 skills, and 5 collections. The tool unifies two upstream sources (ClaudeKit and SpecKit) into a single ck.* namespace.
5
+ CoKit is a CLI tool that enhances GitHub Copilot with 27 prompts, 12 agents, 5 instructions, 27 skills, and 5 collections. The tool unifies two upstream sources (ClaudeKit and SpecKit) into a single ck-* namespace.
6
6
 
7
7
  **Repository:** https://github.com/camping89/cokit.git
8
8
  **Version:** 1.2.0
@@ -23,7 +23,7 @@ Merge Results
23
23
 
24
24
  Patch Navigation (Inject workflow footers)
25
25
 
26
- Output: Unified ck.* Prompts
26
+ Output: Unified ck-* Prompts
27
27
  ```
28
28
 
29
29
  ### Sync Pipeline (eng/sync.mjs)
@@ -91,7 +91,7 @@ Registers 5 commands using Commander.js:
91
91
  **Flow:**
92
92
  1. Load resource-origins.yml configuration
93
93
  2. Transform ClaudeKit and SpecKit sources in parallel
94
- 3. Merge results (total: 28 prompts)
94
+ 3. Merge results (total: 27 prompts)
95
95
  4. Apply navigation patches to all prompts
96
96
  5. Write output files or show dry-run preview
97
97
  6. Update sync timestamps
@@ -113,10 +113,10 @@ navigation: {} # Workflow navigation rules
113
113
  #### ClaudeKit Transformer (transform-claudekit.mjs)
114
114
  **Input:** ~/.claude/commands/ (user's local ClaudeKit)
115
115
  **Transformations:**
116
- - Rename: `/*` → `ck.*` namespace
116
+ - Rename: `/*` → `ck-*` namespace
117
117
  - Replace: `$ARGUMENTS` → `${input}`
118
118
  - Remove `model` field from frontmatter
119
- - Update handoff references to ck.* commands
119
+ - Update handoff references to ck-* commands
120
120
  - Transform command references in content
121
121
 
122
122
  **Functions:**
@@ -129,14 +129,14 @@ navigation: {} # Workflow navigation rules
129
129
  #### SpecKit Transformer (transform-speckit.mjs)
130
130
  **Input:** upstream/speckit/templates/commands/
131
131
  **Transformations:**
132
- - Rename: `/speckit.*` → `/ck.*`
132
+ - Rename: `/speckit-*` → `/ck-*`
133
133
  - Replace: `$ARGUMENTS` → `${input}`
134
134
  - Remove `model` field from frontmatter
135
- - Update handoff references to ck.* commands
135
+ - Update handoff references to ck-* commands
136
136
 
137
137
  **Functions:**
138
138
  - `transformFile()` - Apply transformations
139
- - `transformCommandReference()` - Update handoffs (speckit.* → ck.*)
139
+ - `transformCommandReference()` - Update handoffs (speckit-* → ck-*)
140
140
  - `transformContentReferences()` - Replace content references
141
141
 
142
142
  ### 4. Navigation Patcher (patch-navigation.mjs)
@@ -173,8 +173,8 @@ Maintains mappings and sync metadata.
173
173
  ### ClaudeKit Commands (12)
174
174
  12 prompts from ~/.claude/commands/ (plan, fix, test, ask, bootstrap, review, watzup, journal, preview, help, plan.hard, plan.fast)
175
175
 
176
- ### SpecKit Commands (9)
177
- 9 prompts from upstream/speckit (specify, clarify, constitution, plan, tasks, implement, analyze, checklist, taskstoissues)
176
+ ### SpecKit Commands (8)
177
+ 8 prompts from upstream/speckit (specify, clarify, constitution, plan, tasks, implement, analyze, checklist)
178
178
 
179
179
  ## Dependencies
180
180
 
@@ -203,8 +203,8 @@ npm run build # Update README
203
203
  ### Sync Operation
204
204
  1. **Config Load** - Read resource-origins.yml
205
205
  2. **Parallel Transform:**
206
- - ClaudeKit: Glob ~/.claude/commands → Transform → Output ck.* prompts
207
- - SpecKit: Glob upstream/speckit/templates/commands → Transform → Output ck.* prompts
206
+ - ClaudeKit: Glob ~/.claude/commands → Transform → Output ck-* prompts
207
+ - SpecKit: Glob upstream/speckit/templates/commands → Transform → Output ck-* prompts
208
208
  3. **Merge** - Combine results (21 total)
209
209
  4. **Patch Navigation** - Inject workflow footers
210
210
  5. **Write Output** - Create prompt files (prompts/ directory)
@@ -217,14 +217,14 @@ Input (ClaudeKit)
217
217
  ├── Content: "Run $ARGUMENTS using /fix command"
218
218
 
219
219
  Transform
220
- ├── Rename: ck.plan
220
+ ├── Rename: ck-plan
221
221
  ├── Replace: $ARGUMENTS → ${input}
222
- ├── Update: /fix → /ck.fix
222
+ ├── Update: /fix → /ck-fix
223
223
  ├── Remove: model field
224
224
 
225
- Output (ck.*)
226
- ├── Frontmatter: {name: "ck.plan", ...}
227
- ├── Content: "Run ${input} using /ck.fix command"
225
+ Output (ck-*)
226
+ ├── Frontmatter: {name: "ck-plan", ...}
227
+ ├── Content: "Run ${input} using /ck-fix command"
228
228
  ├── Navigation Footer: "Suggested Next Steps"
229
229
  ```
230
230
 
@@ -245,11 +245,11 @@ Output (ck.*)
245
245
  5. **Parallel Processing:** Concurrent ClaudeKit + SpecKit transforms
246
246
  6. **Graceful Degradation:** Continues if sources unavailable
247
247
  7. **Frontmatter Management:** Preserves metadata, removes model field
248
- 8. **Content Reference Updates:** Transforms all command references to ck.* namespace
248
+ 8. **Content Reference Updates:** Transforms all command references to ck-* namespace
249
249
 
250
250
  ## Version History
251
251
 
252
- - **v1.2.0** (Current) - 28 prompts, 12 agents, 27 skills
252
+ - **v1.2.0** (Current) - 27 prompts, 12 agents, 27 skills
253
253
  - **v1.1.0** - 21 prompts (12 ClaudeKit + 9 SpecKit), SpecKit sync pipeline
254
254
  - **v1.0.9** - Comprehensive documentation update
255
255
  - **v1.0.8** - Initial release
@@ -6,22 +6,22 @@ When to use which command workflow.
6
6
 
7
7
  | Need | Command | Workflow |
8
8
  |------|---------|----------|
9
- | **Quick implementation** | `ck.plan.fast` | ClaudeKit |
10
- | **Deep research + plan** | `ck.plan.hard` | ClaudeKit |
11
- | **Formal spec from idea** | `ck.spec.specify` | SpecKit |
12
- | **Fix a bug** | `ck.fix` | ClaudeKit |
13
- | **Run tests** | `ck.test` | ClaudeKit |
9
+ | **Quick implementation** | `ck-plan-fast` | ClaudeKit |
10
+ | **Deep research + plan** | `ck-plan-hard` | ClaudeKit |
11
+ | **Formal spec from idea** | `ck-spec-specify` | SpecKit |
12
+ | **Fix a bug** | `ck-fix` | ClaudeKit |
13
+ | **Run tests** | `ck-test` | ClaudeKit |
14
14
 
15
15
  ---
16
16
 
17
17
  ## Two Workflows
18
18
 
19
- ### ClaudeKit (`ck.*`) - Flexible, Fast
19
+ ### ClaudeKit (`ck-*`) - Flexible, Fast
20
20
 
21
21
  Best for: **Day-to-day development**, quick fixes, exploration.
22
22
 
23
23
  ```
24
- ck.plan.fast → ck.test → ck.fix
24
+ ck-plan-fast → ck-test → ck-fix
25
25
  ```
26
26
 
27
27
  **When to use:**
@@ -34,23 +34,23 @@ ck.plan.fast → ck.test → ck.fix
34
34
  **Commands:**
35
35
  | Command | Description |
36
36
  |---------|-------------|
37
- | `ck.plan` | Create implementation plan |
38
- | `ck.plan.fast` | Quick plan, no research |
39
- | `ck.plan.hard` | Deep research + plan |
40
- | `ck.fix` | Fix issues |
41
- | `ck.test` | Run tests |
42
- | `ck.ask` | Answer questions |
43
- | `ck.review` | Review codebase |
44
- | `ck.bootstrap` | Start new project |
37
+ | `ck-plan` | Create implementation plan |
38
+ | `ck-plan-fast` | Quick plan, no research |
39
+ | `ck-plan-hard` | Deep research + plan |
40
+ | `ck-fix` | Fix issues |
41
+ | `ck-test` | Run tests |
42
+ | `ck-ask` | Answer questions |
43
+ | `ck-review` | Review codebase |
44
+ | `ck-bootstrap` | Start new project |
45
45
 
46
46
  ---
47
47
 
48
- ### SpecKit (`ck.spec.*`) - Structured, Rigorous
48
+ ### SpecKit (`ck-spec-*`) - Structured, Rigorous
49
49
 
50
50
  Best for: **Complex features**, team collaboration, formal requirements.
51
51
 
52
52
  ```
53
- ck.spec.specify → ck.spec.clarify → ck.spec.plan → ck.spec.tasks → ck.spec.implement
53
+ ck-spec-specify → ck-spec-clarify → ck-spec-plan → ck-spec-tasks → ck-spec-implement
54
54
  ```
55
55
 
56
56
  **When to use:**
@@ -63,14 +63,13 @@ ck.spec.specify → ck.spec.clarify → ck.spec.plan → ck.spec.tasks → ck.sp
63
63
  **Commands:**
64
64
  | Command | Description |
65
65
  |---------|-------------|
66
- | `ck.spec.specify` | Create formal spec from idea |
67
- | `ck.spec.clarify` | Ask clarification questions |
68
- | `ck.spec.plan` | Generate plan from spec |
69
- | `ck.spec.tasks` | Break plan into tasks |
70
- | `ck.spec.implement` | Execute tasks |
71
- | `ck.spec.analyze` | Check consistency |
72
- | `ck.spec.checklist` | Validate requirements |
73
- | `ck.spec.taskstoissues` | Export to GitHub Issues |
66
+ | `ck-spec-specify` | Create formal spec from idea |
67
+ | `ck-spec-clarify` | Ask clarification questions |
68
+ | `ck-spec-plan` | Generate plan from spec |
69
+ | `ck-spec-tasks` | Break plan into tasks |
70
+ | `ck-spec-implement` | Execute tasks |
71
+ | `ck-spec-analyze` | Check consistency |
72
+ | `ck-spec-checklist` | Validate requirements |
74
73
 
75
74
  ---
76
75
 
@@ -78,17 +77,17 @@ ck.spec.specify → ck.spec.clarify → ck.spec.plan → ck.spec.tasks → ck.sp
78
77
 
79
78
  ```
80
79
  Is this a bug fix?
81
- └─ Yes → ck.fix
80
+ └─ Yes → ck-fix
82
81
 
83
82
  Is this < 4 hours work?
84
- └─ Yes → ck.plan.fast
83
+ └─ Yes → ck-plan-fast
85
84
 
86
85
  Do you need formal requirements?
87
- └─ Yes → ck.spec.specify → ck.spec.* flow
88
- └─ No → ck.plan.hard → ck.* flow
86
+ └─ Yes → ck-spec-specify → ck-spec-* flow
87
+ └─ No → ck-plan-hard → ck-* flow
89
88
 
90
89
  Are you exploring/prototyping?
91
- └─ Yes → ck.plan.fast (skip spec)
90
+ └─ Yes → ck-plan-fast (skip spec)
92
91
  ```
93
92
 
94
93
  ---
@@ -97,25 +96,25 @@ Are you exploring/prototyping?
97
96
 
98
97
  ### Scenario 1: Fix a Login Bug
99
98
  ```
100
- /ck.fix "Users can't login with email containing +"
99
+ /ck-fix "Users can't login with email containing +"
101
100
  ```
102
101
  Single command. Done.
103
102
 
104
103
  ### Scenario 2: Add Dark Mode (Small Feature)
105
104
  ```
106
- /ck.plan.fast "Add dark mode toggle"
107
- /ck.test
108
- /ck.fix (if tests fail)
105
+ /ck-plan-fast "Add dark mode toggle"
106
+ /ck-test
107
+ /ck-fix (if tests fail)
109
108
  ```
110
109
 
111
110
  ### Scenario 3: Payment Integration (Complex Feature)
112
111
  ```
113
- /ck.spec.specify "Integrate Stripe payments for subscriptions"
114
- /ck.spec.clarify (answer questions about tiers, regions, etc.)
115
- /ck.spec.plan
116
- /ck.spec.tasks
117
- /ck.spec.implement
118
- /ck.test
112
+ /ck-spec-specify "Integrate Stripe payments for subscriptions"
113
+ /ck-spec-clarify (answer questions about tiers, regions, etc.)
114
+ /ck-spec-plan
115
+ /ck-spec-tasks
116
+ /ck-spec-implement
117
+ /ck-test
119
118
  ```
120
119
 
121
120
  ---
@@ -123,9 +122,9 @@ Single command. Done.
123
122
  ## Mixing Workflows
124
123
 
125
124
  You can mix them:
126
- - Start with `ck.spec.specify` for formal spec
127
- - Use `ck.fix` when bugs arise during implementation
128
- - Use `ck.test` regardless of workflow
125
+ - Start with `ck-spec-specify` for formal spec
126
+ - Use `ck-fix` when bugs arise during implementation
127
+ - Use `ck-test` regardless of workflow
129
128
 
130
129
  ---
131
130