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
|
@@ -89,7 +89,6 @@ This reminder is **NON-NEGOTIABLE** - always output it after presenting the plan
|
|
|
89
89
|
|
|
90
90
|
## Important Notes
|
|
91
91
|
- **IMPORTANT:** Ensure token consumption efficiency while maintaining high quality.
|
|
92
|
-
- **IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
|
|
93
92
|
- **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
|
|
94
93
|
- **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
|
|
95
94
|
- **IMPORTANT**: **Do not** start implementing.
|
|
@@ -100,8 +99,6 @@ This reminder is **NON-NEGOTIABLE** - always output it after presenting the plan
|
|
|
100
99
|
|
|
101
100
|
| Command | Description |
|
|
102
101
|
|---------|-------------|
|
|
103
|
-
| `/ck-spec-tasks` | Break plan into actionable tasks |
|
|
104
102
|
| `/ck-cook` | Implement plan |
|
|
105
103
|
| `/ck-test` | Run tests and analyze results |
|
|
106
104
|
| `/ck-fix` | Analyze and fix issues |
|
|
107
|
-
| `/ck-spec-specify` | Too complex? Switch to spec-driven flow |
|
|
@@ -115,7 +115,6 @@ This reminder is **NON-NEGOTIABLE** when validation is skipped.
|
|
|
115
115
|
- For each phase, create `{plan-dir}/phase-XX-phase-name-here.md` containing the following sections in order: Context links (reference parent plan, dependencies, docs), Overview (date, description, priority, implementation status, review status), Key Insights, Requirements, Architecture, Related code files, Implementation Steps, Todo list, Success Criteria, Risk Assessment, Security Considerations, Next steps.
|
|
116
116
|
|
|
117
117
|
## Important Notes
|
|
118
|
-
**IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
|
|
119
118
|
**IMPORTANT:** Ensure token efficiency while maintaining high quality.
|
|
120
119
|
**IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
|
|
121
120
|
**IMPORTANT:** In reports, list any unresolved questions at the end, if any.
|
|
@@ -127,8 +126,6 @@ This reminder is **NON-NEGOTIABLE** when validation is skipped.
|
|
|
127
126
|
|
|
128
127
|
| Command | Description |
|
|
129
128
|
|---------|-------------|
|
|
130
|
-
| `/ck-spec-tasks` | Break plan into actionable tasks |
|
|
131
129
|
| `/ck-cook` | Implement plan |
|
|
132
130
|
| `/ck-test` | Run tests and analyze results |
|
|
133
131
|
| `/ck-fix` | Analyze and fix issues |
|
|
134
|
-
| `/ck-spec-specify` | Need formal spec? Switch to spec-driven flow |
|
|
@@ -56,7 +56,6 @@ If user chooses validation or mode is `auto`: Execute `/ck-plan-validate {plan-p
|
|
|
56
56
|
- Hard plans recommend validation
|
|
57
57
|
|
|
58
58
|
## Important Notes
|
|
59
|
-
**IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
|
|
60
59
|
**IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
|
|
61
60
|
**IMPORTANT:** Ensure token efficiency while maintaining high quality.
|
|
62
61
|
**IMPORTANT:** In reports, list any unresolved questions at the end, if any.
|
|
@@ -69,8 +68,6 @@ If user chooses validation or mode is `auto`: Execute `/ck-plan-validate {plan-p
|
|
|
69
68
|
| Command | Description |
|
|
70
69
|
|---------|-------------|
|
|
71
70
|
| `/ck-plan-validate` | Validate plan with critical questions |
|
|
72
|
-
| `/ck-spec-tasks` | Break plan into actionable tasks |
|
|
73
71
|
| `/ck-cook` | Implement plan |
|
|
74
72
|
| `/ck-test` | Run tests and analyze results |
|
|
75
73
|
| `/ck-fix` | Analyze and fix issues |
|
|
76
|
-
| `/ck-spec-specify` | Need detailed spec first? Start spec-driven flow |
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
agent: 'agent'
|
|
3
|
+
description: 'Track progress, manage tasks, generate reports'
|
|
4
|
+
argument-hint: '[status|hydrate|sync|report]'
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
Project management task:
|
|
9
|
+
<task>${input}</task>
|
|
10
|
+
|
|
11
|
+
Track progress, update plan statuses, generate reports, coordinate docs updates.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Suggested Next Steps
|
|
16
|
+
|
|
17
|
+
| Command | Description |
|
|
18
|
+
|---------|-------------|
|
|
19
|
+
| `/ck-plan` | Create implementation plan |
|
|
20
|
+
| `/ck-cook` | Implement features |
|
|
@@ -19,8 +19,6 @@ Think harder to scan the codebase and analyze it follow the Orchestration Protoc
|
|
|
19
19
|
|
|
20
20
|
## Workflow:
|
|
21
21
|
|
|
22
|
-
**IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
|
|
23
|
-
|
|
24
22
|
### Research
|
|
25
23
|
|
|
26
24
|
* Use 2 `researcher` agents in parallel to search up to max 5 sources for the user's request, idea validation, best practices, challenges, and find the best possible solutions.
|
|
@@ -55,4 +53,3 @@ Think harder to scan the codebase and analyze it follow the Orchestration Protoc
|
|
|
55
53
|
|---------|-------------|
|
|
56
54
|
| `/ck-fix` | Fix issues found in review |
|
|
57
55
|
| `/ck-git` | Commit changes |
|
|
58
|
-
| `/ck-spec-checklist` | Validate against spec requirements |
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
agent: 'agent'
|
|
3
|
+
description: 'STRIDE + OWASP security audit'
|
|
4
|
+
argument-hint: '<scope glob or full> [--fix] [--iterations N]'
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
Security audit scope:
|
|
9
|
+
<scope>${input}</scope>
|
|
10
|
+
|
|
11
|
+
Run a STRIDE + OWASP-based security audit. Scans code for vulnerabilities, categorizes by severity, and can iteratively fix findings.
|
|
12
|
+
|
|
13
|
+
**IMPORTANT**: Report all findings with severity levels before applying fixes.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Suggested Next Steps
|
|
18
|
+
|
|
19
|
+
| Command | Description |
|
|
20
|
+
|---------|-------------|
|
|
21
|
+
| `/ck-fix` | Fix security issues found |
|
|
22
|
+
| `/ck-review` | Review security fixes |
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
agent: 'agent'
|
|
3
|
+
description: 'Ship pipeline: test, review, commit, push, PR'
|
|
4
|
+
argument-hint: '[official|beta] [--skip-tests] [--skip-review] [--dry-run]'
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
Ship target:
|
|
9
|
+
<target>${input}</target>
|
|
10
|
+
|
|
11
|
+
Ship pipeline: merge main, test, review, commit, push, PR. Single command from feature branch to PR URL.
|
|
12
|
+
|
|
13
|
+
**IMPORTANT**: Follow the ship skill workflow steps precisely.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Suggested Next Steps
|
|
18
|
+
|
|
19
|
+
| Command | Description |
|
|
20
|
+
|---------|-------------|
|
|
21
|
+
| `/ck-test` | Run tests and analyze results |
|
|
22
|
+
| `/ck-review` | Scan and analyze codebase |
|
|
@@ -7,7 +7,6 @@ tools: ['execute/runInTerminal', 'execute/getTerminalOutput', 'execute/runTests'
|
|
|
7
7
|
Use the `tester` agent to run tests locally and analyze the summary report.
|
|
8
8
|
|
|
9
9
|
**IMPORTANT**: **Do not** start implementing.
|
|
10
|
-
**IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
|
|
11
10
|
|
|
12
11
|
---
|
|
13
12
|
|
|
@@ -18,4 +17,3 @@ Use the `tester` agent to run tests locally and analyze the summary report.
|
|
|
18
17
|
| `/ck-fix` | Analyze and fix issues |
|
|
19
18
|
| `/ck-review` | Scan and analyze codebase |
|
|
20
19
|
| `/ck-git` | Commit changes |
|
|
21
|
-
| `/ck-spec-checklist` | Validate against spec requirements |
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agent-browser
|
|
3
3
|
description: AI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase).
|
|
4
|
+
license: Apache-2.0
|
|
5
|
+
argument-hint: "[url or task]"
|
|
4
6
|
---
|
|
5
7
|
|
|
6
8
|
# agent-browser Skill
|
|
@@ -43,15 +45,16 @@ agent-browser click @e1
|
|
|
43
45
|
agent-browser snapshot -i
|
|
44
46
|
```
|
|
45
47
|
|
|
46
|
-
## When to Use
|
|
48
|
+
## When to Use (vs chrome-devtools)
|
|
47
49
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
-
|
|
50
|
+
| Use agent-browser | Use chrome-devtools |
|
|
51
|
+
|-------------------|---------------------|
|
|
52
|
+
| Long autonomous AI sessions | Quick one-off screenshots |
|
|
53
|
+
| Context-constrained workflows | Custom Puppeteer scripts needed |
|
|
54
|
+
| Video recording for debugging | WebSocket full frame debugging |
|
|
55
|
+
| Cloud browsers (Browserbase) | Existing workflow integration |
|
|
56
|
+
| Multi-tab handling | Need Sharp auto-compression |
|
|
57
|
+
| Self-verifying build loops | Session with auth injection |
|
|
55
58
|
|
|
56
59
|
**Token efficiency:** ~280 chars/snapshot vs 8K+ for Playwright MCP.
|
|
57
60
|
|
package/templates/repo/.github/skills/agent-browser/references/agent-browser-vs-chrome-devtools.md
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# agent-browser vs chrome-devtools
|
|
2
|
+
|
|
3
|
+
Detailed comparison guide for choosing between browser automation skills.
|
|
4
|
+
|
|
5
|
+
## Feature Comparison
|
|
6
|
+
|
|
7
|
+
| Feature | agent-browser | chrome-devtools |
|
|
8
|
+
|---------|---------------|-----------------|
|
|
9
|
+
| **Engine** | Playwright (via Rust CLI) | Puppeteer |
|
|
10
|
+
| **Refs system** | `@e1` inline | `[ref=e1]` YAML |
|
|
11
|
+
| **Session persistence** | Named sessions (`--session`) | `.browser-session.json` |
|
|
12
|
+
| **Screenshot** | Basic | Auto-compress >5MB (Sharp) |
|
|
13
|
+
| **Network intercept** | `route` command | `network.js` script |
|
|
14
|
+
| **Console capture** | Basic | With filtering |
|
|
15
|
+
| **WebSocket debug** | Limited | Full frames support |
|
|
16
|
+
| **Video recording** | Built-in `record` | Not available |
|
|
17
|
+
| **PDF export** | Built-in `pdf` | Via Puppeteer API |
|
|
18
|
+
| **Auth persistence** | `state save/load` | `inject-auth.js` |
|
|
19
|
+
| **Multi-tab** | Full support | Limited |
|
|
20
|
+
| **Cloud browsers** | Browserbase native | Manual setup |
|
|
21
|
+
| **Performance** | Rust CLI (fast) | Node.js |
|
|
22
|
+
| **Custom scripts** | None (CLI only) | 20+ utilities |
|
|
23
|
+
|
|
24
|
+
## Token Efficiency Benchmarks
|
|
25
|
+
|
|
26
|
+
| Metric | agent-browser | chrome-devtools | Playwright MCP |
|
|
27
|
+
|--------|---------------|-----------------|----------------|
|
|
28
|
+
| Homepage snapshot | ~280 chars | ~300-500 chars | ~8,247 chars |
|
|
29
|
+
| Context reduction | 93% vs MCP | 90% vs MCP | Baseline |
|
|
30
|
+
| Tool definitions | ~2K tokens | 0 (CLI scripts) | ~17K tokens |
|
|
31
|
+
|
|
32
|
+
**Conclusion:** Both agent-browser and chrome-devtools are similarly efficient. Both dramatically outperform Playwright MCP.
|
|
33
|
+
|
|
34
|
+
## Use Case Decision Tree
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
Need browser automation?
|
|
38
|
+
|
|
|
39
|
+
+-- Long autonomous AI session?
|
|
40
|
+
| +-- YES --> agent-browser (better context efficiency)
|
|
41
|
+
| +-- NO --> Continue
|
|
42
|
+
|
|
|
43
|
+
+-- Need video recording?
|
|
44
|
+
| +-- YES --> agent-browser (built-in)
|
|
45
|
+
| +-- NO --> Continue
|
|
46
|
+
|
|
|
47
|
+
+-- Cloud browser (CI/CD)?
|
|
48
|
+
| +-- YES --> agent-browser (Browserbase native)
|
|
49
|
+
| +-- NO --> Continue
|
|
50
|
+
|
|
|
51
|
+
+-- Custom Puppeteer scripts?
|
|
52
|
+
| +-- YES --> chrome-devtools (20+ utilities)
|
|
53
|
+
| +-- NO --> Continue
|
|
54
|
+
|
|
|
55
|
+
+-- WebSocket debugging?
|
|
56
|
+
| +-- YES --> chrome-devtools (full frames)
|
|
57
|
+
| +-- NO --> Continue
|
|
58
|
+
|
|
|
59
|
+
+-- Screenshot auto-compression?
|
|
60
|
+
| +-- YES --> chrome-devtools (Sharp)
|
|
61
|
+
| +-- NO --> agent-browser OR chrome-devtools
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Parallel Usage Patterns
|
|
65
|
+
|
|
66
|
+
Both skills can coexist - use the right tool for each task:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
# Quick screenshot with compression -> chrome-devtools
|
|
70
|
+
node "$SKILL_DIR/screenshot.js" --url https://example.com --output ss.png
|
|
71
|
+
|
|
72
|
+
# Long autonomous session -> agent-browser
|
|
73
|
+
agent-browser --session test1 open https://example.com
|
|
74
|
+
agent-browser snapshot -i
|
|
75
|
+
# ... many interactions ...
|
|
76
|
+
agent-browser close
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Migration Guide
|
|
80
|
+
|
|
81
|
+
### From chrome-devtools to agent-browser
|
|
82
|
+
|
|
83
|
+
| chrome-devtools | agent-browser |
|
|
84
|
+
|-----------------|---------------|
|
|
85
|
+
| `node navigate.js --url X` | `agent-browser open X` |
|
|
86
|
+
| `node aria-snapshot.js --url X` | `agent-browser open X && agent-browser snapshot -i` |
|
|
87
|
+
| `node select-ref.js --ref e5 --action click` | `agent-browser click @e5` |
|
|
88
|
+
| `node fill.js --selector "#email" --value "X"` | `agent-browser fill @e1 "X"` |
|
|
89
|
+
| `node screenshot.js --output X.png` | `agent-browser screenshot -o X.png` |
|
|
90
|
+
| `node console.js --types error` | No direct equivalent |
|
|
91
|
+
| `node network.js` | No direct equivalent |
|
|
92
|
+
|
|
93
|
+
### Key Differences
|
|
94
|
+
|
|
95
|
+
1. **Refs format:** `[ref=e5]` vs `@e5`
|
|
96
|
+
2. **Session:** File-based vs named sessions
|
|
97
|
+
3. **Commands:** Node scripts vs CLI commands
|
|
98
|
+
4. **Output:** JSON always vs JSON with `--json` flag
|
|
99
|
+
|
|
100
|
+
## When to Switch
|
|
101
|
+
|
|
102
|
+
**Switch to agent-browser when:**
|
|
103
|
+
- Starting new long-running automation
|
|
104
|
+
- Need video recording capability
|
|
105
|
+
- Moving to cloud browsers (Browserbase)
|
|
106
|
+
- Want simpler CLI syntax
|
|
107
|
+
|
|
108
|
+
**Keep chrome-devtools when:**
|
|
109
|
+
- Existing workflows depend on custom scripts
|
|
110
|
+
- Need WebSocket full-frame debugging
|
|
111
|
+
- Need automatic screenshot compression
|
|
112
|
+
- Need fine-grained console log filtering
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bootstrap
|
|
3
|
+
description: "Bootstrap new projects with research, tech stack, design, planning, and implementation. Modes: full (interactive), auto (default), fast (skip research), parallel (multi-agent)."
|
|
4
|
+
license: MIT
|
|
5
|
+
argument-hint: "[requirements] [--full|--auto|--fast|--parallel]"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Bootstrap - New Project Scaffolding
|
|
9
|
+
|
|
10
|
+
End-to-end project bootstrapping from idea to running code.
|
|
11
|
+
|
|
12
|
+
**Principles:** YAGNI, KISS, DRY | Token efficiency | Concise reports
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
/ck-bootstrap <user-requirements>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Flags** (optional, default `--auto`):
|
|
21
|
+
|
|
22
|
+
| Flag | Mode | Thinking | User Gates | Planning Skill | Cook Skill |
|
|
23
|
+
|------|------|----------|------------|----------------|------------|
|
|
24
|
+
| `--full` | Full interactive | Ultrathink | Every phase | `--hard` | (interactive) |
|
|
25
|
+
| `--auto` | Automatic | Ultrathink | Design only | `--auto` | `--auto` |
|
|
26
|
+
| `--fast` | Quick | Think hard | None | `--fast` | `--auto` |
|
|
27
|
+
| `--parallel` | Multi-agent | Ultrathink | Design only | `--parallel` | `--parallel` |
|
|
28
|
+
|
|
29
|
+
**Example:**
|
|
30
|
+
```
|
|
31
|
+
/ck-bootstrap "Build a SaaS dashboard with auth" --fast
|
|
32
|
+
/ck-bootstrap "E-commerce platform with Stripe" --parallel
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Workflow Overview
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
[Git Init] → [Research?] → [Tech Stack?] → [Design?] → [Planning] → [Implementation] → [Test] → [Review] → [Docs] → [Onboard] → [Final]
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Each mode loads a specific workflow reference + shared phases.
|
|
42
|
+
|
|
43
|
+
## Mode Detection
|
|
44
|
+
|
|
45
|
+
If no flag provided, default to `--auto`.
|
|
46
|
+
|
|
47
|
+
Load the appropriate workflow reference:
|
|
48
|
+
- `--full`: Load `references/workflow-full.md`
|
|
49
|
+
- `--auto`: Load `references/workflow-auto.md`
|
|
50
|
+
- `--fast`: Load `references/workflow-fast.md`
|
|
51
|
+
- `--parallel`: Load `references/workflow-parallel.md`
|
|
52
|
+
|
|
53
|
+
All modes share: Load `references/shared-phases.md` for implementation through final report.
|
|
54
|
+
|
|
55
|
+
## Step 0: Git Init (ALL modes)
|
|
56
|
+
|
|
57
|
+
Check if Git initialized. If not:
|
|
58
|
+
- `--full`: Ask user if they want to init → `git-manager` subagent (`main` branch)
|
|
59
|
+
- Others: Auto-init via `git-manager` subagent (`main` branch)
|
|
60
|
+
|
|
61
|
+
## Skill Triggers (MANDATORY)
|
|
62
|
+
|
|
63
|
+
After early phases (research, tech stack, design), trigger downstream skills:
|
|
64
|
+
|
|
65
|
+
### Planning Phase
|
|
66
|
+
Activate **plan** skill with mode-appropriate flag:
|
|
67
|
+
- `--full` → `/ck-plan --hard <requirements>` (thorough research + validation)
|
|
68
|
+
- `--auto` → `/ck-plan --auto <requirements>` (auto-detect complexity)
|
|
69
|
+
- `--fast` → `/ck-plan --fast <requirements>` (skip research)
|
|
70
|
+
- `--parallel` → `/ck-plan --parallel <requirements>` (file ownership + dependency graph)
|
|
71
|
+
|
|
72
|
+
Planning skill outputs a plan path. Pass this to cook.
|
|
73
|
+
|
|
74
|
+
### Implementation Phase
|
|
75
|
+
Activate **cook** skill with the plan path and mode-appropriate flag:
|
|
76
|
+
- `--full` → `/ck-cook <plan-path>` (interactive review gates)
|
|
77
|
+
- `--auto` → `/ck-cook --auto <plan-path>` (skip review gates)
|
|
78
|
+
- `--fast` → `/ck-cook --auto <plan-path>` (skip review gates)
|
|
79
|
+
- `--parallel` → `/ck-cook --parallel <plan-path>` (multi-agent execution)
|
|
80
|
+
|
|
81
|
+
## Role
|
|
82
|
+
|
|
83
|
+
Elite software engineering expert specializing in system architecture and technical decisions. Brutally honest about feasibility and trade-offs.
|
|
84
|
+
|
|
85
|
+
## Critical Rules
|
|
86
|
+
|
|
87
|
+
- Activate relevant skills from catalog during the process
|
|
88
|
+
- Keep all research reports ≤150 lines
|
|
89
|
+
- All docs written to `./docs` directory
|
|
90
|
+
- Plans written to `./plans` directory using naming from `## Naming` section
|
|
91
|
+
- DO NOT implement code directly — delegate through planning + cook skills
|
|
92
|
+
- Sacrifice grammar for concision in reports
|
|
93
|
+
- List unresolved questions at end of reports
|
|
94
|
+
- Run `/ck-journal` to write a concise technical journal entry upon completion
|
|
95
|
+
|
|
96
|
+
## References
|
|
97
|
+
|
|
98
|
+
- `references/workflow-full.md` - Full interactive workflow
|
|
99
|
+
- `references/workflow-auto.md` - Auto workflow (default)
|
|
100
|
+
- `references/workflow-fast.md` - Fast workflow
|
|
101
|
+
- `references/workflow-parallel.md` - Parallel workflow
|
|
102
|
+
- `references/shared-phases.md` - Common phases (implementation → final report)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Shared Phases (All Modes)
|
|
2
|
+
|
|
3
|
+
These phases apply after planning is complete and cook skill is activated.
|
|
4
|
+
Cook skill handles most of these — this reference documents bootstrap-specific guidance.
|
|
5
|
+
|
|
6
|
+
## Implementation
|
|
7
|
+
|
|
8
|
+
Handled by **cook** skill. Bootstrap-specific notes:
|
|
9
|
+
- Use main agent to implement step by step per plan in `./plans`
|
|
10
|
+
- Use `ui-ux-designer` subagent for frontend per `./docs/design-guidelines.md`
|
|
11
|
+
- Asset pipeline: `ai-multimodal` (if available) (generate/analyze) → `imagemagick` (crop/resize) → background removal if needed
|
|
12
|
+
- Run type checking and compile after each phase
|
|
13
|
+
|
|
14
|
+
## Testing
|
|
15
|
+
|
|
16
|
+
Handled by **cook** skill. Bootstrap-specific notes:
|
|
17
|
+
- Write real tests — NO fake data, mocks, cheats, tricks, temporary solutions
|
|
18
|
+
- `tester` subagent runs tests → report to main agent
|
|
19
|
+
- If failures: `debugger` subagent → fix → repeat until all pass
|
|
20
|
+
- DO NOT ignore failed tests to pass build/CI
|
|
21
|
+
|
|
22
|
+
## Code Review
|
|
23
|
+
|
|
24
|
+
Handled by **cook** skill. Bootstrap-specific notes:
|
|
25
|
+
- `code-reviewer` subagent reviews code
|
|
26
|
+
- If critical issues: fix → retest → repeat
|
|
27
|
+
- Report summary to user when all tests pass and code reviewed
|
|
28
|
+
|
|
29
|
+
## Documentation
|
|
30
|
+
|
|
31
|
+
After code review passes. Use `docs-manager` subagent to create/update:
|
|
32
|
+
- `./docs/README.md` (≤300 lines)
|
|
33
|
+
- `./docs/codebase-summary.md`
|
|
34
|
+
- `./docs/project-overview-pdr.md` (Product Development Requirements)
|
|
35
|
+
- `./docs/code-standards.md`
|
|
36
|
+
- `./docs/system-architecture.md`
|
|
37
|
+
|
|
38
|
+
Use `project-manager` subagent to create:
|
|
39
|
+
- `./docs/project-roadmap.md`
|
|
40
|
+
- Update plan/phase status to complete
|
|
41
|
+
|
|
42
|
+
## Onboarding
|
|
43
|
+
|
|
44
|
+
Guide user to get started with the project:
|
|
45
|
+
- Ask 1 question at a time, wait for answer before next
|
|
46
|
+
- Example: instruct user to obtain API key → ask for key → add to env vars
|
|
47
|
+
- If user requests config changes, repeat until approved
|
|
48
|
+
|
|
49
|
+
## Final Report
|
|
50
|
+
|
|
51
|
+
1. Summary of all changes, brief explanations
|
|
52
|
+
2. Guide user to get started + suggest next steps
|
|
53
|
+
3. Ask user if they want to commit/push:
|
|
54
|
+
- If yes: `git-manager` subagent to commit (and push if requested)
|
|
55
|
+
- `--fast` mode: auto-commit (no push) without asking
|
|
56
|
+
|
|
57
|
+
**Report rules:**
|
|
58
|
+
- Sacrifice grammar for concision
|
|
59
|
+
- List unresolved questions at end, if any
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Auto Workflow (`--auto`) — Default
|
|
2
|
+
|
|
3
|
+
**Thinking level:** Ultrathink
|
|
4
|
+
**User gates:** Design approval only. All other phases proceed automatically.
|
|
5
|
+
|
|
6
|
+
## Step 1: Research
|
|
7
|
+
|
|
8
|
+
Spawn multiple `researcher` subagents in parallel:
|
|
9
|
+
- Explore request, idea validation, challenges, best solutions
|
|
10
|
+
- Keep every report ≤150 lines
|
|
11
|
+
|
|
12
|
+
No user gate — proceed automatically.
|
|
13
|
+
|
|
14
|
+
## Step 2: Tech Stack
|
|
15
|
+
|
|
16
|
+
1. Use `planner` + multiple `researcher` subagents in parallel for best-fit stack
|
|
17
|
+
2. Write tech stack to `./docs` directory
|
|
18
|
+
|
|
19
|
+
No user gate — auto-select best option.
|
|
20
|
+
|
|
21
|
+
## Step 3: Wireframe & Design
|
|
22
|
+
|
|
23
|
+
1. Use `ui-ux-designer` + `researcher` subagents in parallel:
|
|
24
|
+
- Research style, trends, fonts (predict Google Fonts name, NOT just Inter/Poppins), colors, spacing, positions
|
|
25
|
+
- Describe assets for `ai-multimodal` (if available) skill generation
|
|
26
|
+
2. `ui-ux-designer` creates:
|
|
27
|
+
- Design guidelines at `./docs/design-guidelines.md`
|
|
28
|
+
- Wireframes in HTML at `./docs/wireframe/`
|
|
29
|
+
3. If no logo provided: generate with `ai-multimodal` (if available) skill
|
|
30
|
+
4. Screenshot wireframes with `chrome-devtools` (if available) → save to `./docs/wireframes/`
|
|
31
|
+
|
|
32
|
+
**Gate:** Ask user to approve design. Repeat if rejected.
|
|
33
|
+
|
|
34
|
+
**Image tools:** `ai-multimodal` (if available) for generation/analysis, `imagemagick` for crop/resize, background removal tool as needed.
|
|
35
|
+
|
|
36
|
+
## Step 4: Planning
|
|
37
|
+
|
|
38
|
+
Activate **plan** skill: `/ck-plan --auto <requirements>`
|
|
39
|
+
- Planning skill auto-detects complexity and picks appropriate mode
|
|
40
|
+
- Creates plan directory using `## Naming` pattern
|
|
41
|
+
- Overview at `plan.md` (<80 lines) + `phase-XX-*.md` files
|
|
42
|
+
|
|
43
|
+
No user gate — proceed to implementation.
|
|
44
|
+
|
|
45
|
+
## Step 5: Implementation → Final Report
|
|
46
|
+
|
|
47
|
+
Load `references/shared-phases.md` for remaining phases.
|
|
48
|
+
|
|
49
|
+
Activate **cook** skill: `/ck-cook --auto <plan-path>`
|
|
50
|
+
- Skips all review gates
|
|
51
|
+
- Auto-approves if score≥9.5 and 0 critical issues
|
|
52
|
+
- Continues through all phases without stopping
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Fast Workflow (`--fast`)
|
|
2
|
+
|
|
3
|
+
**Thinking level:** Think hard
|
|
4
|
+
**User gates:** None. Fully autonomous from start to finish.
|
|
5
|
+
|
|
6
|
+
## Step 1: Combined Research & Planning
|
|
7
|
+
|
|
8
|
+
All research happens in parallel, then feeds into planning:
|
|
9
|
+
|
|
10
|
+
**Parallel research batch** (spawn these simultaneously):
|
|
11
|
+
- 2 `researcher` subagents (max 5 sources each): explore request, validate idea, find solutions
|
|
12
|
+
- 2 `researcher` subagents (max 5 sources each): find best-fit tech stack
|
|
13
|
+
- 2 `researcher` subagents (max 5 sources each): research design style, trends, fonts, colors, spacing, positions
|
|
14
|
+
- Predict Google Fonts name (NOT just Inter/Poppins)
|
|
15
|
+
- Describe assets for `ai-multimodal` (if available) generation
|
|
16
|
+
|
|
17
|
+
Keep all reports ≤150 lines.
|
|
18
|
+
|
|
19
|
+
## Step 2: Design
|
|
20
|
+
|
|
21
|
+
1. `ui-ux-designer` subagent analyzes research, creates:
|
|
22
|
+
- Design guidelines at `./docs/design-guidelines.md`
|
|
23
|
+
- Wireframes in HTML at `./docs/wireframe/`
|
|
24
|
+
2. If no logo provided: generate with `ai-multimodal` (if available) skill
|
|
25
|
+
3. Screenshot wireframes with `chrome-devtools` (if available) → save to `./docs/wireframes/`
|
|
26
|
+
|
|
27
|
+
**Image tools:** `ai-multimodal` (if available) for generation/analysis, `imagemagick` for crop/resize, background removal tool as needed.
|
|
28
|
+
|
|
29
|
+
No user gate — proceed directly.
|
|
30
|
+
|
|
31
|
+
## Step 3: Planning
|
|
32
|
+
|
|
33
|
+
Activate **plan** skill: `/ck-plan --fast <requirements>`
|
|
34
|
+
- Skip research (already done above)
|
|
35
|
+
- Read codebase docs → create plan directly
|
|
36
|
+
- Plan directory using `## Naming` pattern
|
|
37
|
+
- Overview at `plan.md` (<80 lines) + `phase-XX-*.md` files
|
|
38
|
+
|
|
39
|
+
No user gate — proceed to implementation.
|
|
40
|
+
|
|
41
|
+
## Step 4: Implementation → Final Report
|
|
42
|
+
|
|
43
|
+
Load `references/shared-phases.md` for remaining phases.
|
|
44
|
+
|
|
45
|
+
Activate **cook** skill: `/ck-cook --auto <plan-path>`
|
|
46
|
+
- Skips all review gates (fast planning pairs with fast execution)
|
|
47
|
+
- Auto-approves if score≥9.5 and 0 critical issues
|
|
48
|
+
- Continues through all phases without stopping
|
|
49
|
+
|
|
50
|
+
**Note:** Fast mode uses `git-manager` to auto-commit (no push) at the end.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Full Interactive Workflow (`--full`)
|
|
2
|
+
|
|
3
|
+
**Thinking level:** Ultrathink
|
|
4
|
+
**User gates:** Every major phase requires user approval before proceeding.
|
|
5
|
+
|
|
6
|
+
## Step 1: Clarify Requirements
|
|
7
|
+
|
|
8
|
+
Use asking the user to probe user's request, constraints, true objectives.
|
|
9
|
+
- Ask 1 question at a time, wait for answer before next
|
|
10
|
+
- Question everything — don't assume
|
|
11
|
+
- Challenge assumptions — best solution often differs from initial vision
|
|
12
|
+
- Continue until 100% certain about requirements
|
|
13
|
+
|
|
14
|
+
## Step 2: Research
|
|
15
|
+
|
|
16
|
+
Spawn multiple `researcher` subagents in parallel:
|
|
17
|
+
- Explore request validity, challenges, best solutions
|
|
18
|
+
- Keep every report ≤150 lines
|
|
19
|
+
|
|
20
|
+
**Gate:** Present findings to user. Proceed only with approval.
|
|
21
|
+
|
|
22
|
+
## Step 3: Tech Stack
|
|
23
|
+
|
|
24
|
+
1. Ask user for preferred tech stack. If provided, skip to step 4.
|
|
25
|
+
2. Use `planner` + multiple `researcher` subagents in parallel to find best-fit stack
|
|
26
|
+
3. Present 2-3 options with pros/cons by asking the user
|
|
27
|
+
4. Write approved tech stack to `./docs` directory
|
|
28
|
+
|
|
29
|
+
**Gate:** User approves tech stack before continuing.
|
|
30
|
+
|
|
31
|
+
## Step 4: Wireframe & Design
|
|
32
|
+
|
|
33
|
+
1. Ask user if they want wireframes/design. If no → skip to Step 5.
|
|
34
|
+
2. Use `ui-ux-designer` + `researcher` subagents in parallel:
|
|
35
|
+
- Research style, trends, fonts (predict Google Fonts name, NOT just Inter/Poppins), colors, spacing, positions
|
|
36
|
+
- Describe assets for `ai-multimodal` (if available) skill generation
|
|
37
|
+
3. `ui-ux-designer` creates:
|
|
38
|
+
- Design guidelines at `./docs/design-guidelines.md`
|
|
39
|
+
- Wireframes in HTML at `./docs/wireframe/`
|
|
40
|
+
4. If no logo provided: generate with `ai-multimodal` (if available) skill
|
|
41
|
+
5. Screenshot wireframes with `chrome-devtools` (if available) → save to `./docs/wireframes/`
|
|
42
|
+
|
|
43
|
+
**Gate:** User approves design. Repeat if rejected.
|
|
44
|
+
|
|
45
|
+
**Image tools:** `ai-multimodal` (if available) for generation/analysis, `imagemagick` for crop/resize, background removal tool as needed.
|
|
46
|
+
|
|
47
|
+
## Step 5: Planning
|
|
48
|
+
|
|
49
|
+
Activate **plan** skill: `/ck-plan --hard <requirements>`
|
|
50
|
+
- Planner creates directory using `## Naming` pattern
|
|
51
|
+
- Overview at `plan.md` (<80 lines) + `phase-XX-*.md` files
|
|
52
|
+
- Present pros/cons of plan
|
|
53
|
+
|
|
54
|
+
**Gate:** User approves plan. DO NOT start implementing without approval.
|
|
55
|
+
|
|
56
|
+
## Step 6: Implementation → Final Report
|
|
57
|
+
|
|
58
|
+
Load `references/shared-phases.md` for remaining phases.
|
|
59
|
+
|
|
60
|
+
Activate **cook** skill: `/ck-cook <plan-path>` (interactive mode — review gates at each step)
|