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,161 +1,337 @@
|
|
|
1
|
-
# Asset
|
|
1
|
+
# Asset Generation Workflow
|
|
2
2
|
|
|
3
|
-
Complete workflow for
|
|
3
|
+
Complete workflow for generating design-aligned visual assets using `ai-multimodal` (if available) skill.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Generation Workflow
|
|
6
6
|
|
|
7
7
|
### Step 1: Define Design Context
|
|
8
8
|
|
|
9
|
-
Before
|
|
9
|
+
Before generating, extract from the design brief:
|
|
10
10
|
- **Aesthetic direction**: Minimalist? Maximalist? Brutalist? Organic?
|
|
11
11
|
- **Color palette**: Primary colors, accent colors, mood
|
|
12
|
+
- **Typography character**: Modern sans-serif? Elegant serif? Bold display?
|
|
12
13
|
- **Visual tone**: Professional? Playful? Luxury? Raw?
|
|
13
|
-
- **
|
|
14
|
+
- **User context**: Who sees this? What problem does it solve?
|
|
14
15
|
|
|
15
|
-
### Step 2:
|
|
16
|
+
### Step 2: Craft Contextual Prompts
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
- Client-provided images/videos
|
|
19
|
-
- Stock photo services (Unsplash, Pexels)
|
|
20
|
-
- Design tools exports (Figma, Sketch)
|
|
21
|
-
- Screenshots or captured frames
|
|
18
|
+
Translate design thinking into generation prompts.
|
|
22
19
|
|
|
23
|
-
|
|
20
|
+
**Generic (❌ Avoid)**:
|
|
21
|
+
```
|
|
22
|
+
"Modern website hero image"
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**Design-Driven (✓ Use)**:
|
|
26
|
+
```
|
|
27
|
+
"Brutalist architectural photograph, stark concrete textures,
|
|
28
|
+
dramatic shadows, high contrast black and white, raw unpolished
|
|
29
|
+
surfaces, geometric shapes, monumental scale, inspired by
|
|
30
|
+
1960s Bauhaus, 16:9 aspect ratio"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Prompt Components**:
|
|
34
|
+
1. **Style/Movement**: "Neo-brutalism", "Art Deco", "Organic modernism"
|
|
35
|
+
2. **Visual Elements**: Textures, shapes, composition style
|
|
36
|
+
3. **Color Direction**: "Muted earth tones", "Vibrant neon accents", "Monochromatic"
|
|
37
|
+
4. **Mood/Atmosphere**: "Serene", "Energetic", "Mysterious"
|
|
38
|
+
5. **Technical Specs**: Aspect ratio, composition focus
|
|
39
|
+
6. **References**: "Inspired by [artist/movement]"
|
|
40
|
+
|
|
41
|
+
### Step 3: Generate with Appropriate Model
|
|
24
42
|
|
|
25
|
-
Use
|
|
43
|
+
Use `ai-multimodal` (if available) skill's image generation capabilities:
|
|
26
44
|
|
|
27
|
-
**Image Processing (ImageMagick)**:
|
|
28
45
|
```bash
|
|
29
|
-
#
|
|
30
|
-
|
|
46
|
+
# Standard quality (most cases)
|
|
47
|
+
python scripts/gemini_batch_process.py \
|
|
48
|
+
--task generate \
|
|
49
|
+
--prompt "[your design-driven prompt]" \
|
|
50
|
+
--output docs/assets/hero-image \
|
|
51
|
+
--model imagen-4.0-generate-001 \
|
|
52
|
+
--aspect-ratio 16:9
|
|
53
|
+
|
|
54
|
+
# Ultra quality (production hero images, marketing)
|
|
55
|
+
python scripts/gemini_batch_process.py \
|
|
56
|
+
--task generate \
|
|
57
|
+
--prompt "[your design-driven prompt]" \
|
|
58
|
+
--output docs/assets/hero-ultra \
|
|
59
|
+
--model imagen-4.0-ultra-generate-001 \
|
|
60
|
+
--size 2K
|
|
61
|
+
|
|
62
|
+
# Fast iteration (exploring concepts)
|
|
63
|
+
python scripts/gemini_batch_process.py \
|
|
64
|
+
--task generate \
|
|
65
|
+
--prompt "[your design-driven prompt]" \
|
|
66
|
+
--output docs/assets/concept \
|
|
67
|
+
--model imagen-4.0-fast-generate-001
|
|
68
|
+
```
|
|
31
69
|
|
|
32
|
-
|
|
33
|
-
|
|
70
|
+
**Model Selection**:
|
|
71
|
+
- **imagen-4.0-generate-001**: Default choice, balanced quality/speed
|
|
72
|
+
- **imagen-4.0-ultra-generate-001**: Final production assets, marketing materials
|
|
73
|
+
- **imagen-4.0-fast-generate-001**: Rapid prototyping, multiple variations
|
|
34
74
|
|
|
35
|
-
|
|
36
|
-
|
|
75
|
+
**Aspect Ratios**:
|
|
76
|
+
- **16:9**: Hero sections, wide banners
|
|
77
|
+
- **9:16**: Mobile-first, vertical content
|
|
78
|
+
- **1:1**: Square cards, social media
|
|
79
|
+
- **4:3**: Classic layouts, presentations
|
|
80
|
+
- **3:4**: Portrait orientations, mobile screens
|
|
37
81
|
|
|
38
|
-
|
|
39
|
-
convert input.png -bordercolor white -border 20 output.png
|
|
82
|
+
### Step 4: Evaluate Against Design Standards
|
|
40
83
|
|
|
41
|
-
|
|
42
|
-
convert input.png -thumbnail 300x200 thumbnail.png
|
|
43
|
-
```
|
|
84
|
+
Use `ai-multimodal` (if available) to analyze the generated asset (see `visual-analysis.md` for complete workflow):
|
|
44
85
|
|
|
45
|
-
**Background Removal (RMBG CLI)**:
|
|
46
86
|
```bash
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
87
|
+
python scripts/gemini_batch_process.py \
|
|
88
|
+
--files docs/assets/hero-image.png \
|
|
89
|
+
--task analyze \
|
|
90
|
+
--prompt "Evaluate this image for:
|
|
91
|
+
1. Visual coherence with [aesthetic direction]
|
|
92
|
+
2. Color harmony and contrast
|
|
93
|
+
3. Composition and balance
|
|
94
|
+
4. Suitability for overlaying text
|
|
95
|
+
5. Professional quality (rate 1-10)
|
|
96
|
+
6. Specific weaknesses or improvements needed" \
|
|
97
|
+
--output docs/assets/hero-evaluation.md \
|
|
98
|
+
--model gemini-2.5-flash
|
|
52
99
|
```
|
|
53
100
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
101
|
+
### Step 5: Iterate or Integrate
|
|
102
|
+
|
|
103
|
+
**If evaluation score < 7/10 or doesn't meet standards**:
|
|
104
|
+
1. Identify specific issues (color, composition, mood, technical)
|
|
105
|
+
2. Refine prompt with improvements
|
|
106
|
+
3. Regenerate with adjusted parameters
|
|
107
|
+
4. Consider using `media-processing` skill for post-generation adjustments
|
|
108
|
+
|
|
109
|
+
**If meets standards**:
|
|
110
|
+
1. Optimize for web (compress, format conversion)
|
|
111
|
+
2. Create responsive variants if needed
|
|
112
|
+
3. Document asset usage guidelines
|
|
113
|
+
4. Integrate into frontend implementation
|
|
114
|
+
|
|
115
|
+
## Design Pattern Examples
|
|
58
116
|
|
|
59
|
-
|
|
60
|
-
ffmpeg -i video.mp4 -frames 1 -vf "select=not(mod(n\,100)),scale=200:120,tile=5x3" grid.png
|
|
117
|
+
### Pattern 1: Minimalist Background Texture
|
|
61
118
|
|
|
62
|
-
|
|
63
|
-
ffmpeg -i input.mp4 -c:v libx264 -crf 23 output.mp4
|
|
119
|
+
**Design Context**: Clean, refined interface with generous white space
|
|
64
120
|
|
|
65
|
-
|
|
66
|
-
|
|
121
|
+
**Prompt Strategy**:
|
|
122
|
+
```
|
|
123
|
+
"Subtle paper texture, off-white color (#F8F8F8), barely visible
|
|
124
|
+
grain pattern, high-end stationery feel, minimal contrast,
|
|
125
|
+
professional and clean, 1:1 aspect ratio for tiling"
|
|
67
126
|
```
|
|
68
127
|
|
|
69
|
-
|
|
128
|
+
**Use Case**: Background for minimalist product pages, portfolio sites
|
|
70
129
|
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
# PNG optimization
|
|
74
|
-
pngquant --quality=65-80 input.png -o output.png
|
|
130
|
+
### Pattern 2: Maximalist Hero Section
|
|
75
131
|
|
|
76
|
-
|
|
77
|
-
convert input.jpg -quality 85 output.jpg
|
|
132
|
+
**Design Context**: Bold, energetic landing page with vibrant colors
|
|
78
133
|
|
|
79
|
-
|
|
80
|
-
convert input.png -quality 80 output.webp
|
|
134
|
+
**Prompt Strategy**:
|
|
81
135
|
```
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
convert hero.png -resize 1920x output/hero-lg.png
|
|
87
|
-
convert hero.png -resize 1280x output/hero-md.png
|
|
88
|
-
convert hero.png -resize 768x output/hero-sm.png
|
|
89
|
-
convert hero.png -resize 480x output/hero-xs.png
|
|
136
|
+
"Explosive color gradients, neon pink to electric blue,
|
|
137
|
+
holographic reflections, dynamic diagonal composition,
|
|
138
|
+
retrofuturistic aesthetic, vaporwave influence, high energy,
|
|
139
|
+
layered transparency effects, 16:9 cinematic"
|
|
90
140
|
```
|
|
91
141
|
|
|
92
|
-
|
|
142
|
+
**Use Case**: Hero section for creative agencies, entertainment platforms
|
|
93
143
|
|
|
94
|
-
|
|
95
|
-
- File sizes are optimized (target < 200KB for images)
|
|
96
|
-
- Colors match design palette
|
|
97
|
-
- Resolution appropriate for use case
|
|
98
|
-
- No compression artifacts visible
|
|
99
|
-
- Transparent backgrounds work correctly
|
|
144
|
+
### Pattern 3: Brutalist Geometric Pattern
|
|
100
145
|
|
|
101
|
-
|
|
146
|
+
**Design Context**: Raw, bold interface with strong typography
|
|
102
147
|
|
|
103
|
-
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
|
|
148
|
+
**Prompt Strategy**:
|
|
149
|
+
```
|
|
150
|
+
"Monochromatic geometric pattern, overlapping rectangles,
|
|
151
|
+
stark black and white, high contrast, Swiss design influence,
|
|
152
|
+
grid-based composition, architectural precision, repeatable
|
|
153
|
+
pattern for backgrounds"
|
|
154
|
+
```
|
|
107
155
|
|
|
108
|
-
|
|
109
|
-
|
|
156
|
+
**Use Case**: Background pattern for design studios, architecture firms
|
|
157
|
+
|
|
158
|
+
### Pattern 4: Organic Natural Elements
|
|
159
|
+
|
|
160
|
+
**Design Context**: Wellness brand, calming user experience
|
|
161
|
+
|
|
162
|
+
**Prompt Strategy**:
|
|
163
|
+
```
|
|
164
|
+
"Soft botanical watercolor, sage green and cream tones,
|
|
165
|
+
gentle leaf shadows, natural light quality, serene atmosphere,
|
|
166
|
+
minimal detail for text overlay, 3:4 portrait orientation"
|
|
110
167
|
```
|
|
111
168
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
169
|
+
**Use Case**: Hero section for wellness brands, eco-friendly products
|
|
170
|
+
|
|
171
|
+
### Pattern 5: Retro-Futuristic
|
|
172
|
+
|
|
173
|
+
**Design Context**: Tech product with nostalgic twist
|
|
174
|
+
|
|
175
|
+
**Prompt Strategy**:
|
|
176
|
+
```
|
|
177
|
+
"80s computer graphics aesthetic, wireframe grids, cyan and magenta
|
|
178
|
+
gradients, digital sunrise, Tron-inspired, geometric precision,
|
|
179
|
+
nostalgic future vision, 16:9 widescreen"
|
|
118
180
|
```
|
|
119
181
|
|
|
120
|
-
|
|
121
|
-
```bash
|
|
122
|
-
# Combine multiple images into sprite
|
|
123
|
-
convert icon-*.png +append sprite.png
|
|
182
|
+
**Use Case**: SaaS landing pages, tech conferences, gaming platforms
|
|
124
183
|
|
|
125
|
-
|
|
126
|
-
|
|
184
|
+
### Pattern 6: Editorial Magazine Style
|
|
185
|
+
|
|
186
|
+
**Design Context**: Content-heavy site with strong visual hierarchy
|
|
187
|
+
|
|
188
|
+
**Prompt Strategy**:
|
|
189
|
+
```
|
|
190
|
+
"High-contrast editorial photography, dramatic side lighting,
|
|
191
|
+
stark shadows, black and white, fashion magazine quality,
|
|
192
|
+
strong vertical composition, 3:4 portrait for text layout"
|
|
127
193
|
```
|
|
128
194
|
|
|
129
|
-
|
|
195
|
+
**Use Case**: Blog headers, news sites, content platforms
|
|
196
|
+
|
|
197
|
+
## Prompt Engineering Best Practices
|
|
198
|
+
|
|
199
|
+
### 1. Be Specific About Style
|
|
200
|
+
❌ "Modern design"
|
|
201
|
+
✓ "Bauhaus-inspired geometric abstraction with primary colors"
|
|
202
|
+
|
|
203
|
+
### 2. Define Color Precisely
|
|
204
|
+
❌ "Colorful"
|
|
205
|
+
✓ "Vibrant sunset palette: coral (#FF6B6B), amber (#FFB84D), violet (#A66FF0)"
|
|
206
|
+
|
|
207
|
+
### 3. Specify Composition
|
|
208
|
+
❌ "Nice layout"
|
|
209
|
+
✓ "Rule of thirds composition, subject left-aligned, negative space right for text overlay"
|
|
210
|
+
|
|
211
|
+
### 4. Reference Movements/Artists
|
|
212
|
+
❌ "Artistic"
|
|
213
|
+
✓ "Inspired by Bauhaus geometric abstraction and Swiss International Style"
|
|
214
|
+
|
|
215
|
+
### 5. Technical Requirements First
|
|
216
|
+
Always include: aspect ratio, resolution needs, intended use case
|
|
217
|
+
|
|
218
|
+
### 6. Iterate Strategically
|
|
219
|
+
- First generation: Broad aesthetic exploration
|
|
220
|
+
- Second generation: Refine color and composition
|
|
221
|
+
- Third generation: Fine-tune details and mood
|
|
222
|
+
|
|
223
|
+
## Common Pitfalls to Avoid
|
|
224
|
+
|
|
225
|
+
### ❌ Generic Stock Photo Aesthetics
|
|
226
|
+
Don't prompt: "Professional business team working together"
|
|
227
|
+
Instead: Design-specific, contextual imagery that serves the interface
|
|
228
|
+
|
|
229
|
+
### ❌ Overcomplex Generated Images
|
|
230
|
+
Generated assets that compete with UI elements create visual chaos
|
|
231
|
+
Keep backgrounds subtle enough for text/button overlay
|
|
232
|
+
|
|
233
|
+
### ❌ Inconsistent Visual Language
|
|
234
|
+
Each generated asset should feel part of the same design system
|
|
235
|
+
Maintain color palette, visual style, mood consistency
|
|
236
|
+
|
|
237
|
+
### ❌ Ignoring Integration Context
|
|
238
|
+
Assets aren't standalone—consider how they work with:
|
|
239
|
+
- Typography overlays
|
|
240
|
+
- Interactive elements (buttons, forms)
|
|
241
|
+
- Navigation and UI chrome
|
|
242
|
+
- Responsive behavior across devices
|
|
243
|
+
|
|
244
|
+
## Responsive Asset Strategy
|
|
245
|
+
|
|
246
|
+
### Desktop-First Approach
|
|
247
|
+
1. Generate primary asset at 16:9 (desktop hero)
|
|
248
|
+
2. Generate mobile variant at 9:16 with same prompt
|
|
249
|
+
3. Ensure focal point works in both orientations
|
|
250
|
+
|
|
251
|
+
### Mobile-First Approach
|
|
252
|
+
1. Generate primary asset at 9:16 (mobile hero)
|
|
253
|
+
2. Generate desktop variant at 16:9 with same prompt
|
|
254
|
+
3. Test that composition scales effectively
|
|
255
|
+
|
|
256
|
+
### Variant Generation
|
|
130
257
|
```bash
|
|
131
|
-
#
|
|
132
|
-
|
|
258
|
+
# Desktop (16:9)
|
|
259
|
+
python scripts/gemini_batch_process.py \
|
|
260
|
+
--task generate \
|
|
261
|
+
--prompt "[prompt]" \
|
|
262
|
+
--output docs/assets/hero-desktop \
|
|
263
|
+
--model imagen-4.0-generate-001 \
|
|
264
|
+
--aspect-ratio 16:9
|
|
265
|
+
|
|
266
|
+
# Mobile (9:16)
|
|
267
|
+
python scripts/gemini_batch_process.py \
|
|
268
|
+
--task generate \
|
|
269
|
+
--prompt "[same prompt]" \
|
|
270
|
+
--output docs/assets/hero-mobile \
|
|
271
|
+
--model imagen-4.0-generate-001 \
|
|
272
|
+
--aspect-ratio 9:16
|
|
273
|
+
|
|
274
|
+
# Square (1:1)
|
|
275
|
+
python scripts/gemini_batch_process.py \
|
|
276
|
+
--task generate \
|
|
277
|
+
--prompt "[same prompt]" \
|
|
278
|
+
--output docs/assets/hero-square \
|
|
279
|
+
--model imagen-4.0-generate-001 \
|
|
280
|
+
--aspect-ratio 1:1
|
|
133
281
|
```
|
|
134
282
|
|
|
135
|
-
##
|
|
283
|
+
## Model Cost Optimization
|
|
136
284
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
| JPEG | Photos without transparency | Good for large images |
|
|
142
|
-
| SVG | Icons, simple graphics | Scalable, smallest for simple shapes |
|
|
143
|
-
| MP4 (H.264) | Web video | Universal support |
|
|
144
|
-
| WebM | Modern browsers | Better compression than MP4 |
|
|
145
|
-
| GIF | Simple animations | Limited colors, larger files |
|
|
285
|
+
**Imagen 4 Pricing** (as of 2024):
|
|
286
|
+
- Standard: ~$0.04 per image
|
|
287
|
+
- Ultra: ~$0.08 per image
|
|
288
|
+
- Fast: ~$0.02 per image
|
|
146
289
|
|
|
147
|
-
|
|
290
|
+
**Optimization Strategy**:
|
|
291
|
+
1. Use Fast model for exploration (3-5 variations)
|
|
292
|
+
2. Select best direction, generate with Standard model
|
|
293
|
+
3. Use Ultra only for final production assets
|
|
294
|
+
4. Batch generate variations in single session
|
|
148
295
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
296
|
+
## Complete Example Workflow
|
|
297
|
+
|
|
298
|
+
```bash
|
|
299
|
+
# 1. Fast exploration (3 variations)
|
|
300
|
+
python scripts/gemini_batch_process.py \
|
|
301
|
+
--task generate \
|
|
302
|
+
--prompt "Minimalist mountain landscape, muted blue-gray tones,
|
|
303
|
+
fog layers, serene morning atmosphere, clean for text overlay, 16:9" \
|
|
304
|
+
--output docs/assets/concept-1 \
|
|
305
|
+
--model imagen-4.0-fast-generate-001 \
|
|
306
|
+
--aspect-ratio 16:9
|
|
307
|
+
|
|
308
|
+
# 2. Analyze best variation
|
|
309
|
+
python scripts/gemini_batch_process.py \
|
|
310
|
+
--files docs/assets/concept-1.png \
|
|
311
|
+
--task analyze \
|
|
312
|
+
--prompt "Rate 1-10 for aesthetic quality, color harmony, text overlay suitability" \
|
|
313
|
+
--output docs/assets/analysis-1.md \
|
|
314
|
+
--model gemini-2.5-flash
|
|
315
|
+
|
|
316
|
+
# 3. If score ≥ 7/10, generate production version
|
|
317
|
+
python scripts/gemini_batch_process.py \
|
|
318
|
+
--task generate \
|
|
319
|
+
--prompt "[refined prompt based on analysis]" \
|
|
320
|
+
--output docs/assets/hero-final \
|
|
321
|
+
--model imagen-4.0-generate-001 \
|
|
322
|
+
--aspect-ratio 16:9
|
|
323
|
+
|
|
324
|
+
# 4. Generate mobile variant
|
|
325
|
+
python scripts/gemini_batch_process.py \
|
|
326
|
+
--task generate \
|
|
327
|
+
--prompt "[same refined prompt]" \
|
|
328
|
+
--output docs/assets/hero-mobile \
|
|
329
|
+
--model imagen-4.0-generate-001 \
|
|
330
|
+
--aspect-ratio 9:16
|
|
331
|
+
```
|
|
156
332
|
|
|
157
333
|
## Next Steps
|
|
158
334
|
|
|
159
|
-
- **Verify
|
|
160
|
-
- **
|
|
161
|
-
- **
|
|
335
|
+
- **Verify quality**: See `visual-analysis.md` for comprehensive analysis workflow
|
|
336
|
+
- **Optimize assets**: See `technical-guide.md` for file optimization and integration
|
|
337
|
+
- **Extract inspiration**: See `design-extraction.md` to learn from existing designs
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# Bento 2.0 Motion Engine
|
|
2
|
+
|
|
3
|
+
Architecture for modern SaaS dashboards and feature sections. Goes beyond static cards — enforces a "Vercel-core meets Dribbble-clean" aesthetic with perpetual physics.
|
|
4
|
+
|
|
5
|
+
Use when generating: SaaS dashboards, feature showcase grids, marketing bento sections, product landing pages with interactive demos.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Core Design Philosophy
|
|
10
|
+
|
|
11
|
+
**Aesthetic:** High-end, minimal, functional. Every card feels alive.
|
|
12
|
+
|
|
13
|
+
**Palette:**
|
|
14
|
+
- Background: `#f9fafb` (light) or `#050505` (dark)
|
|
15
|
+
- Cards: pure white `#ffffff` (light) / vantablack with `bg-white/5` (dark)
|
|
16
|
+
- Card borders: `border border-slate-200/50` (light) / `border border-white/10` (dark)
|
|
17
|
+
|
|
18
|
+
**Surfaces:**
|
|
19
|
+
- All major containers use `rounded-[2.5rem]`
|
|
20
|
+
- Diffusion shadow: `shadow-[0_20px_40px_-15px_rgba(0,0,0,0.05)]` — depth without clutter
|
|
21
|
+
- Card titles and descriptions sit **outside and below** the card (gallery-style presentation)
|
|
22
|
+
- Card interior: generous `p-8` or `p-10` padding
|
|
23
|
+
|
|
24
|
+
**Typography:**
|
|
25
|
+
- Font stack: `Geist`, `Satoshi`, or `Cabinet Grotesk` only
|
|
26
|
+
- Header tracking: `tracking-tight`
|
|
27
|
+
- Never Inter in a Bento context
|
|
28
|
+
|
|
29
|
+
**Double-Bezel structure for premium cards:**
|
|
30
|
+
- Outer shell: `bg-black/5 ring-1 ring-black/5 p-1.5 rounded-[2rem]`
|
|
31
|
+
- Inner core: own background + `shadow-[inset_0_1px_1px_rgba(255,255,255,0.15)]` + `rounded-[calc(2rem-0.375rem)]`
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Animation Engine Specs
|
|
36
|
+
|
|
37
|
+
All cards MUST contain **Perpetual Micro-Interactions**. The dashboard must always feel alive.
|
|
38
|
+
|
|
39
|
+
**Spring Physics (no linear easing):**
|
|
40
|
+
```js
|
|
41
|
+
// Use for all interactive elements
|
|
42
|
+
{ type: "spring", stiffness: 100, damping: 20 }
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Layout Transitions:**
|
|
46
|
+
- Use Framer Motion `layout` and `layoutId` props for smooth reordering, resizing, and shared element transitions
|
|
47
|
+
|
|
48
|
+
**Infinite Loops:**
|
|
49
|
+
- Every card has an active state that loops infinitely: Pulse, Typewriter, Float, or Carousel
|
|
50
|
+
|
|
51
|
+
**Performance isolation (critical):**
|
|
52
|
+
- Every perpetual animation MUST be wrapped in `React.memo`
|
|
53
|
+
- Extract each animated card as its own isolated leaf `'use client'` component
|
|
54
|
+
- Never trigger re-renders in the parent layout
|
|
55
|
+
|
|
56
|
+
**AnimatePresence:**
|
|
57
|
+
- Wrap all dynamic lists — enables proper enter/exit animations
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Grid Structure
|
|
62
|
+
|
|
63
|
+
Typical layout: Row 1 = 3 columns | Row 2 = 2 columns (70/30 split)
|
|
64
|
+
|
|
65
|
+
```jsx
|
|
66
|
+
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
|
|
67
|
+
{/* Row 1: 3 equal cards */}
|
|
68
|
+
<IntelligentListCard />
|
|
69
|
+
<CommandInputCard />
|
|
70
|
+
<LiveStatusCard />
|
|
71
|
+
</div>
|
|
72
|
+
<div className="grid grid-cols-1 md:grid-cols-[70%_30%] gap-6 mt-6">
|
|
73
|
+
{/* Row 2: wide data stream + contextual UI */}
|
|
74
|
+
<WideDataStreamCard />
|
|
75
|
+
<ContextualUICard />
|
|
76
|
+
</div>
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Mobile: all cards collapse to `grid-cols-1` with `gap-6`. No horizontal overflow.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## The 5 Card Archetypes
|
|
84
|
+
|
|
85
|
+
### 1. Intelligent List
|
|
86
|
+
A vertical stack of items with an infinite auto-sorting loop.
|
|
87
|
+
|
|
88
|
+
- Items swap positions using `layoutId` — simulates AI prioritizing tasks in real-time
|
|
89
|
+
- Smooth position swaps on a ~3s interval
|
|
90
|
+
- Spring-based position transitions for a weighted, physical feel
|
|
91
|
+
- Use case: task lists, priority queues, leaderboards
|
|
92
|
+
|
|
93
|
+
### 2. Command Input
|
|
94
|
+
A search/AI bar with a multi-step Typewriter Effect.
|
|
95
|
+
|
|
96
|
+
- Cycles through 3-5 complex prompts
|
|
97
|
+
- Blinking cursor between prompts
|
|
98
|
+
- "Processing" state: shimmering loading gradient on the input
|
|
99
|
+
- On "completion": brief checkmark animation before next cycle
|
|
100
|
+
- Use case: AI search demos, command palette teasers
|
|
101
|
+
|
|
102
|
+
### 3. Live Status
|
|
103
|
+
A scheduling or status interface with breathing indicators.
|
|
104
|
+
|
|
105
|
+
- Status dots with infinite `scale` pulse animation (`1.0 → 1.2 → 1.0`, 2s loop)
|
|
106
|
+
- Pop-up notification badge with overshoot spring: appears, stays 3s, vanishes
|
|
107
|
+
- Badge entrance: `scale: [0, 1.2, 1]` with overshoot spring physics
|
|
108
|
+
- Use case: scheduling UIs, monitoring dashboards, live feed indicators
|
|
109
|
+
|
|
110
|
+
### 4. Wide Data Stream
|
|
111
|
+
A horizontal infinite carousel of data cards or metrics.
|
|
112
|
+
|
|
113
|
+
- Seamless loop using `x: ["0%", "-50%"]` with duplicate items for continuity
|
|
114
|
+
- Speed feels effortless — not urgent, not slow (~20-30s per full cycle)
|
|
115
|
+
- Cards show metrics, user avatars, status chips, mini sparklines
|
|
116
|
+
- Use case: social proof logos, metric streams, activity feeds
|
|
117
|
+
|
|
118
|
+
### 5. Contextual UI (Focus Mode)
|
|
119
|
+
A document or content view that highlights and reveals tools.
|
|
120
|
+
|
|
121
|
+
- Staggered text block highlight animation (sequential word/line highlights, 300ms stagger)
|
|
122
|
+
- After highlight completes: float-in of a floating action toolbar
|
|
123
|
+
- Toolbar entrance: `y: [20, 0]` + `opacity: [0, 1]` with spring, staggered micro-icons
|
|
124
|
+
- Toolbar holds 3-5 action icons with individual hover states
|
|
125
|
+
- Use case: editor demos, AI annotation tools, document review flows
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Pre-Flight Checklist
|
|
130
|
+
|
|
131
|
+
Before shipping a Bento section:
|
|
132
|
+
|
|
133
|
+
- [ ] Global state used only to avoid deep prop-drilling, not arbitrarily
|
|
134
|
+
- [ ] Mobile layout collapses to single column with `w-full px-4`
|
|
135
|
+
- [ ] Full-height sections use `min-h-[100dvh]` not `h-screen`
|
|
136
|
+
- [ ] All `useEffect` animations have cleanup functions
|
|
137
|
+
- [ ] Empty, loading, and error states provided for each card
|
|
138
|
+
- [ ] Generic card borders replaced with spacing/dividers where appropriate
|
|
139
|
+
- [ ] Every perpetual animation isolated in its own memoized Client Component
|
|
140
|
+
- [ ] No `window.addEventListener('scroll')` — use `whileInView` or `IntersectionObserver`
|
|
141
|
+
- [ ] No arbitrary z-index values
|
|
142
|
+
- [ ] `backdrop-blur` only on fixed/sticky elements, never scrolling cards
|