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,18 +1,28 @@
|
|
|
1
1
|
# Quick Workflow
|
|
2
2
|
|
|
3
|
-
Fast
|
|
3
|
+
Fast scout-diagnose-fix-verify cycle for simple issues.
|
|
4
4
|
|
|
5
5
|
## Steps
|
|
6
6
|
|
|
7
|
-
### Step 1:
|
|
8
|
-
|
|
7
|
+
### Step 1: Scout (Minimal)
|
|
8
|
+
Locate affected file(s) and their direct dependencies only.
|
|
9
|
+
- Read error message → identify file path
|
|
10
|
+
- Check direct imports/dependencies of affected file
|
|
11
|
+
- Skip full codebase mapping
|
|
12
|
+
|
|
13
|
+
**Output:** `✓ Step 1: Scouted - [file], [N] direct deps`
|
|
14
|
+
|
|
15
|
+
### Step 2: Diagnose (Abbreviated)
|
|
16
|
+
Activate `debug` skill. Activate `sequential-thinking` for structured analysis.
|
|
17
|
+
|
|
9
18
|
- Read error message/logs
|
|
10
|
-
-
|
|
11
|
-
- Identify
|
|
19
|
+
- **Capture pre-fix state:** Record exact error output (this is your verification baseline)
|
|
20
|
+
- Identify root cause (usually obvious for simple issues)
|
|
21
|
+
- Skip parallel hypothesis testing for trivial cases
|
|
12
22
|
|
|
13
|
-
**Output:** `✓ Step
|
|
23
|
+
**Output:** `✓ Step 2: Diagnosed - Root cause: [brief description]`
|
|
14
24
|
|
|
15
|
-
### Step
|
|
25
|
+
### Step 3: Fix & Verify
|
|
16
26
|
Implement the fix directly.
|
|
17
27
|
- Make minimal changes
|
|
18
28
|
- Follow existing patterns
|
|
@@ -24,36 +34,49 @@ Task("Bash", "Run typecheck", "Verify types")
|
|
|
24
34
|
Task("Bash", "Run lint", "Verify lint")
|
|
25
35
|
```
|
|
26
36
|
|
|
37
|
+
**Before/After comparison:** Re-run the EXACT command from pre-fix state capture. Compare output.
|
|
38
|
+
|
|
27
39
|
See `references/parallel-exploration.md` for patterns.
|
|
28
40
|
|
|
29
|
-
**Output:** `✓ Step
|
|
41
|
+
**Output:** `✓ Step 3: Fixed - [N] files, verified (types/lint passed)`
|
|
30
42
|
|
|
31
|
-
### Step
|
|
32
|
-
Use `code-reviewer`
|
|
43
|
+
### Step 4: Review + Prevent
|
|
44
|
+
Use `code-reviewer` subagent for quick review.
|
|
33
45
|
|
|
34
46
|
Prompt: "Quick review of fix for [issue]. Check: correctness, security, no regressions. Score X/10."
|
|
35
47
|
|
|
48
|
+
**Prevention (abbreviated for Quick):**
|
|
49
|
+
- Type errors/lint: type system IS the test → regression test optional
|
|
50
|
+
- Bug fixes: add at least 1 test covering the fixed scenario
|
|
51
|
+
- Still require before/after comparison of verification output
|
|
52
|
+
|
|
36
53
|
**Review handling:** See `references/review-cycle.md`
|
|
37
54
|
|
|
38
|
-
**Output:** `✓ Step
|
|
55
|
+
**Output:** `✓ Step 4: Review [score]/10 - [prevention measures]`
|
|
39
56
|
|
|
40
|
-
### Step
|
|
57
|
+
### Step 5: Complete
|
|
41
58
|
Report summary to user.
|
|
42
59
|
|
|
43
|
-
**If autonomous mode:** Ask to commit via `git-manager`
|
|
60
|
+
**If autonomous mode:** Ask to commit via `git-manager` subagent if score >= 9.0
|
|
44
61
|
**If HITL mode:** Ask user next action
|
|
45
62
|
|
|
46
|
-
**Output:** `✓ Step
|
|
63
|
+
**Output:** `✓ Step 5: Complete - [action]`
|
|
64
|
+
|
|
65
|
+
## Skills/Subagents Activated
|
|
47
66
|
|
|
48
|
-
|
|
67
|
+
| Step | Skills/Subagents |
|
|
68
|
+
|------|------------------|
|
|
69
|
+
| 1 | `scout` (minimal) or direct file read |
|
|
70
|
+
| 2 | `debug`, `sequential-thinking` |
|
|
71
|
+
| 3 | Parallel `Bash` for verification |
|
|
72
|
+
| 4 | `code-reviewer` subagent |
|
|
73
|
+
| 5 | `git-manager` subagent |
|
|
49
74
|
|
|
50
|
-
|
|
51
|
-
- Parallel `git-manager` - Verification (Step 2)
|
|
52
|
-
- `code-reviewer` agent - Always (Step 3)
|
|
53
|
-
- `context-engineering` - If dealing with AI/LLM code
|
|
75
|
+
**Extra:** `context-engineering` if dealing with AI/LLM code
|
|
54
76
|
|
|
55
77
|
## Notes
|
|
56
78
|
|
|
57
79
|
- Skip if review fails → escalate to Standard workflow
|
|
58
|
-
- Total steps:
|
|
80
|
+
- Total steps: 5
|
|
59
81
|
- No planning phase needed
|
|
82
|
+
- Pre-fix state capture is STILL mandatory (even for quick fixes)
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
# Standard Workflow
|
|
2
2
|
|
|
3
|
-
Full pipeline for moderate complexity issues.
|
|
3
|
+
Full pipeline for moderate complexity issues. Uses native Tasks for phase tracking.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Task Setup (Before Starting)
|
|
6
|
+
|
|
7
|
+
Create all phase tasks upfront with dependencies. See `references/task-orchestration.md`.
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
```
|
|
10
|
+
T1 = TaskCreate(subject="Scout codebase", activeForm="Scouting codebase")
|
|
11
|
+
T2 = TaskCreate(subject="Diagnose root cause", activeForm="Diagnosing root cause")
|
|
12
|
+
T3 = TaskCreate(subject="Implement fix", activeForm="Implementing fix", addBlockedBy=[T1, T2])
|
|
13
|
+
T4 = TaskCreate(subject="Verify + prevent", activeForm="Verifying fix", addBlockedBy=[T3])
|
|
14
|
+
T5 = TaskCreate(subject="Code review", activeForm="Reviewing code", addBlockedBy=[T4])
|
|
15
|
+
T6 = TaskCreate(subject="Finalize", activeForm="Finalizing", addBlockedBy=[T5])
|
|
16
|
+
```
|
|
9
17
|
|
|
10
|
-
|
|
11
|
-
- Reproduce the issue
|
|
12
|
-
- Trace backward to root cause
|
|
13
|
-
- Identify all affected files
|
|
18
|
+
## Steps
|
|
14
19
|
|
|
15
|
-
|
|
20
|
+
### Step 1: Scout Codebase
|
|
21
|
+
`TaskUpdate(T1, status="in_progress")`
|
|
16
22
|
|
|
17
|
-
|
|
18
|
-
|
|
23
|
+
**Mandatory skill chain:**
|
|
24
|
+
1. Activate `scout` skill OR launch 2-3 parallel `Explore` subagents.
|
|
25
|
+
2. Map: affected files, module boundaries, dependencies, related tests, recent git changes.
|
|
19
26
|
|
|
20
27
|
**Pattern:** In SINGLE message, launch 2-3 Explore agents:
|
|
21
28
|
```
|
|
@@ -24,63 +31,90 @@ Task("Explore", "Find [area2] patterns/usage", "Scout area2")
|
|
|
24
31
|
Task("Explore", "Find [area3] tests/dependencies", "Scout area3")
|
|
25
32
|
```
|
|
26
33
|
|
|
27
|
-
- Only if unclear which files need changes
|
|
28
|
-
- Find patterns, similar implementations, dependencies
|
|
29
|
-
|
|
30
34
|
See `references/parallel-exploration.md` for patterns.
|
|
31
35
|
|
|
32
|
-
|
|
36
|
+
`TaskUpdate(T1, status="completed")`
|
|
37
|
+
**Output:** `✓ Step 1: Scouted [N] areas - [M] files, [K] tests found`
|
|
38
|
+
|
|
39
|
+
### Step 2: Diagnose Root Cause
|
|
40
|
+
`TaskUpdate(T2, status="in_progress")`
|
|
41
|
+
|
|
42
|
+
**Mandatory skill chain:**
|
|
43
|
+
1. **Capture pre-fix state:** Record exact error messages, failing test output, stack traces.
|
|
44
|
+
2. Activate `debug` skill. Use `debugger` subagent if needed.
|
|
45
|
+
3. Activate `sequential-thinking` — form hypotheses through structured reasoning.
|
|
46
|
+
4. Spawn parallel `Explore` subagents to test hypotheses against codebase evidence.
|
|
47
|
+
5. If 2+ hypotheses fail → auto-activate `problem-solving`.
|
|
48
|
+
6. Trace backward to root cause (not just symptom location).
|
|
49
|
+
|
|
50
|
+
See `references/diagnosis-protocol.md` for full methodology.
|
|
51
|
+
|
|
52
|
+
`TaskUpdate(T2, status="completed")`
|
|
53
|
+
**Output:** `✓ Step 2: Diagnosed - Root cause: [summary], Evidence: [brief], Scope: [N files]`
|
|
33
54
|
|
|
34
55
|
### Step 3: Implement Fix
|
|
35
|
-
|
|
56
|
+
`TaskUpdate(T3, status="in_progress")` — auto-unblocked when T1 + T2 complete.
|
|
57
|
+
|
|
58
|
+
Fix the ROOT CAUSE per diagnosis findings. Not symptoms.
|
|
36
59
|
|
|
37
60
|
- Apply `problem-solving` skill if stuck
|
|
38
61
|
- Use `sequential-thinking` for complex logic
|
|
62
|
+
- Minimal changes. Follow existing patterns.
|
|
63
|
+
|
|
64
|
+
`TaskUpdate(T3, status="completed")`
|
|
65
|
+
**Output:** `✓ Step 3: Implemented - [N] files changed`
|
|
39
66
|
|
|
40
|
-
|
|
41
|
-
|
|
67
|
+
### Step 4: Verify + Prevent
|
|
68
|
+
`TaskUpdate(T4, status="in_progress")`
|
|
69
|
+
|
|
70
|
+
**Mandatory skill chain:**
|
|
71
|
+
1. **Iron-law verify:** Re-run the EXACT commands from pre-fix state capture. Compare before/after.
|
|
72
|
+
2. **Regression test:** Add/update test(s) covering the fixed issue. Test MUST fail without fix, pass with fix.
|
|
73
|
+
3. **Defense-in-depth:** Apply prevention layers where applicable (see `references/prevention-gate.md`).
|
|
74
|
+
4. **Parallel verification:** Launch `Bash` agents:
|
|
42
75
|
```
|
|
43
76
|
Task("Bash", "Run typecheck", "Verify types")
|
|
44
77
|
Task("Bash", "Run lint", "Verify lint")
|
|
45
78
|
Task("Bash", "Run build", "Verify build")
|
|
79
|
+
Task("Bash", "Run tests", "Verify tests")
|
|
46
80
|
```
|
|
47
81
|
|
|
48
|
-
**
|
|
49
|
-
|
|
50
|
-
### Step 4: Test
|
|
51
|
-
Use `tester` agent to run tests.
|
|
52
|
-
|
|
53
|
-
- Write new tests if needed
|
|
54
|
-
- Run existing test suite
|
|
55
|
-
- If fail → use `debugger`, fix, repeat
|
|
82
|
+
**If verification fails:** Loop back to Step 2 (re-diagnose). Max 3 attempts.
|
|
56
83
|
|
|
57
|
-
|
|
84
|
+
`TaskUpdate(T4, status="completed")`
|
|
85
|
+
**Output:** `✓ Step 4: Verified + Prevented - [before/after], [N] tests added, [M] guards`
|
|
58
86
|
|
|
59
|
-
### Step 5: Review
|
|
60
|
-
|
|
87
|
+
### Step 5: Code Review
|
|
88
|
+
`TaskUpdate(T5, status="in_progress")`
|
|
89
|
+
Use `code-reviewer` subagent.
|
|
61
90
|
|
|
62
91
|
See `references/review-cycle.md` for mode-specific handling.
|
|
63
92
|
|
|
93
|
+
`TaskUpdate(T5, status="completed")`
|
|
64
94
|
**Output:** `✓ Step 5: Review [score]/10 - [status]`
|
|
65
95
|
|
|
66
96
|
### Step 6: Finalize
|
|
67
|
-
|
|
68
|
-
-
|
|
97
|
+
`TaskUpdate(T6, status="in_progress")`
|
|
98
|
+
- Report summary: root cause, changes, prevention measures, confidence score
|
|
99
|
+
- Activate `project-management` for task sync-back and plan status updates
|
|
69
100
|
- Update docs if needed via `docs-manager`
|
|
101
|
+
- Ask to commit via `git-manager` subagent
|
|
102
|
+
- Run `/ck-journal`
|
|
70
103
|
|
|
104
|
+
`TaskUpdate(T6, status="completed")`
|
|
71
105
|
**Output:** `✓ Step 6: Complete - [action]`
|
|
72
106
|
|
|
73
|
-
## Skills/
|
|
107
|
+
## Skills/Subagents Activated
|
|
74
108
|
|
|
75
|
-
| Step | Skills/
|
|
109
|
+
| Step | Skills/Subagents |
|
|
76
110
|
|------|------------------|
|
|
77
|
-
| 1 | `
|
|
78
|
-
| 2 |
|
|
79
|
-
| 3 | `problem-solving
|
|
80
|
-
| 4 | `tester`
|
|
81
|
-
| 5 | `code-reviewer`
|
|
82
|
-
| 6 | `git-manager`, `docs-manager`
|
|
111
|
+
| 1 | `scout` OR parallel `Explore` subagents |
|
|
112
|
+
| 2 | `debug`, `sequential-thinking`, `debugger` subagent, parallel `Explore`, (`problem-solving` auto) |
|
|
113
|
+
| 3 | `problem-solving` (if stuck), `sequential-thinking` (complex logic) |
|
|
114
|
+
| 4 | `tester` subagent, parallel `Bash` verification |
|
|
115
|
+
| 5 | `code-reviewer` subagent |
|
|
116
|
+
| 6 | `project-management`, `git-manager`, `docs-manager` subagents |
|
|
83
117
|
|
|
84
118
|
**Rules:** Don't skip steps. Validate before proceeding. One phase at a time.
|
|
85
|
-
**Frontend:** Use `
|
|
86
|
-
**Visual Assets:** Use
|
|
119
|
+
**Frontend:** Use `chrome`, `chrome-devtools` (if available) or any relevant skills/tools to verify.
|
|
120
|
+
**Visual Assets:** Use `ai-multimodal` (if available) for visual assets generation, analysis and verification.
|
|
@@ -1,25 +1,64 @@
|
|
|
1
1
|
# Test Failure Fix Workflow
|
|
2
2
|
|
|
3
|
-
For fixing failing tests and test suite issues.
|
|
3
|
+
For fixing failing tests and test suite issues. Uses native Tasks for phase tracking.
|
|
4
|
+
|
|
5
|
+
## Task Setup (Before Starting)
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
T1 = TaskCreate(subject="Compile & collect failures", activeForm="Compiling and collecting failures")
|
|
9
|
+
T2 = TaskCreate(subject="Debug root causes", activeForm="Debugging test failures", addBlockedBy=[T1])
|
|
10
|
+
T3 = TaskCreate(subject="Plan fixes", activeForm="Planning fixes", addBlockedBy=[T2])
|
|
11
|
+
T4 = TaskCreate(subject="Implement fixes", activeForm="Implementing fixes", addBlockedBy=[T3])
|
|
12
|
+
T5 = TaskCreate(subject="Re-test", activeForm="Re-running tests", addBlockedBy=[T4])
|
|
13
|
+
T6 = TaskCreate(subject="Code review", activeForm="Reviewing code", addBlockedBy=[T5])
|
|
14
|
+
```
|
|
4
15
|
|
|
5
16
|
## Workflow
|
|
6
17
|
|
|
7
|
-
1
|
|
8
|
-
|
|
18
|
+
### Step 1: Compile & Collect Failures
|
|
19
|
+
`TaskUpdate(T1, status="in_progress")`
|
|
20
|
+
Use `tester` agent. Fix all syntax errors before running tests.
|
|
21
|
+
|
|
22
|
+
- Run full test suite, collect all failures
|
|
23
|
+
- Group failures by module/area
|
|
24
|
+
|
|
25
|
+
`TaskUpdate(T1, status="completed")`
|
|
26
|
+
|
|
27
|
+
### Step 2: Debug
|
|
28
|
+
`TaskUpdate(T2, status="in_progress")`
|
|
29
|
+
Use `debugger` agent for root cause analysis.
|
|
30
|
+
|
|
31
|
+
- Analyze each failure group
|
|
32
|
+
- Identify shared root causes across failures
|
|
33
|
+
|
|
34
|
+
`TaskUpdate(T2, status="completed")`
|
|
35
|
+
|
|
36
|
+
### Step 3: Plan
|
|
37
|
+
`TaskUpdate(T3, status="in_progress")`
|
|
38
|
+
Use `planner` agent for fix strategy.
|
|
39
|
+
|
|
40
|
+
- Prioritize fixes (shared root causes first)
|
|
41
|
+
- Identify dependencies between fixes
|
|
9
42
|
|
|
10
|
-
|
|
43
|
+
`TaskUpdate(T3, status="completed")`
|
|
11
44
|
|
|
12
|
-
|
|
45
|
+
### Step 4: Implement
|
|
46
|
+
`TaskUpdate(T4, status="in_progress")`
|
|
47
|
+
Implement fixes step by step per plan.
|
|
13
48
|
|
|
14
|
-
|
|
49
|
+
`TaskUpdate(T4, status="completed")`
|
|
15
50
|
|
|
16
|
-
|
|
51
|
+
### Step 5: Re-test
|
|
52
|
+
`TaskUpdate(T5, status="in_progress")`
|
|
53
|
+
Use `tester` agent. If tests still fail → keep T5 `in_progress`, loop back to Step 2.
|
|
17
54
|
|
|
18
|
-
|
|
55
|
+
`TaskUpdate(T5, status="completed")`
|
|
19
56
|
|
|
20
|
-
|
|
57
|
+
### Step 6: Review
|
|
58
|
+
`TaskUpdate(T6, status="in_progress")`
|
|
59
|
+
Use `code-reviewer` agent.
|
|
21
60
|
|
|
22
|
-
|
|
61
|
+
`TaskUpdate(T6, status="completed")`
|
|
23
62
|
|
|
24
63
|
## Common Commands
|
|
25
64
|
```bash
|
|
@@ -1,34 +1,72 @@
|
|
|
1
1
|
# UI Fix Workflow
|
|
2
2
|
|
|
3
|
-
For fixing visual/UI issues. Requires design skills.
|
|
3
|
+
For fixing visual/UI issues. Requires design skills. Uses native Tasks for phase tracking.
|
|
4
4
|
|
|
5
5
|
## Required Skills (activate in order)
|
|
6
|
-
1. `ui-
|
|
7
|
-
2. `
|
|
6
|
+
1. `ui-ux-pro-max` (if available) - Design database (ALWAYS FIRST)
|
|
7
|
+
2. `ui-ux-pro-max` (if available) - Design principles
|
|
8
|
+
3. `frontend-design` - Implementation patterns
|
|
8
9
|
|
|
9
10
|
## Pre-fix Research
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
```bash
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Task Setup (Before Starting)
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
T1 = TaskCreate(subject="Analyze visual issue", activeForm="Analyzing visual issue")
|
|
18
|
+
T2 = TaskCreate(subject="Implement UI fix", activeForm="Implementing UI fix", addBlockedBy=[T1])
|
|
19
|
+
T3 = TaskCreate(subject="Verify visually", activeForm="Verifying visually", addBlockedBy=[T2])
|
|
20
|
+
T4 = TaskCreate(subject="DevTools check", activeForm="Checking with DevTools", addBlockedBy=[T3])
|
|
21
|
+
T5 = TaskCreate(subject="Test compilation", activeForm="Testing compilation", addBlockedBy=[T4])
|
|
22
|
+
T6 = TaskCreate(subject="Update design docs", activeForm="Updating design docs", addBlockedBy=[T5])
|
|
23
|
+
```
|
|
14
24
|
|
|
15
25
|
## Workflow
|
|
16
26
|
|
|
17
|
-
1
|
|
27
|
+
### Step 1: Analyze
|
|
28
|
+
`TaskUpdate(T1, status="in_progress")`
|
|
29
|
+
Analyze screenshots/videos with `ai-multimodal` (if available) skill.
|
|
30
|
+
|
|
31
|
+
- Read `./docs/design-guidelines.md` first
|
|
32
|
+
- Identify exact visual discrepancy
|
|
33
|
+
|
|
34
|
+
`TaskUpdate(T1, status="completed")`
|
|
35
|
+
|
|
36
|
+
### Step 2: Implement
|
|
37
|
+
`TaskUpdate(T2, status="in_progress")`
|
|
38
|
+
Use `ui-ux-designer` agent.
|
|
18
39
|
|
|
19
|
-
|
|
40
|
+
`TaskUpdate(T2, status="completed")`
|
|
20
41
|
|
|
21
|
-
3
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- Iterate until correct
|
|
42
|
+
### Step 3: Verify Visually
|
|
43
|
+
`TaskUpdate(T3, status="in_progress")`
|
|
44
|
+
Screenshot + `ai-multimodal` (if available) analysis.
|
|
25
45
|
|
|
26
|
-
|
|
46
|
+
- Capture parent container, not whole page
|
|
47
|
+
- Compare to design guidelines
|
|
48
|
+
- If incorrect → keep T3 `in_progress`, loop back to Step 2
|
|
27
49
|
|
|
28
|
-
|
|
50
|
+
`TaskUpdate(T3, status="completed")`
|
|
29
51
|
|
|
30
|
-
|
|
52
|
+
### Step 4: DevTools Check
|
|
53
|
+
`TaskUpdate(T4, status="in_progress")`
|
|
54
|
+
Use `chrome-devtools` (if available) skill.
|
|
55
|
+
|
|
56
|
+
`TaskUpdate(T4, status="completed")`
|
|
57
|
+
|
|
58
|
+
### Step 5: Test
|
|
59
|
+
`TaskUpdate(T5, status="in_progress")`
|
|
60
|
+
Use `tester` agent for compilation check.
|
|
61
|
+
|
|
62
|
+
`TaskUpdate(T5, status="completed")`
|
|
63
|
+
|
|
64
|
+
### Step 6: Document
|
|
65
|
+
`TaskUpdate(T6, status="in_progress")`
|
|
66
|
+
Update `./docs/design-guidelines.md` if needed.
|
|
67
|
+
|
|
68
|
+
`TaskUpdate(T6, status="completed")`
|
|
31
69
|
|
|
32
70
|
## Tips
|
|
33
|
-
-
|
|
34
|
-
- Use ImageMagick
|
|
71
|
+
- Use `ai-multimodal` (if available) for generating visual assets
|
|
72
|
+
- Use `ImageMagick` for image editing
|
|
@@ -1,77 +1,109 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: frontend-design
|
|
3
|
-
description: Create polished frontend interfaces from designs/screenshots/videos. Use for web components, replicating UI designs, quick prototypes,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
|
|
|
18
|
-
| 3D/WebGL request | Three.js immersive | `./references/workflow-3d.md` |
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
1
|
+
---
|
|
2
|
+
name: frontend-design
|
|
3
|
+
description: Create polished frontend interfaces from designs/screenshots/videos. Use for web components, 3D experiences, replicating UI designs, quick prototypes, immersive interfaces, avoiding AI slop.
|
|
4
|
+
license: Complete terms in LICENSE.txt
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Create distinctive, production-grade frontend interfaces. Implement real working code with exceptional aesthetic attention.
|
|
8
|
+
|
|
9
|
+
## Workflow Selection
|
|
10
|
+
|
|
11
|
+
Choose workflow based on input type:
|
|
12
|
+
|
|
13
|
+
| Input | Workflow | Reference |
|
|
14
|
+
|-------|----------|-----------|
|
|
15
|
+
| Screenshot | Replicate exactly | `./references/workflow-screenshot.md` |
|
|
16
|
+
| Video | Replicate with animations | `./references/workflow-video.md` |
|
|
17
|
+
| Screenshot/Video (describe only) | Document for devs | `./references/workflow-describe.md` |
|
|
18
|
+
| 3D/WebGL request | Three.js immersive | `./references/workflow-3d.md` |
|
|
19
|
+
| Quick task | Rapid implementation | `./references/workflow-quick.md` |
|
|
20
|
+
| Complex/award-quality | Full immersive | `./references/workflow-immersive.md` |
|
|
21
|
+
| Existing project upgrade | Redesign Audit | `./references/redesign-audit-checklist.md` |
|
|
22
|
+
| From scratch | Design Thinking below | - |
|
|
23
|
+
|
|
24
|
+
**All workflows**: Activate `ui-ux-pro-max` skill (if available) FIRST for design intelligence.
|
|
25
|
+
|
|
26
|
+
**Precedence:** When anti-slop rules (below) conflict with `ui-ux-pro-max` (if available) recommendations (e.g., Inter font, AI Purple palette, Lucide-only icons), substitute with alternatives from `./references/anti-slop-rules.md` unless the user explicitly requested the conflicting choice.
|
|
27
|
+
|
|
28
|
+
## Screenshot/Video Replication (Quick Reference)
|
|
29
|
+
|
|
30
|
+
1. **Analyze** with `ai-multimodal` (if available) skill - extract colors, fonts, spacing, effects
|
|
31
|
+
2. **Plan** with `ui-ux-designer` subagent - create phased implementation
|
|
32
|
+
3. **Implement** - match source precisely
|
|
33
|
+
4. **Verify** - compare to original
|
|
34
|
+
5. **Document** - update `./docs/design-guidelines.md` if approved
|
|
35
|
+
|
|
36
|
+
See specific workflow files for detailed steps.
|
|
37
|
+
|
|
38
|
+
## Design Dials
|
|
39
|
+
|
|
40
|
+
Three configurable parameters that drive design decisions. Set defaults at session start or let user override via chat:
|
|
41
|
+
|
|
42
|
+
| Dial | Default | Range | Low (1-3) | High (8-10) |
|
|
43
|
+
|------|---------|-------|-----------|-------------|
|
|
44
|
+
| `DESIGN_VARIANCE` | 8 | 1-10 | Perfect symmetry, centered layouts, equal grids | Asymmetric, masonry, massive empty zones, fractional CSS Grid |
|
|
45
|
+
| `MOTION_INTENSITY` | 6 | 1-10 | CSS hover/active states only | Framer Motion scroll reveals, spring physics, perpetual micro-animations |
|
|
46
|
+
| `VISUAL_DENSITY` | 4 | 1-10 | Art gallery — huge whitespace, expensive/clean | Cockpit — tiny paddings, 1px dividers, monospace numbers everywhere |
|
|
47
|
+
|
|
48
|
+
**Usage:** These values drive specific rules. At `DESIGN_VARIANCE > 4`, centered heroes are overused — force split-screen or left-aligned layouts. At `MOTION_INTENSITY > 5`, embed perpetual micro-animations. At `VISUAL_DENSITY > 7`, remove generic cards and use spacing/dividers.
|
|
49
|
+
|
|
50
|
+
See `./references/bento-motion-engine.md` for dial-driven SaaS dashboard implementation.
|
|
51
|
+
|
|
52
|
+
## Design Thinking (From Scratch)
|
|
53
|
+
|
|
54
|
+
Before coding, commit to a BOLD aesthetic direction:
|
|
55
|
+
- **Purpose**: What problem does this interface solve? Who uses it?
|
|
56
|
+
- **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
|
|
57
|
+
- **Constraints**: Technical requirements (framework, performance, accessibility).
|
|
58
|
+
- **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?
|
|
59
|
+
|
|
60
|
+
**CRITICAL**: Execute with precision. Bold maximalism and refined minimalism both work - intentionality is key.
|
|
61
|
+
|
|
62
|
+
## Aesthetics Guidelines
|
|
63
|
+
|
|
64
|
+
- **Typography**: Avoid Arial/Inter; use distinctive, characterful fonts. Pair display + body fonts.
|
|
65
|
+
- **Color**: Commit to cohesive palette. CSS variables. Dominant colors with sharp accents.
|
|
66
|
+
- **Motion**: CSS-first, anime.js for complex (`./references/animejs.md`). Orchestrated page loads > scattered micro-interactions.
|
|
67
|
+
- **Spatial**: Unexpected layouts. Asymmetry. Overlap. Negative space OR controlled density.
|
|
68
|
+
- **Backgrounds**: Atmosphere over solid colors. Gradients, noise, patterns, shadows, grain.
|
|
69
|
+
- **Assets**: Generate with `ai-multimodal` (if available), process with `media-processing`
|
|
70
|
+
|
|
71
|
+
## Asset & Analysis References
|
|
72
|
+
|
|
73
|
+
| Task | Reference |
|
|
74
|
+
|------|-----------|
|
|
75
|
+
| Generate assets | `./references/asset-generation.md` |
|
|
76
|
+
| Analyze quality | `./references/visual-analysis-overview.md` |
|
|
77
|
+
| Extract guidelines | `./references/design-extraction-overview.md` |
|
|
78
|
+
| Optimization | `./references/technical-overview.md` |
|
|
79
|
+
| Animations | `./references/animejs.md` |
|
|
80
|
+
| Magic UI (80+ components) | `./references/magicui-components.md` |
|
|
81
|
+
| Anti-slop forbidden patterns | `./references/anti-slop-rules.md` |
|
|
82
|
+
| Redesign audit checklist | `./references/redesign-audit-checklist.md` |
|
|
83
|
+
| Premium design patterns | `./references/premium-design-patterns.md` |
|
|
84
|
+
| Performance guardrails | `./references/performance-guardrails.md` |
|
|
85
|
+
| Bento motion engine (SaaS) | `./references/bento-motion-engine.md` |
|
|
86
|
+
|
|
87
|
+
Quick start: `./references/ai-multimodal-overview.md`
|
|
88
|
+
|
|
89
|
+
## Anti-Patterns (AI Slop)
|
|
90
|
+
|
|
91
|
+
Strongly prefer alternatives to these LLM defaults. Full rules: `./references/anti-slop-rules.md`
|
|
92
|
+
|
|
93
|
+
**Typography** — Avoid Inter/Roboto/Arial. Prefer: `Geist`, `Outfit`, `Cabinet Grotesk`, `Satoshi`
|
|
94
|
+
|
|
95
|
+
**Color** — Avoid AI purple/blue gradient aesthetic, pure `#000000`, oversaturated accents. Use neutral bases with a single considered accent.
|
|
96
|
+
|
|
97
|
+
**Layout** — Avoid 3-column equal card feature rows, centered heroes at high variance, `h-screen`. Use asymmetric grids, split-screen, `min-h-[100dvh]`.
|
|
98
|
+
|
|
99
|
+
**Content** — Avoid "John Doe", "Acme Corp", round numbers, AI copy clichés ("Elevate", "Seamless", "Unleash"). Use realistic names, organic data, plain specific language.
|
|
100
|
+
|
|
101
|
+
**Effects** — Avoid neon/outer glows, custom cursors, gradient text on headers. Use tinted inner shadows, spring physics.
|
|
102
|
+
|
|
103
|
+
**Components** — Avoid default unstyled shadcn, Lucide-only icons, generic card-border-shadow pattern at high density. Always customize, try Phosphor/Heroicons, use spacing over cards.
|
|
104
|
+
|
|
105
|
+
**Quick check:** See the "AI Tells" checklist in `./references/anti-slop-rules.md` before delivering any design.
|
|
106
|
+
|
|
107
|
+
**Performance:** Animation and blur rules in `./references/performance-guardrails.md`
|
|
108
|
+
|
|
109
|
+
Remember: The AI is capable of extraordinary creative work. Commit fully to distinctive visions.
|