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.
Files changed (471) hide show
  1. package/README.md +9 -42
  2. package/agents/brainstormer.agent.md +28 -14
  3. package/agents/code-reviewer.agent.md +101 -67
  4. package/agents/code-simplifier.agent.md +36 -41
  5. package/agents/debugger.agent.md +29 -24
  6. package/agents/docs-manager.agent.md +15 -23
  7. package/agents/fullstack-developer.agent.md +16 -6
  8. package/agents/git-manager.agent.md +0 -3
  9. package/agents/planner.agent.md +16 -34
  10. package/agents/project-manager.agent.md +24 -0
  11. package/agents/researcher.agent.md +15 -13
  12. package/agents/tester.agent.md +43 -20
  13. package/agents/ui-ux-designer.agent.md +16 -49
  14. package/docs/README.md +8 -9
  15. package/docs/Skills Orchestration Layer - Training Slides - en.pdf +0 -0
  16. package/docs/Skills Orchestration Layer - Training Slides - vi.pdf +0 -0
  17. package/docs/code-standards.md +1 -2
  18. package/docs/codebase-summary.md +35 -66
  19. package/docs/cokit-commands-usage-guide.md +27 -73
  20. package/docs/cokit-comprehensive-mapping-guide.md +9 -15
  21. package/docs/cokit-slides.md +4 -9
  22. package/docs/cokit-sync-and-maintenance-guide.md +42 -190
  23. package/docs/cokit-team-presentation.md +6 -11
  24. package/docs/copilot-processing-flow.md +3 -3
  25. package/docs/migration-guide.md +15 -15
  26. package/docs/project-overview-pdr.md +6 -7
  27. package/docs/project-roadmap.md +13 -15
  28. package/docs/skills-and-orchestration-layer-en.md +404 -0
  29. package/docs/skills-and-orchestration-layer-vi.md +404 -0
  30. package/docs/system-architecture.md +14 -20
  31. package/docs/{claudekit-porting-rules.md → upstream-porting-rules.md} +15 -16
  32. package/package.json +3 -4
  33. package/prompts/ck-ask.prompt.md +0 -1
  34. package/prompts/ck-bootstrap.prompt.md +0 -3
  35. package/prompts/ck-brainstorm.prompt.md +0 -1
  36. package/prompts/ck-cook.prompt.md +0 -1
  37. package/prompts/ck-debug.prompt.md +0 -1
  38. package/prompts/ck-deploy.prompt.md +22 -0
  39. package/prompts/ck-docs.prompt.md +0 -1
  40. package/prompts/ck-frontend.prompt.md +20 -0
  41. package/prompts/ck-help.prompt.md +0 -1
  42. package/prompts/ck-plan-fast.prompt.md +0 -3
  43. package/prompts/ck-plan-hard.prompt.md +0 -3
  44. package/prompts/ck-plan.prompt.md +0 -3
  45. package/prompts/ck-project.prompt.md +20 -0
  46. package/prompts/ck-review.prompt.md +0 -3
  47. package/prompts/ck-scout.prompt.md +0 -1
  48. package/prompts/ck-security.prompt.md +22 -0
  49. package/prompts/ck-ship.prompt.md +22 -0
  50. package/prompts/ck-test.prompt.md +0 -2
  51. package/prompts/ck-watzup.prompt.md +0 -1
  52. package/skills/agent-browser/SKILL.md +11 -8
  53. package/skills/agent-browser/references/agent-browser-vs-chrome-devtools.md +112 -0
  54. package/skills/bootstrap/SKILL.md +102 -0
  55. package/skills/bootstrap/references/shared-phases.md +59 -0
  56. package/skills/bootstrap/references/workflow-auto.md +52 -0
  57. package/skills/bootstrap/references/workflow-fast.md +50 -0
  58. package/skills/bootstrap/references/workflow-full.md +60 -0
  59. package/skills/bootstrap/references/workflow-parallel.md +59 -0
  60. package/skills/brainstorm/SKILL.md +63 -15
  61. package/skills/code-review/SKILL.md +138 -135
  62. package/skills/code-review/references/adversarial-review.md +223 -0
  63. package/skills/code-review/references/checklist-workflow.md +100 -0
  64. package/skills/code-review/references/checklists/api.md +52 -0
  65. package/skills/code-review/references/checklists/base.md +100 -0
  66. package/skills/code-review/references/checklists/web-app.md +54 -0
  67. package/skills/code-review/references/code-review-reception.md +48 -144
  68. package/skills/code-review/references/codebase-scan-workflow.md +30 -0
  69. package/skills/code-review/references/edge-case-scouting.md +119 -0
  70. package/skills/code-review/references/input-mode-resolution.md +135 -0
  71. package/skills/code-review/references/parallel-review-workflow.md +76 -0
  72. package/skills/code-review/references/requesting-code-review.md +115 -104
  73. package/skills/code-review/references/spec-compliance-review.md +43 -0
  74. package/skills/code-review/references/task-management-reviews.md +155 -0
  75. package/skills/common/README.md +2 -12
  76. package/skills/common/api_key_helper.py +7 -37
  77. package/skills/context-engineering/SKILL.md +4 -3
  78. package/skills/context-engineering/references/context-degradation.md +2 -2
  79. package/skills/context-engineering/references/runtime-awareness.md +5 -47
  80. package/skills/cook/README.md +13 -13
  81. package/skills/cook/SKILL.md +86 -58
  82. package/skills/cook/references/intent-detection.md +7 -7
  83. package/skills/cook/references/review-cycle.md +2 -2
  84. package/skills/cook/references/subagent-patterns.md +75 -0
  85. package/skills/cook/references/workflow-steps.md +75 -23
  86. package/skills/databases/SKILL.md +3 -30
  87. package/skills/databases/db-design.md +1 -1
  88. package/skills/debug/SKILL.md +47 -105
  89. package/skills/debug/references/frontend-verification.md +103 -0
  90. package/skills/debug/references/investigation-methodology.md +101 -0
  91. package/skills/debug/references/log-and-ci-analysis.md +97 -0
  92. package/skills/debug/references/performance-diagnostics.md +113 -0
  93. package/skills/debug/references/reporting-standards.md +122 -0
  94. package/skills/debug/references/task-management-debugging.md +155 -0
  95. package/skills/deploy/SKILL.md +154 -0
  96. package/skills/deploy/references/platform-config-templates.md +35 -0
  97. package/skills/deploy/references/platforms/aws.md +58 -0
  98. package/skills/deploy/references/platforms/cloudflare.md +41 -0
  99. package/skills/deploy/references/platforms/coolify.md +32 -0
  100. package/skills/deploy/references/platforms/digitalocean.md +45 -0
  101. package/skills/deploy/references/platforms/dokploy.md +29 -0
  102. package/skills/deploy/references/platforms/flyio.md +54 -0
  103. package/skills/deploy/references/platforms/gcp.md +45 -0
  104. package/skills/deploy/references/platforms/github-pages.md +56 -0
  105. package/skills/deploy/references/platforms/heroku.md +31 -0
  106. package/skills/deploy/references/platforms/netlify.md +39 -0
  107. package/skills/deploy/references/platforms/railway.md +38 -0
  108. package/skills/deploy/references/platforms/render.md +39 -0
  109. package/skills/deploy/references/platforms/tose.md +35 -0
  110. package/skills/deploy/references/platforms/vercel.md +37 -0
  111. package/skills/deploy/references/platforms/vultr.md +27 -0
  112. package/skills/devops/SKILL.md +6 -12
  113. package/skills/docs-seeker/SKILL.md +2 -1
  114. package/skills/docs-seeker/references/context7-patterns.md +4 -0
  115. package/skills/docs-seeker/scripts/fetch-docs.js +1 -2
  116. package/skills/docs-seeker/scripts/utils/env-loader.js +4 -4
  117. package/skills/docs-seeker/workflows/library-search.md +1 -0
  118. package/skills/fix/SKILL.md +141 -44
  119. package/skills/fix/references/complexity-assessment.md +21 -9
  120. package/skills/fix/references/diagnosis-protocol.md +133 -0
  121. package/skills/fix/references/mode-selection.md +27 -11
  122. package/skills/fix/references/parallel-exploration.md +35 -12
  123. package/skills/fix/references/prevention-gate.md +87 -0
  124. package/skills/fix/references/review-cycle.md +3 -3
  125. package/skills/fix/references/skill-activation-matrix.md +64 -31
  126. package/skills/fix/references/task-orchestration.md +110 -0
  127. package/skills/fix/references/workflow-deep.md +110 -47
  128. package/skills/fix/references/workflow-logs.md +46 -10
  129. package/skills/fix/references/workflow-quick.md +43 -20
  130. package/skills/fix/references/workflow-standard.md +75 -41
  131. package/skills/fix/references/workflow-test.md +49 -10
  132. package/skills/fix/references/workflow-ui.md +56 -18
  133. package/skills/frontend-design/SKILL.md +109 -77
  134. package/skills/frontend-design/references/ai-multimodal-overview.md +165 -0
  135. package/skills/frontend-design/references/anti-slop-rules.md +103 -0
  136. package/skills/frontend-design/references/asset-generation.md +284 -108
  137. package/skills/frontend-design/references/bento-motion-engine.md +142 -0
  138. package/skills/frontend-design/references/magicui-components.md +129 -0
  139. package/skills/frontend-design/references/performance-guardrails.md +169 -0
  140. package/skills/frontend-design/references/premium-design-patterns.md +93 -0
  141. package/skills/frontend-design/references/redesign-audit-checklist.md +114 -0
  142. package/skills/frontend-design/references/visual-analysis-overview.md +1 -1
  143. package/skills/frontend-design/references/workflow-3d.md +98 -0
  144. package/skills/frontend-design/references/workflow-describe.md +4 -3
  145. package/skills/frontend-design/references/workflow-immersive.md +82 -0
  146. package/skills/frontend-design/references/workflow-quick.md +10 -12
  147. package/skills/frontend-design/references/workflow-screenshot.md +9 -8
  148. package/skills/frontend-design/references/workflow-video.md +74 -0
  149. package/skills/frontend-development/SKILL.md +400 -0
  150. package/skills/frontend-development/resources/common-patterns.md +331 -0
  151. package/skills/frontend-development/resources/complete-examples.md +872 -0
  152. package/skills/frontend-development/resources/component-patterns.md +502 -0
  153. package/skills/frontend-development/resources/data-fetching.md +767 -0
  154. package/skills/frontend-development/resources/file-organization.md +502 -0
  155. package/skills/frontend-development/resources/loading-and-error-states.md +501 -0
  156. package/skills/frontend-development/resources/performance.md +406 -0
  157. package/skills/frontend-development/resources/routing-guide.md +364 -0
  158. package/skills/frontend-development/resources/styling-guide.md +428 -0
  159. package/skills/frontend-development/resources/typescript-standards.md +418 -0
  160. package/skills/git/SKILL.md +18 -4
  161. package/skills/git/references/commit-standards.md +3 -3
  162. package/skills/git/references/workflow-commit.md +3 -3
  163. package/skills/git/references/workflow-merge.md +1 -1
  164. package/skills/git/references/workflow-pr.md +1 -1
  165. package/skills/git/references/workflow-push.md +1 -1
  166. package/skills/mcp-management/README.md +18 -18
  167. package/skills/mcp-management/SKILL.md +16 -15
  168. package/skills/mcp-management/references/configuration.md +4 -4
  169. package/skills/mcp-management/references/gemini-cli-integration.md +12 -12
  170. package/skills/mcp-management/scripts/.env.example +2 -2
  171. package/skills/mcp-management/scripts/dist/mcp-client.js +1 -1
  172. package/skills/mcp-management/scripts/mcp-client.ts +1 -1
  173. package/skills/mermaidjs-v11/SKILL.md +1 -0
  174. package/skills/planning/SKILL.md +122 -91
  175. package/skills/planning/references/archive-workflow.md +53 -0
  176. package/skills/planning/references/codebase-understanding.md +1 -1
  177. package/skills/planning/references/output-standards.md +17 -13
  178. package/skills/planning/references/plan-organization.md +52 -30
  179. package/skills/planning/references/red-team-personas.md +69 -0
  180. package/skills/planning/references/red-team-workflow.md +77 -0
  181. package/skills/planning/references/scope-challenge.md +90 -0
  182. package/skills/planning/references/task-management.md +134 -0
  183. package/skills/planning/references/validate-question-framework.md +80 -0
  184. package/skills/planning/references/validate-workflow.md +65 -0
  185. package/skills/planning/references/workflow-modes.md +154 -0
  186. package/skills/problem-solving/SKILL.md +1 -0
  187. package/skills/project-management/SKILL.md +133 -0
  188. package/skills/project-management/references/documentation-triggers.md +60 -0
  189. package/skills/project-management/references/hydration-workflow.md +89 -0
  190. package/skills/project-management/references/progress-tracking.md +120 -0
  191. package/skills/project-management/references/reporting-patterns.md +94 -0
  192. package/skills/project-management/references/task-operations.md +87 -0
  193. package/skills/repomix/SKILL.md +3 -2
  194. package/skills/repomix/references/usage-patterns.md +2 -2
  195. package/skills/repomix/scripts/README.md +1 -1
  196. package/skills/repomix/scripts/repomix_batch.py +2 -2
  197. package/skills/research/SKILL.md +7 -4
  198. package/skills/scout/SKILL.md +24 -24
  199. package/skills/scout/references/external-scouting.md +17 -17
  200. package/skills/scout/references/internal-scouting.md +9 -9
  201. package/skills/scout/references/task-management-scouting.md +125 -0
  202. package/skills/security/SKILL.md +139 -0
  203. package/skills/security/references/stride-owasp-checklist.md +128 -0
  204. package/skills/sequential-thinking/README.md +3 -3
  205. package/skills/sequential-thinking/SKILL.md +2 -0
  206. package/skills/sequential-thinking/package.json +1 -1
  207. package/skills/ship/SKILL.md +116 -0
  208. package/skills/ship/references/auto-detect.md +103 -0
  209. package/skills/ship/references/pr-template.md +90 -0
  210. package/skills/ship/references/ship-workflow.md +241 -0
  211. package/skills/test/SKILL.md +111 -0
  212. package/skills/test/references/report-format.md +58 -0
  213. package/skills/test/references/test-execution-workflow.md +103 -0
  214. package/skills/test/references/ui-testing-workflow.md +65 -0
  215. package/skills/ui-styling/SKILL.md +2 -0
  216. package/skills/web-testing/SKILL.md +8 -60
  217. package/src/commands/add.js +0 -1
  218. package/src/commands/doctor.js +2 -2
  219. package/src/commands/init.js +19 -28
  220. package/src/commands/update.js +1 -1
  221. package/templates/repo/.github/agents/brainstormer.agent.md +28 -14
  222. package/templates/repo/.github/agents/code-reviewer.agent.md +101 -67
  223. package/templates/repo/.github/agents/code-simplifier.agent.md +36 -41
  224. package/templates/repo/.github/agents/debugger.agent.md +29 -24
  225. package/templates/repo/.github/agents/docs-manager.agent.md +15 -23
  226. package/templates/repo/.github/agents/fullstack-developer.agent.md +16 -6
  227. package/templates/repo/.github/agents/git-manager.agent.md +0 -3
  228. package/templates/repo/.github/agents/planner.agent.md +16 -34
  229. package/templates/repo/.github/agents/project-manager.agent.md +24 -0
  230. package/templates/repo/.github/agents/researcher.agent.md +15 -13
  231. package/templates/repo/.github/agents/tester.agent.md +43 -20
  232. package/templates/repo/.github/agents/ui-ux-designer.agent.md +16 -49
  233. package/templates/repo/.github/prompts/ck-ask.prompt.md +0 -1
  234. package/templates/repo/.github/prompts/ck-bootstrap.prompt.md +0 -3
  235. package/templates/repo/.github/prompts/ck-brainstorm.prompt.md +0 -1
  236. package/templates/repo/.github/prompts/ck-cook.prompt.md +0 -1
  237. package/templates/repo/.github/prompts/ck-debug.prompt.md +0 -1
  238. package/templates/repo/.github/prompts/ck-deploy.prompt.md +22 -0
  239. package/templates/repo/.github/prompts/ck-docs.prompt.md +0 -1
  240. package/templates/repo/.github/prompts/ck-frontend.prompt.md +20 -0
  241. package/templates/repo/.github/prompts/ck-help.prompt.md +0 -1
  242. package/templates/repo/.github/prompts/ck-plan-fast.prompt.md +0 -3
  243. package/templates/repo/.github/prompts/ck-plan-hard.prompt.md +0 -3
  244. package/templates/repo/.github/prompts/ck-plan.prompt.md +0 -3
  245. package/templates/repo/.github/prompts/ck-project.prompt.md +20 -0
  246. package/templates/repo/.github/prompts/ck-review.prompt.md +0 -3
  247. package/templates/repo/.github/prompts/ck-scout.prompt.md +0 -1
  248. package/templates/repo/.github/prompts/ck-security.prompt.md +22 -0
  249. package/templates/repo/.github/prompts/ck-ship.prompt.md +22 -0
  250. package/templates/repo/.github/prompts/ck-test.prompt.md +0 -2
  251. package/templates/repo/.github/prompts/ck-watzup.prompt.md +0 -1
  252. package/templates/repo/.github/skills/agent-browser/SKILL.md +11 -8
  253. package/templates/repo/.github/skills/agent-browser/references/agent-browser-vs-chrome-devtools.md +112 -0
  254. package/templates/repo/.github/skills/bootstrap/SKILL.md +102 -0
  255. package/templates/repo/.github/skills/bootstrap/references/shared-phases.md +59 -0
  256. package/templates/repo/.github/skills/bootstrap/references/workflow-auto.md +52 -0
  257. package/templates/repo/.github/skills/bootstrap/references/workflow-fast.md +50 -0
  258. package/templates/repo/.github/skills/bootstrap/references/workflow-full.md +60 -0
  259. package/templates/repo/.github/skills/bootstrap/references/workflow-parallel.md +59 -0
  260. package/templates/repo/.github/skills/brainstorm/SKILL.md +63 -15
  261. package/templates/repo/.github/skills/code-review/SKILL.md +138 -135
  262. package/templates/repo/.github/skills/code-review/references/adversarial-review.md +223 -0
  263. package/templates/repo/.github/skills/code-review/references/checklist-workflow.md +100 -0
  264. package/templates/repo/.github/skills/code-review/references/checklists/api.md +52 -0
  265. package/templates/repo/.github/skills/code-review/references/checklists/base.md +100 -0
  266. package/templates/repo/.github/skills/code-review/references/checklists/web-app.md +54 -0
  267. package/templates/repo/.github/skills/code-review/references/code-review-reception.md +48 -144
  268. package/templates/repo/.github/skills/code-review/references/codebase-scan-workflow.md +30 -0
  269. package/templates/repo/.github/skills/code-review/references/edge-case-scouting.md +119 -0
  270. package/templates/repo/.github/skills/code-review/references/input-mode-resolution.md +135 -0
  271. package/templates/repo/.github/skills/code-review/references/parallel-review-workflow.md +76 -0
  272. package/templates/repo/.github/skills/code-review/references/requesting-code-review.md +19 -8
  273. package/templates/repo/.github/skills/code-review/references/spec-compliance-review.md +43 -0
  274. package/templates/repo/.github/skills/code-review/references/task-management-reviews.md +155 -0
  275. package/templates/repo/.github/skills/common/README.md +2 -12
  276. package/templates/repo/.github/skills/common/api_key_helper.py +7 -37
  277. package/templates/repo/.github/skills/context-engineering/SKILL.md +4 -3
  278. package/templates/repo/.github/skills/context-engineering/references/context-degradation.md +2 -2
  279. package/templates/repo/.github/skills/context-engineering/references/runtime-awareness.md +5 -47
  280. package/templates/repo/.github/skills/cook/README.md +13 -13
  281. package/templates/repo/.github/skills/cook/SKILL.md +86 -58
  282. package/templates/repo/.github/skills/cook/references/intent-detection.md +7 -7
  283. package/templates/repo/.github/skills/cook/references/review-cycle.md +2 -2
  284. package/templates/repo/.github/skills/cook/references/subagent-patterns.md +75 -0
  285. package/templates/repo/.github/skills/cook/references/workflow-steps.md +75 -23
  286. package/templates/repo/.github/skills/databases/SKILL.md +3 -30
  287. package/templates/repo/.github/skills/databases/db-design.md +1 -1
  288. package/templates/repo/.github/skills/debug/SKILL.md +47 -105
  289. package/templates/repo/.github/skills/debug/references/frontend-verification.md +103 -0
  290. package/templates/repo/.github/skills/debug/references/investigation-methodology.md +101 -0
  291. package/templates/repo/.github/skills/debug/references/log-and-ci-analysis.md +97 -0
  292. package/templates/repo/.github/skills/debug/references/performance-diagnostics.md +113 -0
  293. package/templates/repo/.github/skills/debug/references/reporting-standards.md +122 -0
  294. package/templates/repo/.github/skills/debug/references/task-management-debugging.md +155 -0
  295. package/templates/repo/.github/skills/deploy/SKILL.md +154 -0
  296. package/templates/repo/.github/skills/deploy/references/platform-config-templates.md +35 -0
  297. package/templates/repo/.github/skills/deploy/references/platforms/aws.md +58 -0
  298. package/templates/repo/.github/skills/deploy/references/platforms/cloudflare.md +41 -0
  299. package/templates/repo/.github/skills/deploy/references/platforms/coolify.md +32 -0
  300. package/templates/repo/.github/skills/deploy/references/platforms/digitalocean.md +45 -0
  301. package/templates/repo/.github/skills/deploy/references/platforms/dokploy.md +29 -0
  302. package/templates/repo/.github/skills/deploy/references/platforms/flyio.md +54 -0
  303. package/templates/repo/.github/skills/deploy/references/platforms/gcp.md +45 -0
  304. package/templates/repo/.github/skills/deploy/references/platforms/github-pages.md +56 -0
  305. package/templates/repo/.github/skills/deploy/references/platforms/heroku.md +31 -0
  306. package/templates/repo/.github/skills/deploy/references/platforms/netlify.md +39 -0
  307. package/templates/repo/.github/skills/deploy/references/platforms/railway.md +38 -0
  308. package/templates/repo/.github/skills/deploy/references/platforms/render.md +39 -0
  309. package/templates/repo/.github/skills/deploy/references/platforms/tose.md +35 -0
  310. package/templates/repo/.github/skills/deploy/references/platforms/vercel.md +37 -0
  311. package/templates/repo/.github/skills/deploy/references/platforms/vultr.md +27 -0
  312. package/templates/repo/.github/skills/devops/SKILL.md +6 -12
  313. package/templates/repo/.github/skills/docs-seeker/SKILL.md +2 -1
  314. package/templates/repo/.github/skills/docs-seeker/references/context7-patterns.md +4 -0
  315. package/templates/repo/.github/skills/docs-seeker/scripts/fetch-docs.js +1 -2
  316. package/templates/repo/.github/skills/docs-seeker/scripts/utils/env-loader.js +4 -4
  317. package/templates/repo/.github/skills/docs-seeker/workflows/library-search.md +1 -0
  318. package/templates/repo/.github/skills/fix/SKILL.md +141 -44
  319. package/templates/repo/.github/skills/fix/references/complexity-assessment.md +21 -9
  320. package/templates/repo/.github/skills/fix/references/diagnosis-protocol.md +133 -0
  321. package/templates/repo/.github/skills/fix/references/mode-selection.md +27 -11
  322. package/templates/repo/.github/skills/fix/references/parallel-exploration.md +35 -12
  323. package/templates/repo/.github/skills/fix/references/prevention-gate.md +87 -0
  324. package/templates/repo/.github/skills/fix/references/review-cycle.md +3 -3
  325. package/templates/repo/.github/skills/fix/references/skill-activation-matrix.md +64 -31
  326. package/templates/repo/.github/skills/fix/references/task-orchestration.md +110 -0
  327. package/templates/repo/.github/skills/fix/references/workflow-deep.md +110 -47
  328. package/templates/repo/.github/skills/fix/references/workflow-logs.md +46 -10
  329. package/templates/repo/.github/skills/fix/references/workflow-quick.md +43 -20
  330. package/templates/repo/.github/skills/fix/references/workflow-standard.md +75 -41
  331. package/templates/repo/.github/skills/fix/references/workflow-test.md +49 -10
  332. package/templates/repo/.github/skills/fix/references/workflow-ui.md +56 -18
  333. package/templates/repo/.github/skills/frontend-design/SKILL.md +49 -17
  334. package/templates/repo/.github/skills/frontend-design/references/ai-multimodal-overview.md +165 -0
  335. package/templates/repo/.github/skills/frontend-design/references/anti-slop-rules.md +103 -0
  336. package/templates/repo/.github/skills/frontend-design/references/asset-generation.md +284 -108
  337. package/templates/repo/.github/skills/frontend-design/references/bento-motion-engine.md +142 -0
  338. package/templates/repo/.github/skills/frontend-design/references/magicui-components.md +129 -0
  339. package/templates/repo/.github/skills/frontend-design/references/performance-guardrails.md +169 -0
  340. package/templates/repo/.github/skills/frontend-design/references/premium-design-patterns.md +93 -0
  341. package/templates/repo/.github/skills/frontend-design/references/redesign-audit-checklist.md +114 -0
  342. package/templates/repo/.github/skills/frontend-design/references/visual-analysis-overview.md +1 -1
  343. package/templates/repo/.github/skills/frontend-design/references/workflow-3d.md +98 -0
  344. package/templates/repo/.github/skills/frontend-design/references/workflow-describe.md +4 -3
  345. package/templates/repo/.github/skills/frontend-design/references/workflow-immersive.md +82 -0
  346. package/templates/repo/.github/skills/frontend-design/references/workflow-quick.md +10 -12
  347. package/templates/repo/.github/skills/frontend-design/references/workflow-screenshot.md +9 -8
  348. package/templates/repo/.github/skills/frontend-design/references/workflow-video.md +74 -0
  349. package/templates/repo/.github/skills/frontend-development/SKILL.md +400 -0
  350. package/templates/repo/.github/skills/frontend-development/resources/common-patterns.md +331 -0
  351. package/templates/repo/.github/skills/frontend-development/resources/complete-examples.md +872 -0
  352. package/templates/repo/.github/skills/frontend-development/resources/component-patterns.md +502 -0
  353. package/templates/repo/.github/skills/frontend-development/resources/data-fetching.md +767 -0
  354. package/templates/repo/.github/skills/frontend-development/resources/file-organization.md +502 -0
  355. package/templates/repo/.github/skills/frontend-development/resources/loading-and-error-states.md +501 -0
  356. package/templates/repo/.github/skills/frontend-development/resources/performance.md +406 -0
  357. package/templates/repo/.github/skills/frontend-development/resources/routing-guide.md +364 -0
  358. package/templates/repo/.github/skills/frontend-development/resources/styling-guide.md +428 -0
  359. package/templates/repo/.github/skills/frontend-development/resources/typescript-standards.md +418 -0
  360. package/templates/repo/.github/skills/git/SKILL.md +18 -4
  361. package/templates/repo/.github/skills/git/references/commit-standards.md +3 -3
  362. package/templates/repo/.github/skills/git/references/workflow-commit.md +3 -3
  363. package/templates/repo/.github/skills/git/references/workflow-merge.md +1 -1
  364. package/templates/repo/.github/skills/git/references/workflow-pr.md +1 -1
  365. package/templates/repo/.github/skills/git/references/workflow-push.md +1 -1
  366. package/templates/repo/.github/skills/mcp-management/README.md +18 -18
  367. package/templates/repo/.github/skills/mcp-management/SKILL.md +16 -15
  368. package/templates/repo/.github/skills/mcp-management/references/configuration.md +4 -4
  369. package/templates/repo/.github/skills/mcp-management/references/gemini-cli-integration.md +12 -12
  370. package/templates/repo/.github/skills/mcp-management/scripts/.env.example +2 -2
  371. package/templates/repo/.github/skills/mcp-management/scripts/mcp-client.ts +1 -1
  372. package/templates/repo/.github/skills/mermaidjs-v11/SKILL.md +1 -0
  373. package/templates/repo/.github/skills/planning/SKILL.md +122 -91
  374. package/templates/repo/.github/skills/planning/references/archive-workflow.md +53 -0
  375. package/templates/repo/.github/skills/planning/references/codebase-understanding.md +1 -1
  376. package/templates/repo/.github/skills/planning/references/output-standards.md +17 -13
  377. package/templates/repo/.github/skills/planning/references/plan-organization.md +52 -30
  378. package/templates/repo/.github/skills/planning/references/red-team-personas.md +69 -0
  379. package/templates/repo/.github/skills/planning/references/red-team-workflow.md +77 -0
  380. package/templates/repo/.github/skills/planning/references/scope-challenge.md +90 -0
  381. package/templates/repo/.github/skills/planning/references/task-management.md +134 -0
  382. package/templates/repo/.github/skills/planning/references/validate-question-framework.md +80 -0
  383. package/templates/repo/.github/skills/planning/references/validate-workflow.md +65 -0
  384. package/templates/repo/.github/skills/planning/references/workflow-modes.md +154 -0
  385. package/templates/repo/.github/skills/problem-solving/SKILL.md +1 -0
  386. package/templates/repo/.github/skills/project-management/SKILL.md +133 -0
  387. package/templates/repo/.github/skills/project-management/references/documentation-triggers.md +60 -0
  388. package/templates/repo/.github/skills/project-management/references/hydration-workflow.md +89 -0
  389. package/templates/repo/.github/skills/project-management/references/progress-tracking.md +120 -0
  390. package/templates/repo/.github/skills/project-management/references/reporting-patterns.md +94 -0
  391. package/templates/repo/.github/skills/project-management/references/task-operations.md +87 -0
  392. package/templates/repo/.github/skills/repomix/SKILL.md +3 -2
  393. package/templates/repo/.github/skills/repomix/references/usage-patterns.md +2 -2
  394. package/templates/repo/.github/skills/repomix/scripts/README.md +1 -1
  395. package/templates/repo/.github/skills/repomix/scripts/repomix_batch.py +2 -2
  396. package/templates/repo/.github/skills/research/SKILL.md +7 -4
  397. package/templates/repo/.github/skills/scout/SKILL.md +24 -24
  398. package/templates/repo/.github/skills/scout/references/external-scouting.md +17 -17
  399. package/templates/repo/.github/skills/scout/references/internal-scouting.md +9 -9
  400. package/templates/repo/.github/skills/scout/references/task-management-scouting.md +125 -0
  401. package/templates/repo/.github/skills/security/SKILL.md +139 -0
  402. package/templates/repo/.github/skills/security/references/stride-owasp-checklist.md +128 -0
  403. package/templates/repo/.github/skills/sequential-thinking/README.md +3 -3
  404. package/templates/repo/.github/skills/sequential-thinking/SKILL.md +2 -0
  405. package/templates/repo/.github/skills/sequential-thinking/package-lock.json +3652 -0
  406. package/templates/repo/.github/skills/sequential-thinking/package.json +1 -1
  407. package/templates/repo/.github/skills/ship/SKILL.md +116 -0
  408. package/templates/repo/.github/skills/ship/references/auto-detect.md +103 -0
  409. package/templates/repo/.github/skills/ship/references/pr-template.md +90 -0
  410. package/templates/repo/.github/skills/ship/references/ship-workflow.md +241 -0
  411. package/templates/repo/.github/skills/test/SKILL.md +111 -0
  412. package/templates/repo/.github/skills/test/references/report-format.md +58 -0
  413. package/templates/repo/.github/skills/test/references/test-execution-workflow.md +103 -0
  414. package/templates/repo/.github/skills/test/references/ui-testing-workflow.md +65 -0
  415. package/templates/repo/.github/skills/ui-styling/SKILL.md +2 -0
  416. package/templates/repo/.github/skills/web-testing/SKILL.md +8 -60
  417. package/docs/guide-next-steps-speckit-cokit-implementation.md +0 -187
  418. package/prompts/ck-spec-analyze.prompt.md +0 -201
  419. package/prompts/ck-spec-checklist.prompt.md +0 -308
  420. package/prompts/ck-spec-clarify.prompt.md +0 -190
  421. package/prompts/ck-spec-constitution.prompt.md +0 -92
  422. package/prompts/ck-spec-implement.prompt.md +0 -157
  423. package/prompts/ck-spec-plan.prompt.md +0 -95
  424. package/prompts/ck-spec-specify.prompt.md +0 -261
  425. package/prompts/ck-spec-tasks.prompt.md +0 -181
  426. package/templates/repo/.github/AGENTS.md +0 -103
  427. package/templates/repo/.github/prompts/ck-spec-analyze.prompt.md +0 -201
  428. package/templates/repo/.github/prompts/ck-spec-checklist.prompt.md +0 -308
  429. package/templates/repo/.github/prompts/ck-spec-clarify.prompt.md +0 -190
  430. package/templates/repo/.github/prompts/ck-spec-constitution.prompt.md +0 -92
  431. package/templates/repo/.github/prompts/ck-spec-implement.prompt.md +0 -157
  432. package/templates/repo/.github/prompts/ck-spec-plan.prompt.md +0 -95
  433. package/templates/repo/.github/prompts/ck-spec-specify.prompt.md +0 -261
  434. package/templates/repo/.github/prompts/ck-spec-tasks.prompt.md +0 -181
  435. package/templates/repo/.github/skills/databases/stacks/bigquery.md +0 -231
  436. package/templates/repo/.github/skills/databases/stacks/d1_cloudflare.md +0 -137
  437. package/templates/repo/.github/skills/databases/stacks/mysql.md +0 -216
  438. package/templates/repo/.github/skills/databases/stacks/postgres.md +0 -235
  439. package/templates/repo/.github/skills/databases/stacks/sqlite.md +0 -244
  440. package/templates/repo/.github/skills/mcp-management/assets/tools.json +0 -3146
  441. package/templates/repo/.github/skills/mcp-management/scripts/dist/analyze-tools.js +0 -70
  442. package/templates/repo/.github/skills/mcp-management/scripts/dist/cli.js +0 -160
  443. package/templates/repo/.github/skills/mcp-management/scripts/dist/mcp-client.js +0 -183
  444. package/templates/repo/.github/skills/ui-styling/LICENSE.txt +0 -202
  445. package/templates/repo/.github/spec-kit/memory/constitution.md +0 -50
  446. package/templates/repo/.github/spec-kit/scripts/bash/check-prerequisites.sh +0 -166
  447. package/templates/repo/.github/spec-kit/scripts/bash/common.sh +0 -156
  448. package/templates/repo/.github/spec-kit/scripts/bash/create-new-feature.sh +0 -297
  449. package/templates/repo/.github/spec-kit/scripts/bash/setup-plan.sh +0 -61
  450. package/templates/repo/.github/spec-kit/scripts/bash/update-agent-context.sh +0 -799
  451. package/templates/repo/.github/spec-kit/scripts/powershell/check-prerequisites.ps1 +0 -148
  452. package/templates/repo/.github/spec-kit/scripts/powershell/common.ps1 +0 -137
  453. package/templates/repo/.github/spec-kit/scripts/powershell/create-new-feature.ps1 +0 -283
  454. package/templates/repo/.github/spec-kit/scripts/powershell/setup-plan.ps1 +0 -61
  455. package/templates/repo/.github/spec-kit/scripts/powershell/update-agent-context.ps1 +0 -448
  456. package/templates/repo/.github/spec-kit/templates/agent-file-template.md +0 -28
  457. package/templates/repo/.github/spec-kit/templates/checklist-template.md +0 -40
  458. package/templates/repo/.github/spec-kit/templates/commands/analyze.md +0 -187
  459. package/templates/repo/.github/spec-kit/templates/commands/checklist.md +0 -297
  460. package/templates/repo/.github/spec-kit/templates/commands/clarify.md +0 -184
  461. package/templates/repo/.github/spec-kit/templates/commands/constitution.md +0 -82
  462. package/templates/repo/.github/spec-kit/templates/commands/implement.md +0 -138
  463. package/templates/repo/.github/spec-kit/templates/commands/plan.md +0 -95
  464. package/templates/repo/.github/spec-kit/templates/commands/specify.md +0 -261
  465. package/templates/repo/.github/spec-kit/templates/commands/tasks.md +0 -140
  466. package/templates/repo/.github/spec-kit/templates/commands/taskstoissues.md +0 -33
  467. package/templates/repo/.github/spec-kit/templates/plan-template.md +0 -104
  468. package/templates/repo/.github/spec-kit/templates/spec-template.md +0 -115
  469. package/templates/repo/.github/spec-kit/templates/tasks-phase-template.md +0 -42
  470. package/templates/repo/.github/spec-kit/templates/tasks-template.md +0 -268
  471. package/templates/repo/.github/spec-kit/templates/vscode-settings.json +0 -14
@@ -1,161 +1,337 @@
1
- # Asset Processing Workflow
1
+ # Asset Generation Workflow
2
2
 
3
- Complete workflow for processing design assets using CLI tools (ImageMagick, FFmpeg, RMBG).
3
+ Complete workflow for generating design-aligned visual assets using `ai-multimodal` (if available) skill.
4
4
 
5
- ## Processing Workflow
5
+ ## Generation Workflow
6
6
 
7
7
  ### Step 1: Define Design Context
8
8
 
9
- Before processing, extract from the design brief:
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
- - **Output requirements**: Formats, sizes, optimization targets
14
+ - **User context**: Who sees this? What problem does it solve?
14
15
 
15
- ### Step 2: Source Assets
16
+ ### Step 2: Craft Contextual Prompts
16
17
 
17
- Get assets from:
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
- ### Step 3: Process Assets with CLI Tools
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 these CLI tools:
43
+ Use `ai-multimodal` (if available) skill's image generation capabilities:
26
44
 
27
- **Image Processing (ImageMagick)**:
28
45
  ```bash
29
- # Resize for web
30
- convert input.png -resize 1920x1080 output.png
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
- # Convert format
33
- convert input.png output.webp
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
- # Apply color adjustments
36
- convert input.png -modulate 100,110,100 output.png
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
- # Add border/padding
39
- convert input.png -bordercolor white -border 20 output.png
82
+ ### Step 4: Evaluate Against Design Standards
40
83
 
41
- # Create thumbnail
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
- # Remove background from image
48
- rmbg input.png output.png
49
-
50
- # Batch process directory
51
- rmbg -i ./input/ -o ./output/
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
- **Video Processing (FFmpeg)**:
55
- ```bash
56
- # Extract frame from video
57
- ffmpeg -i video.mp4 -ss 00:00:05 -frames:v 1 frame.png
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
- # Create thumbnail grid
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
- # Convert to web format
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
- # Create animated GIF
66
- ffmpeg -i video.mp4 -vf "fps=10,scale=480:-1" output.gif
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
- ### Step 4: Optimize for Web
128
+ **Use Case**: Background for minimalist product pages, portfolio sites
70
129
 
71
- **Image Optimization**:
72
- ```bash
73
- # PNG optimization
74
- pngquant --quality=65-80 input.png -o output.png
130
+ ### Pattern 2: Maximalist Hero Section
75
131
 
76
- # JPEG optimization
77
- convert input.jpg -quality 85 output.jpg
132
+ **Design Context**: Bold, energetic landing page with vibrant colors
78
133
 
79
- # WebP conversion (smaller file size)
80
- convert input.png -quality 80 output.webp
134
+ **Prompt Strategy**:
81
135
  ```
82
-
83
- **Responsive Variants**:
84
- ```bash
85
- # Create multiple sizes
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
- ### Step 5: Verify Quality
142
+ **Use Case**: Hero section for creative agencies, entertainment platforms
93
143
 
94
- After processing, verify:
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
- ## Common Asset Tasks
146
+ **Design Context**: Raw, bold interface with strong typography
102
147
 
103
- ### Background Removal for Product Images
104
- ```bash
105
- # Single image
106
- rmbg product.jpg product-nobg.png
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
- # Batch process
109
- for f in products/*.jpg; do rmbg "$f" "output/$(basename "$f" .jpg).png"; done
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
- ### Hero Image Optimization
113
- ```bash
114
- # Full workflow
115
- convert original.png -resize 1920x1080^ -gravity center -extent 1920x1080 hero-lg.png
116
- convert hero-lg.png -quality 85 hero-lg.webp
117
- convert original.png -resize 768x -quality 85 hero-sm.webp
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
- ### Sprite Sheet Creation
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
- # With grid layout
126
- montage icon-*.png -tile 4x -geometry +0+0 sprite.png
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
- ### Video Thumbnail
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
- # Extract best frame (usually around 25% in)
132
- ffmpeg -i video.mp4 -ss 00:00:03 -frames:v 1 thumbnail.jpg
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
- ## File Format Guidelines
283
+ ## Model Cost Optimization
136
284
 
137
- | Format | Use Case | Notes |
138
- |--------|----------|-------|
139
- | WebP | Web images (default) | Best compression, wide support |
140
- | PNG | Images with transparency | Use for icons, logos |
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
- ## Quality vs Size Targets
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
- | Asset Type | Target Size | Quality Setting |
150
- |------------|-------------|-----------------|
151
- | Hero image | < 200KB | 80-85% |
152
- | Thumbnails | < 50KB | 75-80% |
153
- | Icons | < 10KB | PNG or SVG |
154
- | Product images | < 150KB | 80-85% |
155
- | Background patterns | < 100KB | 70-80% |
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 visual quality**: Compare processed assets to originals
160
- - **Test across devices**: Ensure responsive variants work
161
- - **Document assets**: Keep track of source files and processing steps
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