cokit-cli 1.2.7 → 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 +8 -31
- 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 +8 -10
- package/docs/cokit-slides.md +2 -5
- package/docs/cokit-sync-and-maintenance-guide.md +42 -190
- package/docs/cokit-team-presentation.md +6 -9
- package/docs/copilot-processing-flow.md +3 -3
- package/docs/migration-guide.md +14 -14
- package/docs/project-overview-pdr.md +5 -6
- package/docs/project-roadmap.md +12 -14
- 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 +13 -17
- 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/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
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Reporting Patterns
|
|
2
|
+
|
|
3
|
+
## Report Types
|
|
4
|
+
|
|
5
|
+
### 1. Session Status Report
|
|
6
|
+
|
|
7
|
+
Quick summary of work done in current session.
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
## Session Report: [Date]
|
|
11
|
+
|
|
12
|
+
### Work Completed
|
|
13
|
+
- [x] [Task/feature description]
|
|
14
|
+
- [x] [Task/feature description]
|
|
15
|
+
|
|
16
|
+
### In Progress
|
|
17
|
+
- [ ] [Task description] — [% complete, blocker if any]
|
|
18
|
+
|
|
19
|
+
### Tasks Created
|
|
20
|
+
- [N] tasks hydrated from [plan]
|
|
21
|
+
- [M] completed, [K] remaining
|
|
22
|
+
|
|
23
|
+
### Next Session
|
|
24
|
+
1. [Priority item]
|
|
25
|
+
2. [Follow-up item]
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### 2. Plan Completion Report
|
|
29
|
+
|
|
30
|
+
Comprehensive summary when a plan reaches completion.
|
|
31
|
+
|
|
32
|
+
```markdown
|
|
33
|
+
## Plan Complete: [Plan Name]
|
|
34
|
+
|
|
35
|
+
### Summary
|
|
36
|
+
- **Duration:** [start] → [end]
|
|
37
|
+
- **Phases:** [N] completed
|
|
38
|
+
- **Files changed:** [count]
|
|
39
|
+
- **Tests:** [pass/total]
|
|
40
|
+
|
|
41
|
+
### Achievements
|
|
42
|
+
- [Feature/capability delivered]
|
|
43
|
+
|
|
44
|
+
### Known Limitations
|
|
45
|
+
- [Any caveats or future work needed]
|
|
46
|
+
|
|
47
|
+
### Documentation Updates
|
|
48
|
+
- [Which docs were updated]
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 3. Progress Report (Multi-Plan)
|
|
52
|
+
|
|
53
|
+
Overview across all active plans.
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
## Project Progress: [Date]
|
|
57
|
+
|
|
58
|
+
| Plan | Status | Progress | Priority | Next Action |
|
|
59
|
+
|------|--------|----------|----------|-------------|
|
|
60
|
+
| [name] | [status] | [%] | P[N] | [action] |
|
|
61
|
+
|
|
62
|
+
### Highlights
|
|
63
|
+
- [Key achievement or milestone]
|
|
64
|
+
|
|
65
|
+
### Risks
|
|
66
|
+
- [Risk] — [Mitigation]
|
|
67
|
+
|
|
68
|
+
### Blockers
|
|
69
|
+
- [Blocker] — [Resolution path]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Report Naming
|
|
73
|
+
|
|
74
|
+
Use pattern from `## Naming` section injected by hooks:
|
|
75
|
+
`{reports-path}/pm-{date}-{time}-{slug}.md`
|
|
76
|
+
|
|
77
|
+
Example: `plans/reports/pm-260205-2221-auth-progress.md`
|
|
78
|
+
|
|
79
|
+
## Report Generation Workflow
|
|
80
|
+
|
|
81
|
+
1. `TaskList()` → gather all task statuses
|
|
82
|
+
2. Glob `./plans/*/plan.md` → scan active plans
|
|
83
|
+
3. Read phase files → count checkboxes
|
|
84
|
+
4. Compile metrics into report template
|
|
85
|
+
5. Write to reports directory
|
|
86
|
+
6. Highlight: achievements, blockers, risks, next steps
|
|
87
|
+
|
|
88
|
+
## Concision Rules
|
|
89
|
+
|
|
90
|
+
- Sacrifice grammar for brevity
|
|
91
|
+
- Use tables over paragraphs where possible
|
|
92
|
+
- List unresolved questions at end
|
|
93
|
+
- Metrics > prose (use numbers, percentages)
|
|
94
|
+
- Skip obvious context; focus on actionable insights
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Task Operations Reference
|
|
2
|
+
|
|
3
|
+
Copilot provides 4 native tools for session-scoped task management.
|
|
4
|
+
|
|
5
|
+
**Tool Availability:** `TaskCreate`, `TaskUpdate`, `TaskGet`, `TaskList` are **CLI-only** — disabled in VSCode extension (`isTTY` check). If these tools error, fall back to `TodoWrite` for progress tracking. Plan file sync-back works identically without Task tools.
|
|
6
|
+
|
|
7
|
+
## TaskCreate
|
|
8
|
+
|
|
9
|
+
Create structured tasks with metadata and dependencies.
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
TaskCreate(
|
|
13
|
+
subject: "Implement JWT auth middleware",
|
|
14
|
+
description: "Add JWT validation to API routes. Verify tokens, extract claims, attach to context.",
|
|
15
|
+
activeForm: "Implementing JWT auth middleware",
|
|
16
|
+
metadata: { feature: "auth", phase: 2, priority: "P1", effort: "2h",
|
|
17
|
+
planDir: "plans/260205-auth/", phaseFile: "phase-02-api.md" }
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
**Parameters:**
|
|
22
|
+
- `subject` (required): Imperative title, <60 chars ("Implement X", "Add Y", "Fix Z")
|
|
23
|
+
- `description` (required): Detailed requirements + acceptance criteria
|
|
24
|
+
- `activeForm` (optional): Present-continuous shown in spinner ("Implementing X")
|
|
25
|
+
- `metadata` (optional): Arbitrary key-value pairs for tracking
|
|
26
|
+
|
|
27
|
+
**Required metadata fields:** `phase`, `priority` (P1/P2/P3), `effort`, `planDir`, `phaseFile`
|
|
28
|
+
**Optional metadata:** `step`, `critical`, `riskLevel`, `dependencies`, `feature`, `owner`
|
|
29
|
+
|
|
30
|
+
## TaskUpdate
|
|
31
|
+
|
|
32
|
+
Manage state transitions and dependency chains.
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
TaskUpdate(
|
|
36
|
+
taskId: "task-123",
|
|
37
|
+
status: "in_progress",
|
|
38
|
+
addBlockedBy: ["task-122"]
|
|
39
|
+
)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Status lifecycle:** `pending` → `in_progress` → `completed`
|
|
43
|
+
|
|
44
|
+
**Dependency fields:**
|
|
45
|
+
- `addBlockedBy`: "I cannot start until these tasks complete"
|
|
46
|
+
- `addBlocks`: "These tasks cannot start until I complete"
|
|
47
|
+
- `owner`: Assign to specific agent
|
|
48
|
+
|
|
49
|
+
When a blocking task completes, dependent tasks auto-unblock.
|
|
50
|
+
|
|
51
|
+
## TaskGet & TaskList
|
|
52
|
+
|
|
53
|
+
- `TaskGet(taskId)` → Full task details including dependencies
|
|
54
|
+
- `TaskList()` → All tasks with status, owner, blockedBy
|
|
55
|
+
|
|
56
|
+
**Task is "available" when:** status=`pending`, no owner, blockedBy list empty.
|
|
57
|
+
|
|
58
|
+
## Dependency Patterns
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
Phase 1 (no blockers) ← start here
|
|
62
|
+
Phase 2 (addBlockedBy: [P1-id]) ← auto-unblocked when P1 completes
|
|
63
|
+
Phase 3 (addBlockedBy: [P2-id])
|
|
64
|
+
Step 3.4 (addBlockedBy: [P2-id]) ← critical steps share phase dependency
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## When to Use Tasks
|
|
68
|
+
|
|
69
|
+
| Scenario | Tasks? | Why |
|
|
70
|
+
|----------|--------|-----|
|
|
71
|
+
| Multi-phase feature (3+) | Yes | Track progress, enable parallel |
|
|
72
|
+
| Complex dependencies | Yes | Automatic unblocking |
|
|
73
|
+
| Parallel agent work | Yes | Shared progress tracking |
|
|
74
|
+
| Single-phase quick fix | No | Overhead exceeds benefit |
|
|
75
|
+
| <3 related steps | No | Just do them directly |
|
|
76
|
+
|
|
77
|
+
**3-Task Rule:** <3 tasks → skip creation, overhead not worth it.
|
|
78
|
+
|
|
79
|
+
## Parallel Agent Coordination
|
|
80
|
+
|
|
81
|
+
1. Create tasks with scoped ownership per agent
|
|
82
|
+
2. Each agent works in designated directories only
|
|
83
|
+
3. When Agent A completes a task → `TaskUpdate(status: "completed")`
|
|
84
|
+
4. Tasks blocked by completed work auto-unblock
|
|
85
|
+
5. Agent B (or A) claims newly available work
|
|
86
|
+
|
|
87
|
+
**Key:** Assign `owner` field to prevent agents from claiming same task.
|
package/skills/repomix/SKILL.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: repomix
|
|
3
3
|
description: Pack repositories into AI-friendly files with Repomix (XML, Markdown, plain text). Use for codebase snapshots, LLM context preparation, security audits, third-party library analysis.
|
|
4
|
+
argument-hint: "[path] [--style xml|markdown|plain|json]"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Repomix Skill
|
|
7
8
|
|
|
8
|
-
Repomix packs entire repositories into single, AI-friendly files. Perfect for feeding codebases to LLMs like
|
|
9
|
+
Repomix packs entire repositories into single, AI-friendly files. Perfect for feeding codebases to LLMs like Copilot, ChatGPT, and Gemini.
|
|
9
10
|
|
|
10
11
|
## When to Use
|
|
11
12
|
|
|
@@ -153,7 +154,7 @@ repomix --init # creates repomix.config.json
|
|
|
153
154
|
Repomix automatically counts tokens for individual files, total repository, and per-format output.
|
|
154
155
|
|
|
155
156
|
Typical LLM context limits:
|
|
156
|
-
-
|
|
157
|
+
- Copilot: ~200K tokens
|
|
157
158
|
- GPT-4: ~128K tokens
|
|
158
159
|
- GPT-3.5: ~16K tokens
|
|
159
160
|
|
|
@@ -144,9 +144,9 @@ repomix --include "$(cat staged-files.txt | tr '\n' ',')" -o .context/latest.xml
|
|
|
144
144
|
{"version": "2.0.0", "tasks": [{"label": "Package for AI", "type": "shell", "command": "repomix --include 'src/**' --remove-comments --copy"}]}
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
-
###
|
|
147
|
+
### Copilot
|
|
148
148
|
```bash
|
|
149
|
-
repomix --style markdown --copy # Then paste into
|
|
149
|
+
repomix --style markdown --copy # Then paste into Copilot chat
|
|
150
150
|
```
|
|
151
151
|
|
|
152
152
|
## Language-Specific Patterns
|
|
@@ -88,7 +88,7 @@ Loads .env files in order of precedence:
|
|
|
88
88
|
1. Process environment (highest priority)
|
|
89
89
|
2. `./repomix/.env` (skill-specific)
|
|
90
90
|
3. `./skills/.env` (skills directory)
|
|
91
|
-
4.
|
|
91
|
+
4. `project .env` (lowest priority)
|
|
92
92
|
|
|
93
93
|
### Command Line Options
|
|
94
94
|
|
|
@@ -36,7 +36,7 @@ class EnvLoader:
|
|
|
36
36
|
"""
|
|
37
37
|
Load environment variables from .env files in order of precedence.
|
|
38
38
|
|
|
39
|
-
Order: process.env > skill/.env > skills/.env > .
|
|
39
|
+
Order: process.env > skill/.env > skills/.env > project .env
|
|
40
40
|
|
|
41
41
|
Returns:
|
|
42
42
|
Dictionary of environment variables
|
|
@@ -46,7 +46,7 @@ class EnvLoader:
|
|
|
46
46
|
|
|
47
47
|
# Define search paths in reverse order (lowest to highest priority)
|
|
48
48
|
search_paths = [
|
|
49
|
-
script_dir.parent.parent.parent / ".env", # .
|
|
49
|
+
script_dir.parent.parent.parent / ".env", # project .env
|
|
50
50
|
script_dir.parent.parent / ".env", # skills/.env
|
|
51
51
|
script_dir.parent / ".env", # skill/.env (repomix/.env)
|
|
52
52
|
]
|
package/skills/research/SKILL.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: research
|
|
3
|
-
description: Research technical solutions, analyze architectures, gather requirements thoroughly. Use for technology evaluation, best practices research, solution design, scalability/security/maintainability analysis.
|
|
3
|
+
description: "Research technical solutions, analyze architectures, gather requirements thoroughly. Use for technology evaluation, best practices research, solution design, scalability/security/maintainability analysis."
|
|
4
|
+
license: MIT
|
|
5
|
+
argument-hint: "[topic]"
|
|
4
6
|
---
|
|
5
7
|
|
|
6
8
|
# Research
|
|
@@ -23,8 +25,8 @@ First, you will clearly define the research scope by:
|
|
|
23
25
|
You will employ a multi-source research strategy:
|
|
24
26
|
|
|
25
27
|
1. **Search Strategy**:
|
|
26
|
-
- **Gemini Toggle**: Check
|
|
27
|
-
- **Gemini Model**: Read from
|
|
28
|
+
- **Gemini Toggle**: Check `.ck.json` (or `.ck.json`) for `skills.research.useGemini` (default: `true`). If `false`, skip Gemini and use WebSearch.
|
|
29
|
+
- **Gemini Model**: Read from `.ck.json`: `gemini.model` (default: `gemini-3-flash-preview`)
|
|
28
30
|
- If `useGemini` is enabled and `gemini` bash command is available, execute `gemini -y -m <gemini.model> "...your search prompt..."` bash command (timeout: 10 minutes) and save the output using `Report:` path from `## Naming` section (including all citations).
|
|
29
31
|
- If `useGemini` is disabled or `gemini` bash command is not available, use `WebSearch` tool.
|
|
30
32
|
- Run multiple `gemini` bash commands or `WebSearch` tools in parallel to search for relevant information.
|
|
@@ -154,6 +156,7 @@ You will ensure all research meets these criteria:
|
|
|
154
156
|
- Always note deprecation warnings and migration paths for older technologies
|
|
155
157
|
|
|
156
158
|
## Output Requirements
|
|
159
|
+
**IMPORTANT:** Invoke "/ck-project-organization" skill to organize the outputs.
|
|
157
160
|
|
|
158
161
|
Your final report must:
|
|
159
162
|
1. Be saved using the `Report:` path from `## Naming` section with a descriptive filename
|
|
@@ -166,4 +169,4 @@ Your final report must:
|
|
|
166
169
|
**IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
|
|
167
170
|
**IMPORTANT:** In reports, list any unresolved questions at the end, if any.
|
|
168
171
|
|
|
169
|
-
**Remember:** You are not just collecting information, but providing strategic technical intelligence that enables informed decision-making. Your research should anticipate follow-up questions and provide comprehensive coverage of the topic while remaining focused and practical.
|
|
172
|
+
**Remember:** You are not just collecting information, but providing strategic technical intelligence that enables informed decision-making. Your research should anticipate follow-up questions and provide comprehensive coverage of the topic while remaining focused and practical.
|
package/skills/scout/SKILL.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: scout
|
|
3
|
-
description: Fast codebase scouting using parallel agents. Use for file discovery, task context gathering, quick searches across directories. Supports internal and external
|
|
3
|
+
description: "Fast codebase scouting using parallel agents. Use for file discovery, task context gathering, quick searches across directories. Supports internal (Explore) and external (Gemini/OpenCode) agents."
|
|
4
|
+
argument-hint: "[search-target] [ext]"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Scout
|
|
@@ -8,7 +9,7 @@ description: Fast codebase scouting using parallel agents. Use for file discover
|
|
|
8
9
|
Fast, token-efficient codebase scouting using parallel agents to find files needed for tasks.
|
|
9
10
|
|
|
10
11
|
## Arguments
|
|
11
|
-
- Default: Scout using built-in
|
|
12
|
+
- Default: Scout using built-in Explore subagents in parallel (`./references/internal-scouting.md`)
|
|
12
13
|
- `ext`: Scout using external Gemini/OpenCode CLI tools in parallel (`./references/external-scouting.md`)
|
|
13
14
|
|
|
14
15
|
## When to Use
|
|
@@ -28,7 +29,7 @@ Fast, token-efficient codebase scouting using parallel agents to find files need
|
|
|
28
29
|
|
|
29
30
|
## Configuration
|
|
30
31
|
|
|
31
|
-
Read from
|
|
32
|
+
Read from `.ck.json`:
|
|
32
33
|
- `gemini.model` - Gemini model (default: `gemini-3-flash-preview`)
|
|
33
34
|
|
|
34
35
|
## Workflow
|
|
@@ -36,7 +37,7 @@ Read from `$HOME/.copilot/.ck.json`:
|
|
|
36
37
|
### 1. Analyze Task
|
|
37
38
|
- Parse user prompt for search targets
|
|
38
39
|
- Identify key directories, patterns, file types, lines of code
|
|
39
|
-
- Determine optimal SCALE value of
|
|
40
|
+
- Determine optimal SCALE value of subagents to spawn
|
|
40
41
|
|
|
41
42
|
### 2. Divide and Conquer
|
|
42
43
|
- Split codebase into logical segments per agent
|
|
@@ -44,32 +45,31 @@ Read from `$HOME/.copilot/.ck.json`:
|
|
|
44
45
|
- Ensure no overlap, maximize coverage
|
|
45
46
|
|
|
46
47
|
### 3. Register Scout Tasks
|
|
47
|
-
|
|
48
|
-
**Skip
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
- Example checklist entry: `- [ ] Agent 1: src/api/*, src/models/* — searching for auth-related files`
|
|
53
|
-
- Reference: `references/task-management-scouting.md` for checklist format and metadata fields.
|
|
48
|
+
- **Skip if:** Agent count ≤ 2 (overhead exceeds benefit)
|
|
49
|
+
- **Skip if:** Task tools unavailable (VSCode extension) — use `TodoWrite` instead
|
|
50
|
+
- `TaskList` first — check for existing scout tasks in session
|
|
51
|
+
- If not found, `TaskCreate` per agent with scope metadata
|
|
52
|
+
- See `references/task-management-scouting.md` for patterns and examples
|
|
54
53
|
|
|
55
54
|
### 4. Spawn Parallel Agents
|
|
56
|
-
|
|
57
55
|
Load appropriate reference based on decision tree:
|
|
58
|
-
- **Internal (Default):** `references/internal-scouting.md` (
|
|
56
|
+
- **Internal (Default):** `references/internal-scouting.md` (Explore subagents)
|
|
59
57
|
- **External:** `references/external-scouting.md` (Gemini/OpenCode)
|
|
60
58
|
|
|
61
59
|
**Notes:**
|
|
62
|
-
-
|
|
63
|
-
- Prompt detailed instructions for each
|
|
64
|
-
- Remember that each
|
|
65
|
-
- Amount of
|
|
66
|
-
- Each
|
|
60
|
+
- `TaskUpdate` each task to `in_progress` before spawning its agent (skip if Task tools unavailable)
|
|
61
|
+
- Prompt detailed instructions for each subagent with exact directories or files it should read
|
|
62
|
+
- Remember that each subagent has less than 200K tokens of context window
|
|
63
|
+
- Amount of subagents to-be-spawned depends on the current system resources available and amount of files to be scanned
|
|
64
|
+
- Each subagent must return a detailed summary report to a main agent
|
|
67
65
|
|
|
68
66
|
### 5. Collect Results
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
67
|
+
**IMPORTANT:** Invoke "/ck-project-organization" skill to organize the outputs.
|
|
68
|
+
|
|
69
|
+
- Timeout: 3 minutes per agent (skip non-responders)
|
|
70
|
+
- `TaskUpdate` completed tasks; log timed-out agents in report (skip if Task tools unavailable)
|
|
71
|
+
- Aggregate findings into single report
|
|
72
|
+
- List unresolved questions at end
|
|
73
73
|
|
|
74
74
|
## Report Format
|
|
75
75
|
|
|
@@ -86,6 +86,6 @@ Load appropriate reference based on decision tree:
|
|
|
86
86
|
|
|
87
87
|
## References
|
|
88
88
|
|
|
89
|
-
- `references/internal-scouting.md` - Using
|
|
89
|
+
- `references/internal-scouting.md` - Using Explore subagents
|
|
90
90
|
- `references/external-scouting.md` - Using Gemini/OpenCode CLI
|
|
91
|
-
- `references/task-management-scouting.md` -
|
|
91
|
+
- `references/task-management-scouting.md` - Task patterns for scout coordination
|
|
@@ -12,16 +12,16 @@ SCALE >= 6 → Use internal scouting instead
|
|
|
12
12
|
|
|
13
13
|
## Configuration
|
|
14
14
|
|
|
15
|
-
Read from
|
|
15
|
+
Read from `.ck.json`:
|
|
16
16
|
```json
|
|
17
17
|
{
|
|
18
18
|
"gemini": {
|
|
19
|
-
"model": "gemini-3
|
|
19
|
+
"model": "gemini-3-flash-preview"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Default model: `gemini-3
|
|
24
|
+
Default model: `gemini-3-flash-preview`
|
|
25
25
|
|
|
26
26
|
## Gemini CLI (SCALE <= 3)
|
|
27
27
|
|
|
@@ -32,7 +32,7 @@ gemini -y -m <model> "[prompt]"
|
|
|
32
32
|
|
|
33
33
|
### Example
|
|
34
34
|
```bash
|
|
35
|
-
gemini -y -m gemini-3
|
|
35
|
+
gemini -y -m gemini-3-flash-preview "Search src/ for authentication files. List paths with brief descriptions."
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
## OpenCode CLI (SCALE 4-5)
|
|
@@ -57,16 +57,16 @@ which opencode
|
|
|
57
57
|
|
|
58
58
|
If not installed, ask user:
|
|
59
59
|
1. **Yes** - Provide installation instructions (may need manual auth steps)
|
|
60
|
-
2. **No** - Fall back to Explore
|
|
60
|
+
2. **No** - Fall back to Explore subagents (`internal-scouting.md`)
|
|
61
61
|
|
|
62
62
|
## Spawning Parallel Bash Agents
|
|
63
63
|
|
|
64
|
-
Use `Task` tool with `
|
|
64
|
+
Use `Task` tool with `subagent_type: "Bash"` to spawn parallel agents:
|
|
65
65
|
|
|
66
66
|
```
|
|
67
|
-
Task 1:
|
|
68
|
-
Task 2:
|
|
69
|
-
Task 3:
|
|
67
|
+
Task 1: subagent_type="Bash", prompt="Run: gemini -y -m gemini-3-flash-preview '[prompt1]'"
|
|
68
|
+
Task 2: subagent_type="Bash", prompt="Run: gemini -y -m gemini-3-flash-preview '[prompt2]'"
|
|
69
|
+
Task 3: subagent_type="Bash", prompt="Run: gemini -y -m gemini-3-flash-preview '[prompt3]'"
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
Spawn all in single message for parallel execution.
|
|
@@ -84,9 +84,9 @@ User: "Find database migration files"
|
|
|
84
84
|
|
|
85
85
|
Spawn 3 parallel Bash agents via Task tool:
|
|
86
86
|
```
|
|
87
|
-
Task 1 (Bash): "Run: gemini -y -m gemini-3
|
|
88
|
-
Task 2 (Bash): "Run: gemini -y -m gemini-3
|
|
89
|
-
Task 3 (Bash): "Run: gemini -y -m gemini-3
|
|
87
|
+
Task 1 (Bash): "Run: gemini -y -m gemini-3-flash-preview 'Search db/, migrations/ for migration files'"
|
|
88
|
+
Task 2 (Bash): "Run: gemini -y -m gemini-3-flash-preview 'Search lib/, src/ for database schema files'"
|
|
89
|
+
Task 3 (Bash): "Run: gemini -y -m gemini-3-flash-preview 'Search config/ for database configuration'"
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
## Reading File Content
|
|
@@ -112,15 +112,15 @@ lines_per_chunk = ceil(total_lines / chunks)
|
|
|
112
112
|
|
|
113
113
|
**Small files (<500 lines each):**
|
|
114
114
|
```
|
|
115
|
-
Task 1:
|
|
116
|
-
Task 2:
|
|
115
|
+
Task 1: subagent_type="Bash", prompt="cat file1.ts file2.ts"
|
|
116
|
+
Task 2: subagent_type="Bash", prompt="cat file3.ts file4.ts"
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
**Large file (>500 lines) - use sed for ranges:**
|
|
120
120
|
```
|
|
121
|
-
Task 1:
|
|
122
|
-
Task 2:
|
|
123
|
-
Task 3:
|
|
121
|
+
Task 1: subagent_type="Bash", prompt="sed -n '1,500p' large-file.ts"
|
|
122
|
+
Task 2: subagent_type="Bash", prompt="sed -n '501,1000p' large-file.ts"
|
|
123
|
+
Task 3: subagent_type="Bash", prompt="sed -n '1001,1500p' large-file.ts"
|
|
124
124
|
```
|
|
125
125
|
|
|
126
126
|
### Chunking Decision Tree
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# Internal Scouting with Explore
|
|
1
|
+
# Internal Scouting with Explore Subagents
|
|
2
2
|
|
|
3
|
-
Use Explore
|
|
3
|
+
Use Explore subagents when SCALE >= 6 or external tools unavailable.
|
|
4
4
|
|
|
5
5
|
## How It Works
|
|
6
6
|
|
|
7
|
-
Spawn multiple `Explore`
|
|
7
|
+
Spawn multiple `Explore` subagents via `Task` tool to search codebase in parallel.
|
|
8
8
|
|
|
9
9
|
## Task Tool Configuration
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
|
|
12
|
+
subagent_type: "Explore"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Prompt Template
|
|
@@ -90,15 +90,15 @@ lines_per_chunk = ceil(total_lines / chunks)
|
|
|
90
90
|
|
|
91
91
|
**Small files (<500 lines each):**
|
|
92
92
|
```
|
|
93
|
-
Task 1:
|
|
94
|
-
Task 2:
|
|
93
|
+
Task 1: subagent_type="Bash", prompt="cat file1.ts file2.ts"
|
|
94
|
+
Task 2: subagent_type="Bash", prompt="cat file3.ts file4.ts"
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
**Large file (>500 lines) - use sed for ranges:**
|
|
98
98
|
```
|
|
99
|
-
Task 1:
|
|
100
|
-
Task 2:
|
|
101
|
-
Task 3:
|
|
99
|
+
Task 1: subagent_type="Bash", prompt="sed -n '1,500p' large-file.ts"
|
|
100
|
+
Task 2: subagent_type="Bash", prompt="sed -n '501,1000p' large-file.ts"
|
|
101
|
+
Task 3: subagent_type="Bash", prompt="sed -n '1001,1500p' large-file.ts"
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
### Chunking Decision Tree
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Scout Task Management Patterns
|
|
2
|
+
|
|
3
|
+
Track parallel scout agent execution via Native Tasks (TaskCreate, TaskUpdate, TaskList).
|
|
4
|
+
|
|
5
|
+
## When to Create Tasks
|
|
6
|
+
|
|
7
|
+
| Agents | Create Tasks? | Rationale |
|
|
8
|
+
|--------|--------------|-----------|
|
|
9
|
+
| ≤ 2 | No | Overhead exceeds benefit, finishes quickly |
|
|
10
|
+
| ≥ 3 | Yes | Meaningful coordination, progress monitoring |
|
|
11
|
+
|
|
12
|
+
## Task Registration Flow
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
TaskList() // Check for existing scout tasks
|
|
16
|
+
→ Found tasks? → Skip creation, reuse existing
|
|
17
|
+
→ Empty? → TaskCreate per agent (see schema below)
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Metadata Schema
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
TaskCreate(
|
|
24
|
+
subject: "Scout {directory} for {target}",
|
|
25
|
+
activeForm: "Scouting {directory}",
|
|
26
|
+
description: "Search {directories} for {patterns}",
|
|
27
|
+
metadata: {
|
|
28
|
+
agentType: "Explore", // "Explore" (internal) or "Bash" (external)
|
|
29
|
+
scope: "src/auth/,src/middleware/",
|
|
30
|
+
scale: 6,
|
|
31
|
+
agentIndex: 1, // 1-indexed position
|
|
32
|
+
totalAgents: 6,
|
|
33
|
+
toolMode: "internal", // "internal" or "external"
|
|
34
|
+
priority: "P2", // Always P2 for scout coordination
|
|
35
|
+
effort: "3m" // Fixed timeout per agent
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Required Fields
|
|
41
|
+
|
|
42
|
+
- `agentType` — Subagent type: `"Explore"` for internal, `"Bash"` for external
|
|
43
|
+
- `scope` — Comma-separated directory boundaries for this agent
|
|
44
|
+
- `scale` — Total SCALE value determined in Step 1
|
|
45
|
+
- `agentIndex` / `totalAgents` — Position tracking (e.g., 3 of 6)
|
|
46
|
+
- `toolMode` — `"internal"` or `"external"`
|
|
47
|
+
- `priority` — Always `"P2"` (scout = coordination, not primary work)
|
|
48
|
+
- `effort` — Always `"3m"` (fixed timeout)
|
|
49
|
+
|
|
50
|
+
### Optional Fields
|
|
51
|
+
|
|
52
|
+
- `searchPatterns` — Key patterns searched (aids debugging)
|
|
53
|
+
- `externalTool` — If external: `"gemini"` or `"opencode"`
|
|
54
|
+
|
|
55
|
+
## Task Lifecycle
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
Step 3: TaskCreate per agent → status: pending
|
|
59
|
+
Step 4: Before spawning agent → TaskUpdate → status: in_progress
|
|
60
|
+
Step 5: Agent returns report → TaskUpdate → status: completed
|
|
61
|
+
Step 5: Agent times out (3m) → Keep in_progress, add error metadata
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Timeout Handling
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
TaskUpdate(taskId, {
|
|
68
|
+
metadata: { ...existing, error: "timeout" }
|
|
69
|
+
})
|
|
70
|
+
// Task stays in_progress — distinguishes timeout from incomplete
|
|
71
|
+
// Log in final report's "Unresolved Questions" section
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Examples
|
|
75
|
+
|
|
76
|
+
### Internal Scouting (SCALE=6)
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
// Step 3: Register 6 tasks
|
|
80
|
+
TaskCreate(subject: "Scout src/auth/ for auth files",
|
|
81
|
+
activeForm: "Scouting src/auth/",
|
|
82
|
+
metadata: { agentType: "Explore", scope: "src/auth/", scale: 6,
|
|
83
|
+
agentIndex: 1, totalAgents: 6, toolMode: "internal",
|
|
84
|
+
priority: "P2", effort: "3m" }) // → taskId1
|
|
85
|
+
|
|
86
|
+
// Repeat for agents 2-6 with different scopes
|
|
87
|
+
|
|
88
|
+
// Step 4: Spawn agents
|
|
89
|
+
TaskUpdate(taskId1, { status: "in_progress" })
|
|
90
|
+
// ... spawn all Explore subagents in single Task tool call
|
|
91
|
+
|
|
92
|
+
// Step 5: Collect
|
|
93
|
+
TaskUpdate(taskId1, { status: "completed" }) // report received
|
|
94
|
+
TaskUpdate(taskId3, { metadata: { error: "timeout" } }) // timed out
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### External Scouting (SCALE=3, gemini)
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
TaskCreate(subject: "Scout db/ for migrations via gemini",
|
|
101
|
+
activeForm: "Scouting db/ via gemini",
|
|
102
|
+
metadata: { agentType: "Bash", scope: "db/,migrations/", scale: 3,
|
|
103
|
+
agentIndex: 1, totalAgents: 3, toolMode: "external",
|
|
104
|
+
externalTool: "gemini", priority: "P2", effort: "3m" })
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## Integration with Cook/Planning
|
|
108
|
+
|
|
109
|
+
Scout tasks are **independent** from cook/planning phase tasks — NOT parent-child.
|
|
110
|
+
|
|
111
|
+
**Rationale:** Different lifecycle. Scout completes before cook continues. Mixing creates confusion in TaskList.
|
|
112
|
+
|
|
113
|
+
**Sequence when cook spawns scout:**
|
|
114
|
+
1. Cook Step 2 → spawns planner → planner spawns scout
|
|
115
|
+
2. Scout registers its own tasks (Step 3), executes (Step 4-5)
|
|
116
|
+
3. Scout returns aggregated report → planner continues
|
|
117
|
+
4. Cook Step 3 hydrates phase tasks (separate from scout tasks)
|
|
118
|
+
|
|
119
|
+
## Quality Check Output
|
|
120
|
+
|
|
121
|
+
After registration: `✓ Registered [N] scout tasks ([internal|external] mode, SCALE={scale})`
|
|
122
|
+
|
|
123
|
+
## Error Handling
|
|
124
|
+
|
|
125
|
+
If `TaskCreate` fails: log warning, continue without task tracking. Scout remains fully functional — tasks add observability, not functionality.
|