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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mcp-management
|
|
3
3
|
description: Manage MCP servers - discover, analyze, execute tools/prompts/resources. Use for MCP integrations, intelligent tool selection, multi-server management, context-efficient capability discovery.
|
|
4
|
+
argument-hint: "[task or server-name]"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# MCP Management
|
|
@@ -15,7 +16,7 @@ MCP is an open protocol enabling AI agents to connect to external tools and data
|
|
|
15
16
|
- Progressive disclosure of MCP capabilities (load only what's needed)
|
|
16
17
|
- Intelligent tool/prompt/resource selection based on task requirements
|
|
17
18
|
- Multi-server management from single config file
|
|
18
|
-
- Context-efficient:
|
|
19
|
+
- Context-efficient: subagents handle MCP discovery and execution
|
|
19
20
|
- Persistent tool catalog: automatically saves discovered tools to JSON for fast reference
|
|
20
21
|
|
|
21
22
|
## When to Use This Skill
|
|
@@ -25,17 +26,17 @@ Use this skill when:
|
|
|
25
26
|
2. **Task-Based Tool Selection**: Analyzing which MCP tools are relevant for a specific task
|
|
26
27
|
3. **Executing MCP Tools**: Calling MCP tools programmatically with proper parameter handling
|
|
27
28
|
4. **MCP Integration**: Building or debugging MCP client implementations
|
|
28
|
-
5. **Context Management**: Avoiding context pollution by delegating MCP operations to
|
|
29
|
+
5. **Context Management**: Avoiding context pollution by delegating MCP operations to subagents
|
|
29
30
|
|
|
30
31
|
## Core Capabilities
|
|
31
32
|
|
|
32
33
|
### 1. Configuration Management
|
|
33
34
|
|
|
34
|
-
MCP servers configured in
|
|
35
|
+
MCP servers configured in `.vscode/mcp.json`.
|
|
35
36
|
|
|
36
37
|
**Gemini CLI Integration** (recommended): Create symlink to `.gemini/settings.json`:
|
|
37
38
|
```bash
|
|
38
|
-
mkdir -p .gemini && ln -sf
|
|
39
|
+
mkdir -p .gemini && ln -sf .vscode/mcp.json .gemini/settings.json
|
|
39
40
|
```
|
|
40
41
|
|
|
41
42
|
See [references/configuration.md](references/configuration.md) and [references/gemini-cli-integration.md](references/gemini-cli-integration.md).
|
|
@@ -80,7 +81,7 @@ echo "Take a screenshot of https://example.com" | gemini -y -m <gemini.model>
|
|
|
80
81
|
npx tsx scripts/cli.ts call-tool memory create_entities '{"entities":[...]}'
|
|
81
82
|
```
|
|
82
83
|
|
|
83
|
-
**Fallback: mcp-manager
|
|
84
|
+
**Fallback: mcp-manager Subagent**
|
|
84
85
|
|
|
85
86
|
See [references/gemini-cli-integration.md](references/gemini-cli-integration.md) for complete examples.
|
|
86
87
|
|
|
@@ -104,16 +105,16 @@ echo "Take a screenshot of https://example.com. Return JSON only per GEMINI.md i
|
|
|
104
105
|
|
|
105
106
|
**Benefits**:
|
|
106
107
|
- Automatic tool discovery
|
|
107
|
-
- Structured JSON responses (parseable by
|
|
108
|
+
- Structured JSON responses (parseable by AI)
|
|
108
109
|
- GEMINI.md auto-loaded for consistent formatting
|
|
109
|
-
- Faster than
|
|
110
|
+
- Faster than subagent orchestration
|
|
110
111
|
- No natural language ambiguity
|
|
111
112
|
|
|
112
113
|
See [references/gemini-cli-integration.md](references/gemini-cli-integration.md) for complete guide.
|
|
113
114
|
|
|
114
|
-
### Pattern 2:
|
|
115
|
+
### Pattern 2: Subagent-Based Execution (Fallback)
|
|
115
116
|
|
|
116
|
-
Use `mcp-manager` agent when Gemini CLI unavailable.
|
|
117
|
+
Use `mcp-manager` agent when Gemini CLI unavailable. Subagent discovers tools, selects relevant ones, executes tasks, reports back.
|
|
117
118
|
|
|
118
119
|
**Benefit**: Main context stays clean, only relevant tool definitions loaded when needed.
|
|
119
120
|
|
|
@@ -130,7 +131,7 @@ Coordinate tools across multiple servers. Each tool knows its source server for
|
|
|
130
131
|
### scripts/mcp-client.ts
|
|
131
132
|
|
|
132
133
|
Core MCP client manager class. Handles:
|
|
133
|
-
- Config loading from
|
|
134
|
+
- Config loading from `.vscode/mcp.json`
|
|
134
135
|
- Connecting to multiple MCP servers
|
|
135
136
|
- Listing tools/prompts/resources across all servers
|
|
136
137
|
- Executing tools with proper error handling
|
|
@@ -151,7 +152,7 @@ Command-line interface for MCP operations. Commands:
|
|
|
151
152
|
**Method 1: Gemini CLI** (recommended)
|
|
152
153
|
```bash
|
|
153
154
|
npm install -g gemini-cli
|
|
154
|
-
mkdir -p .gemini && ln -sf
|
|
155
|
+
mkdir -p .gemini && ln -sf .vscode/mcp.json .gemini/settings.json
|
|
155
156
|
# IMPORTANT: Use stdin piping, NOT -p flag (deprecated, skips MCP init)
|
|
156
157
|
# GEMINI.md auto-loads to enforce JSON responses
|
|
157
158
|
echo "Take a screenshot of https://example.com. Return JSON only per GEMINI.md instructions." | gemini -y -m <gemini.model>
|
|
@@ -161,12 +162,12 @@ Returns structured JSON: `{"server":"puppeteer","tool":"screenshot","success":tr
|
|
|
161
162
|
|
|
162
163
|
**Method 2: Scripts**
|
|
163
164
|
```bash
|
|
164
|
-
cd
|
|
165
|
+
cd skills/mcp-management/scripts && npm install
|
|
165
166
|
npx tsx cli.ts list-tools # Saves to assets/tools.json
|
|
166
167
|
npx tsx cli.ts call-tool memory create_entities '{"entities":[...]}'
|
|
167
168
|
```
|
|
168
169
|
|
|
169
|
-
**Method 3: mcp-manager
|
|
170
|
+
**Method 3: mcp-manager Subagent**
|
|
170
171
|
|
|
171
172
|
See [references/gemini-cli-integration.md](references/gemini-cli-integration.md) for complete guide.
|
|
172
173
|
|
|
@@ -193,7 +194,7 @@ See [references/mcp-protocol.md](references/mcp-protocol.md) for:
|
|
|
193
194
|
- Use when: Need specific tool/server control
|
|
194
195
|
- Execute: `npx tsx scripts/cli.ts call-tool <server> <tool> <args>`
|
|
195
196
|
|
|
196
|
-
3. **mcp-manager
|
|
197
|
+
3. **mcp-manager Subagent** (Fallback): Context-efficient delegation
|
|
197
198
|
- Use when: Gemini unavailable or failed
|
|
198
199
|
- Keeps main context clean
|
|
199
200
|
|
|
@@ -206,4 +207,4 @@ The `mcp-manager` agent uses this skill to:
|
|
|
206
207
|
- Discover MCP capabilities without loading into main context
|
|
207
208
|
- Report results back to main agent
|
|
208
209
|
|
|
209
|
-
This keeps main agent context clean and enables efficient MCP integration.
|
|
210
|
+
This keeps main agent context clean and enables efficient MCP integration.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Configuration File Structure
|
|
4
4
|
|
|
5
|
-
MCP servers are configured in
|
|
5
|
+
MCP servers are configured in `.vscode/mcp.json`:
|
|
6
6
|
|
|
7
7
|
```json
|
|
8
8
|
{
|
|
@@ -101,9 +101,9 @@ Reference env vars with `${VAR_NAME}` syntax:
|
|
|
101
101
|
Scripts check for config in this order:
|
|
102
102
|
|
|
103
103
|
1. `process.env` (runtime environment)
|
|
104
|
-
2.
|
|
105
|
-
3.
|
|
106
|
-
4.
|
|
104
|
+
2. `skills/mcp-management/.env`
|
|
105
|
+
3. `skills/.env`
|
|
106
|
+
4. `.env`
|
|
107
107
|
|
|
108
108
|
## Validation
|
|
109
109
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Model Configuration
|
|
4
4
|
|
|
5
|
-
Read model from
|
|
5
|
+
Read model from `.ck.json`: `gemini.model` (default: `gemini-3-flash-preview`)
|
|
6
6
|
|
|
7
7
|
## ⚠️ CRITICAL: Use Stdin Piping, NOT -p Flag
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ The `-p` flag is **deprecated** and skips MCP server initialization, causing too
|
|
|
12
12
|
# ❌ WRONG - Deprecated -p flag skips MCP connections!
|
|
13
13
|
gemini -y -m <gemini.model> -p "Take a screenshot"
|
|
14
14
|
# Also wrong: Using --model instead of -m
|
|
15
|
-
gemini -y -p "Take a screenshot" --model gemini-3
|
|
15
|
+
gemini -y -p "Take a screenshot" --model gemini-3-flash-preview
|
|
16
16
|
|
|
17
17
|
# ✅ CORRECT - This initializes MCP servers
|
|
18
18
|
echo "Take a screenshot" | gemini -y -m <gemini.model>
|
|
@@ -39,17 +39,17 @@ gemini --version
|
|
|
39
39
|
|
|
40
40
|
### Symlink Setup
|
|
41
41
|
|
|
42
|
-
Gemini CLI reads MCP servers from `.gemini/settings.json`. Create a symlink to
|
|
42
|
+
Gemini CLI reads MCP servers from `.gemini/settings.json`. Create a symlink to `.vscode/mcp.json`:
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
45
|
# Create .gemini directory
|
|
46
46
|
mkdir -p .gemini
|
|
47
47
|
|
|
48
48
|
# Create symlink (Unix/Linux/macOS)
|
|
49
|
-
ln -sf
|
|
49
|
+
ln -sf .vscode/mcp.json .gemini/settings.json
|
|
50
50
|
|
|
51
51
|
# Create symlink (Windows - requires admin or developer mode)
|
|
52
|
-
mklink .gemini\settings.json .
|
|
52
|
+
mklink .gemini\settings.json .vscode/mcp.json
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
### Security
|
|
@@ -74,8 +74,8 @@ echo "<prompt>" | gemini [flags]
|
|
|
74
74
|
|
|
75
75
|
- `-y`: Skip confirmation prompts (auto-approve tool execution)
|
|
76
76
|
- `-m <model>`: Model selection
|
|
77
|
-
- `gemini-3
|
|
78
|
-
- `gemini-3
|
|
77
|
+
- `gemini-3-flash-preview` (fast, recommended for MCP)
|
|
78
|
+
- `gemini-3-pro-preview` (balanced)
|
|
79
79
|
- `gemini-pro` (high quality)
|
|
80
80
|
|
|
81
81
|
### Examples
|
|
@@ -97,7 +97,7 @@ echo "Search for latest Next.js 15 features and summarize the top 3" | gemini -y
|
|
|
97
97
|
|
|
98
98
|
**Multi-Tool Orchestration**:
|
|
99
99
|
```bash
|
|
100
|
-
echo "Search for
|
|
100
|
+
echo "Search for API documentation, take a screenshot of the homepage, and save both to memory" | gemini -y -m <gemini.model>
|
|
101
101
|
```
|
|
102
102
|
|
|
103
103
|
**Browser Automation**:
|
|
@@ -107,7 +107,7 @@ echo "Navigate to https://example.com, click the signup button, and take a scree
|
|
|
107
107
|
|
|
108
108
|
## How It Works
|
|
109
109
|
|
|
110
|
-
1. **Configuration Loading**: Reads `.gemini/settings.json` (symlinked to
|
|
110
|
+
1. **Configuration Loading**: Reads `.gemini/settings.json` (symlinked to `.vscode/mcp.json`)
|
|
111
111
|
2. **Server Connection**: Connects to all configured MCP servers
|
|
112
112
|
3. **Tool Discovery**: Lists all available tools from servers
|
|
113
113
|
4. **Prompt Analysis**: Gemini model analyzes the prompt
|
|
@@ -119,7 +119,7 @@ echo "Navigate to https://example.com, click the signup button, and take a scree
|
|
|
119
119
|
|
|
120
120
|
### Trusted Servers (Skip Confirmations)
|
|
121
121
|
|
|
122
|
-
Edit
|
|
122
|
+
Edit `.vscode/mcp.json`:
|
|
123
123
|
|
|
124
124
|
```json
|
|
125
125
|
{
|
|
@@ -194,7 +194,7 @@ ls -la .gemini/settings.json
|
|
|
194
194
|
dir .gemini\settings.json
|
|
195
195
|
```
|
|
196
196
|
|
|
197
|
-
Should show symlink pointing to
|
|
197
|
+
Should show symlink pointing to `.vscode/mcp.json`.
|
|
198
198
|
|
|
199
199
|
### Debug Mode
|
|
200
200
|
|
|
@@ -212,7 +212,7 @@ Shows detailed MCP communication logs.
|
|
|
212
212
|
| Direct Scripts | ⭐⭐ | ⭐⭐⭐ | ⭐⭐⭐ | Specific tools |
|
|
213
213
|
| mcp-manager | ⭐ | ⭐⭐ | ⭐⭐⭐ | Fallback |
|
|
214
214
|
|
|
215
|
-
**Recommendation**: Use Gemini CLI as primary method, fallback to scripts/
|
|
215
|
+
**Recommendation**: Use Gemini CLI as primary method, fallback to scripts/subagent when unavailable.
|
|
216
216
|
|
|
217
217
|
## Resources
|
|
218
218
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# MCP Management Scripts Environment Variables
|
|
2
2
|
|
|
3
|
-
# Path to MCP configuration file (optional, defaults to .
|
|
4
|
-
MCP_CONFIG_PATH=.
|
|
3
|
+
# Path to MCP configuration file (optional, defaults to .vscode/mcp.json)
|
|
4
|
+
MCP_CONFIG_PATH=.vscode/mcp.json
|
|
5
5
|
|
|
6
6
|
# Logging level (optional, defaults to info)
|
|
7
7
|
LOG_LEVEL=info
|
|
@@ -10,7 +10,7 @@ export class MCPClientManager {
|
|
|
10
10
|
config = null;
|
|
11
11
|
clients = new Map();
|
|
12
12
|
transports = new Map();
|
|
13
|
-
async loadConfig(configPath = '
|
|
13
|
+
async loadConfig(configPath = '.vscode/mcp.json') {
|
|
14
14
|
const fullPath = resolve(process.cwd(), configPath);
|
|
15
15
|
const content = await readFile(fullPath, 'utf-8');
|
|
16
16
|
const config = JSON.parse(content);
|
|
@@ -46,7 +46,7 @@ export class MCPClientManager {
|
|
|
46
46
|
private clients: Map<string, Client> = new Map();
|
|
47
47
|
private transports: Map<string, StdioClientTransport> = new Map();
|
|
48
48
|
|
|
49
|
-
async loadConfig(configPath: string = '
|
|
49
|
+
async loadConfig(configPath: string = '.vscode/mcp.json'): Promise<MCPConfig> {
|
|
50
50
|
const fullPath = resolve(process.cwd(), configPath);
|
|
51
51
|
const content = await readFile(fullPath, 'utf-8');
|
|
52
52
|
const config = JSON.parse(content) as MCPConfig;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mermaidjs-v11
|
|
3
3
|
description: Create diagrams with Mermaid.js v11 syntax. Use for flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, state diagrams, architecture diagrams, timelines, user journeys.
|
|
4
|
+
argument-hint: "[diagram-type or description]"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Mermaid.js v11
|
package/skills/planning/SKILL.md
CHANGED
|
@@ -1,46 +1,86 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
3
|
-
description: Plan implementations, design architectures, create technical roadmaps with detailed phases. Use for feature planning, system design, solution architecture, implementation strategy, phase documentation.
|
|
2
|
+
name: plan
|
|
3
|
+
description: "Plan implementations, design architectures, create technical roadmaps with detailed phases. Use for feature planning, system design, solution architecture, implementation strategy, phase documentation."
|
|
4
|
+
argument-hint: "[task] OR [archive|red-team|validate]"
|
|
5
|
+
license: MIT
|
|
4
6
|
---
|
|
5
7
|
|
|
6
8
|
# Planning
|
|
7
9
|
|
|
8
10
|
Create detailed technical implementation plans through research, codebase analysis, solution design, and comprehensive documentation.
|
|
9
11
|
|
|
12
|
+
**IMPORTANT:** Before you start, scan unfinished plans in the current project at `./plans/` directory, read the `plan.md`, if there are relevant plans with your upcoming plan, update them as well. If you're unsure or need more clarifications, use ask the user.
|
|
13
|
+
|
|
14
|
+
### Cross-Plan Dependency Detection
|
|
15
|
+
|
|
16
|
+
During the pre-creation scan, detect and mark blocking relationships between plans:
|
|
17
|
+
|
|
18
|
+
1. **Scan** — Read `plan.md` frontmatter of each unfinished plan (status != `completed`/`cancelled`)
|
|
19
|
+
2. **Compare scope** — Check overlapping files, shared dependencies, same feature area
|
|
20
|
+
3. **Classify relationship:**
|
|
21
|
+
- New plan needs output of existing plan → new plan `blockedBy: [existing-plan-dir]`
|
|
22
|
+
- New plan changes something existing plan depends on → existing plan `blockedBy: [new-plan-dir]`, new plan `blocks: [existing-plan-dir]`
|
|
23
|
+
- Mutual dependency → both plans reference each other in `blockedBy`/`blocks`
|
|
24
|
+
4. **Bidirectional update** — When relationship detected, update BOTH `plan.md` files' frontmatter
|
|
25
|
+
5. **Ambiguous?** → Use asking the user with header "Plan Dependency", present detected overlap, ask user to confirm relationship type (blocks/blockedBy/none)
|
|
26
|
+
|
|
27
|
+
**Frontmatter fields** (relative plan dir paths):
|
|
28
|
+
```yaml
|
|
29
|
+
blockedBy: [260301-1200-auth-system] # This plan waits on these plans
|
|
30
|
+
blocks: [260228-0900-user-dashboard] # This plan blocks these plans
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Status interaction:** A plan with `blockedBy` entries where ANY blocker is not `completed` → plan status should note `blocked` in its overview. When all blockers complete, the blocked plan becomes unblocked automatically on next scan.
|
|
34
|
+
|
|
35
|
+
## Default (No Arguments)
|
|
36
|
+
|
|
37
|
+
If invoked with a task description, proceed with planning workflow. If invoked WITHOUT arguments or with unclear intent, use asking the user to present available operations:
|
|
38
|
+
|
|
39
|
+
| Operation | Description |
|
|
40
|
+
|-----------|-------------|
|
|
41
|
+
| `(default)` | Create implementation plan for a task |
|
|
42
|
+
| `archive` | Write journal entry & archive plans |
|
|
43
|
+
| `red-team` | Adversarial plan review |
|
|
44
|
+
| `validate` | Critical questions interview |
|
|
45
|
+
|
|
46
|
+
Present as options by asking the user with header "Planning Operation", question "What would you like to do?".
|
|
47
|
+
|
|
10
48
|
## Workflow Modes
|
|
11
49
|
|
|
12
|
-
Default: `--auto`
|
|
50
|
+
Default: `--auto` (analyze task complexity and auto-pick mode).
|
|
13
51
|
|
|
14
|
-
| Flag | Research | Red Team | Validation | Cook Flag |
|
|
15
|
-
|
|
16
|
-
| `--auto` | Auto |
|
|
17
|
-
| `--fast` | Skip | Skip | Skip |
|
|
18
|
-
| `--hard` |
|
|
19
|
-
| `--parallel` | Parallel |
|
|
20
|
-
| `--two` |
|
|
52
|
+
| Flag | Mode | Research | Red Team | Validation | Cook Flag |
|
|
53
|
+
|------|------|----------|----------|------------|-----------|
|
|
54
|
+
| `--auto` | Auto-detect | Follows mode | Follows mode | Follows mode | Follows mode |
|
|
55
|
+
| `--fast` | Fast | Skip | Skip | Skip | `--auto` |
|
|
56
|
+
| `--hard` | Hard | 2 researchers | Yes | Optional | (none) |
|
|
57
|
+
| `--parallel` | Parallel | 2 researchers | Yes | Optional | `--parallel` |
|
|
58
|
+
| `--two` | Two approaches | 2+ researchers | After selection | After selection | (none) |
|
|
21
59
|
|
|
22
|
-
Add `--no-tasks` to
|
|
60
|
+
Add `--no-tasks` to skip task hydration in any mode.
|
|
23
61
|
|
|
24
|
-
|
|
62
|
+
Load: `references/workflow-modes.md` for auto-detection logic, per-mode workflows, context reminders.
|
|
25
63
|
|
|
26
64
|
## When to Use
|
|
27
65
|
|
|
28
|
-
Use this skill when:
|
|
29
66
|
- Planning new feature implementations
|
|
30
67
|
- Architecting system designs
|
|
31
68
|
- Evaluating technical approaches
|
|
32
69
|
- Creating implementation roadmaps
|
|
33
70
|
- Breaking down complex requirements
|
|
34
|
-
- Assessing technical trade-offs
|
|
35
71
|
|
|
36
72
|
## Core Responsibilities & Rules
|
|
37
73
|
|
|
38
74
|
Always honoring **YAGNI**, **KISS**, and **DRY** principles.
|
|
39
75
|
**Be honest, be brutal, straight to the point, and be concise.**
|
|
40
76
|
|
|
77
|
+
### 0. Scope Challenge
|
|
78
|
+
Load: `references/scope-challenge.md`
|
|
79
|
+
**Skip if:** `--fast` mode or trivial task (single file fix, <20 word description)
|
|
80
|
+
|
|
41
81
|
### 1. Research & Analysis
|
|
42
82
|
Load: `references/research-phase.md`
|
|
43
|
-
**Skip if:**
|
|
83
|
+
**Skip if:** Fast mode or provided with researcher reports
|
|
44
84
|
|
|
45
85
|
### 2. Codebase Understanding
|
|
46
86
|
Load: `references/codebase-understanding.md`
|
|
@@ -55,109 +95,100 @@ Load: `references/plan-organization.md`
|
|
|
55
95
|
### 5. Task Breakdown & Output Standards
|
|
56
96
|
Load: `references/output-standards.md`
|
|
57
97
|
|
|
98
|
+
## Process Flow (Authoritative)
|
|
99
|
+
|
|
100
|
+
```mermaid
|
|
101
|
+
flowchart TD
|
|
102
|
+
A[Pre-Creation Check] --> B[Cross-Plan Scan]
|
|
103
|
+
B --> C[Scope Challenge]
|
|
104
|
+
C --> D[Mode Detection]
|
|
105
|
+
D -->|fast| E[Skip Research]
|
|
106
|
+
D -->|hard/parallel/two| F[Spawn Researchers]
|
|
107
|
+
E --> G[Codebase Analysis]
|
|
108
|
+
F --> G
|
|
109
|
+
G --> H[Write Plan via Planner]
|
|
110
|
+
H --> I{Red Team?}
|
|
111
|
+
I -->|Yes| J[Red Team Review]
|
|
112
|
+
I -->|No| K{Validate?}
|
|
113
|
+
J --> K
|
|
114
|
+
K -->|Yes| L[Validation Interview]
|
|
115
|
+
K -->|No| M[Hydrate Tasks]
|
|
116
|
+
L --> M
|
|
117
|
+
M --> N[Output Cook Command]
|
|
118
|
+
N --> O[Journal]
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
**This diagram is the authoritative workflow.** Prose sections below provide detail for each node.
|
|
122
|
+
|
|
58
123
|
## Workflow Process
|
|
59
124
|
|
|
60
|
-
1. **Pre-Creation Check** → Check
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
125
|
+
1. **Pre-Creation Check** → Check Plan Context for active/suggested/none
|
|
126
|
+
1b. **Cross-Plan Scan** → Scan unfinished plans, detect `blockedBy`/`blocks` relationships, update both plans
|
|
127
|
+
1c. **Scope Challenge** → Run Step 0 scope questions, select mode (see `references/scope-challenge.md`)
|
|
128
|
+
**Skip if:** `--fast` mode or trivial task
|
|
129
|
+
2. **Mode Detection** → Auto-detect or use explicit flag (see `workflow-modes.md`)
|
|
130
|
+
3. **Research Phase** → Spawn researchers (skip in fast mode)
|
|
131
|
+
4. **Codebase Analysis** → Read docs, scout if needed
|
|
132
|
+
5. **Plan Documentation** → Write comprehensive plan via planner subagent
|
|
133
|
+
6. **Red Team Review** → Run `/ck-plan red-team {plan-path}` (hard/parallel/two modes)
|
|
134
|
+
7. **Post-Plan Validation** → Run `/ck-plan validate {plan-path}` (hard/parallel/two modes)
|
|
135
|
+
8. **Hydrate Tasks** → Create Tasks from phases (default on, `--no-tasks` to skip)
|
|
136
|
+
9. **Context Reminder** → Output cook command with absolute path (MANDATORY)
|
|
137
|
+
10. **Journal** → Run `/ck-journal` to write a concise technical journal entry upon completion
|
|
69
138
|
|
|
70
139
|
## Output Requirements
|
|
140
|
+
**IMPORTANT:** Invoke "/ck-project-organization" skill to organize the outputs.
|
|
71
141
|
|
|
72
142
|
- DO NOT implement code - only create plans
|
|
73
143
|
- Respond with plan file path and summary
|
|
74
144
|
- Ensure self-contained plans with necessary context
|
|
75
145
|
- Include code snippets/pseudocode when clarifying
|
|
76
|
-
-
|
|
77
|
-
- Fully respect the `./docs/development-rules.md` file.
|
|
146
|
+
- Fully respect the `./docs/development-rules.md` file
|
|
78
147
|
|
|
79
148
|
## Task Management
|
|
80
149
|
|
|
81
|
-
Plan files
|
|
150
|
+
Plan files = persistent. Tasks = session-scoped. Hydration bridges the gap.
|
|
82
151
|
|
|
83
|
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
152
|
+
**Default:** Auto-hydrate tasks after plan files are written. Skip with `--no-tasks`.
|
|
153
|
+
**3-Task Rule:** <3 phases → skip task creation.
|
|
154
|
+
**Fallback:** Task tools (`TaskCreate`/`TaskUpdate`/`TaskGet`/`TaskList`) are CLI-only — unavailable in VSCode extension. If they error, use `TodoWrite` for tracking. Plan files remain the source of truth; hydration is an optimization, not a requirement.
|
|
86
155
|
|
|
87
|
-
|
|
156
|
+
Load: `references/task-management.md` for hydration pattern, TaskCreate patterns, cook handoff protocol.
|
|
88
157
|
|
|
89
|
-
###
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
```
|
|
96
|
-
plans/
|
|
97
|
-
└── {date}-plan-name/
|
|
98
|
-
├── research/
|
|
99
|
-
│ ├── researcher-XX-report.md
|
|
100
|
-
│ └── ...
|
|
101
|
-
├── reports/
|
|
102
|
-
│ ├── XX-report.md
|
|
103
|
-
│ └── ...
|
|
104
|
-
├── scout/
|
|
105
|
-
│ ├── scout-XX-report.md
|
|
106
|
-
│ └── ...
|
|
107
|
-
├── plan.md
|
|
108
|
-
├── phase-XX-phase-name-here.md
|
|
109
|
-
└── ...
|
|
110
|
-
```
|
|
158
|
+
### Hydration Workflow
|
|
159
|
+
1. Write plan.md + phase files (persistent layer)
|
|
160
|
+
2. TaskCreate per phase with `addBlockedBy` chain (skip if Task tools unavailable)
|
|
161
|
+
3. TaskCreate for critical/high-risk steps within phases (skip if Task tools unavailable)
|
|
162
|
+
4. Metadata: phase, priority, effort, planDir, phaseFile
|
|
163
|
+
5. Cook picks up via TaskList (same session) or re-hydrates (new session)
|
|
111
164
|
|
|
112
165
|
## Active Plan State
|
|
113
166
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
Check the `## Plan Context` section injected by hooks:
|
|
119
|
-
- **"Plan: {path}"** = Active plan, explicitly set via `set-active-plan.cjs` — use this path for all reports
|
|
120
|
-
- **"Suggested: {path}"** = Branch-matched hint only — do NOT auto-use
|
|
121
|
-
- **"Plan: none"** = No active plan
|
|
167
|
+
Check `## Plan Context` injected by hooks:
|
|
168
|
+
- **"Plan: {path}"** → Active plan. Ask "Continue? [Y/n]"
|
|
169
|
+
- **"Suggested: {path}"** → Branch hint only. Ask if activate or create new.
|
|
170
|
+
- **"Plan: none"** → Create new using `Plan dir:` from `## Naming`
|
|
122
171
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
1. **If "Plan:" shows a path**: Ask "Continue with existing plan? [Y/n]"
|
|
126
|
-
2. **If "Suggested:" shows a path**: Inform user, ask if they want to activate or create new
|
|
127
|
-
3. **If "Plan: none"**: Create new plan using naming from `## Naming` section
|
|
128
|
-
4. **Update on create**: Run `node $HOME/.copilot/scripts/set-active-plan.cjs {plan-dir}`
|
|
129
|
-
|
|
130
|
-
### Report Output Location
|
|
131
|
-
|
|
132
|
-
All agents writing reports MUST:
|
|
133
|
-
1. Check `## Naming` section injected by hooks for the computed naming pattern
|
|
134
|
-
2. Active plans use plan-specific reports path
|
|
135
|
-
3. Suggested plans use default reports path (not plan folder)
|
|
172
|
+
Reports: Active plans → plan-specific path. Suggested → default path.
|
|
136
173
|
|
|
137
174
|
### Important
|
|
138
|
-
DO NOT create plans or reports in USER directory.
|
|
139
|
-
|
|
175
|
+
**DO NOT** create plans or reports in USER directory.
|
|
176
|
+
**MUST** create plans or reports in **THE CURRENT WORKING PROJECT DIRECTORY**.
|
|
140
177
|
|
|
141
|
-
|
|
178
|
+
## Subcommands
|
|
179
|
+
|
|
180
|
+
| Subcommand | Reference | Purpose |
|
|
181
|
+
|------------|-----------|---------|
|
|
182
|
+
| `/ck-plan archive` | `references/archive-workflow.md` | Archive plans + write journal entries |
|
|
183
|
+
| `/ck-plan red-team` | `references/red-team-workflow.md` | Adversarial plan review with hostile reviewers |
|
|
184
|
+
| `/ck-plan validate` | `references/validate-workflow.md` | Validate plan with critical questions interview |
|
|
142
185
|
|
|
143
186
|
## Quality Standards
|
|
144
187
|
|
|
145
|
-
-
|
|
146
|
-
- Consider long-term maintainability
|
|
188
|
+
- Thorough and specific, consider long-term maintainability
|
|
147
189
|
- Research thoroughly when uncertain
|
|
148
190
|
- Address security and performance concerns
|
|
149
|
-
-
|
|
191
|
+
- Detailed enough for junior developers
|
|
150
192
|
- Validate against existing codebase patterns
|
|
151
193
|
|
|
152
194
|
**Remember:** Plan quality determines implementation success. Be comprehensive and consider all solution aspects.
|
|
153
|
-
|
|
154
|
-
## References
|
|
155
|
-
|
|
156
|
-
Load as needed:
|
|
157
|
-
- `references/workflow-modes.md` - Mode behavior details and flag descriptions
|
|
158
|
-
- `references/task-management.md` - Checklist schema, dependency notation, hydration rules
|
|
159
|
-
- `references/research-phase.md` - Research phase execution
|
|
160
|
-
- `references/codebase-understanding.md` - Codebase analysis steps
|
|
161
|
-
- `references/solution-design.md` - Solution design process
|
|
162
|
-
- `references/plan-organization.md` - Plan file structure and organization
|
|
163
|
-
- `references/output-standards.md` - Task breakdown and output format standards
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Archive Workflow
|
|
2
|
+
|
|
3
|
+
## Your mission
|
|
4
|
+
Read and analyze the plans, then write journal entries and archive specific plans or all plans in the `plans` directory.
|
|
5
|
+
|
|
6
|
+
## Plan Resolution
|
|
7
|
+
1. If `$ARGUMENTS` provided → Use that path
|
|
8
|
+
2. Else read all plans in the `plans` directory
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
### Step 1: Read Plan Files
|
|
13
|
+
|
|
14
|
+
Read the plan directory:
|
|
15
|
+
- `plan.md` - Overview and phases list
|
|
16
|
+
- `phase-*.md` - 20 first lines of each phase file to understand the progress and status
|
|
17
|
+
|
|
18
|
+
### Step 2: Summarize the plans and document them with `/ck-journal` skill invocation
|
|
19
|
+
ask if user wants to document journal entries or not.
|
|
20
|
+
Skip this step if user selects "No".
|
|
21
|
+
If user selects "Yes":
|
|
22
|
+
- Analyze the information in previous steps.
|
|
23
|
+
- Use Task tool with `subagent_type="journal-writer"` in parallel to document all plans.
|
|
24
|
+
- Journal entries should be concise and focused on the most important events, key changes, impacts, and decisions.
|
|
25
|
+
- Keep journal entries in the `./docs/journals/` directory.
|
|
26
|
+
|
|
27
|
+
### Step 3: Ask user to confirm the action before archiving these plans
|
|
28
|
+
ask if user wants to proceed with archiving these plans, select specific plans to archive or all completed plans only.
|
|
29
|
+
ask if user wants to delete permanently or move to the `./plans/archive` directory.
|
|
30
|
+
|
|
31
|
+
### Step 4: Archive the plans
|
|
32
|
+
Start archiving the plans based on the user's choice:
|
|
33
|
+
- Move the plans to the `./plans/archive` directory.
|
|
34
|
+
- Delete the plans permanently: `rm -rf ./plans/<plan-1> ./plans/<plan-2> ...`
|
|
35
|
+
|
|
36
|
+
### Step 5: Ask if user wants to commit the changes
|
|
37
|
+
ask if user wants to commit the changes with these options:
|
|
38
|
+
- Stage and commit the changes (Use `/ck-git` for commit flow)
|
|
39
|
+
- Commit and push the changes (Use `/ck-git` for push flow)
|
|
40
|
+
- Nah, I'll do it later
|
|
41
|
+
|
|
42
|
+
## Output
|
|
43
|
+
After archiving the plans, provide summary:
|
|
44
|
+
- Number of plans archived
|
|
45
|
+
- Number of plans deleted permanently
|
|
46
|
+
- Table of plans that are archived or deleted (title, status, created date, LOC)
|
|
47
|
+
- Table of journal entries that are created (title, status, created date, LOC)
|
|
48
|
+
|
|
49
|
+
## Important Notes
|
|
50
|
+
- Only ask questions about genuine decision points
|
|
51
|
+
- Sacrifice grammar for concision
|
|
52
|
+
- List any unresolved questions at the end
|
|
53
|
+
- Ensure token efficiency while maintaining high quality
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
## Core Activities
|
|
6
6
|
|
|
7
7
|
### Parallel Scout Agents
|
|
8
|
-
- Use `/scout
|
|
8
|
+
- Use `/ck-scout ext` (preferred) or `/ck-scout` (fallback) skill invocation to search the codebase for files needed to complete the task
|
|
9
9
|
- Each scout locates files needed for specific task aspects
|
|
10
10
|
- Wait for all scout agents to report back before analysis
|
|
11
11
|
- Efficient for finding relevant code across large codebases
|