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.
- package/README.md +47 -36
- package/agents/brainstormer.agent.md +1 -1
- package/agents/debugger.agent.md +1 -1
- package/agents/docs-manager.agent.md +2 -2
- package/agents/git-manager.agent.md +5 -5
- package/agents/planner.agent.md +3 -3
- package/agents/researcher.agent.md +0 -1
- package/agents/scout.agent.md +9 -9
- package/agents/ui-ux-designer.agent.md +0 -1
- package/collections/ck-orchestration.collection.yml +2 -2
- package/docs/README.md +8 -8
- package/docs/codebase-summary.md +19 -19
- package/docs/cokit-commands-usage-guide.md +42 -43
- package/docs/cokit-comprehensive-mapping-guide.md +15 -15
- package/docs/cokit-slides.md +6 -6
- package/docs/cokit-sync-and-maintenance-guide.md +45 -45
- package/docs/cokit-team-presentation.md +11 -11
- package/docs/copilot-processing-flow.md +11 -11
- package/docs/guide-next-steps-speckit-cokit-implementation.md +1 -1
- package/docs/migration-guide.md +9 -9
- package/docs/project-overview-pdr.md +3 -3
- package/docs/project-roadmap.md +7 -7
- package/docs/system-architecture.md +6 -6
- package/package.json +1 -1
- package/prompts/ck-ask.prompt.md +3 -2
- package/prompts/ck-bootstrap.prompt.md +26 -32
- package/prompts/ck-brainstorm.prompt.md +4 -3
- package/prompts/ck-cook.prompt.md +5 -4
- package/prompts/ck-debug.prompt.md +4 -3
- package/prompts/ck-docs.prompt.md +4 -3
- package/prompts/ck-fix-ci.prompt.md +46 -0
- package/prompts/ck-fix-fast.prompt.md +44 -0
- package/prompts/ck-fix-hard.prompt.md +60 -0
- package/prompts/ck-fix-logs.prompt.md +53 -0
- package/prompts/ck-fix-test.prompt.md +47 -0
- package/prompts/ck-fix-types.prompt.md +29 -0
- package/prompts/ck-fix-ui.prompt.md +50 -0
- package/prompts/ck-fix.prompt.md +13 -15
- package/prompts/ck-git.prompt.md +2 -2
- package/prompts/ck-help.prompt.md +8 -6
- package/prompts/ck-journal.prompt.md +5 -3
- package/prompts/ck-plan-fast.prompt.md +26 -5
- package/prompts/ck-plan-hard.prompt.md +30 -9
- package/prompts/ck-plan-validate.prompt.md +209 -0
- package/prompts/ck-plan.prompt.md +49 -12
- package/prompts/ck-preview.prompt.md +16 -32
- package/prompts/ck-review.prompt.md +10 -11
- package/prompts/ck-scout.prompt.md +5 -4
- package/prompts/ck-simplify.prompt.md +3 -3
- package/prompts/ck-spec-analyze.prompt.md +9 -11
- package/prompts/ck-spec-checklist.prompt.md +7 -9
- package/prompts/ck-spec-clarify.prompt.md +8 -15
- package/prompts/ck-spec-constitution.prompt.md +6 -11
- package/prompts/ck-spec-implement.prompt.md +7 -10
- package/prompts/ck-spec-plan.prompt.md +5 -18
- package/prompts/ck-spec-specify.prompt.md +7 -17
- package/prompts/ck-spec-tasks.prompt.md +4 -16
- package/prompts/ck-test.prompt.md +5 -3
- package/prompts/ck-watzup.prompt.md +4 -2
- package/skills/INSTALLATION.md +3 -3
- package/skills/README.md +12 -34
- package/skills/agent-browser/SKILL.md +0 -1
- package/skills/agent_skills_spec.md +2 -2
- package/skills/backend-development/SKILL.md +0 -2
- package/skills/brainstorm/SKILL.md +7 -9
- package/skills/code-review/SKILL.md +9 -9
- package/skills/code-review/references/code-review-reception.md +1 -1
- package/skills/code-review/references/requesting-code-review.md +7 -7
- package/skills/common/api_key_helper.py +8 -8
- package/skills/context-engineering/SKILL.md +3 -4
- package/skills/context-engineering/references/context-degradation.md +2 -2
- package/skills/context-engineering/references/runtime-awareness.md +6 -6
- package/skills/cook/README.md +2 -2
- package/skills/cook/SKILL.md +3 -4
- package/skills/cook/references/agent-patterns.md +75 -0
- package/skills/cook/references/review-cycle.md +2 -2
- package/skills/cook/references/workflow-steps.md +6 -6
- package/skills/databases/SKILL.md +0 -1
- package/skills/databases/scripts/db_migrate.py +2 -2
- package/skills/databases/scripts/db_performance_check.py +2 -2
- package/skills/debug/SKILL.md +0 -1
- package/skills/devops/SKILL.md +0 -2
- package/skills/devops/scripts/docker_optimize.py +2 -2
- package/skills/docs-seeker/SKILL.md +0 -1
- package/skills/docs-seeker/package.json +1 -1
- package/skills/docs-seeker/scripts/utils/env-loader.js +2 -2
- package/skills/fix/SKILL.md +10 -11
- package/skills/fix/references/mode-selection.md +11 -27
- package/skills/fix/references/parallel-exploration.md +9 -9
- package/skills/fix/references/review-cycle.md +3 -3
- package/skills/fix/references/skill-activation-matrix.md +3 -3
- package/skills/fix/references/workflow-deep.md +11 -11
- package/skills/fix/references/workflow-quick.md +5 -5
- package/skills/fix/references/workflow-standard.md +12 -12
- package/skills/frontend-design/SKILL.md +2 -3
- package/skills/frontend-design/references/workflow-describe.md +1 -1
- package/skills/frontend-design/references/workflow-quick.md +1 -1
- package/skills/frontend-design/references/workflow-screenshot.md +1 -1
- package/skills/git/SKILL.md +2 -3
- package/skills/git/references/commit-standards.md +2 -2
- package/skills/git/references/workflow-commit.md +1 -1
- package/skills/git/references/workflow-merge.md +1 -1
- package/skills/git/references/workflow-pr.md +1 -1
- package/skills/git/references/workflow-push.md +1 -1
- package/skills/install.ps1 +5 -5
- package/skills/install.sh +2 -2
- package/skills/mcp-management/README.md +8 -8
- package/skills/mcp-management/SKILL.md +9 -9
- package/skills/mcp-management/references/gemini-cli-integration.md +2 -2
- package/skills/mcp-management/scripts/.env.example +2 -2
- package/skills/planning/SKILL.md +4 -5
- package/skills/planning/references/output-standards.md +1 -1
- package/skills/planning/references/plan-organization.md +1 -1
- package/skills/problem-solving/SKILL.md +1 -2
- package/skills/repomix/SKILL.md +2 -2
- package/skills/repomix/references/usage-patterns.md +2 -2
- package/skills/research/SKILL.md +0 -1
- package/skills/scout/SKILL.md +9 -10
- package/skills/scout/references/external-scouting.md +10 -10
- package/skills/scout/references/internal-scouting.md +9 -9
- package/skills/sequential-thinking/README.md +3 -3
- package/skills/sequential-thinking/SKILL.md +0 -2
- package/skills/sequential-thinking/package.json +1 -1
- package/skills/ui-styling/SKILL.md +0 -2
- package/skills/web-testing/SKILL.md +0 -2
- package/templates/repo/.github/agents/brainstormer.agent.md +1 -1
- package/templates/repo/.github/agents/debugger.agent.md +1 -1
- package/templates/repo/.github/agents/docs-manager.agent.md +2 -2
- package/templates/repo/.github/agents/git-manager.agent.md +5 -5
- package/templates/repo/.github/agents/planner.agent.md +3 -3
- package/templates/repo/.github/agents/researcher.agent.md +0 -1
- package/templates/repo/.github/agents/scout.agent.md +9 -9
- package/templates/repo/.github/agents/ui-ux-designer.agent.md +0 -1
- package/templates/repo/.github/collections/ck-orchestration.collection.yml +2 -2
- package/templates/repo/.github/prompts/ck-ask.prompt.md +3 -2
- package/templates/repo/.github/prompts/ck-bootstrap.prompt.md +26 -32
- package/templates/repo/.github/prompts/ck-brainstorm.prompt.md +4 -3
- package/templates/repo/.github/prompts/ck-cook.prompt.md +5 -4
- package/templates/repo/.github/prompts/ck-debug.prompt.md +4 -3
- package/templates/repo/.github/prompts/ck-docs.prompt.md +4 -3
- package/templates/repo/.github/prompts/ck-fix-ci.prompt.md +46 -0
- package/templates/repo/.github/prompts/ck-fix-fast.prompt.md +44 -0
- package/templates/repo/.github/prompts/ck-fix-hard.prompt.md +60 -0
- package/templates/repo/.github/prompts/ck-fix-logs.prompt.md +53 -0
- package/templates/repo/.github/prompts/ck-fix-test.prompt.md +47 -0
- package/templates/repo/.github/prompts/ck-fix-types.prompt.md +29 -0
- package/templates/repo/.github/prompts/ck-fix-ui.prompt.md +50 -0
- package/templates/repo/.github/prompts/ck-fix.prompt.md +13 -15
- package/templates/repo/.github/prompts/ck-git.prompt.md +2 -2
- package/templates/repo/.github/prompts/ck-help.prompt.md +8 -6
- package/templates/repo/.github/prompts/ck-journal.prompt.md +5 -3
- package/templates/repo/.github/prompts/ck-plan-fast.prompt.md +26 -5
- package/templates/repo/.github/prompts/ck-plan-hard.prompt.md +30 -9
- package/templates/repo/.github/prompts/ck-plan-validate.prompt.md +209 -0
- package/templates/repo/.github/prompts/ck-plan.prompt.md +49 -12
- package/templates/repo/.github/prompts/ck-preview.prompt.md +16 -32
- package/templates/repo/.github/prompts/ck-review.prompt.md +10 -11
- package/templates/repo/.github/prompts/ck-scout.prompt.md +5 -4
- package/templates/repo/.github/prompts/ck-simplify.prompt.md +3 -3
- package/templates/repo/.github/prompts/ck-spec-analyze.prompt.md +9 -11
- package/templates/repo/.github/prompts/ck-spec-checklist.prompt.md +7 -9
- package/templates/repo/.github/prompts/ck-spec-clarify.prompt.md +8 -15
- package/templates/repo/.github/prompts/ck-spec-constitution.prompt.md +6 -11
- package/templates/repo/.github/prompts/ck-spec-implement.prompt.md +7 -10
- package/templates/repo/.github/prompts/ck-spec-plan.prompt.md +5 -18
- package/templates/repo/.github/prompts/ck-spec-specify.prompt.md +7 -17
- package/templates/repo/.github/prompts/ck-spec-tasks.prompt.md +4 -16
- package/templates/repo/.github/prompts/ck-test.prompt.md +5 -3
- package/templates/repo/.github/prompts/ck-watzup.prompt.md +4 -2
- package/templates/repo/.github/skills/INSTALLATION.md +3 -3
- package/templates/repo/.github/skills/README.md +12 -34
- package/templates/repo/.github/skills/agent-browser/SKILL.md +0 -1
- package/templates/repo/.github/skills/agent_skills_spec.md +2 -2
- package/templates/repo/.github/skills/backend-development/SKILL.md +0 -2
- package/templates/repo/.github/skills/brainstorm/SKILL.md +7 -9
- package/templates/repo/.github/skills/code-review/SKILL.md +9 -9
- package/templates/repo/.github/skills/code-review/references/code-review-reception.md +1 -1
- package/templates/repo/.github/skills/code-review/references/requesting-code-review.md +7 -7
- package/templates/repo/.github/skills/common/api_key_helper.py +8 -8
- package/templates/repo/.github/skills/context-engineering/SKILL.md +3 -4
- package/templates/repo/.github/skills/context-engineering/references/context-degradation.md +2 -2
- package/templates/repo/.github/skills/context-engineering/references/runtime-awareness.md +6 -6
- package/templates/repo/.github/skills/cook/README.md +2 -2
- package/templates/repo/.github/skills/cook/SKILL.md +3 -4
- package/templates/repo/.github/skills/cook/references/agent-patterns.md +75 -0
- package/templates/repo/.github/skills/cook/references/review-cycle.md +2 -2
- package/templates/repo/.github/skills/cook/references/workflow-steps.md +6 -6
- package/templates/repo/.github/skills/databases/SKILL.md +0 -1
- package/templates/repo/.github/skills/databases/scripts/db_migrate.py +2 -2
- package/templates/repo/.github/skills/databases/scripts/db_performance_check.py +2 -2
- package/templates/repo/.github/skills/debug/SKILL.md +0 -1
- package/templates/repo/.github/skills/devops/SKILL.md +0 -2
- package/templates/repo/.github/skills/devops/scripts/docker_optimize.py +2 -2
- package/templates/repo/.github/skills/docs-seeker/SKILL.md +0 -1
- package/templates/repo/.github/skills/docs-seeker/package.json +1 -1
- package/templates/repo/.github/skills/docs-seeker/scripts/utils/env-loader.js +2 -2
- package/templates/repo/.github/skills/fix/SKILL.md +10 -11
- package/templates/repo/.github/skills/fix/references/mode-selection.md +11 -27
- package/templates/repo/.github/skills/fix/references/parallel-exploration.md +9 -9
- package/templates/repo/.github/skills/fix/references/review-cycle.md +3 -3
- package/templates/repo/.github/skills/fix/references/skill-activation-matrix.md +3 -3
- package/templates/repo/.github/skills/fix/references/workflow-deep.md +11 -11
- package/templates/repo/.github/skills/fix/references/workflow-quick.md +5 -5
- package/templates/repo/.github/skills/fix/references/workflow-standard.md +12 -12
- package/templates/repo/.github/skills/frontend-design/SKILL.md +2 -3
- package/templates/repo/.github/skills/frontend-design/references/workflow-describe.md +1 -1
- package/templates/repo/.github/skills/frontend-design/references/workflow-quick.md +1 -1
- package/templates/repo/.github/skills/frontend-design/references/workflow-screenshot.md +1 -1
- package/templates/repo/.github/skills/git/SKILL.md +2 -3
- package/templates/repo/.github/skills/git/references/commit-standards.md +2 -2
- package/templates/repo/.github/skills/git/references/workflow-commit.md +1 -1
- package/templates/repo/.github/skills/git/references/workflow-merge.md +1 -1
- package/templates/repo/.github/skills/git/references/workflow-pr.md +1 -1
- package/templates/repo/.github/skills/git/references/workflow-push.md +1 -1
- package/templates/repo/.github/skills/install.ps1 +5 -5
- package/templates/repo/.github/skills/install.sh +2 -2
- package/templates/repo/.github/skills/mcp-management/README.md +8 -8
- package/templates/repo/.github/skills/mcp-management/SKILL.md +9 -9
- package/templates/repo/.github/skills/mcp-management/references/gemini-cli-integration.md +2 -2
- package/templates/repo/.github/skills/mcp-management/scripts/.env.example +2 -2
- package/templates/repo/.github/skills/planning/SKILL.md +4 -5
- package/templates/repo/.github/skills/planning/references/output-standards.md +1 -1
- package/templates/repo/.github/skills/planning/references/plan-organization.md +1 -1
- package/templates/repo/.github/skills/problem-solving/SKILL.md +1 -2
- package/templates/repo/.github/skills/repomix/SKILL.md +2 -2
- package/templates/repo/.github/skills/repomix/references/usage-patterns.md +2 -2
- package/templates/repo/.github/skills/research/SKILL.md +0 -1
- package/templates/repo/.github/skills/scout/SKILL.md +9 -10
- package/templates/repo/.github/skills/scout/references/external-scouting.md +10 -10
- package/templates/repo/.github/skills/scout/references/internal-scouting.md +9 -9
- package/templates/repo/.github/skills/sequential-thinking/README.md +3 -3
- package/templates/repo/.github/skills/sequential-thinking/SKILL.md +0 -2
- package/templates/repo/.github/skills/sequential-thinking/package.json +1 -1
- package/templates/repo/.github/skills/ui-styling/SKILL.md +0 -2
- package/templates/repo/.github/skills/web-testing/SKILL.md +0 -2
- package/docs/cokit-instruction-guide.html +0 -3004
- package/docs/images/cokit-command-finder-final.png +0 -0
- package/docs/images/cokit-highlight-fix.png +0 -0
- package/docs/images/cokit-highlight-test.png +0 -0
- package/prompts/ck-spec-taskstoissues.prompt.md +0 -48
- package/skills/cook/references/subagent-patterns.md +0 -75
- package/templates/repo/.github/prompts/ck-spec-taskstoissues.prompt.md +0 -48
- 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
|
|
27
|
-
/ck
|
|
28
|
-
/ck
|
|
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
|
|
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
|
|
42
|
+
/ck-plan-fast "Add dark mode toggle"
|
|
42
43
|
→ implement
|
|
43
|
-
/ck
|
|
44
|
-
/ck
|
|
44
|
+
/ck-test
|
|
45
|
+
/ck-fix (if tests fail)
|
|
45
46
|
```
|
|
46
47
|
|
|
47
48
|
### Medium Feature (2-4 hours)
|
|
48
49
|
```
|
|
49
|
-
/ck
|
|
50
|
+
/ck-plan-hard "Add payment integration with Stripe"
|
|
50
51
|
→ implement phase by phase
|
|
51
|
-
/ck
|
|
52
|
-
/ck
|
|
52
|
+
/ck-test
|
|
53
|
+
/ck-review
|
|
53
54
|
```
|
|
54
55
|
|
|
55
56
|
### Complex Feature (multi-day)
|
|
56
57
|
```
|
|
57
|
-
/ck
|
|
58
|
-
/ck
|
|
59
|
-
/ck
|
|
60
|
-
/ck
|
|
61
|
-
/ck
|
|
62
|
-
/ck
|
|
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
|
|
72
|
-
| `/ck
|
|
73
|
-
| `/ck
|
|
74
|
-
| `/ck
|
|
75
|
-
| `/ck
|
|
76
|
-
| `/ck
|
|
77
|
-
| `/ck
|
|
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
|
|
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
|
|
86
|
-
| `/ck
|
|
87
|
-
| `/ck
|
|
88
|
-
| `/ck
|
|
89
|
-
| `/ck
|
|
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
|
|
96
|
+
→ /ck-fix
|
|
96
97
|
|
|
97
98
|
Is this < 2 hours work?
|
|
98
|
-
→ /ck
|
|
99
|
+
→ /ck-plan-fast
|
|
99
100
|
|
|
100
101
|
Do you need formal requirements?
|
|
101
|
-
→ /ck
|
|
102
|
+
→ /ck-spec-specify (spec-driven flow)
|
|
102
103
|
|
|
103
104
|
Otherwise?
|
|
104
|
-
→ /ck
|
|
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 |
|
|
112
|
+
| Prompts | 27 | Commands for Copilot |
|
|
112
113
|
| Agents | 12 | Specialized AI assistants |
|
|
113
|
-
| Skills |
|
|
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
|
-
-
|
|
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
|
package/agents/debugger.agent.md
CHANGED
|
@@ -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
|
-
-
|
|
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
|
|
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.
|
|
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
|
-
-
|
|
301
|
-
- For 100-line diffs,
|
|
302
|
-
-
|
|
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
|
|
317
|
+
## Critical Instructions for Orchestrator
|
|
318
318
|
|
|
319
319
|
Your role: **EXECUTE, not EXPLORE**
|
|
320
320
|
|
package/agents/planner.agent.md
CHANGED
|
@@ -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.
|
|
23
|
-
3.
|
|
24
|
-
4.
|
|
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
|
package/agents/scout.agent.md
CHANGED
|
@@ -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
|
|
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
|
-
-
|
|
42
|
-
-
|
|
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
|
|
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
|
|
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.
|
|
89
|
-
3.
|
|
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
|
|
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
|
|
107
|
+
**Remember:** You are a fast, focused searcher. Your power lies in efficiently searching and reading files to quickly locate relevant content.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
id: ck-orchestration
|
|
2
2
|
name: CK Orchestration Protocol
|
|
3
|
-
description: Workflow orchestration patterns for managing
|
|
4
|
-
tags: [orchestration, workflow,
|
|
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
|
|
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 |
|
|
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
|
|
57
|
-
| SpecKit | `ck
|
|
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
|
|
62
|
-
/ck
|
|
63
|
-
/ck
|
|
64
|
-
/ck
|
|
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
|
---
|
package/docs/codebase-summary.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
5
|
-
CoKit is a CLI tool that enhances GitHub Copilot with
|
|
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
|
|
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:
|
|
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
|
|
116
|
+
- Rename: `/*` → `ck-*` namespace
|
|
117
117
|
- Replace: `$ARGUMENTS` → `${input}`
|
|
118
118
|
- Remove `model` field from frontmatter
|
|
119
|
-
- Update handoff references to ck
|
|
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
|
|
132
|
+
- Rename: `/speckit-*` → `/ck-*`
|
|
133
133
|
- Replace: `$ARGUMENTS` → `${input}`
|
|
134
134
|
- Remove `model` field from frontmatter
|
|
135
|
-
- Update handoff references to ck
|
|
135
|
+
- Update handoff references to ck-* commands
|
|
136
136
|
|
|
137
137
|
**Functions:**
|
|
138
138
|
- `transformFile()` - Apply transformations
|
|
139
|
-
- `transformCommandReference()` - Update handoffs (speckit
|
|
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 (
|
|
177
|
-
|
|
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
|
|
207
|
-
- SpecKit: Glob upstream/speckit/templates/commands → Transform → Output ck
|
|
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
|
|
220
|
+
├── Rename: ck-plan
|
|
221
221
|
├── Replace: $ARGUMENTS → ${input}
|
|
222
|
-
├── Update: /fix → /ck
|
|
222
|
+
├── Update: /fix → /ck-fix
|
|
223
223
|
├── Remove: model field
|
|
224
224
|
↓
|
|
225
|
-
Output (ck
|
|
226
|
-
├── Frontmatter: {name: "ck
|
|
227
|
-
├── Content: "Run ${input} using /ck
|
|
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
|
|
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) -
|
|
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
|
|
10
|
-
| **Deep research + plan** | `ck
|
|
11
|
-
| **Formal spec from idea** | `ck
|
|
12
|
-
| **Fix a bug** | `ck
|
|
13
|
-
| **Run tests** | `ck
|
|
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
|
|
19
|
+
### ClaudeKit (`ck-*`) - Flexible, Fast
|
|
20
20
|
|
|
21
21
|
Best for: **Day-to-day development**, quick fixes, exploration.
|
|
22
22
|
|
|
23
23
|
```
|
|
24
|
-
ck
|
|
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
|
|
38
|
-
| `ck
|
|
39
|
-
| `ck
|
|
40
|
-
| `ck
|
|
41
|
-
| `ck
|
|
42
|
-
| `ck
|
|
43
|
-
| `ck
|
|
44
|
-
| `ck
|
|
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
|
|
48
|
+
### SpecKit (`ck-spec-*`) - Structured, Rigorous
|
|
49
49
|
|
|
50
50
|
Best for: **Complex features**, team collaboration, formal requirements.
|
|
51
51
|
|
|
52
52
|
```
|
|
53
|
-
ck
|
|
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
|
|
67
|
-
| `ck
|
|
68
|
-
| `ck
|
|
69
|
-
| `ck
|
|
70
|
-
| `ck
|
|
71
|
-
| `ck
|
|
72
|
-
| `ck
|
|
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
|
|
80
|
+
└─ Yes → ck-fix
|
|
82
81
|
|
|
83
82
|
Is this < 4 hours work?
|
|
84
|
-
└─ Yes → ck
|
|
83
|
+
└─ Yes → ck-plan-fast
|
|
85
84
|
|
|
86
85
|
Do you need formal requirements?
|
|
87
|
-
└─ Yes → ck
|
|
88
|
-
└─ No → ck
|
|
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
|
|
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
|
|
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
|
|
107
|
-
/ck
|
|
108
|
-
/ck
|
|
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
|
|
114
|
-
/ck
|
|
115
|
-
/ck
|
|
116
|
-
/ck
|
|
117
|
-
/ck
|
|
118
|
-
/ck
|
|
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
|
|
127
|
-
- Use `ck
|
|
128
|
-
- Use `ck
|
|
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
|
|