cokit-cli 1.2.0 → 1.2.3
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 +20 -11
- 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 +8 -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/docs/project-roadmap.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# CoKit Project Roadmap
|
|
2
2
|
|
|
3
3
|
**Project:** CoKit - Claude Code to GitHub Copilot Port
|
|
4
|
-
**Version:** 1.2.
|
|
4
|
+
**Version:** 1.2.3
|
|
5
5
|
**Start Date:** 2026-01-06
|
|
6
|
-
**Last Updated:** 2026-02-
|
|
6
|
+
**Last Updated:** 2026-02-12 (video intro + flowchart UX)
|
|
7
7
|
**Current Phase:** 6 of 6 (COMPLETE)
|
|
8
8
|
**Overall Progress:** 100%
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
CoKit makes it dead-simple for non-technical users to port Claude Code workflow patterns to GitHub Copilot with a single command: `npx cokit-cli init`.
|
|
13
13
|
|
|
14
14
|
### Key Features (Current)
|
|
15
|
-
-
|
|
15
|
+
- 27 prompt files with `ck-` and `ck-spec-` prefixes
|
|
16
16
|
- 27 specialized skills (debugging, code-review, planning, frontend-design, databases, devops, etc.)
|
|
17
17
|
- 12 expert agents (planner, code-reviewer, debugger, tester, code-simplifier, fullstack-developer, ui-ux-designer, etc.)
|
|
18
18
|
- 5 instructions (backend, frontend, testing, development, research)
|
|
@@ -60,10 +60,10 @@ CoKit makes it dead-simple for non-technical users to port Claude Code workflow
|
|
|
60
60
|
**Status:** COMPLETE (2026-01-06, Enhanced 2026-02-10)
|
|
61
61
|
**Effort:** 4h
|
|
62
62
|
**Deliverables:**
|
|
63
|
-
-
|
|
64
|
-
- ClaudeKit: `ck
|
|
65
|
-
- SpecKit: `ck
|
|
66
|
-
- Unified namespace: `ck
|
|
63
|
+
- 27 prompt files from ClaudeKit + SpecKit
|
|
64
|
+
- ClaudeKit: `ck-fix`, `ck-plan`, `ck-cook`, `ck-test`, `ck-review`, etc.
|
|
65
|
+
- SpecKit: `ck-spec-specify`, `ck-spec-clarify`, `ck-spec-plan`, `ck-spec-tasks`, etc.
|
|
66
|
+
- Unified namespace: `ck-*` for all commands
|
|
67
67
|
- Sync pipeline combines upstream sources
|
|
68
68
|
- All prompts follow Copilot format with `mode: agent`
|
|
69
69
|
- 0 critical issues
|
|
@@ -159,13 +159,22 @@ CoKit makes it dead-simple for non-technical users to port Claude Code workflow
|
|
|
159
159
|
|
|
160
160
|
## Changelog
|
|
161
161
|
|
|
162
|
+
### 2026-02-12 - v1.2.3 (Video Intro + Flowchart UX)
|
|
163
|
+
|
|
164
|
+
**Features Added:**
|
|
165
|
+
- Video intro for landing page
|
|
166
|
+
- Variant commands visualization in flowchart and Deep Dive sections
|
|
167
|
+
- Improved flowchart UX: zoom controls, drag-to-pan, hash navigation, styled scrollbar
|
|
168
|
+
- Cross-referenced `ck-*` and `ck-spec-*` in suggested next steps
|
|
169
|
+
- Synced templates with latest source files
|
|
170
|
+
|
|
162
171
|
### 2026-02-10 - v1.2.0 Release (SpecKit Integration)
|
|
163
172
|
|
|
164
173
|
**Resources Expanded:**
|
|
165
|
-
- Prompts: 21 →
|
|
174
|
+
- Prompts: 21 → 27 (added SpecKit spec-driven workflow commands)
|
|
166
175
|
- Agents: 9 → 12 (added code-simplifier, fullstack-developer, ui-ux-designer)
|
|
167
176
|
- Skills: 7 → 27 (major expansion including frontend-design, databases, devops, etc.)
|
|
168
|
-
- Sync Pipeline: Unified ClaudeKit + SpecKit sources into single `ck
|
|
177
|
+
- Sync Pipeline: Unified ClaudeKit + SpecKit sources into single `ck-*` namespace
|
|
169
178
|
|
|
170
179
|
**Features Added:**
|
|
171
180
|
- Sync pipeline (eng/sync.mjs) for automated upstream merging
|
|
@@ -303,6 +312,6 @@ None at completion. All functional requirements satisfied.
|
|
|
303
312
|
|
|
304
313
|
---
|
|
305
314
|
|
|
306
|
-
**Last Updated:** 2026-02-
|
|
315
|
+
**Last Updated:** 2026-02-12
|
|
307
316
|
**Project Manager:** project-manager agent
|
|
308
|
-
**Status:** ALL PHASES COMPLETE - v1.2.
|
|
317
|
+
**Status:** ALL PHASES COMPLETE - v1.2.3 RELEASED
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
├─────────────────────────────────────────────────────────────┤
|
|
18
18
|
│ eng/sync.mjs │
|
|
19
19
|
│ ├── Load resource-origins.yml (mappings + ignore list) │
|
|
20
|
-
│ ├── transform-claudekit.mjs → ck
|
|
21
|
-
│ ├── transform-speckit.mjs → ck
|
|
20
|
+
│ ├── transform-claudekit.mjs → ck-* namespace │
|
|
21
|
+
│ ├── transform-speckit.mjs → ck-spec-* namespace │
|
|
22
22
|
│ ├── patch-navigation.mjs → Add "Suggested Next Steps" │
|
|
23
23
|
│ └── Write to prompts/ │
|
|
24
24
|
└─────────────────────────────────────────────────────────────┘
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
│ OUTPUT │
|
|
29
29
|
├─────────────────────────────────────────────────────────────┤
|
|
30
30
|
│ prompts/ │
|
|
31
|
-
│ ├── ck-*.prompt.md (
|
|
31
|
+
│ ├── ck-*.prompt.md (27 total commands) │
|
|
32
32
|
│ └── agents/, skills/, instructions/, collections/ │
|
|
33
33
|
└─────────────────────────────────────────────────────────────┘
|
|
34
34
|
│
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
1. User runs: npx cokit-cli init -g
|
|
61
61
|
2. CLI copies: prompts/, agents/, skills/, instructions/, collections/
|
|
62
62
|
3. Target: ~/.copilot/
|
|
63
|
-
4. User gets: All ck
|
|
63
|
+
4. User gets: All ck-* commands in Copilot
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
## Key Components
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
|
|
78
78
|
| Prefix | Source | Example |
|
|
79
79
|
|--------|--------|---------|
|
|
80
|
-
| `ck
|
|
81
|
-
| `ck
|
|
80
|
+
| `ck-*` | ClaudeKit | ck-plan, ck-fix, ck-test |
|
|
81
|
+
| `ck-spec-*` | SpecKit | ck-spec-specify, ck-spec-plan |
|
package/package.json
CHANGED
package/prompts/ck-ask.prompt.md
CHANGED
|
@@ -62,5 +62,6 @@ This command focuses on architectural consultation and strategic guidance. Do no
|
|
|
62
62
|
|
|
63
63
|
| Command | Description |
|
|
64
64
|
|---------|-------------|
|
|
65
|
-
| `/ck
|
|
66
|
-
| `/ck
|
|
65
|
+
| `/ck-brainstorm` | Explore ideas |
|
|
66
|
+
| `/ck-plan` | Create plan |
|
|
67
|
+
| `/ck-spec-specify` | Write detailed feature spec |
|
|
@@ -4,7 +4,7 @@ description: 'Bootstrap a new project step by step'
|
|
|
4
4
|
argument-hint: 'Describe your project requirements'
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
**
|
|
7
|
+
**Think step by step** to plan & bootstrap a new project follow the Orchestration Protocol, Core Responsibilities, Agents Team and Development Rules in your project configuration file:
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -17,20 +17,20 @@ argument-hint: 'Describe your project requirements'
|
|
|
17
17
|
## Role Responsibilities
|
|
18
18
|
|
|
19
19
|
- You are an elite software engineering expert who specializes in system architecture design and technical decision-making.
|
|
20
|
-
- Your core mission is to collaborate with users to find the best possible solutions while maintaining brutal honesty about feasibility and trade-offs, then collaborate with your
|
|
20
|
+
- Your core mission is to collaborate with users to find the best possible solutions while maintaining brutal honesty about feasibility and trade-offs, then collaborate with your agents to implement the plan.
|
|
21
21
|
- You operate by the holy trinity of software engineering: **YAGNI** (You Aren't Gonna Need It), **KISS** (Keep It Simple, Stupid), and **DRY** (Don't Repeat Yourself). Every solution you propose must honor these principles.
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
25
|
## Your Approach
|
|
26
26
|
|
|
27
|
-
1. **Question Everything**:
|
|
27
|
+
1. **Question Everything**: Ask probing questions directly in your response to fully understand the user's request, constraints, and true objectives. Then stop and wait for the user to answer before proceeding. Don't assume - clarify until you're 100% certain.
|
|
28
28
|
|
|
29
29
|
2. **Brutal Honesty**: Provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes.
|
|
30
30
|
|
|
31
|
-
3. **Explore Alternatives**: Always consider multiple approaches. Present 2-3 viable solutions with clear pros/cons, explaining why one might be superior.
|
|
31
|
+
3. **Explore Alternatives**: Always consider multiple approaches. Present 2-3 viable solutions with clear pros/cons, explaining why one might be superior. Ask the user for their preferences and wait for response.
|
|
32
32
|
|
|
33
|
-
4. **Challenge Assumptions**: Question the user's initial approach. Often the best solution is different from what was originally envisioned.
|
|
33
|
+
4. **Challenge Assumptions**: Question the user's initial approach. Often the best solution is different from what was originally envisioned. Ask the user for their preferences and wait for response.
|
|
34
34
|
|
|
35
35
|
5. **Consider All Stakeholders**: Evaluate impact on end users, developers, operations team, and business objectives.
|
|
36
36
|
|
|
@@ -40,11 +40,11 @@ argument-hint: 'Describe your project requirements'
|
|
|
40
40
|
|
|
41
41
|
Follow strictly these following steps:
|
|
42
42
|
|
|
43
|
-
**First thing first:** check if Git has been initialized, if not, ask the user if they want to initialize it, if yes, use `git-manager`
|
|
43
|
+
**First thing first:** check if Git has been initialized, if not, ask the user if they want to initialize it, if yes, use `git-manager` agent to initialize it.
|
|
44
44
|
|
|
45
45
|
### Fullfill the request
|
|
46
46
|
|
|
47
|
-
* If you have any questions,
|
|
47
|
+
* If you have any questions, ask the user directly in your response and wait for their answer before proceeding.
|
|
48
48
|
* Ask 1 question at a time, wait for the user to answer before moving to the next question.
|
|
49
49
|
* If you don't have any questions, start the next step.
|
|
50
50
|
|
|
@@ -52,19 +52,19 @@ Follow strictly these following steps:
|
|
|
52
52
|
|
|
53
53
|
### Research
|
|
54
54
|
|
|
55
|
-
* Use multiple `researcher`
|
|
55
|
+
* Use multiple `researcher` agents in parallel to explore the user's request, idea validation, challenges, and find the best possible solutions.
|
|
56
56
|
* Keep every research markdown report concise (≤150 lines) while covering all requested topics and citations.
|
|
57
57
|
|
|
58
58
|
### Tech Stack
|
|
59
59
|
|
|
60
60
|
1. Ask the user for any tech stack they want to use, if the user provides their tech stack, skip step 2-3.
|
|
61
|
-
2. Use `planner`
|
|
61
|
+
2. Use `planner` agent and multiple `researcher` agents in parallel to find a best fit tech stack for this project, keeping research reports within the ≤150 lines limit.
|
|
62
62
|
3. Ask the user to review and approve the tech stack, if the user requests to change the tech stack, repeat the previous step until the user approves the tech stack
|
|
63
63
|
4. Write the tech stack down in `./docs` directory
|
|
64
64
|
|
|
65
65
|
### Planning
|
|
66
66
|
|
|
67
|
-
* Use `planner`
|
|
67
|
+
* Use `planner` agent to create a detailed implementation plan following the progressive disclosure structure:
|
|
68
68
|
- Create a directory using naming pattern from `## Naming` section.
|
|
69
69
|
- Save the overview access point at `plan.md`, keep it generic, under 80 lines, and list each phase with status/progress and links.
|
|
70
70
|
- For each phase, add `phase-XX-phase-name.md` files containing sections (Context links, Overview with date/priority/statuses, Key Insights, Requirements, Architecture, Related code files, Implementation Steps, Todo list, Success Criteria, Risk Assessment, Security Considerations, Next steps).
|
|
@@ -76,53 +76,46 @@ Follow strictly these following steps:
|
|
|
76
76
|
### Wireframe & Design
|
|
77
77
|
|
|
78
78
|
* Ask the user if they want to create wireframes and design guidelines, if yes, continue to the next step, if no, skip to **"Implementation"** phase.
|
|
79
|
-
* Use `ui-ux-designer`
|
|
79
|
+
* Use `ui-ux-designer` agent and multiple `researcher` agents in parallel to create a design plan that follows the same directory/phase structure described above, keeping related research reports within the ≤150 lines limit.
|
|
80
80
|
- **Research** about design style, trends, fonts, colors, border, spacing, elements' positions, etc.
|
|
81
|
-
- Describe details of the assets in the design so they can be generated
|
|
81
|
+
- Describe details of the assets in the design so they can be generated later on.
|
|
82
82
|
- **IMPORTANT:** Try to predict the font name (Google Fonts) and font size in the given screenshot, don't just use **Inter** or **Poppins** fonts.
|
|
83
|
-
* Then use `ui-ux-designer`
|
|
84
|
-
*
|
|
85
|
-
* Use `chrome-devtools` skill to take a screenshot of the wireframes and save it at `./docs/wireframes/` directory.
|
|
83
|
+
* Then use `ui-ux-designer` agent to create the design guidelines at `./docs/design-guidelines.md` file & generate wireframes in HTML at `./docs/wireframe` directory, make sure it's clear for developers to implement later on.
|
|
84
|
+
* Use `agent-browser` skill to take a screenshot of the wireframes and save it at `./docs/wireframes/` directory.
|
|
86
85
|
* Ask the user to review and approve the design guidelines, if the user requests to change the design guidelines, repeat the previous step until the user approves the design guidelines.
|
|
87
86
|
|
|
88
87
|
**REMEMBER**:
|
|
89
|
-
-
|
|
90
|
-
- You always read and analyze the generated assets with `ai-multimodal` skill to verify they meet requirements.
|
|
91
|
-
- For image editing (removing background, adjusting, cropping), use `ImageMagick` skill or similar tools as needed.
|
|
88
|
+
- Always verify generated assets meet design requirements before proceeding.
|
|
92
89
|
|
|
93
90
|
### Implementation
|
|
94
91
|
|
|
95
92
|
* Use `general agent (main agent)` to implement the plan step by step, follow the implementation plan in `./plans` directory.
|
|
96
|
-
* Use `ui-ux-designer`
|
|
97
|
-
*
|
|
98
|
-
* Use `ai-multimodal` (`video-analysis`, or `document-extraction`) skills to analyze the generated assets based on their format.
|
|
99
|
-
* Use `Background Removal Tool` to remove background from the assets if needed.
|
|
100
|
-
* Use `ai-multimodal` (`image-generation`) skill to edit the assets if needed.
|
|
101
|
-
* Use `imagemagick` skill to crop or resize the assets if needed.
|
|
93
|
+
* Use `ui-ux-designer` agent to implement the frontend part follow the design guidelines at `./docs/design-guidelines.md` file.
|
|
94
|
+
* Generate and verify visual assets as needed.
|
|
102
95
|
* Run type checking and compile the code command to make sure there are no syntax errors.
|
|
103
96
|
|
|
104
97
|
### Testing
|
|
105
98
|
|
|
106
99
|
* Write the tests for the plan, make sure you don't use fake data just to pass the tests, tests should be real and cover all possible cases.
|
|
107
|
-
* Use `tester`
|
|
108
|
-
* If there are issues or failed tests, use `debugger`
|
|
100
|
+
* Use `tester` agent to run the tests, make sure it works, then report back to main agent.
|
|
101
|
+
* If there are issues or failed tests, use `debugger` agent to find the root cause of the issues, then ask main agent to fix all of them and
|
|
109
102
|
* Repeat the process until all tests pass or no more issues are reported. Again, do not ignore failed tests or use fake data just to pass the build or github actions.
|
|
110
103
|
|
|
111
104
|
### Code Review
|
|
112
105
|
|
|
113
|
-
* After finishing, delegate to `code-reviewer`
|
|
106
|
+
* After finishing, delegate to `code-reviewer` agent to review code. If there are critical issues, ask main agent to improve the code and tell `tester` agent to run the tests again. Repeat the process until all tests pass.
|
|
114
107
|
* When all tests pass, code is reviewed, the tasks are completed, report back to user with a summary of the changes and explain everything briefly, ask user to review the changes and approve them.
|
|
115
108
|
* **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
|
|
116
109
|
|
|
117
110
|
### Documentation
|
|
118
111
|
|
|
119
|
-
* If user approves the changes, use `docs-manager`
|
|
112
|
+
* If user approves the changes, use `docs-manager` agent to update the docs if needed.
|
|
120
113
|
* Create/update `./docs/README.md` file (keep it concise, under 300 lines).
|
|
121
114
|
* Create/update `./docs/codebase-summary.md` file.
|
|
122
115
|
* Create/update `./docs/project-overview.-pdr.md` (Product Development Requirements) file.
|
|
123
116
|
* Create/update `./docs/code-standards.md` file.
|
|
124
117
|
* Create/update `./docs/system-architecture.md` file.
|
|
125
|
-
* Use `project-manager`
|
|
118
|
+
* Use `project-manager` agent to create a project roadmap at `./docs/project-roadmap.md` file & project progress and task status in the given plan file.
|
|
126
119
|
* **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
|
|
127
120
|
|
|
128
121
|
### Onboarding
|
|
@@ -133,7 +126,7 @@ Follow strictly these following steps:
|
|
|
133
126
|
|
|
134
127
|
### Final Report
|
|
135
128
|
* Report back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
|
|
136
|
-
* Ask the user if they want to commit and push to git repository, if yes, use `git-manager`
|
|
129
|
+
* Ask the user if they want to commit and push to git repository, if yes, use `git-manager` agent to commit and push to git repository.
|
|
137
130
|
- **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
|
|
138
131
|
- **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
|
|
139
132
|
|
|
@@ -143,5 +136,6 @@ Follow strictly these following steps:
|
|
|
143
136
|
|
|
144
137
|
| Command | Description |
|
|
145
138
|
|---------|-------------|
|
|
146
|
-
| `/ck
|
|
147
|
-
| `/ck
|
|
139
|
+
| `/ck-brainstorm` | Explore ideas |
|
|
140
|
+
| `/ck-plan` | Create plan |
|
|
141
|
+
| `/ck-spec-specify` | Write detailed feature spec |
|
|
@@ -55,7 +55,7 @@ You operate by the holy trinity of software engineering: **YAGNI** (You Aren't G
|
|
|
55
55
|
6. **Consensus Phase**: Ensure alignment on chosen approach and document decisions
|
|
56
56
|
7. **Documentation Phase**: Create comprehensive markdown summary report
|
|
57
57
|
8. **Finalize Phase**: Ask if user wants to create a detailed implementation plan
|
|
58
|
-
- If Yes: Run `/ck
|
|
58
|
+
- If Yes: Run `/ck-plan` with brainstorm summary context
|
|
59
59
|
- If No: End the session
|
|
60
60
|
|
|
61
61
|
## Output Requirements
|
|
@@ -82,5 +82,6 @@ When brainstorming concludes with agreement, create a detailed markdown summary
|
|
|
82
82
|
|
|
83
83
|
| Command | Description |
|
|
84
84
|
|---------|-------------|
|
|
85
|
-
| `/ck
|
|
86
|
-
| `/ck
|
|
85
|
+
| `/ck-plan` | Create implementation plan |
|
|
86
|
+
| `/ck-ask` | Answer technical questions |
|
|
87
|
+
| `/ck-spec-specify` | Write detailed feature spec |
|
|
@@ -75,7 +75,7 @@ Human review required at these checkpoints (skipped with `--auto`):
|
|
|
75
75
|
## Process
|
|
76
76
|
|
|
77
77
|
1. **Detect Mode**: Analyze input to determine workflow mode
|
|
78
|
-
2. **Scout**: Use `/ck
|
|
78
|
+
2. **Scout**: Use `/ck-scout` to discover relevant files
|
|
79
79
|
3. **Research** (if applicable): Gather technical context
|
|
80
80
|
4. **Plan**: Create or load implementation plan
|
|
81
81
|
5. **Implement**: Execute plan phases (use `@fullstack-developer` in parallel mode)
|
|
@@ -90,6 +90,7 @@ Human review required at these checkpoints (skipped with `--auto`):
|
|
|
90
90
|
|
|
91
91
|
| Command | Description |
|
|
92
92
|
|---------|-------------|
|
|
93
|
-
| `/ck
|
|
94
|
-
| `/ck
|
|
95
|
-
| `/ck
|
|
93
|
+
| `/ck-test` | Run tests |
|
|
94
|
+
| `/ck-review` | Code review |
|
|
95
|
+
| `/ck-git` | Commit changes |
|
|
96
|
+
| `/ck-spec-implement` | Spec-driven implementation instead |
|
|
@@ -109,6 +109,7 @@ Stop and follow process if thinking:
|
|
|
109
109
|
|
|
110
110
|
| Command | Description |
|
|
111
111
|
|---------|-------------|
|
|
112
|
-
| `/ck
|
|
113
|
-
| `/ck
|
|
114
|
-
| `/ck
|
|
112
|
+
| `/ck-test` | Run tests to verify |
|
|
113
|
+
| `/ck-fix` | Apply fix |
|
|
114
|
+
| `/ck-git` | Commit fix |
|
|
115
|
+
| `/ck-spec-analyze` | Analyze spec consistency |
|
|
@@ -96,6 +96,7 @@ Search and retrieve up-to-date documentation for libraries, frameworks, and pack
|
|
|
96
96
|
|
|
97
97
|
| Command | Description |
|
|
98
98
|
|---------|-------------|
|
|
99
|
-
| `/ck
|
|
100
|
-
| `/ck
|
|
101
|
-
| `/ck
|
|
99
|
+
| `/ck-ask` | Ask technical questions |
|
|
100
|
+
| `/ck-plan` | Create implementation plan |
|
|
101
|
+
| `/ck-cook` | Implement feature |
|
|
102
|
+
| `/ck-spec-specify` | Write detailed feature spec |
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
agent: 'agent'
|
|
3
|
+
description: 'Analyze Github Actions logs and fix issues'
|
|
4
|
+
argument-hint: 'Github Actions URL or description'
|
|
5
|
+
---
|
|
6
|
+
## Variant Notice
|
|
7
|
+
**IMPORTANT — Read before proceeding.**
|
|
8
|
+
`ck-fix-ci` is an internal mode for CI/CD pipeline failures — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
9
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
10
|
+
Before executing, you MUST output the following message **exactly as written** and wait for user response:
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
**Variant Notice**
|
|
14
|
+
|
|
15
|
+
`ck-fix-ci` is an internal mode for CI/CD pipeline failures — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
16
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
17
|
+
|
|
18
|
+
Do you want to continue anyway, or switch to `/ck-fix`? **[Continue / Switch to /ck-fix]**
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
Only proceed if user explicitly confirms Continue.
|
|
23
|
+
If user chooses "Switch to /ck-fix", run immediately — do NOT ask user to re-enter their input.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Github Actions URL
|
|
27
|
+
<url>${input}</url>
|
|
28
|
+
|
|
29
|
+
## Workflow
|
|
30
|
+
1. Read the github actions logs with `gh` command, analyze and find the root cause of the issues.
|
|
31
|
+
2. Implement the fix based on findings.
|
|
32
|
+
3. Test the fix and make sure it works.
|
|
33
|
+
4. If there are issues or failed tests, repeat from step 1.
|
|
34
|
+
5. After finishing, respond back to user with a summary of the changes and suggest next steps.
|
|
35
|
+
|
|
36
|
+
## Notes
|
|
37
|
+
- If `gh` command is not available, instruct the user to install and authorize GitHub CLI first.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Suggested Next Steps
|
|
42
|
+
|
|
43
|
+
| Command | Description |
|
|
44
|
+
|---------|-------------|
|
|
45
|
+
| `/ck-test` | Run tests and analyze results |
|
|
46
|
+
| `/ck-git` | Commit changes |
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
agent: 'agent'
|
|
3
|
+
description: 'Analyze and fix small issues [FAST]'
|
|
4
|
+
argument-hint: 'Describe the issues'
|
|
5
|
+
---
|
|
6
|
+
## Variant Notice
|
|
7
|
+
**IMPORTANT — Read before proceeding.**
|
|
8
|
+
`ck-fix-fast` is an internal mode for quick fixes for simple bugs — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
9
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
10
|
+
Before executing, you MUST output the following message **exactly as written** and wait for user response:
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
**Variant Notice**
|
|
14
|
+
|
|
15
|
+
`ck-fix-fast` is an internal mode for quick fixes for simple bugs — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
16
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
17
|
+
|
|
18
|
+
Do you want to continue anyway, or switch to `/ck-fix`? **[Continue / Switch to /ck-fix]**
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
Only proceed if user explicitly confirms Continue.
|
|
23
|
+
If user chooses "Switch to /ck-fix", run `/ck-fix ${input}` immediately — do NOT ask user to re-enter their input.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Mission
|
|
27
|
+
**Think hard** to analyze and fix these issues:
|
|
28
|
+
<issues>${input}</issues>
|
|
29
|
+
|
|
30
|
+
## Workflow
|
|
31
|
+
1. Activate `debug` and `problem-solving` skills to find the root cause.
|
|
32
|
+
2. Implement the fix.
|
|
33
|
+
3. Test the fix and make sure it works.
|
|
34
|
+
4. If there are issues or failed tests, repeat from step 1.
|
|
35
|
+
5. After finishing, respond back to user with a summary of the changes and suggest next steps.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Suggested Next Steps
|
|
40
|
+
|
|
41
|
+
| Command | Description |
|
|
42
|
+
|---------|-------------|
|
|
43
|
+
| `/ck-test` | Run tests and analyze results |
|
|
44
|
+
| `/ck-git` | Commit changes |
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
agent: 'agent'
|
|
3
|
+
description: 'Plan and fix hard issues systematically'
|
|
4
|
+
argument-hint: 'Describe the issues'
|
|
5
|
+
---
|
|
6
|
+
## Variant Notice
|
|
7
|
+
**IMPORTANT — Read before proceeding.**
|
|
8
|
+
`ck-fix-hard` is an internal mode for complex, multi-step bug fixing — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
9
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
10
|
+
Before executing, you MUST output the following message **exactly as written** and wait for user response:
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
**Variant Notice**
|
|
14
|
+
|
|
15
|
+
`ck-fix-hard` is an internal mode for complex, multi-step bug fixing — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
16
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
17
|
+
|
|
18
|
+
Do you want to continue anyway, or switch to `/ck-fix`? **[Continue / Switch to /ck-fix]**
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
Only proceed if user explicitly confirms Continue.
|
|
23
|
+
If user chooses "Switch to /ck-fix", run immediately — do NOT ask user to re-enter their input.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
**Think deeply** to plan & fix these issues:
|
|
27
|
+
<issues>${input}</issues>
|
|
28
|
+
|
|
29
|
+
## Workflow:
|
|
30
|
+
|
|
31
|
+
### Clarify the request
|
|
32
|
+
**Question Everything**: Ask probing questions directly in your response to fully understand the user's request, constraints, and true objectives. Then stop and wait for the user to answer before proceeding. Don't assume - clarify until you're 100% certain.
|
|
33
|
+
|
|
34
|
+
* Ask 1 question at a time, wait for the user to answer before moving to the next question.
|
|
35
|
+
* If you don't have any questions, start the next step.
|
|
36
|
+
|
|
37
|
+
### Fix the issue
|
|
38
|
+
|
|
39
|
+
Use `sequential-thinking` skill to break complex problems into sequential thought steps.
|
|
40
|
+
Use `problem-solving` skills to tackle the issues.
|
|
41
|
+
|
|
42
|
+
1. Investigate and find the root cause of the issues.
|
|
43
|
+
2. Research about the root causes on the internet (if needed).
|
|
44
|
+
3. Create an implementation plan based on findings.
|
|
45
|
+
4. Implement the plan step by step.
|
|
46
|
+
5. Test the fix and make sure it works.
|
|
47
|
+
6. Final Report:
|
|
48
|
+
* Summary of changes, guide user to get started, suggest next steps.
|
|
49
|
+
* Ask the user if they want to commit and push to git repository.
|
|
50
|
+
- **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
|
|
51
|
+
- **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Suggested Next Steps
|
|
56
|
+
|
|
57
|
+
| Command | Description |
|
|
58
|
+
|---------|-------------|
|
|
59
|
+
| `/ck-test` | Run tests and analyze results |
|
|
60
|
+
| `/ck-git` | Commit changes |
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
agent: 'agent'
|
|
3
|
+
description: 'Analyze logs and fix issues'
|
|
4
|
+
argument-hint: 'Describe the issue'
|
|
5
|
+
---
|
|
6
|
+
## Variant Notice
|
|
7
|
+
**IMPORTANT — Read before proceeding.**
|
|
8
|
+
`ck-fix-logs` is an internal mode for issues found in logs — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
9
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
10
|
+
Before executing, you MUST output the following message **exactly as written** and wait for user response:
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
**Variant Notice**
|
|
14
|
+
|
|
15
|
+
`ck-fix-logs` is an internal mode for issues found in logs — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
16
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
17
|
+
|
|
18
|
+
Do you want to continue anyway, or switch to `/ck-fix`? **[Continue / Switch to /ck-fix]**
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
Only proceed if user explicitly confirms Continue.
|
|
23
|
+
If user chooses "Switch to /ck-fix", run immediately — do NOT ask user to re-enter their input.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Mission
|
|
27
|
+
<issue>${input}</issue>
|
|
28
|
+
|
|
29
|
+
## Workflow
|
|
30
|
+
1. Check if `./logs.txt` exists:
|
|
31
|
+
- If missing, set up permanent log piping in project's script config (`package.json`, `Makefile`, `pyproject.toml`, etc.):
|
|
32
|
+
- **Bash/Unix**: append `2>&1 | tee logs.txt`
|
|
33
|
+
- **PowerShell**: append `*>&1 | Tee-Object logs.txt`
|
|
34
|
+
- Run the command to generate logs
|
|
35
|
+
2. Analyze `./logs.txt` and find root causes:
|
|
36
|
+
- Search for the last 30 lines of log output (avoid loading entire file)
|
|
37
|
+
- If insufficient context, increase `head_limit` as needed
|
|
38
|
+
3. Search the codebase to find the exact location of the issues.
|
|
39
|
+
4. Create an implementation plan based on findings.
|
|
40
|
+
5. Implement the fix.
|
|
41
|
+
6. Test the fix and make sure it works.
|
|
42
|
+
7. Review the code changes and make sure it meets requirements.
|
|
43
|
+
8. If there are issues or failed tests, repeat from step 3.
|
|
44
|
+
9. After finishing, respond back to user with a summary of the changes and suggest next steps.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Suggested Next Steps
|
|
49
|
+
|
|
50
|
+
| Command | Description |
|
|
51
|
+
|---------|-------------|
|
|
52
|
+
| `/ck-test` | Run tests and analyze results |
|
|
53
|
+
| `/ck-git` | Commit changes |
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
agent: 'agent'
|
|
3
|
+
description: 'Run test suite and fix issues'
|
|
4
|
+
argument-hint: 'Describe the test issues'
|
|
5
|
+
---
|
|
6
|
+
## Variant Notice
|
|
7
|
+
**IMPORTANT — Read before proceeding.**
|
|
8
|
+
`ck-fix-test` is an internal mode for test failures — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
9
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
10
|
+
Before executing, you MUST output the following message **exactly as written** and wait for user response:
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
**Variant Notice**
|
|
14
|
+
|
|
15
|
+
`ck-fix-test` is an internal mode for test failures — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
16
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
17
|
+
|
|
18
|
+
Do you want to continue anyway, or switch to `/ck-fix`? **[Continue / Switch to /ck-fix]**
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
Only proceed if user explicitly confirms Continue.
|
|
23
|
+
If user chooses "Switch to /ck-fix", run immediately — do NOT ask user to re-enter their input.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Reported Issues:
|
|
27
|
+
<issues>${input}</issues>
|
|
28
|
+
|
|
29
|
+
## Workflow:
|
|
30
|
+
1. Compile the code and fix all syntax errors if any.
|
|
31
|
+
2. Run the tests and analyze the results.
|
|
32
|
+
3. If there are issues or failed tests, investigate the root cause.
|
|
33
|
+
4. Create an implementation plan based on findings.
|
|
34
|
+
5. Implement the fix step by step.
|
|
35
|
+
6. Test the fix and make sure it works.
|
|
36
|
+
7. Review the code changes and make sure it meets requirements.
|
|
37
|
+
8. If there are issues or failed tests, repeat from step 2.
|
|
38
|
+
9. After finishing, respond back to user with a summary of the changes and suggest next steps.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Suggested Next Steps
|
|
43
|
+
|
|
44
|
+
| Command | Description |
|
|
45
|
+
|---------|-------------|
|
|
46
|
+
| `/ck-fix` | Analyze and fix issues |
|
|
47
|
+
| `/ck-git` | Commit changes |
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
agent: 'agent'
|
|
3
|
+
description: 'Fix type errors'
|
|
4
|
+
---
|
|
5
|
+
## Variant Notice
|
|
6
|
+
**IMPORTANT — Read before proceeding.**
|
|
7
|
+
`ck-fix-types` is an internal mode for TypeScript type errors — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
8
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
9
|
+
Before executing, you MUST output the following message **exactly as written** and wait for user response:
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
**Variant Notice**
|
|
13
|
+
|
|
14
|
+
`ck-fix-types` is an internal mode for TypeScript type errors — it is meant to be selected automatically by AI when you run `/ck-fix`.
|
|
15
|
+
You don't need to call this directly. Just use `/ck-fix` and AI will pick the right mode for you.
|
|
16
|
+
|
|
17
|
+
Do you want to continue anyway, or switch to `/ck-fix`? **[Continue / Switch to /ck-fix]**
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
Only proceed if user explicitly confirms Continue.
|
|
22
|
+
If user chooses "Switch to /ck-fix", run immediately — do NOT ask user to re-enter their input.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Run `bun run typecheck` or `tsc` or `npx tsc` and fix all type errors.
|
|
26
|
+
|
|
27
|
+
## Rules
|
|
28
|
+
- Fix all of type errors and repeat the process until there are no more type errors.
|
|
29
|
+
- Do not use `any` just to pass the type check.
|