cokit-cli 1.2.6 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -42
- package/agents/brainstormer.agent.md +28 -14
- package/agents/code-reviewer.agent.md +101 -67
- package/agents/code-simplifier.agent.md +36 -41
- package/agents/debugger.agent.md +29 -24
- package/agents/docs-manager.agent.md +15 -23
- package/agents/fullstack-developer.agent.md +16 -6
- package/agents/git-manager.agent.md +0 -3
- package/agents/planner.agent.md +16 -34
- package/agents/project-manager.agent.md +24 -0
- package/agents/researcher.agent.md +15 -13
- package/agents/tester.agent.md +43 -20
- package/agents/ui-ux-designer.agent.md +16 -49
- package/docs/README.md +8 -9
- package/docs/Skills Orchestration Layer - Training Slides - en.pdf +0 -0
- package/docs/Skills Orchestration Layer - Training Slides - vi.pdf +0 -0
- package/docs/code-standards.md +1 -2
- package/docs/codebase-summary.md +35 -66
- package/docs/cokit-commands-usage-guide.md +27 -73
- package/docs/cokit-comprehensive-mapping-guide.md +9 -15
- package/docs/cokit-slides.md +4 -9
- package/docs/cokit-sync-and-maintenance-guide.md +42 -190
- package/docs/cokit-team-presentation.md +6 -11
- package/docs/copilot-processing-flow.md +3 -3
- package/docs/migration-guide.md +15 -15
- package/docs/project-overview-pdr.md +6 -7
- package/docs/project-roadmap.md +13 -15
- package/docs/skills-and-orchestration-layer-en.md +404 -0
- package/docs/skills-and-orchestration-layer-vi.md +404 -0
- package/docs/system-architecture.md +14 -20
- package/docs/{claudekit-porting-rules.md → upstream-porting-rules.md} +15 -16
- package/package.json +3 -4
- package/prompts/ck-ask.prompt.md +0 -1
- package/prompts/ck-bootstrap.prompt.md +0 -3
- package/prompts/ck-brainstorm.prompt.md +0 -1
- package/prompts/ck-cook.prompt.md +0 -1
- package/prompts/ck-debug.prompt.md +0 -1
- package/prompts/ck-deploy.prompt.md +22 -0
- package/prompts/ck-docs.prompt.md +0 -1
- package/prompts/ck-frontend.prompt.md +20 -0
- package/prompts/ck-help.prompt.md +0 -1
- package/prompts/ck-plan-fast.prompt.md +0 -3
- package/prompts/ck-plan-hard.prompt.md +0 -3
- package/prompts/ck-plan.prompt.md +0 -3
- package/prompts/ck-project.prompt.md +20 -0
- package/prompts/ck-review.prompt.md +0 -3
- package/prompts/ck-scout.prompt.md +0 -1
- package/prompts/ck-security.prompt.md +22 -0
- package/prompts/ck-ship.prompt.md +22 -0
- package/prompts/ck-test.prompt.md +0 -2
- package/prompts/ck-watzup.prompt.md +0 -1
- package/skills/agent-browser/SKILL.md +11 -8
- package/skills/agent-browser/references/agent-browser-vs-chrome-devtools.md +112 -0
- package/skills/bootstrap/SKILL.md +102 -0
- package/skills/bootstrap/references/shared-phases.md +59 -0
- package/skills/bootstrap/references/workflow-auto.md +52 -0
- package/skills/bootstrap/references/workflow-fast.md +50 -0
- package/skills/bootstrap/references/workflow-full.md +60 -0
- package/skills/bootstrap/references/workflow-parallel.md +59 -0
- package/skills/brainstorm/SKILL.md +63 -15
- package/skills/code-review/SKILL.md +138 -135
- package/skills/code-review/references/adversarial-review.md +223 -0
- package/skills/code-review/references/checklist-workflow.md +100 -0
- package/skills/code-review/references/checklists/api.md +52 -0
- package/skills/code-review/references/checklists/base.md +100 -0
- package/skills/code-review/references/checklists/web-app.md +54 -0
- package/skills/code-review/references/code-review-reception.md +48 -144
- package/skills/code-review/references/codebase-scan-workflow.md +30 -0
- package/skills/code-review/references/edge-case-scouting.md +119 -0
- package/skills/code-review/references/input-mode-resolution.md +135 -0
- package/skills/code-review/references/parallel-review-workflow.md +76 -0
- package/skills/code-review/references/requesting-code-review.md +115 -104
- package/skills/code-review/references/spec-compliance-review.md +43 -0
- package/skills/code-review/references/task-management-reviews.md +155 -0
- package/skills/common/README.md +2 -12
- package/skills/common/api_key_helper.py +7 -37
- package/skills/context-engineering/SKILL.md +4 -3
- package/skills/context-engineering/references/context-degradation.md +2 -2
- package/skills/context-engineering/references/runtime-awareness.md +5 -47
- package/skills/cook/README.md +13 -13
- package/skills/cook/SKILL.md +86 -58
- package/skills/cook/references/intent-detection.md +7 -7
- package/skills/cook/references/review-cycle.md +2 -2
- package/skills/cook/references/subagent-patterns.md +75 -0
- package/skills/cook/references/workflow-steps.md +75 -23
- package/skills/databases/SKILL.md +3 -30
- package/skills/databases/db-design.md +1 -1
- package/skills/debug/SKILL.md +47 -105
- package/skills/debug/references/frontend-verification.md +103 -0
- package/skills/debug/references/investigation-methodology.md +101 -0
- package/skills/debug/references/log-and-ci-analysis.md +97 -0
- package/skills/debug/references/performance-diagnostics.md +113 -0
- package/skills/debug/references/reporting-standards.md +122 -0
- package/skills/debug/references/task-management-debugging.md +155 -0
- package/skills/deploy/SKILL.md +154 -0
- package/skills/deploy/references/platform-config-templates.md +35 -0
- package/skills/deploy/references/platforms/aws.md +58 -0
- package/skills/deploy/references/platforms/cloudflare.md +41 -0
- package/skills/deploy/references/platforms/coolify.md +32 -0
- package/skills/deploy/references/platforms/digitalocean.md +45 -0
- package/skills/deploy/references/platforms/dokploy.md +29 -0
- package/skills/deploy/references/platforms/flyio.md +54 -0
- package/skills/deploy/references/platforms/gcp.md +45 -0
- package/skills/deploy/references/platforms/github-pages.md +56 -0
- package/skills/deploy/references/platforms/heroku.md +31 -0
- package/skills/deploy/references/platforms/netlify.md +39 -0
- package/skills/deploy/references/platforms/railway.md +38 -0
- package/skills/deploy/references/platforms/render.md +39 -0
- package/skills/deploy/references/platforms/tose.md +35 -0
- package/skills/deploy/references/platforms/vercel.md +37 -0
- package/skills/deploy/references/platforms/vultr.md +27 -0
- package/skills/devops/SKILL.md +6 -12
- package/skills/docs-seeker/SKILL.md +2 -1
- package/skills/docs-seeker/references/context7-patterns.md +4 -0
- package/skills/docs-seeker/scripts/fetch-docs.js +1 -2
- package/skills/docs-seeker/scripts/utils/env-loader.js +4 -4
- package/skills/docs-seeker/workflows/library-search.md +1 -0
- package/skills/fix/SKILL.md +141 -44
- package/skills/fix/references/complexity-assessment.md +21 -9
- package/skills/fix/references/diagnosis-protocol.md +133 -0
- package/skills/fix/references/mode-selection.md +27 -11
- package/skills/fix/references/parallel-exploration.md +35 -12
- package/skills/fix/references/prevention-gate.md +87 -0
- package/skills/fix/references/review-cycle.md +3 -3
- package/skills/fix/references/skill-activation-matrix.md +64 -31
- package/skills/fix/references/task-orchestration.md +110 -0
- package/skills/fix/references/workflow-deep.md +110 -47
- package/skills/fix/references/workflow-logs.md +46 -10
- package/skills/fix/references/workflow-quick.md +43 -20
- package/skills/fix/references/workflow-standard.md +75 -41
- package/skills/fix/references/workflow-test.md +49 -10
- package/skills/fix/references/workflow-ui.md +56 -18
- package/skills/frontend-design/SKILL.md +109 -77
- package/skills/frontend-design/references/ai-multimodal-overview.md +165 -0
- package/skills/frontend-design/references/anti-slop-rules.md +103 -0
- package/skills/frontend-design/references/asset-generation.md +284 -108
- package/skills/frontend-design/references/bento-motion-engine.md +142 -0
- package/skills/frontend-design/references/magicui-components.md +129 -0
- package/skills/frontend-design/references/performance-guardrails.md +169 -0
- package/skills/frontend-design/references/premium-design-patterns.md +93 -0
- package/skills/frontend-design/references/redesign-audit-checklist.md +114 -0
- package/skills/frontend-design/references/visual-analysis-overview.md +1 -1
- package/skills/frontend-design/references/workflow-3d.md +98 -0
- package/skills/frontend-design/references/workflow-describe.md +4 -3
- package/skills/frontend-design/references/workflow-immersive.md +82 -0
- package/skills/frontend-design/references/workflow-quick.md +10 -12
- package/skills/frontend-design/references/workflow-screenshot.md +9 -8
- package/skills/frontend-design/references/workflow-video.md +74 -0
- package/skills/frontend-development/SKILL.md +400 -0
- package/skills/frontend-development/resources/common-patterns.md +331 -0
- package/skills/frontend-development/resources/complete-examples.md +872 -0
- package/skills/frontend-development/resources/component-patterns.md +502 -0
- package/skills/frontend-development/resources/data-fetching.md +767 -0
- package/skills/frontend-development/resources/file-organization.md +502 -0
- package/skills/frontend-development/resources/loading-and-error-states.md +501 -0
- package/skills/frontend-development/resources/performance.md +406 -0
- package/skills/frontend-development/resources/routing-guide.md +364 -0
- package/skills/frontend-development/resources/styling-guide.md +428 -0
- package/skills/frontend-development/resources/typescript-standards.md +418 -0
- package/skills/git/SKILL.md +18 -4
- package/skills/git/references/commit-standards.md +3 -3
- package/skills/git/references/workflow-commit.md +3 -3
- 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/mcp-management/README.md +18 -18
- package/skills/mcp-management/SKILL.md +16 -15
- package/skills/mcp-management/references/configuration.md +4 -4
- package/skills/mcp-management/references/gemini-cli-integration.md +12 -12
- package/skills/mcp-management/scripts/.env.example +2 -2
- package/skills/mcp-management/scripts/dist/mcp-client.js +1 -1
- package/skills/mcp-management/scripts/mcp-client.ts +1 -1
- package/skills/mermaidjs-v11/SKILL.md +1 -0
- package/skills/planning/SKILL.md +122 -91
- package/skills/planning/references/archive-workflow.md +53 -0
- package/skills/planning/references/codebase-understanding.md +1 -1
- package/skills/planning/references/output-standards.md +17 -13
- package/skills/planning/references/plan-organization.md +52 -30
- package/skills/planning/references/red-team-personas.md +69 -0
- package/skills/planning/references/red-team-workflow.md +77 -0
- package/skills/planning/references/scope-challenge.md +90 -0
- package/skills/planning/references/task-management.md +134 -0
- package/skills/planning/references/validate-question-framework.md +80 -0
- package/skills/planning/references/validate-workflow.md +65 -0
- package/skills/planning/references/workflow-modes.md +154 -0
- package/skills/problem-solving/SKILL.md +1 -0
- package/skills/project-management/SKILL.md +133 -0
- package/skills/project-management/references/documentation-triggers.md +60 -0
- package/skills/project-management/references/hydration-workflow.md +89 -0
- package/skills/project-management/references/progress-tracking.md +120 -0
- package/skills/project-management/references/reporting-patterns.md +94 -0
- package/skills/project-management/references/task-operations.md +87 -0
- package/skills/repomix/SKILL.md +3 -2
- package/skills/repomix/references/usage-patterns.md +2 -2
- package/skills/repomix/scripts/README.md +1 -1
- package/skills/repomix/scripts/repomix_batch.py +2 -2
- package/skills/research/SKILL.md +7 -4
- package/skills/scout/SKILL.md +24 -24
- package/skills/scout/references/external-scouting.md +17 -17
- package/skills/scout/references/internal-scouting.md +9 -9
- package/skills/scout/references/task-management-scouting.md +125 -0
- package/skills/security/SKILL.md +139 -0
- package/skills/security/references/stride-owasp-checklist.md +128 -0
- package/skills/sequential-thinking/README.md +3 -3
- package/skills/sequential-thinking/SKILL.md +2 -0
- package/skills/sequential-thinking/package.json +1 -1
- package/skills/ship/SKILL.md +116 -0
- package/skills/ship/references/auto-detect.md +103 -0
- package/skills/ship/references/pr-template.md +90 -0
- package/skills/ship/references/ship-workflow.md +241 -0
- package/skills/test/SKILL.md +111 -0
- package/skills/test/references/report-format.md +58 -0
- package/skills/test/references/test-execution-workflow.md +103 -0
- package/skills/test/references/ui-testing-workflow.md +65 -0
- package/skills/ui-styling/SKILL.md +2 -0
- package/skills/web-testing/SKILL.md +8 -60
- package/src/commands/add.js +0 -1
- package/src/commands/doctor.js +2 -2
- package/src/commands/init.js +19 -28
- package/src/commands/update.js +1 -1
- package/templates/repo/.github/agents/brainstormer.agent.md +28 -14
- package/templates/repo/.github/agents/code-reviewer.agent.md +101 -67
- package/templates/repo/.github/agents/code-simplifier.agent.md +36 -41
- package/templates/repo/.github/agents/debugger.agent.md +29 -24
- package/templates/repo/.github/agents/docs-manager.agent.md +15 -23
- package/templates/repo/.github/agents/fullstack-developer.agent.md +16 -6
- package/templates/repo/.github/agents/git-manager.agent.md +0 -3
- package/templates/repo/.github/agents/planner.agent.md +16 -34
- package/templates/repo/.github/agents/project-manager.agent.md +24 -0
- package/templates/repo/.github/agents/researcher.agent.md +15 -13
- package/templates/repo/.github/agents/tester.agent.md +43 -20
- package/templates/repo/.github/agents/ui-ux-designer.agent.md +16 -49
- package/templates/repo/.github/prompts/ck-ask.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-bootstrap.prompt.md +0 -3
- package/templates/repo/.github/prompts/ck-brainstorm.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-cook.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-debug.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-deploy.prompt.md +22 -0
- package/templates/repo/.github/prompts/ck-docs.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-frontend.prompt.md +20 -0
- package/templates/repo/.github/prompts/ck-help.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-plan-fast.prompt.md +0 -3
- package/templates/repo/.github/prompts/ck-plan-hard.prompt.md +0 -3
- package/templates/repo/.github/prompts/ck-plan.prompt.md +0 -3
- package/templates/repo/.github/prompts/ck-project.prompt.md +20 -0
- package/templates/repo/.github/prompts/ck-review.prompt.md +0 -3
- package/templates/repo/.github/prompts/ck-scout.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-security.prompt.md +22 -0
- package/templates/repo/.github/prompts/ck-ship.prompt.md +22 -0
- package/templates/repo/.github/prompts/ck-test.prompt.md +0 -2
- package/templates/repo/.github/prompts/ck-watzup.prompt.md +0 -1
- package/templates/repo/.github/skills/agent-browser/SKILL.md +11 -8
- package/templates/repo/.github/skills/agent-browser/references/agent-browser-vs-chrome-devtools.md +112 -0
- package/templates/repo/.github/skills/bootstrap/SKILL.md +102 -0
- package/templates/repo/.github/skills/bootstrap/references/shared-phases.md +59 -0
- package/templates/repo/.github/skills/bootstrap/references/workflow-auto.md +52 -0
- package/templates/repo/.github/skills/bootstrap/references/workflow-fast.md +50 -0
- package/templates/repo/.github/skills/bootstrap/references/workflow-full.md +60 -0
- package/templates/repo/.github/skills/bootstrap/references/workflow-parallel.md +59 -0
- package/templates/repo/.github/skills/brainstorm/SKILL.md +63 -15
- package/templates/repo/.github/skills/code-review/SKILL.md +138 -135
- package/templates/repo/.github/skills/code-review/references/adversarial-review.md +223 -0
- package/templates/repo/.github/skills/code-review/references/checklist-workflow.md +100 -0
- package/templates/repo/.github/skills/code-review/references/checklists/api.md +52 -0
- package/templates/repo/.github/skills/code-review/references/checklists/base.md +100 -0
- package/templates/repo/.github/skills/code-review/references/checklists/web-app.md +54 -0
- package/templates/repo/.github/skills/code-review/references/code-review-reception.md +48 -144
- package/templates/repo/.github/skills/code-review/references/codebase-scan-workflow.md +30 -0
- package/templates/repo/.github/skills/code-review/references/edge-case-scouting.md +119 -0
- package/templates/repo/.github/skills/code-review/references/input-mode-resolution.md +135 -0
- package/templates/repo/.github/skills/code-review/references/parallel-review-workflow.md +76 -0
- package/templates/repo/.github/skills/code-review/references/requesting-code-review.md +19 -8
- package/templates/repo/.github/skills/code-review/references/spec-compliance-review.md +43 -0
- package/templates/repo/.github/skills/code-review/references/task-management-reviews.md +155 -0
- package/templates/repo/.github/skills/common/README.md +2 -12
- package/templates/repo/.github/skills/common/api_key_helper.py +7 -37
- package/templates/repo/.github/skills/context-engineering/SKILL.md +4 -3
- package/templates/repo/.github/skills/context-engineering/references/context-degradation.md +2 -2
- package/templates/repo/.github/skills/context-engineering/references/runtime-awareness.md +5 -47
- package/templates/repo/.github/skills/cook/README.md +13 -13
- package/templates/repo/.github/skills/cook/SKILL.md +86 -58
- package/templates/repo/.github/skills/cook/references/intent-detection.md +7 -7
- package/templates/repo/.github/skills/cook/references/review-cycle.md +2 -2
- package/templates/repo/.github/skills/cook/references/subagent-patterns.md +75 -0
- package/templates/repo/.github/skills/cook/references/workflow-steps.md +75 -23
- package/templates/repo/.github/skills/databases/SKILL.md +3 -30
- package/templates/repo/.github/skills/databases/db-design.md +1 -1
- package/templates/repo/.github/skills/debug/SKILL.md +47 -105
- package/templates/repo/.github/skills/debug/references/frontend-verification.md +103 -0
- package/templates/repo/.github/skills/debug/references/investigation-methodology.md +101 -0
- package/templates/repo/.github/skills/debug/references/log-and-ci-analysis.md +97 -0
- package/templates/repo/.github/skills/debug/references/performance-diagnostics.md +113 -0
- package/templates/repo/.github/skills/debug/references/reporting-standards.md +122 -0
- package/templates/repo/.github/skills/debug/references/task-management-debugging.md +155 -0
- package/templates/repo/.github/skills/deploy/SKILL.md +154 -0
- package/templates/repo/.github/skills/deploy/references/platform-config-templates.md +35 -0
- package/templates/repo/.github/skills/deploy/references/platforms/aws.md +58 -0
- package/templates/repo/.github/skills/deploy/references/platforms/cloudflare.md +41 -0
- package/templates/repo/.github/skills/deploy/references/platforms/coolify.md +32 -0
- package/templates/repo/.github/skills/deploy/references/platforms/digitalocean.md +45 -0
- package/templates/repo/.github/skills/deploy/references/platforms/dokploy.md +29 -0
- package/templates/repo/.github/skills/deploy/references/platforms/flyio.md +54 -0
- package/templates/repo/.github/skills/deploy/references/platforms/gcp.md +45 -0
- package/templates/repo/.github/skills/deploy/references/platforms/github-pages.md +56 -0
- package/templates/repo/.github/skills/deploy/references/platforms/heroku.md +31 -0
- package/templates/repo/.github/skills/deploy/references/platforms/netlify.md +39 -0
- package/templates/repo/.github/skills/deploy/references/platforms/railway.md +38 -0
- package/templates/repo/.github/skills/deploy/references/platforms/render.md +39 -0
- package/templates/repo/.github/skills/deploy/references/platforms/tose.md +35 -0
- package/templates/repo/.github/skills/deploy/references/platforms/vercel.md +37 -0
- package/templates/repo/.github/skills/deploy/references/platforms/vultr.md +27 -0
- package/templates/repo/.github/skills/devops/SKILL.md +6 -12
- package/templates/repo/.github/skills/docs-seeker/SKILL.md +2 -1
- package/templates/repo/.github/skills/docs-seeker/references/context7-patterns.md +4 -0
- package/templates/repo/.github/skills/docs-seeker/scripts/fetch-docs.js +1 -2
- package/templates/repo/.github/skills/docs-seeker/scripts/utils/env-loader.js +4 -4
- package/templates/repo/.github/skills/docs-seeker/workflows/library-search.md +1 -0
- package/templates/repo/.github/skills/fix/SKILL.md +141 -44
- package/templates/repo/.github/skills/fix/references/complexity-assessment.md +21 -9
- package/templates/repo/.github/skills/fix/references/diagnosis-protocol.md +133 -0
- package/templates/repo/.github/skills/fix/references/mode-selection.md +27 -11
- package/templates/repo/.github/skills/fix/references/parallel-exploration.md +35 -12
- package/templates/repo/.github/skills/fix/references/prevention-gate.md +87 -0
- package/templates/repo/.github/skills/fix/references/review-cycle.md +3 -3
- package/templates/repo/.github/skills/fix/references/skill-activation-matrix.md +64 -31
- package/templates/repo/.github/skills/fix/references/task-orchestration.md +110 -0
- package/templates/repo/.github/skills/fix/references/workflow-deep.md +110 -47
- package/templates/repo/.github/skills/fix/references/workflow-logs.md +46 -10
- package/templates/repo/.github/skills/fix/references/workflow-quick.md +43 -20
- package/templates/repo/.github/skills/fix/references/workflow-standard.md +75 -41
- package/templates/repo/.github/skills/fix/references/workflow-test.md +49 -10
- package/templates/repo/.github/skills/fix/references/workflow-ui.md +56 -18
- package/templates/repo/.github/skills/frontend-design/SKILL.md +49 -17
- package/templates/repo/.github/skills/frontend-design/references/ai-multimodal-overview.md +165 -0
- package/templates/repo/.github/skills/frontend-design/references/anti-slop-rules.md +103 -0
- package/templates/repo/.github/skills/frontend-design/references/asset-generation.md +284 -108
- package/templates/repo/.github/skills/frontend-design/references/bento-motion-engine.md +142 -0
- package/templates/repo/.github/skills/frontend-design/references/magicui-components.md +129 -0
- package/templates/repo/.github/skills/frontend-design/references/performance-guardrails.md +169 -0
- package/templates/repo/.github/skills/frontend-design/references/premium-design-patterns.md +93 -0
- package/templates/repo/.github/skills/frontend-design/references/redesign-audit-checklist.md +114 -0
- package/templates/repo/.github/skills/frontend-design/references/visual-analysis-overview.md +1 -1
- package/templates/repo/.github/skills/frontend-design/references/workflow-3d.md +98 -0
- package/templates/repo/.github/skills/frontend-design/references/workflow-describe.md +4 -3
- package/templates/repo/.github/skills/frontend-design/references/workflow-immersive.md +82 -0
- package/templates/repo/.github/skills/frontend-design/references/workflow-quick.md +10 -12
- package/templates/repo/.github/skills/frontend-design/references/workflow-screenshot.md +9 -8
- package/templates/repo/.github/skills/frontend-design/references/workflow-video.md +74 -0
- package/templates/repo/.github/skills/frontend-development/SKILL.md +400 -0
- package/templates/repo/.github/skills/frontend-development/resources/common-patterns.md +331 -0
- package/templates/repo/.github/skills/frontend-development/resources/complete-examples.md +872 -0
- package/templates/repo/.github/skills/frontend-development/resources/component-patterns.md +502 -0
- package/templates/repo/.github/skills/frontend-development/resources/data-fetching.md +767 -0
- package/templates/repo/.github/skills/frontend-development/resources/file-organization.md +502 -0
- package/templates/repo/.github/skills/frontend-development/resources/loading-and-error-states.md +501 -0
- package/templates/repo/.github/skills/frontend-development/resources/performance.md +406 -0
- package/templates/repo/.github/skills/frontend-development/resources/routing-guide.md +364 -0
- package/templates/repo/.github/skills/frontend-development/resources/styling-guide.md +428 -0
- package/templates/repo/.github/skills/frontend-development/resources/typescript-standards.md +418 -0
- package/templates/repo/.github/skills/git/SKILL.md +18 -4
- package/templates/repo/.github/skills/git/references/commit-standards.md +3 -3
- package/templates/repo/.github/skills/git/references/workflow-commit.md +3 -3
- 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/mcp-management/README.md +18 -18
- package/templates/repo/.github/skills/mcp-management/SKILL.md +16 -15
- package/templates/repo/.github/skills/mcp-management/references/configuration.md +4 -4
- package/templates/repo/.github/skills/mcp-management/references/gemini-cli-integration.md +12 -12
- package/templates/repo/.github/skills/mcp-management/scripts/.env.example +2 -2
- package/templates/repo/.github/skills/mcp-management/scripts/mcp-client.ts +1 -1
- package/templates/repo/.github/skills/mermaidjs-v11/SKILL.md +1 -0
- package/templates/repo/.github/skills/planning/SKILL.md +122 -91
- package/templates/repo/.github/skills/planning/references/archive-workflow.md +53 -0
- package/templates/repo/.github/skills/planning/references/codebase-understanding.md +1 -1
- package/templates/repo/.github/skills/planning/references/output-standards.md +17 -13
- package/templates/repo/.github/skills/planning/references/plan-organization.md +52 -30
- package/templates/repo/.github/skills/planning/references/red-team-personas.md +69 -0
- package/templates/repo/.github/skills/planning/references/red-team-workflow.md +77 -0
- package/templates/repo/.github/skills/planning/references/scope-challenge.md +90 -0
- package/templates/repo/.github/skills/planning/references/task-management.md +134 -0
- package/templates/repo/.github/skills/planning/references/validate-question-framework.md +80 -0
- package/templates/repo/.github/skills/planning/references/validate-workflow.md +65 -0
- package/templates/repo/.github/skills/planning/references/workflow-modes.md +154 -0
- package/templates/repo/.github/skills/problem-solving/SKILL.md +1 -0
- package/templates/repo/.github/skills/project-management/SKILL.md +133 -0
- package/templates/repo/.github/skills/project-management/references/documentation-triggers.md +60 -0
- package/templates/repo/.github/skills/project-management/references/hydration-workflow.md +89 -0
- package/templates/repo/.github/skills/project-management/references/progress-tracking.md +120 -0
- package/templates/repo/.github/skills/project-management/references/reporting-patterns.md +94 -0
- package/templates/repo/.github/skills/project-management/references/task-operations.md +87 -0
- package/templates/repo/.github/skills/repomix/SKILL.md +3 -2
- package/templates/repo/.github/skills/repomix/references/usage-patterns.md +2 -2
- package/templates/repo/.github/skills/repomix/scripts/README.md +1 -1
- package/templates/repo/.github/skills/repomix/scripts/repomix_batch.py +2 -2
- package/templates/repo/.github/skills/research/SKILL.md +7 -4
- package/templates/repo/.github/skills/scout/SKILL.md +24 -24
- package/templates/repo/.github/skills/scout/references/external-scouting.md +17 -17
- package/templates/repo/.github/skills/scout/references/internal-scouting.md +9 -9
- package/templates/repo/.github/skills/scout/references/task-management-scouting.md +125 -0
- package/templates/repo/.github/skills/security/SKILL.md +139 -0
- package/templates/repo/.github/skills/security/references/stride-owasp-checklist.md +128 -0
- package/templates/repo/.github/skills/sequential-thinking/README.md +3 -3
- package/templates/repo/.github/skills/sequential-thinking/SKILL.md +2 -0
- package/templates/repo/.github/skills/sequential-thinking/package-lock.json +3652 -0
- package/templates/repo/.github/skills/sequential-thinking/package.json +1 -1
- package/templates/repo/.github/skills/ship/SKILL.md +116 -0
- package/templates/repo/.github/skills/ship/references/auto-detect.md +103 -0
- package/templates/repo/.github/skills/ship/references/pr-template.md +90 -0
- package/templates/repo/.github/skills/ship/references/ship-workflow.md +241 -0
- package/templates/repo/.github/skills/test/SKILL.md +111 -0
- package/templates/repo/.github/skills/test/references/report-format.md +58 -0
- package/templates/repo/.github/skills/test/references/test-execution-workflow.md +103 -0
- package/templates/repo/.github/skills/test/references/ui-testing-workflow.md +65 -0
- package/templates/repo/.github/skills/ui-styling/SKILL.md +2 -0
- package/templates/repo/.github/skills/web-testing/SKILL.md +8 -60
- package/docs/guide-next-steps-speckit-cokit-implementation.md +0 -187
- package/prompts/ck-spec-analyze.prompt.md +0 -201
- package/prompts/ck-spec-checklist.prompt.md +0 -308
- package/prompts/ck-spec-clarify.prompt.md +0 -190
- package/prompts/ck-spec-constitution.prompt.md +0 -92
- package/prompts/ck-spec-implement.prompt.md +0 -157
- package/prompts/ck-spec-plan.prompt.md +0 -95
- package/prompts/ck-spec-specify.prompt.md +0 -261
- package/prompts/ck-spec-tasks.prompt.md +0 -181
- package/templates/repo/.github/AGENTS.md +0 -103
- package/templates/repo/.github/prompts/ck-spec-analyze.prompt.md +0 -201
- package/templates/repo/.github/prompts/ck-spec-checklist.prompt.md +0 -308
- package/templates/repo/.github/prompts/ck-spec-clarify.prompt.md +0 -190
- package/templates/repo/.github/prompts/ck-spec-constitution.prompt.md +0 -92
- package/templates/repo/.github/prompts/ck-spec-implement.prompt.md +0 -157
- package/templates/repo/.github/prompts/ck-spec-plan.prompt.md +0 -95
- package/templates/repo/.github/prompts/ck-spec-specify.prompt.md +0 -261
- package/templates/repo/.github/prompts/ck-spec-tasks.prompt.md +0 -181
- package/templates/repo/.github/skills/databases/stacks/bigquery.md +0 -231
- package/templates/repo/.github/skills/databases/stacks/d1_cloudflare.md +0 -137
- package/templates/repo/.github/skills/databases/stacks/mysql.md +0 -216
- package/templates/repo/.github/skills/databases/stacks/postgres.md +0 -235
- package/templates/repo/.github/skills/databases/stacks/sqlite.md +0 -244
- package/templates/repo/.github/skills/mcp-management/assets/tools.json +0 -3146
- package/templates/repo/.github/skills/mcp-management/scripts/dist/analyze-tools.js +0 -70
- package/templates/repo/.github/skills/mcp-management/scripts/dist/cli.js +0 -160
- package/templates/repo/.github/skills/mcp-management/scripts/dist/mcp-client.js +0 -183
- package/templates/repo/.github/skills/ui-styling/LICENSE.txt +0 -202
- package/templates/repo/.github/spec-kit/memory/constitution.md +0 -50
- package/templates/repo/.github/spec-kit/scripts/bash/check-prerequisites.sh +0 -166
- package/templates/repo/.github/spec-kit/scripts/bash/common.sh +0 -156
- package/templates/repo/.github/spec-kit/scripts/bash/create-new-feature.sh +0 -297
- package/templates/repo/.github/spec-kit/scripts/bash/setup-plan.sh +0 -61
- package/templates/repo/.github/spec-kit/scripts/bash/update-agent-context.sh +0 -799
- package/templates/repo/.github/spec-kit/scripts/powershell/check-prerequisites.ps1 +0 -148
- package/templates/repo/.github/spec-kit/scripts/powershell/common.ps1 +0 -137
- package/templates/repo/.github/spec-kit/scripts/powershell/create-new-feature.ps1 +0 -283
- package/templates/repo/.github/spec-kit/scripts/powershell/setup-plan.ps1 +0 -61
- package/templates/repo/.github/spec-kit/scripts/powershell/update-agent-context.ps1 +0 -448
- package/templates/repo/.github/spec-kit/templates/agent-file-template.md +0 -28
- package/templates/repo/.github/spec-kit/templates/checklist-template.md +0 -40
- package/templates/repo/.github/spec-kit/templates/commands/analyze.md +0 -187
- package/templates/repo/.github/spec-kit/templates/commands/checklist.md +0 -297
- package/templates/repo/.github/spec-kit/templates/commands/clarify.md +0 -184
- package/templates/repo/.github/spec-kit/templates/commands/constitution.md +0 -82
- package/templates/repo/.github/spec-kit/templates/commands/implement.md +0 -138
- package/templates/repo/.github/spec-kit/templates/commands/plan.md +0 -95
- package/templates/repo/.github/spec-kit/templates/commands/specify.md +0 -261
- package/templates/repo/.github/spec-kit/templates/commands/tasks.md +0 -140
- package/templates/repo/.github/spec-kit/templates/commands/taskstoissues.md +0 -33
- package/templates/repo/.github/spec-kit/templates/plan-template.md +0 -104
- package/templates/repo/.github/spec-kit/templates/spec-template.md +0 -115
- package/templates/repo/.github/spec-kit/templates/tasks-phase-template.md +0 -42
- package/templates/repo/.github/spec-kit/templates/tasks-template.md +0 -268
- package/templates/repo/.github/spec-kit/templates/vscode-settings.json +0 -14
package/skills/cook/README.md
CHANGED
|
@@ -4,15 +4,15 @@ End-to-end feature implementation with smart intent detection.
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Install via CoKit CLI:
|
|
8
8
|
```bash
|
|
9
|
-
|
|
9
|
+
# Install via: npx cokit-cli init
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
/cook <natural language task OR plan path>
|
|
15
|
+
/ck-cook <natural language task OR plan path>
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
The skill automatically detects your intent and routes to the appropriate workflow.
|
|
@@ -21,25 +21,25 @@ The skill automatically detects your intent and routes to the appropriate workfl
|
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
# Interactive mode (default)
|
|
24
|
-
/cook implement user authentication
|
|
24
|
+
/ck-cook implement user authentication
|
|
25
25
|
|
|
26
26
|
# Execute existing plan
|
|
27
|
-
/cook plans/260120-auth
|
|
27
|
+
/ck-cook plans/260120-auth
|
|
28
28
|
|
|
29
29
|
# Fast mode (skip research)
|
|
30
|
-
/cook quick fix for login bug
|
|
31
|
-
/cook implement feature --fast
|
|
30
|
+
/ck-cook quick fix for login bug
|
|
31
|
+
/ck-cook implement feature --fast
|
|
32
32
|
|
|
33
33
|
# Auto mode (trust me bro)
|
|
34
|
-
/cook implement dashboard trust me
|
|
35
|
-
/cook implement feature --auto
|
|
34
|
+
/ck-cook implement dashboard trust me
|
|
35
|
+
/ck-cook implement feature --auto
|
|
36
36
|
|
|
37
37
|
# Parallel mode (multi-agent)
|
|
38
|
-
/cook implement auth, payments, notifications
|
|
39
|
-
/cook implement feature --parallel
|
|
38
|
+
/ck-cook implement auth, payments, notifications
|
|
39
|
+
/ck-cook implement feature --parallel
|
|
40
40
|
|
|
41
41
|
# No-test mode
|
|
42
|
-
/cook implement feature --no-test
|
|
42
|
+
/ck-cook implement feature --no-test
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
## Modes
|
|
@@ -77,7 +77,7 @@ cook/
|
|
|
77
77
|
├── intent-detection.md # Detection rules
|
|
78
78
|
├── workflow-steps.md # Step definitions
|
|
79
79
|
├── review-cycle.md # Review process
|
|
80
|
-
└──
|
|
80
|
+
└── subagent-patterns.md # Subagent usage
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
## Version
|
package/skills/cook/SKILL.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cook
|
|
3
|
-
description: ALWAYS activate this skill before implementing EVERY feature, plan, or fix.
|
|
3
|
+
description: "ALWAYS activate this skill before implementing EVERY feature, plan, or fix."
|
|
4
|
+
argument-hint: "[task|plan-path] [--interactive|--fast|--parallel|--auto|--no-test]"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Cook - Smart Feature Implementation
|
|
@@ -12,18 +13,42 @@ End-to-end implementation with automatic workflow detection.
|
|
|
12
13
|
## Usage
|
|
13
14
|
|
|
14
15
|
```
|
|
15
|
-
/cook <natural language task OR plan path>
|
|
16
|
+
/ck-cook <natural language task OR plan path>
|
|
16
17
|
```
|
|
17
18
|
|
|
18
|
-
**
|
|
19
|
+
**IMPORTANT:** If no flag is provided, the skill will use the `interactive` mode by default for the workflow.
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
**Optional flags to select the workflow mode:**
|
|
22
|
+
- `--interactive`: Full workflow with user input (**default**)
|
|
23
|
+
- `--fast`: Skip research, scout→plan→code
|
|
24
|
+
- `--parallel`: Multi-agent execution
|
|
25
|
+
- `--no-test`: Skip testing step
|
|
26
|
+
- `--auto`: Auto-approve all steps
|
|
27
|
+
|
|
28
|
+
**Example:**
|
|
21
29
|
```
|
|
22
|
-
/cook "Add user authentication to the app" --fast
|
|
23
|
-
/cook path/to/plan.md --auto
|
|
24
|
-
/cook "Fix login bug" --interactive
|
|
30
|
+
/ck-cook "Add user authentication to the app" --fast
|
|
31
|
+
/ck-cook path/to/plan.md --auto
|
|
25
32
|
```
|
|
26
33
|
|
|
34
|
+
<HARD-GATE>
|
|
35
|
+
Do NOT write implementation code until a plan exists and has been reviewed.
|
|
36
|
+
This applies regardless of task simplicity. "Simple" tasks are where unexamined assumptions waste the most time.
|
|
37
|
+
Exception: `--fast` mode skips research but still requires a plan step.
|
|
38
|
+
User override: If user explicitly says "just code it" or "skip planning", respect their instruction.
|
|
39
|
+
</HARD-GATE>
|
|
40
|
+
|
|
41
|
+
## Anti-Rationalization
|
|
42
|
+
|
|
43
|
+
| Thought | Reality |
|
|
44
|
+
|---------|---------|
|
|
45
|
+
| "This is too simple to plan" | Simple tasks have hidden complexity. Plan takes 30 seconds. |
|
|
46
|
+
| "I already know how to do this" | Knowing ≠ planning. Write it down. |
|
|
47
|
+
| "Let me just start coding" | Undisciplined action wastes tokens. Plan first. |
|
|
48
|
+
| "The user wants speed" | Fastest path = plan → implement → done. Not: implement → debug → rewrite. |
|
|
49
|
+
| "I'll plan as I go" | That's not planning, that's hoping. |
|
|
50
|
+
| "Just this once" | Every skip is "just this once." No exceptions. |
|
|
51
|
+
|
|
27
52
|
## Smart Intent Detection
|
|
28
53
|
|
|
29
54
|
| Input Pattern | Detected Mode | Behavior |
|
|
@@ -33,11 +58,34 @@ Example:
|
|
|
33
58
|
| Contains "trust me", "auto" | auto | Auto-approve all steps |
|
|
34
59
|
| Lists 3+ features OR "parallel" | parallel | Multi-agent execution |
|
|
35
60
|
| Contains "no test", "skip test" | no-test | Skip testing step |
|
|
36
|
-
| `--interactive` flag (explicit) | interactive | Full workflow with user input |
|
|
37
61
|
| Default | interactive | Full workflow with user input |
|
|
38
62
|
|
|
39
63
|
See `references/intent-detection.md` for detection logic.
|
|
40
64
|
|
|
65
|
+
## Process Flow (Authoritative)
|
|
66
|
+
|
|
67
|
+
```mermaid
|
|
68
|
+
flowchart TD
|
|
69
|
+
A[Intent Detection] --> B{Has plan path?}
|
|
70
|
+
B -->|Yes| F[Load Plan]
|
|
71
|
+
B -->|No| C{Mode?}
|
|
72
|
+
C -->|fast| D[Scout → Plan → Code]
|
|
73
|
+
C -->|interactive/auto| E[Research → Review → Plan]
|
|
74
|
+
E --> F
|
|
75
|
+
D --> F
|
|
76
|
+
F --> G[Review Gate]
|
|
77
|
+
G -->|approved| H[Implement]
|
|
78
|
+
G -->|rejected| E
|
|
79
|
+
H --> I[Review Gate]
|
|
80
|
+
I -->|approved| J{--no-test?}
|
|
81
|
+
J -->|No| K[Test]
|
|
82
|
+
J -->|Yes| L[Finalize]
|
|
83
|
+
K --> L
|
|
84
|
+
L --> M[Report + Journal]
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**This diagram is the authoritative workflow.** Prose sections below provide detail for each node. If prose conflicts with this flow, follow the diagram.
|
|
88
|
+
|
|
41
89
|
## Workflow Overview
|
|
42
90
|
|
|
43
91
|
```
|
|
@@ -46,15 +94,16 @@ See `references/intent-detection.md` for detection logic.
|
|
|
46
94
|
|
|
47
95
|
**Default (non-auto):** Stops at `[Review]` gates for human approval before each major step.
|
|
48
96
|
**Auto mode (`--auto`):** Skips human review gates, implements all phases continuously.
|
|
97
|
+
**Tasks:** Utilize `TaskCreate`, `TaskUpdate`, `TaskGet`, `TaskList` during implementation step. **Fallback:** These are CLI-only tools — unavailable in VSCode extension. If they error, use `TodoWrite` for progress tracking instead.
|
|
49
98
|
|
|
50
99
|
| Mode | Research | Testing | Review Gates | Phase Progression |
|
|
51
100
|
|------|----------|---------|--------------|-------------------|
|
|
52
101
|
| interactive | ✓ | ✓ | **User approval at each step** | One at a time |
|
|
53
102
|
| auto | ✓ | ✓ | Auto if score≥9.5 | All at once (no stops) |
|
|
54
|
-
| fast | ✗ | ✓ | User approval at each step | One at a time |
|
|
55
|
-
| parallel | Optional | ✓ | User approval at each step | Parallel groups |
|
|
56
|
-
| no-test | ✓ | ✗ | User approval at each step | One at a time |
|
|
57
|
-
| code | ✗ | ✓ | User approval at each step | Per plan |
|
|
103
|
+
| fast | ✗ | ✓ | **User approval at each step** | One at a time |
|
|
104
|
+
| parallel | Optional | ✓ | **User approval at each step** | Parallel groups |
|
|
105
|
+
| no-test | ✓ | ✗ | **User approval at each step** | One at a time |
|
|
106
|
+
| code | ✗ | ✓ | **User approval at each step** | Per plan |
|
|
58
107
|
|
|
59
108
|
## Step Output Format
|
|
60
109
|
|
|
@@ -73,55 +122,34 @@ Human review required at these checkpoints (skipped with `--auto`):
|
|
|
73
122
|
**Always enforced (all modes):**
|
|
74
123
|
- **Testing:** 100% pass required (unless no-test mode)
|
|
75
124
|
- **Code Review:** User approval OR auto-approve (score≥9.5, 0 critical)
|
|
76
|
-
- **Finalize
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
|
86
|
-
|
|
87
|
-
|
|
|
88
|
-
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
Update each item as completed. This replaces task management tooling with simple markdown tracking visible in the plan.
|
|
102
|
-
|
|
103
|
-
## CRITICAL ENFORCEMENT
|
|
104
|
-
|
|
105
|
-
**Steps 4 (Testing), 5 (Code Review), and 6 (Finalize) MUST delegate to agents. DO NOT implement testing, review, or finalization yourself.**
|
|
106
|
-
|
|
107
|
-
- Step 4: Always delegate to `tester` agent. If failures, delegate to `debugger` agent, then re-delegate to `tester`.
|
|
108
|
-
- Step 5: Always delegate to `code-reviewer` agent. Never self-review.
|
|
109
|
-
- Step 6: Always delegate to `docs-manager` agent for doc updates.
|
|
110
|
-
|
|
111
|
-
## Finalize Step (MANDATORY)
|
|
112
|
-
|
|
113
|
-
Step 6 is not optional. All four actions MUST complete:
|
|
114
|
-
|
|
115
|
-
1. Update plan/phase status to completed in plan files
|
|
116
|
-
2. Delegate to `docs-manager` agent → review and update `./docs` if implementation changed APIs, architecture, or behavior
|
|
117
|
-
3. Mark all todo checklist items complete in the active plan
|
|
118
|
-
4. Ask the user: "Would you like to commit these changes via `git-manager` agent?"
|
|
119
|
-
|
|
120
|
-
**Never skip finalize**, even in fast or auto mode.
|
|
125
|
+
- **Finalize (MANDATORY - never skip):**
|
|
126
|
+
1. `project-manager` subagent → run full plan sync-back (all completed tasks/steps across all `phase-XX-*.md`, not only current phase), then update `plan.md` status/progress
|
|
127
|
+
2. `docs-manager` subagent → update `./docs` if changes warrant
|
|
128
|
+
3. `TaskUpdate` → mark all Tasks complete after sync-back verification (skip if Task tools unavailable)
|
|
129
|
+
4. Ask user if they want to commit via `git-manager` subagent
|
|
130
|
+
5. Run `/ck-journal` to write a concise technical journal entry upon completion
|
|
131
|
+
|
|
132
|
+
## Required Subagents (MANDATORY)
|
|
133
|
+
|
|
134
|
+
| Phase | Subagent | Requirement |
|
|
135
|
+
|-------|----------|-------------|
|
|
136
|
+
| Research | `researcher` | Optional in fast/code |
|
|
137
|
+
| Scout | `scout` | Optional in code |
|
|
138
|
+
| Plan | `planner` | Optional in code |
|
|
139
|
+
| UI Work | `ui-ux-designer` | If frontend work |
|
|
140
|
+
| Testing | `tester`, `debugger` | **MUST** spawn |
|
|
141
|
+
| Review | `code-reviewer` | **MUST** spawn |
|
|
142
|
+
| Finalize | `project-manager`, `docs-manager`, `git-manager` | **MUST** spawn all 3 |
|
|
143
|
+
|
|
144
|
+
**CRITICAL ENFORCEMENT:**
|
|
145
|
+
- Steps 4, 5, 6 **MUST** use Task tool to spawn subagents
|
|
146
|
+
- DO NOT implement testing, review, or finalization yourself - DELEGATE
|
|
147
|
+
- If workflow ends with 0 Task tool calls, it is INCOMPLETE
|
|
148
|
+
- Pattern: `Task(subagent_type="[type]", prompt="[task]", description="[brief]")`
|
|
121
149
|
|
|
122
150
|
## References
|
|
123
151
|
|
|
124
152
|
- `references/intent-detection.md` - Detection rules and routing logic
|
|
125
153
|
- `references/workflow-steps.md` - Detailed step definitions for all modes
|
|
126
154
|
- `references/review-cycle.md` - Interactive and auto review processes
|
|
127
|
-
- `references/
|
|
155
|
+
- `references/subagent-patterns.md` - Subagent invocation patterns
|
|
@@ -67,25 +67,25 @@ Detect multiple features from natural language:
|
|
|
67
67
|
## Examples
|
|
68
68
|
|
|
69
69
|
```
|
|
70
|
-
"/cook implement user auth"
|
|
70
|
+
"/ck-cook implement user auth"
|
|
71
71
|
→ Mode: interactive (default, stops at review gates)
|
|
72
72
|
|
|
73
|
-
"/cook plans/260120-auth/phase-02-api.md"
|
|
73
|
+
"/ck-cook plans/260120-auth/phase-02-api.md"
|
|
74
74
|
→ Mode: code (path detected, stops at review gates)
|
|
75
75
|
|
|
76
|
-
"/cook quick fix for the login bug"
|
|
76
|
+
"/ck-cook quick fix for the login bug"
|
|
77
77
|
→ Mode: fast ("quick" keyword, stops at review gates)
|
|
78
78
|
|
|
79
|
-
"/cook implement auth, payments, notifications, shipping"
|
|
79
|
+
"/ck-cook implement auth, payments, notifications, shipping"
|
|
80
80
|
→ Mode: parallel (4 features, stops at review gates)
|
|
81
81
|
|
|
82
|
-
"/cook implement dashboard --fast"
|
|
82
|
+
"/ck-cook implement dashboard --fast"
|
|
83
83
|
→ Mode: fast (explicit flag, stops at review gates)
|
|
84
84
|
|
|
85
|
-
"/cook implement everything --auto"
|
|
85
|
+
"/ck-cook implement everything --auto"
|
|
86
86
|
→ Mode: auto (NO STOPS, implements all phases continuously)
|
|
87
87
|
|
|
88
|
-
"/cook implement dashboard trust me"
|
|
88
|
+
"/ck-cook implement dashboard trust me"
|
|
89
89
|
→ Mode: auto ("trust me" keyword, NO STOPS)
|
|
90
90
|
```
|
|
91
91
|
|
|
@@ -24,7 +24,7 @@ LOOP:
|
|
|
24
24
|
│ - [suggestion] │
|
|
25
25
|
└─────────────────────────────────────────┘
|
|
26
26
|
|
|
27
|
-
3.
|
|
27
|
+
3. asking the user (header: "Review & Approve"):
|
|
28
28
|
IF critical_count > 0:
|
|
29
29
|
- "Fix critical issues" → fix, re-run tester, cycle++, LOOP
|
|
30
30
|
- "Fix all issues" → fix all, re-run tester, cycle++, LOOP
|
|
@@ -37,7 +37,7 @@ LOOP:
|
|
|
37
37
|
|
|
38
38
|
4. IF cycle >= 3 AND user selects fix:
|
|
39
39
|
→ "⚠ 3 review cycles completed. Final decision required."
|
|
40
|
-
→
|
|
40
|
+
→ asking the user: "Approve with noted issues" / "Abort workflow"
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
## Auto-Handling Cycle (for auto modes)
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Subagent Patterns
|
|
2
|
+
|
|
3
|
+
Standard patterns for spawning and using subagents in cook workflows.
|
|
4
|
+
|
|
5
|
+
## Task Tool Pattern
|
|
6
|
+
```
|
|
7
|
+
Task(subagent_type="[type]", prompt="[task description]", description="[brief]")
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Research Phase
|
|
11
|
+
```
|
|
12
|
+
Task(subagent_type="researcher", prompt="Research [topic]. Report ≤150 lines.", description="Research [topic]")
|
|
13
|
+
```
|
|
14
|
+
- Use multiple researchers in parallel for different topics
|
|
15
|
+
- Keep reports ≤150 lines with citations
|
|
16
|
+
|
|
17
|
+
## Scout Phase
|
|
18
|
+
```
|
|
19
|
+
Task(subagent_type="scout", prompt="Find files related to [feature] in codebase", description="Scout [feature]")
|
|
20
|
+
```
|
|
21
|
+
- Use `/ck-scout ext` (preferred) or `/ck-scout` (fallback)
|
|
22
|
+
|
|
23
|
+
## Planning Phase
|
|
24
|
+
```
|
|
25
|
+
Task(subagent_type="planner", prompt="Create implementation plan based on reports: [reports]. Save to [path]", description="Plan [feature]")
|
|
26
|
+
```
|
|
27
|
+
- Input: researcher and scout reports
|
|
28
|
+
- Output: `plan.md` + `phase-XX-*.md` files
|
|
29
|
+
|
|
30
|
+
## UI Implementation
|
|
31
|
+
```
|
|
32
|
+
Task(subagent_type="ui-ux-designer", prompt="Implement [feature] UI per ./docs/design-guidelines.md", description="UI [feature]")
|
|
33
|
+
```
|
|
34
|
+
- For frontend work
|
|
35
|
+
- Follow design guidelines
|
|
36
|
+
|
|
37
|
+
## Testing
|
|
38
|
+
```
|
|
39
|
+
Task(subagent_type="tester", prompt="Run test suite for plan phase [phase-name]", description="Test [phase]")
|
|
40
|
+
```
|
|
41
|
+
- Must achieve 100% pass rate
|
|
42
|
+
|
|
43
|
+
## Debugging
|
|
44
|
+
```
|
|
45
|
+
Task(subagent_type="debugger", prompt="Analyze failures: [details]", description="Debug [issue]")
|
|
46
|
+
```
|
|
47
|
+
- Use when tests fail
|
|
48
|
+
- Provides root cause analysis
|
|
49
|
+
|
|
50
|
+
## Code Review
|
|
51
|
+
```
|
|
52
|
+
Task(subagent_type="code-reviewer", prompt="Review changes for [phase]. Check security, performance, YAGNI/KISS/DRY. Return score (X/10), critical, warnings, suggestions.", description="Review [phase]")
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Project Management
|
|
56
|
+
```
|
|
57
|
+
Task(subagent_type="project-manager", prompt="Run full sync-back in [plan-path]: reconcile completed tasks with all phase files, backfill stale completed checkboxes across all phases, update plan.md status/progress, and report unresolved mappings.", description="Update plan")
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Documentation
|
|
61
|
+
```
|
|
62
|
+
Task(subagent_type="docs-manager", prompt="Update docs for [phase]. Changed files: [list]", description="Update docs")
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Git Operations
|
|
66
|
+
```
|
|
67
|
+
Task(subagent_type="git-manager", prompt="Stage and commit changes with conventional commit message", description="Commit changes")
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Parallel Execution
|
|
71
|
+
```
|
|
72
|
+
Task(subagent_type="fullstack-developer", prompt="Implement [phase-file] with file ownership: [files]", description="Implement phase [N]")
|
|
73
|
+
```
|
|
74
|
+
- Launch multiple for parallel phases
|
|
75
|
+
- Include file ownership boundaries
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All modes share core steps with mode-specific variations.
|
|
4
4
|
|
|
5
|
+
**Task Tool Fallback:** `TaskCreate`/`TaskUpdate`/`TaskGet`/`TaskList` are CLI-only — unavailable in VSCode extension. If they error, use `TodoWrite` for progress tracking. All workflow steps remain functional without Task tools.
|
|
6
|
+
|
|
5
7
|
## Step 0: Intent Detection & Setup
|
|
6
8
|
|
|
7
9
|
1. Parse input with `intent-detection.md` rules
|
|
8
10
|
2. Log detected mode: `✓ Step 0: Mode [X] - [reason]`
|
|
9
11
|
3. If mode=code: detect plan path, set active plan
|
|
10
|
-
4. Use TaskCreate to create workflow step tasks (with dependencies if complex)
|
|
12
|
+
4. Use `TaskCreate` to create workflow step tasks (with dependencies if complex)
|
|
11
13
|
|
|
12
14
|
**Output:** `✓ Step 0: Mode [interactive|auto|fast|parallel|no-test|code] - [detection reason]`
|
|
13
15
|
|
|
@@ -15,7 +17,7 @@ All modes share core steps with mode-specific variations.
|
|
|
15
17
|
|
|
16
18
|
**Interactive/Auto:**
|
|
17
19
|
- Spawn multiple `researcher` agents in parallel
|
|
18
|
-
- Use `/scout
|
|
20
|
+
- Use `/ck-scout ext` or `scout` agent for codebase search
|
|
19
21
|
- Keep reports ≤150 lines
|
|
20
22
|
|
|
21
23
|
**Parallel:**
|
|
@@ -25,7 +27,7 @@ All modes share core steps with mode-specific variations.
|
|
|
25
27
|
|
|
26
28
|
### [Review Gate 1] Post-Research (skip if auto mode)
|
|
27
29
|
- Present research summary to user
|
|
28
|
-
-
|
|
30
|
+
- Use asking the user to ask: "Proceed to planning?" / "Request more research" / "Abort"
|
|
29
31
|
- **Auto mode:** Skip this gate
|
|
30
32
|
|
|
31
33
|
## Step 2: Planning
|
|
@@ -35,11 +37,11 @@ All modes share core steps with mode-specific variations.
|
|
|
35
37
|
- Create `plan.md` + `phase-XX-*.md` files
|
|
36
38
|
|
|
37
39
|
**Fast:**
|
|
38
|
-
- Use `/plan
|
|
40
|
+
- Use `/ck-plan --fast` with scout results only
|
|
39
41
|
- Minimal planning, focus on action
|
|
40
42
|
|
|
41
43
|
**Parallel:**
|
|
42
|
-
- Use `/plan
|
|
44
|
+
- Use `/ck-plan --parallel` for dependency graph + file ownership matrix
|
|
43
45
|
|
|
44
46
|
**Code:**
|
|
45
47
|
- Skip - plan already exists
|
|
@@ -49,19 +51,32 @@ All modes share core steps with mode-specific variations.
|
|
|
49
51
|
|
|
50
52
|
### [Review Gate 2] Post-Plan (skip if auto mode)
|
|
51
53
|
- Present plan overview with phases
|
|
52
|
-
-
|
|
54
|
+
- Use asking the user to ask: "Validate the plan or approve plan to start implementation?" - "Validate" / "Approve" / "Abort" / "Other" ("Request revisions")
|
|
55
|
+
- "Validate": run `/ck-plan validate` skill invocation
|
|
56
|
+
- "Approve": continue to implementation
|
|
57
|
+
- "Abort": stop the workflow
|
|
58
|
+
- "Other": revise the plan based on user's feedback
|
|
53
59
|
- **Auto mode:** Skip this gate
|
|
54
60
|
|
|
55
61
|
## Step 3: Implementation
|
|
56
62
|
|
|
63
|
+
**IMPORTANT:**
|
|
64
|
+
1. `TaskList` first — check for existing tasks (hydrated by planning skill in same session)
|
|
65
|
+
2. If tasks exist → pick them up, skip re-creation
|
|
66
|
+
3. If no tasks → read plan phases, `TaskCreate` for each unchecked `[ ]` item with priority order and metadata (`phase`, `planDir`, `phaseFile`)
|
|
67
|
+
4. Tasks can be blocked by other tasks via `addBlockedBy`
|
|
68
|
+
|
|
57
69
|
**All modes:**
|
|
70
|
+
- Use `TaskUpdate` to mark tasks as `in_progress` immediately.
|
|
58
71
|
- Execute phase tasks sequentially (Step 3.1, 3.2, etc.)
|
|
59
72
|
- Use `ui-ux-designer` for frontend
|
|
60
|
-
- Use
|
|
73
|
+
- Use `ai-multimodal` (if available) for image assets
|
|
61
74
|
- Run type checking after each file
|
|
62
75
|
|
|
63
76
|
**Parallel mode:**
|
|
77
|
+
- Utilize all tools of Tasks: `TaskCreate`, `TaskUpdate`, `TaskGet` and `TaskList`
|
|
64
78
|
- Launch multiple `fullstack-developer` agents
|
|
79
|
+
- When agents pick up a task, use `TaskUpdate` to assign task to agent and mark tasks as `in_progress` immediately.
|
|
65
80
|
- Respect file ownership boundaries
|
|
66
81
|
- Wait for parallel group before next
|
|
67
82
|
|
|
@@ -69,28 +84,31 @@ All modes share core steps with mode-specific variations.
|
|
|
69
84
|
|
|
70
85
|
### [Review Gate 3] Post-Implementation (skip if auto mode)
|
|
71
86
|
- Present implementation summary (files changed, key changes)
|
|
72
|
-
-
|
|
87
|
+
- Use asking the user to ask: "Proceed to testing?" / "Request implementation changes" / "Abort"
|
|
73
88
|
- **Auto mode:** Skip this gate
|
|
74
89
|
|
|
75
90
|
## Step 4: Testing (skip if no-test mode)
|
|
76
91
|
|
|
77
92
|
**All modes (except no-test):**
|
|
78
93
|
- Write tests: happy path, edge cases, errors
|
|
79
|
-
-
|
|
80
|
-
- If failures: `debugger` → fix → repeat
|
|
81
|
-
- **Forbidden:** fake mocks, commented tests, changed assertions
|
|
94
|
+
- **MUST** spawn `tester` subagent: `Task(subagent_type="tester", prompt="Run test suite", description="Run tests")`
|
|
95
|
+
- If failures: **MUST** spawn `debugger` subagent → fix → repeat
|
|
96
|
+
- **Forbidden:** fake mocks, commented tests, changed assertions, skipping subagent delegation
|
|
82
97
|
|
|
83
|
-
**Output:** `✓ Step 4: Tests [X/X passed]`
|
|
98
|
+
**Output:** `✓ Step 4: Tests [X/X passed] - tester subagent invoked`
|
|
84
99
|
|
|
85
100
|
### [Review Gate 4] Post-Testing (skip if auto mode)
|
|
86
101
|
- Present test results summary
|
|
87
|
-
-
|
|
102
|
+
- Use asking the user to ask: "Proceed to code review?" / "Request test fixes" / "Abort"
|
|
88
103
|
- **Auto mode:** Skip this gate
|
|
89
104
|
|
|
90
105
|
## Step 5: Code Review
|
|
91
106
|
|
|
107
|
+
**All modes - MANDATORY subagent:**
|
|
108
|
+
- **MUST** spawn `code-reviewer` subagent: `Task(subagent_type="code-reviewer", prompt="Review changes. Return score, critical issues, warnings.", description="Code review")`
|
|
109
|
+
- **DO NOT** review code yourself - delegate to subagent
|
|
110
|
+
|
|
92
111
|
**Interactive/Parallel/Code/No-test:**
|
|
93
|
-
- Use `code-reviewer` agent
|
|
94
112
|
- Interactive cycle (max 3): see `review-cycle.md`
|
|
95
113
|
- Requires user approval
|
|
96
114
|
|
|
@@ -103,19 +121,47 @@ All modes share core steps with mode-specific variations.
|
|
|
103
121
|
- Simplified review, no fix loop
|
|
104
122
|
- User approves or aborts
|
|
105
123
|
|
|
106
|
-
**Output:** `✓ Step 5: Review [score]/10 - [Approved|Auto-approved]`
|
|
124
|
+
**Output:** `✓ Step 5: Review [score]/10 - [Approved|Auto-approved] - code-reviewer subagent invoked`
|
|
107
125
|
|
|
108
126
|
## Step 6: Finalize
|
|
109
127
|
|
|
110
|
-
**All modes:**
|
|
111
|
-
1.
|
|
112
|
-
|
|
113
|
-
|
|
128
|
+
**All modes - MANDATORY subagents (NON-NEGOTIABLE):**
|
|
129
|
+
1. **MUST** spawn these subagents in parallel:
|
|
130
|
+
- `Task(subagent_type="project-manager", prompt="Run full sync-back for [plan-path]: reconcile all completed Tasks with all phase files, backfill stale completed checkboxes across every phase, then update plan.md frontmatter/table progress. Do NOT only mark current phase.", description="Update plan")`
|
|
131
|
+
- `Task(subagent_type="docs-manager", prompt="Update docs for changes.", description="Update docs")`
|
|
132
|
+
2. Project-manager sync-back MUST include:
|
|
133
|
+
|
|
134
|
+
### Status Sync (Finalize)
|
|
135
|
+
|
|
136
|
+
Use CLI commands for deterministic status updates:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# Mark completed phases
|
|
140
|
+
ck plan check <phase-id>
|
|
141
|
+
|
|
142
|
+
# Mark in-progress phases
|
|
143
|
+
ck plan check <phase-id> --start
|
|
144
|
+
|
|
145
|
+
# Revert if needed
|
|
146
|
+
ck plan uncheck <phase-id>
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
**Fallback:** If `ck` is not available, edit plan.md directly —
|
|
150
|
+
only change the Status column cell, preserve table structure.
|
|
151
|
+
- Sweep all `phase-XX-*.md` files in the plan directory.
|
|
152
|
+
- Mark every completed item `[ ] → [x]` based on completed tasks (including earlier phases finished before current phase).
|
|
153
|
+
- Update `plan.md` status/progress (`pending`/`in-progress`/`completed`) from actual checkbox state.
|
|
154
|
+
- Return unresolved mappings if any completed task cannot be matched to a phase file.
|
|
155
|
+
3. Use `TaskUpdate` to mark Tasks complete after sync-back confirmation.
|
|
156
|
+
4. Onboarding check (API keys, env vars)
|
|
157
|
+
5. **MUST** spawn git subagent: `Task(subagent_type="git-manager", prompt="Stage and commit changes", description="Commit")`
|
|
158
|
+
|
|
159
|
+
**CRITICAL:** Step 6 is INCOMPLETE without spawning all 3 subagents. DO NOT skip subagent delegation.
|
|
114
160
|
|
|
115
|
-
**Auto mode:** Continue to next phase automatically
|
|
161
|
+
**Auto mode:** Continue to next phase automatically, start from **Step 3**.
|
|
116
162
|
**Others:** Ask user before next phase
|
|
117
163
|
|
|
118
|
-
**Output:** `✓ Step 6: Finalized -
|
|
164
|
+
**Output:** `✓ Step 6: Finalized - 3 subagents invoked - Full-plan sync-back completed - Committed`
|
|
119
165
|
|
|
120
166
|
## Mode-Specific Flow Summary
|
|
121
167
|
|
|
@@ -135,6 +181,12 @@ code: 0 → skip → skip → 3 → [R] → 4 → [R] → 5(user) → 6
|
|
|
135
181
|
## Critical Rules
|
|
136
182
|
|
|
137
183
|
- Never skip steps without mode justification
|
|
138
|
-
-
|
|
139
|
-
-
|
|
184
|
+
- **MANDATORY SUBAGENT DELEGATION:** Steps 4, 5, 6 MUST spawn subagents via Task tool. DO NOT implement directly.
|
|
185
|
+
- Step 4: `tester` (and `debugger` if failures)
|
|
186
|
+
- Step 5: `code-reviewer`
|
|
187
|
+
- Step 6: `project-manager`, `docs-manager`, `git-manager`
|
|
188
|
+
- Use `TaskCreate` to create Tasks for each unchecked item with priority order and dependencies (or `TodoWrite` if Task tools unavailable).
|
|
189
|
+
- Use `TaskUpdate` to mark Tasks `in_progress` when picking up a task (skip if Task tools unavailable).
|
|
190
|
+
- Use `TaskUpdate` to mark Tasks `complete` immediately after finalizing the task (skip if Task tools unavailable).
|
|
140
191
|
- All step outputs follow format: `✓ Step [N]: [status] - [metrics]`
|
|
192
|
+
- **VALIDATION:** If Task tool calls = 0 at end of workflow, the workflow is INCOMPLETE.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: databases
|
|
3
|
-
description: Design schemas, write queries for MongoDB
|
|
3
|
+
description: Design schemas, write queries for MongoDB and PostgreSQL. Use for database design, SQL/NoSQL queries, aggregation pipelines, indexes, migrations, replication, performance optimization, psql CLI.
|
|
4
|
+
license: MIT
|
|
5
|
+
argument-hint: "[query or schema task]"
|
|
4
6
|
---
|
|
5
7
|
|
|
6
8
|
# Databases Skill
|
|
@@ -74,38 +76,9 @@ python scripts/db_performance_check.py --db mongodb --threshold 100ms
|
|
|
74
76
|
- Regular VACUUM and ANALYZE maintenance
|
|
75
77
|
- Connection pooling (pgBouncer) for web apps
|
|
76
78
|
|
|
77
|
-
## .NET / Entity Framework Core
|
|
78
|
-
|
|
79
|
-
For .NET projects, use Entity Framework Core with PostgreSQL or SQL Server:
|
|
80
|
-
|
|
81
|
-
```csharp
|
|
82
|
-
// DbContext configuration
|
|
83
|
-
public class AppDbContext : DbContext
|
|
84
|
-
{
|
|
85
|
-
public DbSet<User> Users => Set<User>();
|
|
86
|
-
public DbSet<Post> Posts => Set<Post>();
|
|
87
|
-
|
|
88
|
-
protected override void OnConfiguring(DbContextOptionsBuilder options)
|
|
89
|
-
=> options.UseNpgsql("Host=localhost;Database=mydb;Username=user;Password=pass");
|
|
90
|
-
// Or: options.UseSqlServer(connectionString);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Migrations
|
|
94
|
-
// dotnet ef migrations add InitialCreate
|
|
95
|
-
// dotnet ef database update
|
|
96
|
-
|
|
97
|
-
// Query with LINQ
|
|
98
|
-
var activeUsers = await _context.Users
|
|
99
|
-
.Where(u => u.IsActive)
|
|
100
|
-
.Include(u => u.Posts)
|
|
101
|
-
.ToListAsync();
|
|
102
|
-
```
|
|
103
|
-
|
|
104
79
|
## Resources
|
|
105
80
|
|
|
106
81
|
- MongoDB: https://www.mongodb.com/docs/
|
|
107
82
|
- PostgreSQL: https://www.postgresql.org/docs/
|
|
108
|
-
- SQL Server: https://learn.microsoft.com/sql/
|
|
109
|
-
- Entity Framework Core: https://learn.microsoft.com/ef/core/
|
|
110
83
|
- MongoDB University: https://learn.mongodb.com/
|
|
111
84
|
- PostgreSQL Tutorial: https://www.postgresqltutorial.com/
|
|
@@ -173,7 +173,7 @@ Before delivering final DDL:
|
|
|
173
173
|
## File Structure
|
|
174
174
|
|
|
175
175
|
```
|
|
176
|
-
|
|
176
|
+
skills/databases/
|
|
177
177
|
├── SKILL.md # Skill description (entry + execution process + checklist)
|
|
178
178
|
├── db-design.md # This file
|
|
179
179
|
├── transactional.md # OLTP design rules
|