dev-booster 1.0.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 (294) hide show
  1. package/README.md +203 -0
  2. package/bin/dev-booster.js +4 -0
  3. package/package.json +41 -0
  4. package/src/index.js +78 -0
  5. package/src/sync-template.js +55 -0
  6. package/template/.devbooster/MANIFEST.md +177 -0
  7. package/template/.devbooster/boosters/accessibility.md +63 -0
  8. package/template/.devbooster/boosters/advisor.md +68 -0
  9. package/template/.devbooster/boosters/atomic.md +58 -0
  10. package/template/.devbooster/boosters/backend.md +75 -0
  11. package/template/.devbooster/boosters/changelog.md +126 -0
  12. package/template/.devbooster/boosters/create.md +85 -0
  13. package/template/.devbooster/boosters/debug.md +55 -0
  14. package/template/.devbooster/boosters/deploy.md +11 -0
  15. package/template/.devbooster/boosters/design.md +56 -0
  16. package/template/.devbooster/boosters/discovery.md +75 -0
  17. package/template/.devbooster/boosters/documentation.md +106 -0
  18. package/template/.devbooster/boosters/frontend.md +82 -0
  19. package/template/.devbooster/boosters/i18n.md +63 -0
  20. package/template/.devbooster/boosters/implementation.md +82 -0
  21. package/template/.devbooster/boosters/investigation.md +96 -0
  22. package/template/.devbooster/boosters/mobile.md +56 -0
  23. package/template/.devbooster/boosters/performance.md +70 -0
  24. package/template/.devbooster/boosters/planning.md +92 -0
  25. package/template/.devbooster/boosters/refactor.md +17 -0
  26. package/template/.devbooster/boosters/review.md +88 -0
  27. package/template/.devbooster/boosters/security.md +60 -0
  28. package/template/.devbooster/boosters/seo.md +59 -0
  29. package/template/.devbooster/boosters/templates/implementation_heavy.md +130 -0
  30. package/template/.devbooster/boosters/templates/implementation_simple.md +109 -0
  31. package/template/.devbooster/boosters/templates/implementation_standard.md +134 -0
  32. package/template/.devbooster/boosters/testing.md +76 -0
  33. package/template/.devbooster/hub/personas/agent_backend-specialist.md +263 -0
  34. package/template/.devbooster/hub/personas/agent_code-archaeologist.md +106 -0
  35. package/template/.devbooster/hub/personas/agent_database-architect.md +226 -0
  36. package/template/.devbooster/hub/personas/agent_debugger.md +225 -0
  37. package/template/.devbooster/hub/personas/agent_devops-engineer.md +242 -0
  38. package/template/.devbooster/hub/personas/agent_documentation-writer.md +104 -0
  39. package/template/.devbooster/hub/personas/agent_explorer-agent.md +73 -0
  40. package/template/.devbooster/hub/personas/agent_frontend-specialist.md +593 -0
  41. package/template/.devbooster/hub/personas/agent_game-developer.md +162 -0
  42. package/template/.devbooster/hub/personas/agent_mobile-developer.md +377 -0
  43. package/template/.devbooster/hub/personas/agent_orchestrator.md +416 -0
  44. package/template/.devbooster/hub/personas/agent_penetration-tester.md +188 -0
  45. package/template/.devbooster/hub/personas/agent_performance-optimizer.md +187 -0
  46. package/template/.devbooster/hub/personas/agent_product-manager.md +112 -0
  47. package/template/.devbooster/hub/personas/agent_product-owner.md +95 -0
  48. package/template/.devbooster/hub/personas/agent_project-planner.md +406 -0
  49. package/template/.devbooster/hub/personas/agent_qa-automation-engineer.md +103 -0
  50. package/template/.devbooster/hub/personas/agent_security-auditor.md +170 -0
  51. package/template/.devbooster/hub/personas/agent_seo-specialist.md +111 -0
  52. package/template/.devbooster/hub/personas/agent_test-engineer.md +158 -0
  53. package/template/.devbooster/hub/personas/backend-specialist.md +263 -0
  54. package/template/.devbooster/hub/personas/brainstorm.md +113 -0
  55. package/template/.devbooster/hub/personas/code-archaeologist.md +106 -0
  56. package/template/.devbooster/hub/personas/create.md +59 -0
  57. package/template/.devbooster/hub/personas/database-architect.md +226 -0
  58. package/template/.devbooster/hub/personas/debug.md +103 -0
  59. package/template/.devbooster/hub/personas/debugger.md +225 -0
  60. package/template/.devbooster/hub/personas/deploy.md +176 -0
  61. package/template/.devbooster/hub/personas/devops-engineer.md +242 -0
  62. package/template/.devbooster/hub/personas/documentation-writer.md +104 -0
  63. package/template/.devbooster/hub/personas/enhance.md +63 -0
  64. package/template/.devbooster/hub/personas/explorer-agent.md +73 -0
  65. package/template/.devbooster/hub/personas/frontend-specialist.md +593 -0
  66. package/template/.devbooster/hub/personas/game-developer.md +162 -0
  67. package/template/.devbooster/hub/personas/mobile-developer.md +377 -0
  68. package/template/.devbooster/hub/personas/orchestrate.md +237 -0
  69. package/template/.devbooster/hub/personas/orchestrator.md +416 -0
  70. package/template/.devbooster/hub/personas/penetration-tester.md +188 -0
  71. package/template/.devbooster/hub/personas/performance-optimizer.md +187 -0
  72. package/template/.devbooster/hub/personas/plan.md +89 -0
  73. package/template/.devbooster/hub/personas/preview.md +81 -0
  74. package/template/.devbooster/hub/personas/product-manager.md +112 -0
  75. package/template/.devbooster/hub/personas/product-owner.md +95 -0
  76. package/template/.devbooster/hub/personas/project-planner.md +406 -0
  77. package/template/.devbooster/hub/personas/qa-automation-engineer.md +103 -0
  78. package/template/.devbooster/hub/personas/security-auditor.md +170 -0
  79. package/template/.devbooster/hub/personas/seo-specialist.md +111 -0
  80. package/template/.devbooster/hub/personas/skill_api-patterns.md +567 -0
  81. package/template/.devbooster/hub/personas/skill_app-builder.md +1855 -0
  82. package/template/.devbooster/hub/personas/skill_architecture.md +417 -0
  83. package/template/.devbooster/hub/personas/skill_bash-linux.md +199 -0
  84. package/template/.devbooster/hub/personas/skill_behavioral-modes.md +242 -0
  85. package/template/.devbooster/hub/personas/skill_brainstorming.md +519 -0
  86. package/template/.devbooster/hub/personas/skill_clean-code.md +201 -0
  87. package/template/.devbooster/hub/personas/skill_code-review-checklist.md +109 -0
  88. package/template/.devbooster/hub/personas/skill_database-design.md +340 -0
  89. package/template/.devbooster/hub/personas/skill_deployment-procedures.md +241 -0
  90. package/template/.devbooster/hub/personas/skill_doc.md +177 -0
  91. package/template/.devbooster/hub/personas/skill_documentation-templates.md +194 -0
  92. package/template/.devbooster/hub/personas/skill_frontend-design.md +3670 -0
  93. package/template/.devbooster/hub/personas/skill_game-development.md +167 -0
  94. package/template/.devbooster/hub/personas/skill_geo-fundamentals.md +156 -0
  95. package/template/.devbooster/hub/personas/skill_i18n-localization.md +154 -0
  96. package/template/.devbooster/hub/personas/skill_intelligent-routing.md +335 -0
  97. package/template/.devbooster/hub/personas/skill_lint-and-validate.md +45 -0
  98. package/template/.devbooster/hub/personas/skill_mcp-builder.md +176 -0
  99. package/template/.devbooster/hub/personas/skill_mobile-design.md +6150 -0
  100. package/template/.devbooster/hub/personas/skill_nextjs-react-expert.md +3487 -0
  101. package/template/.devbooster/hub/personas/skill_nodejs-best-practices.md +333 -0
  102. package/template/.devbooster/hub/personas/skill_parallel-agents.md +175 -0
  103. package/template/.devbooster/hub/personas/skill_performance-profiling.md +143 -0
  104. package/template/.devbooster/hub/personas/skill_plan-writing.md +152 -0
  105. package/template/.devbooster/hub/personas/skill_powershell-windows.md +167 -0
  106. package/template/.devbooster/hub/personas/skill_python-patterns.md +441 -0
  107. package/template/.devbooster/hub/personas/skill_red-team-tactics.md +199 -0
  108. package/template/.devbooster/hub/personas/skill_rust-pro.md +176 -0
  109. package/template/.devbooster/hub/personas/skill_seo-fundamentals.md +129 -0
  110. package/template/.devbooster/hub/personas/skill_server-management.md +161 -0
  111. package/template/.devbooster/hub/personas/skill_systematic-debugging.md +109 -0
  112. package/template/.devbooster/hub/personas/skill_tailwind-patterns.md +269 -0
  113. package/template/.devbooster/hub/personas/skill_tdd-workflow.md +149 -0
  114. package/template/.devbooster/hub/personas/skill_testing-patterns.md +178 -0
  115. package/template/.devbooster/hub/personas/skill_vulnerability-scanner.md +403 -0
  116. package/template/.devbooster/hub/personas/skill_web-design-guidelines.md +57 -0
  117. package/template/.devbooster/hub/personas/skill_webapp-testing.md +187 -0
  118. package/template/.devbooster/hub/personas/status.md +86 -0
  119. package/template/.devbooster/hub/personas/test-engineer.md +158 -0
  120. package/template/.devbooster/hub/personas/test.md +144 -0
  121. package/template/.devbooster/hub/personas/ui-ux-pro-max.md +296 -0
  122. package/template/.devbooster/hub/scripts/accessibility_checker.py +183 -0
  123. package/template/.devbooster/hub/scripts/api_validator.py +211 -0
  124. package/template/.devbooster/hub/scripts/auto_preview.py +148 -0
  125. package/template/.devbooster/hub/scripts/checklist.py +217 -0
  126. package/template/.devbooster/hub/scripts/convert_rules.py +222 -0
  127. package/template/.devbooster/hub/scripts/geo_checker.py +289 -0
  128. package/template/.devbooster/hub/scripts/i18n_checker.py +241 -0
  129. package/template/.devbooster/hub/scripts/lighthouse_audit.py +76 -0
  130. package/template/.devbooster/hub/scripts/lint_runner.py +184 -0
  131. package/template/.devbooster/hub/scripts/mobile_audit.py +670 -0
  132. package/template/.devbooster/hub/scripts/playwright_runner.py +173 -0
  133. package/template/.devbooster/hub/scripts/react_performance_checker.py +252 -0
  134. package/template/.devbooster/hub/scripts/schema_validator.py +172 -0
  135. package/template/.devbooster/hub/scripts/security_scan.py +458 -0
  136. package/template/.devbooster/hub/scripts/seo_checker.py +219 -0
  137. package/template/.devbooster/hub/scripts/session_manager.py +120 -0
  138. package/template/.devbooster/hub/scripts/test_runner.py +219 -0
  139. package/template/.devbooster/hub/scripts/type_coverage.py +173 -0
  140. package/template/.devbooster/hub/scripts/ux_audit.py +722 -0
  141. package/template/.devbooster/hub/scripts/verify_all.py +327 -0
  142. package/template/.devbooster/hub/skills/api-patterns/SKILL.md +81 -0
  143. package/template/.devbooster/hub/skills/api-patterns/api-style.md +42 -0
  144. package/template/.devbooster/hub/skills/api-patterns/auth.md +24 -0
  145. package/template/.devbooster/hub/skills/api-patterns/documentation.md +26 -0
  146. package/template/.devbooster/hub/skills/api-patterns/graphql.md +41 -0
  147. package/template/.devbooster/hub/skills/api-patterns/rate-limiting.md +31 -0
  148. package/template/.devbooster/hub/skills/api-patterns/response.md +37 -0
  149. package/template/.devbooster/hub/skills/api-patterns/rest.md +40 -0
  150. package/template/.devbooster/hub/skills/api-patterns/scripts/api_validator.py +211 -0
  151. package/template/.devbooster/hub/skills/api-patterns/security-testing.md +122 -0
  152. package/template/.devbooster/hub/skills/api-patterns/trpc.md +41 -0
  153. package/template/.devbooster/hub/skills/api-patterns/versioning.md +22 -0
  154. package/template/.devbooster/hub/skills/app-builder/SKILL.md +75 -0
  155. package/template/.devbooster/hub/skills/app-builder/agent-coordination.md +71 -0
  156. package/template/.devbooster/hub/skills/app-builder/feature-building.md +53 -0
  157. package/template/.devbooster/hub/skills/app-builder/project-detection.md +34 -0
  158. package/template/.devbooster/hub/skills/app-builder/scaffolding.md +118 -0
  159. package/template/.devbooster/hub/skills/app-builder/tech-stack.md +40 -0
  160. package/template/.devbooster/hub/skills/app-builder/templates/SKILL.md +39 -0
  161. package/template/.devbooster/hub/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
  162. package/template/.devbooster/hub/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
  163. package/template/.devbooster/hub/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
  164. package/template/.devbooster/hub/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
  165. package/template/.devbooster/hub/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
  166. package/template/.devbooster/hub/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
  167. package/template/.devbooster/hub/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
  168. package/template/.devbooster/hub/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
  169. package/template/.devbooster/hub/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
  170. package/template/.devbooster/hub/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
  171. package/template/.devbooster/hub/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
  172. package/template/.devbooster/hub/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
  173. package/template/.devbooster/hub/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
  174. package/template/.devbooster/hub/skills/architecture/SKILL.md +55 -0
  175. package/template/.devbooster/hub/skills/architecture/context-discovery.md +43 -0
  176. package/template/.devbooster/hub/skills/architecture/examples.md +94 -0
  177. package/template/.devbooster/hub/skills/architecture/pattern-selection.md +68 -0
  178. package/template/.devbooster/hub/skills/architecture/patterns-reference.md +50 -0
  179. package/template/.devbooster/hub/skills/architecture/trade-off-analysis.md +77 -0
  180. package/template/.devbooster/hub/skills/bash-linux/SKILL.md +199 -0
  181. package/template/.devbooster/hub/skills/behavioral-modes/SKILL.md +242 -0
  182. package/template/.devbooster/hub/skills/brainstorming/SKILL.md +163 -0
  183. package/template/.devbooster/hub/skills/brainstorming/dynamic-questioning.md +350 -0
  184. package/template/.devbooster/hub/skills/clean-code/SKILL.md +201 -0
  185. package/template/.devbooster/hub/skills/code-review-checklist/SKILL.md +109 -0
  186. package/template/.devbooster/hub/skills/database-design/SKILL.md +52 -0
  187. package/template/.devbooster/hub/skills/database-design/database-selection.md +43 -0
  188. package/template/.devbooster/hub/skills/database-design/indexing.md +39 -0
  189. package/template/.devbooster/hub/skills/database-design/migrations.md +48 -0
  190. package/template/.devbooster/hub/skills/database-design/optimization.md +36 -0
  191. package/template/.devbooster/hub/skills/database-design/orm-selection.md +30 -0
  192. package/template/.devbooster/hub/skills/database-design/schema-design.md +56 -0
  193. package/template/.devbooster/hub/skills/database-design/scripts/schema_validator.py +172 -0
  194. package/template/.devbooster/hub/skills/deployment-procedures/SKILL.md +241 -0
  195. package/template/.devbooster/hub/skills/doc.md +177 -0
  196. package/template/.devbooster/hub/skills/documentation-templates/SKILL.md +194 -0
  197. package/template/.devbooster/hub/skills/frontend-design/SKILL.md +418 -0
  198. package/template/.devbooster/hub/skills/frontend-design/animation-guide.md +331 -0
  199. package/template/.devbooster/hub/skills/frontend-design/anti-generic-guide.md +252 -0
  200. package/template/.devbooster/hub/skills/frontend-design/color-system.md +311 -0
  201. package/template/.devbooster/hub/skills/frontend-design/decision-trees.md +418 -0
  202. package/template/.devbooster/hub/skills/frontend-design/motion-graphics.md +306 -0
  203. package/template/.devbooster/hub/skills/frontend-design/scripts/accessibility_checker.py +183 -0
  204. package/template/.devbooster/hub/skills/frontend-design/scripts/ux_audit.py +722 -0
  205. package/template/.devbooster/hub/skills/frontend-design/typography-system.md +345 -0
  206. package/template/.devbooster/hub/skills/frontend-design/ux-psychology.md +1116 -0
  207. package/template/.devbooster/hub/skills/frontend-design/visual-effects.md +383 -0
  208. package/template/.devbooster/hub/skills/game-development/2d-games/SKILL.md +119 -0
  209. package/template/.devbooster/hub/skills/game-development/3d-games/SKILL.md +135 -0
  210. package/template/.devbooster/hub/skills/game-development/SKILL.md +167 -0
  211. package/template/.devbooster/hub/skills/game-development/game-art/SKILL.md +185 -0
  212. package/template/.devbooster/hub/skills/game-development/game-audio/SKILL.md +190 -0
  213. package/template/.devbooster/hub/skills/game-development/game-design/SKILL.md +129 -0
  214. package/template/.devbooster/hub/skills/game-development/mobile-games/SKILL.md +108 -0
  215. package/template/.devbooster/hub/skills/game-development/multiplayer/SKILL.md +132 -0
  216. package/template/.devbooster/hub/skills/game-development/pc-games/SKILL.md +144 -0
  217. package/template/.devbooster/hub/skills/game-development/vr-ar/SKILL.md +123 -0
  218. package/template/.devbooster/hub/skills/game-development/web-games/SKILL.md +150 -0
  219. package/template/.devbooster/hub/skills/geo-fundamentals/SKILL.md +156 -0
  220. package/template/.devbooster/hub/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
  221. package/template/.devbooster/hub/skills/i18n-localization/SKILL.md +154 -0
  222. package/template/.devbooster/hub/skills/i18n-localization/scripts/i18n_checker.py +241 -0
  223. package/template/.devbooster/hub/skills/intelligent-routing/SKILL.md +335 -0
  224. package/template/.devbooster/hub/skills/lint-and-validate/SKILL.md +45 -0
  225. package/template/.devbooster/hub/skills/lint-and-validate/scripts/lint_runner.py +184 -0
  226. package/template/.devbooster/hub/skills/lint-and-validate/scripts/type_coverage.py +173 -0
  227. package/template/.devbooster/hub/skills/mcp-builder/SKILL.md +176 -0
  228. package/template/.devbooster/hub/skills/mobile-design/SKILL.md +394 -0
  229. package/template/.devbooster/hub/skills/mobile-design/decision-trees.md +516 -0
  230. package/template/.devbooster/hub/skills/mobile-design/mobile-backend.md +491 -0
  231. package/template/.devbooster/hub/skills/mobile-design/mobile-color-system.md +420 -0
  232. package/template/.devbooster/hub/skills/mobile-design/mobile-debugging.md +122 -0
  233. package/template/.devbooster/hub/skills/mobile-design/mobile-design-thinking.md +357 -0
  234. package/template/.devbooster/hub/skills/mobile-design/mobile-navigation.md +458 -0
  235. package/template/.devbooster/hub/skills/mobile-design/mobile-performance.md +767 -0
  236. package/template/.devbooster/hub/skills/mobile-design/mobile-testing.md +356 -0
  237. package/template/.devbooster/hub/skills/mobile-design/mobile-typography.md +433 -0
  238. package/template/.devbooster/hub/skills/mobile-design/platform-android.md +666 -0
  239. package/template/.devbooster/hub/skills/mobile-design/platform-ios.md +561 -0
  240. package/template/.devbooster/hub/skills/mobile-design/scripts/mobile_audit.py +670 -0
  241. package/template/.devbooster/hub/skills/mobile-design/touch-psychology.md +537 -0
  242. package/template/.devbooster/hub/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +312 -0
  243. package/template/.devbooster/hub/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +240 -0
  244. package/template/.devbooster/hub/skills/nextjs-react-expert/3-server-server-side-performance.md +490 -0
  245. package/template/.devbooster/hub/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +264 -0
  246. package/template/.devbooster/hub/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +581 -0
  247. package/template/.devbooster/hub/skills/nextjs-react-expert/6-rendering-rendering-performance.md +432 -0
  248. package/template/.devbooster/hub/skills/nextjs-react-expert/7-js-javascript-performance.md +684 -0
  249. package/template/.devbooster/hub/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +150 -0
  250. package/template/.devbooster/hub/skills/nextjs-react-expert/SKILL.md +286 -0
  251. package/template/.devbooster/hub/skills/nextjs-react-expert/scripts/convert_rules.py +222 -0
  252. package/template/.devbooster/hub/skills/nextjs-react-expert/scripts/react_performance_checker.py +252 -0
  253. package/template/.devbooster/hub/skills/nodejs-best-practices/SKILL.md +333 -0
  254. package/template/.devbooster/hub/skills/parallel-agents/SKILL.md +175 -0
  255. package/template/.devbooster/hub/skills/performance-profiling/SKILL.md +143 -0
  256. package/template/.devbooster/hub/skills/performance-profiling/scripts/lighthouse_audit.py +76 -0
  257. package/template/.devbooster/hub/skills/plan-writing/SKILL.md +152 -0
  258. package/template/.devbooster/hub/skills/powershell-windows/SKILL.md +167 -0
  259. package/template/.devbooster/hub/skills/python-patterns/SKILL.md +441 -0
  260. package/template/.devbooster/hub/skills/red-team-tactics/SKILL.md +199 -0
  261. package/template/.devbooster/hub/skills/rust-pro/SKILL.md +176 -0
  262. package/template/.devbooster/hub/skills/seo-fundamentals/SKILL.md +129 -0
  263. package/template/.devbooster/hub/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
  264. package/template/.devbooster/hub/skills/server-management/SKILL.md +161 -0
  265. package/template/.devbooster/hub/skills/systematic-debugging/SKILL.md +109 -0
  266. package/template/.devbooster/hub/skills/tailwind-patterns/SKILL.md +269 -0
  267. package/template/.devbooster/hub/skills/tdd-workflow/SKILL.md +149 -0
  268. package/template/.devbooster/hub/skills/testing-patterns/SKILL.md +178 -0
  269. package/template/.devbooster/hub/skills/testing-patterns/scripts/test_runner.py +219 -0
  270. package/template/.devbooster/hub/skills/vulnerability-scanner/SKILL.md +276 -0
  271. package/template/.devbooster/hub/skills/vulnerability-scanner/checklists.md +121 -0
  272. package/template/.devbooster/hub/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
  273. package/template/.devbooster/hub/skills/web-design-guidelines/SKILL.md +57 -0
  274. package/template/.devbooster/hub/skills/webapp-testing/SKILL.md +187 -0
  275. package/template/.devbooster/hub/skills/webapp-testing/scripts/playwright_runner.py +173 -0
  276. package/template/.devbooster/hub/workflows/brainstorm.md +113 -0
  277. package/template/.devbooster/hub/workflows/create.md +59 -0
  278. package/template/.devbooster/hub/workflows/debug.md +103 -0
  279. package/template/.devbooster/hub/workflows/deploy.md +176 -0
  280. package/template/.devbooster/hub/workflows/enhance.md +63 -0
  281. package/template/.devbooster/hub/workflows/orchestrate.md +237 -0
  282. package/template/.devbooster/hub/workflows/plan.md +89 -0
  283. package/template/.devbooster/hub/workflows/preview.md +81 -0
  284. package/template/.devbooster/hub/workflows/status.md +86 -0
  285. package/template/.devbooster/hub/workflows/test.md +144 -0
  286. package/template/.devbooster/hub/workflows/ui-ux-pro-max.md +296 -0
  287. package/template/.devbooster/rules/BACKEND.md +72 -0
  288. package/template/.devbooster/rules/COMERCIAL.md +69 -0
  289. package/template/.devbooster/rules/FRONTEND.md +76 -0
  290. package/template/.devbooster/rules/GUIDE.md +111 -0
  291. package/template/.devbooster/rules/PROJECT.md +83 -0
  292. package/template/.devbooster/rules/PROTOCOL.md +42 -0
  293. package/template/.devbooster/rules/USER_PREFERENCES.md +33 -0
  294. package/template/DEVBOOSTER_INIT.md +42 -0
@@ -0,0 +1,296 @@
1
+ ---
2
+ description: Plan and implement UI
3
+ ---
4
+
5
+ ---
6
+ description: AI-powered design intelligence with 50+ styles, 95+ color palettes, and automated design system generation
7
+ ---
8
+
9
+ # ui-ux-pro-max
10
+
11
+ Comprehensive design guide for web and mobile applications. Contains 50+ styles, 97 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 9 technology stacks. Searchable database with priority-based recommendations.
12
+
13
+ ## Prerequisites
14
+
15
+ Check if Python is installed:
16
+
17
+ ```bash
18
+ python3 --version || python --version
19
+ ```
20
+
21
+ If Python is not installed, install it based on user's OS:
22
+
23
+ **macOS:**
24
+ ```bash
25
+ brew install python3
26
+ ```
27
+
28
+ **Ubuntu/Debian:**
29
+ ```bash
30
+ sudo apt update && sudo apt install python3
31
+ ```
32
+
33
+ **Windows:**
34
+ ```powershell
35
+ winget install Python.Python.3.12
36
+ ```
37
+
38
+ ---
39
+
40
+ ## How to Use This Workflow
41
+
42
+ When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
43
+
44
+ ### Step 1: Analyze User Requirements
45
+
46
+ Extract key information from user request:
47
+ - **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
48
+ - **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
49
+ - **Industry**: healthcare, fintech, gaming, education, etc.
50
+ - **Stack**: React, Vue, Next.js, or default to `html-tailwind`
51
+
52
+ ### Step 2: Generate Design System (REQUIRED)
53
+
54
+ **Always start with `--design-system`** to get comprehensive recommendations with reasoning:
55
+
56
+ ```bash
57
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
58
+ ```
59
+
60
+ This command:
61
+ 1. Searches 5 domains in parallel (product, style, color, landing, typography)
62
+ 2. Applies reasoning rules from `ui-reasoning.csv` to select best matches
63
+ 3. Returns complete design system: pattern, style, colors, typography, effects
64
+ 4. Includes anti-patterns to avoid
65
+
66
+ **Example:**
67
+ ```bash
68
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
69
+ ```
70
+
71
+ ### Step 2b: Persist Design System (Master + Overrides Pattern)
72
+
73
+ To save the design system for hierarchical retrieval across sessions, add `--persist`:
74
+
75
+ ```bash
76
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
77
+ ```
78
+
79
+ This creates:
80
+ - `design-system/MASTER.md` — Global Source of Truth with all design rules
81
+ - `design-system/pages/` — Folder for page-specific overrides
82
+
83
+ **With page-specific override:**
84
+ ```bash
85
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
86
+ ```
87
+
88
+ This also creates:
89
+ - `design-system/pages/dashboard.md` — Page-specific deviations from Master
90
+
91
+ **How hierarchical retrieval works:**
92
+ 1. When building a specific page (e.g., "Checkout"), first check `design-system/pages/checkout.md`
93
+ 2. If the page file exists, its rules **override** the Master file
94
+ 3. If not, use `design-system/MASTER.md` exclusively
95
+
96
+ ### Step 3: Supplement with Detailed Searches (as needed)
97
+
98
+ After getting the design system, use domain searches to get additional details:
99
+
100
+ ```bash
101
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
102
+ ```
103
+
104
+ **When to use detailed searches:**
105
+
106
+ | Need | Domain | Example |
107
+ |------|--------|---------|
108
+ | More style options | `style` | `--domain style "glassmorphism dark"` |
109
+ | Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |
110
+ | UX best practices | `ux` | `--domain ux "animation accessibility"` |
111
+ | Alternative fonts | `typography` | `--domain typography "elegant luxury"` |
112
+ | Landing structure | `landing` | `--domain landing "hero social-proof"` |
113
+
114
+ ### Step 4: Stack Guidelines (Default: html-tailwind)
115
+
116
+ Get implementation-specific best practices. If user doesn't specify a stack, **default to `html-tailwind`**.
117
+
118
+ ```bash
119
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
120
+ ```
121
+
122
+ Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`
123
+ , `jetpack-compose`
124
+ ---
125
+
126
+ ## Search Reference
127
+
128
+ ### Available Domains
129
+
130
+ | Domain | Use For | Example Keywords |
131
+ |--------|---------|------------------|
132
+ | `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
133
+ | `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
134
+ | `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
135
+ | `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
136
+ | `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
137
+ | `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
138
+ | `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
139
+ | `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |
140
+ | `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |
141
+ | `prompt` | AI prompts, CSS keywords | (style name) |
142
+
143
+ ### Available Stacks
144
+
145
+ | Stack | Focus |
146
+ |-------|-------|
147
+ | `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
148
+ | `react` | State, hooks, performance, patterns |
149
+ | `nextjs` | SSR, routing, images, API routes |
150
+ | `vue` | Composition API, Pinia, Vue Router |
151
+ | `svelte` | Runes, stores, SvelteKit |
152
+ | `swiftui` | Views, State, Navigation, Animation |
153
+ | `react-native` | Components, Navigation, Lists |
154
+ | `flutter` | Widgets, State, Layout, Theming |
155
+ | `shadcn` | shadcn/ui components, theming, forms, patterns |
156
+ | `jetpack-compose` | Composables, Modifiers, State Hoisting, Recomposition |
157
+
158
+ ---
159
+
160
+ ## Example Workflow
161
+
162
+ **User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
163
+
164
+ ### Step 1: Analyze Requirements
165
+ - Product type: Beauty/Spa service
166
+ - Style keywords: elegant, professional, soft
167
+ - Industry: Beauty/Wellness
168
+ - Stack: html-tailwind (default)
169
+
170
+ ### Step 2: Generate Design System (REQUIRED)
171
+
172
+ ```bash
173
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"
174
+ ```
175
+
176
+ **Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
177
+
178
+ ### Step 3: Supplement with Detailed Searches (as needed)
179
+
180
+ ```bash
181
+ # Get UX guidelines for animation and accessibility
182
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
183
+
184
+ # Get alternative typography options if needed
185
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
186
+ ```
187
+
188
+ ### Step 4: Stack Guidelines
189
+
190
+ ```bash
191
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind
192
+ ```
193
+
194
+ **Then:** Synthesize design system + detailed searches and implement the design.
195
+
196
+ ---
197
+
198
+ ## Output Formats
199
+
200
+ The `--design-system` flag supports two output formats:
201
+
202
+ ```bash
203
+ # ASCII box (default) - best for terminal display
204
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
205
+
206
+ # Markdown - best for documentation
207
+ python3 .devbooster/.shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
208
+ ```
209
+
210
+ ---
211
+
212
+ ## Tips for Better Results
213
+
214
+ 1. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
215
+ 2. **Search multiple times** - Different keywords reveal different insights
216
+ 3. **Combine domains** - Style + Typography + Color = Complete design system
217
+ 4. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
218
+ 5. **Use stack flag** - Get implementation-specific best practices
219
+ 6. **Iterate** - If first search doesn't match, try different keywords
220
+
221
+ ---
222
+
223
+ ## Common Rules for Professional UI
224
+
225
+ These are frequently overlooked issues that make UI look unprofessional:
226
+
227
+ ### Icons & Visual Elements
228
+
229
+ | Rule | Do | Don't |
230
+ |------|----|----- |
231
+ | **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
232
+ | **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
233
+ | **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
234
+ | **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
235
+
236
+ ### Interaction & Cursor
237
+
238
+ | Rule | Do | Don't |
239
+ |------|----|----- |
240
+ | **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
241
+ | **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
242
+ | **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
243
+
244
+ ### Light/Dark Mode Contrast
245
+
246
+ | Rule | Do | Don't |
247
+ |------|----|----- |
248
+ | **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
249
+ | **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
250
+ | **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
251
+ | **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
252
+
253
+ ### Layout & Spacing
254
+
255
+ | Rule | Do | Don't |
256
+ |------|----|----- |
257
+ | **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
258
+ | **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
259
+ | **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
260
+
261
+ ---
262
+
263
+ ## Pre-Delivery Checklist
264
+
265
+ Before delivering UI code, verify these items:
266
+
267
+ ### Visual Quality
268
+ - [ ] No emojis used as icons (use SVG instead)
269
+ - [ ] All icons from consistent icon set (Heroicons/Lucide)
270
+ - [ ] Brand logos are correct (verified from Simple Icons)
271
+ - [ ] Hover states don't cause layout shift
272
+ - [ ] Use theme colors directly (bg-primary) not var() wrapper
273
+
274
+ ### Interaction
275
+ - [ ] All clickable elements have `cursor-pointer`
276
+ - [ ] Hover states provide clear visual feedback
277
+ - [ ] Transitions are smooth (150-300ms)
278
+ - [ ] Focus states visible for keyboard navigation
279
+
280
+ ### Light/Dark Mode
281
+ - [ ] Light mode text has sufficient contrast (4.5:1 minimum)
282
+ - [ ] Glass/transparent elements visible in light mode
283
+ - [ ] Borders visible in both modes
284
+ - [ ] Test both modes before delivery
285
+
286
+ ### Layout
287
+ - [ ] Floating elements have proper spacing from edges
288
+ - [ ] No content hidden behind fixed navbars
289
+ - [ ] Responsive at 375px, 768px, 1024px, 1440px
290
+ - [ ] No horizontal scroll on mobile
291
+
292
+ ### Accessibility
293
+ - [ ] All images have alt text
294
+ - [ ] Form inputs have labels
295
+ - [ ] Color is not the only indicator
296
+ - [ ] `prefers-reduced-motion` respected
@@ -0,0 +1,72 @@
1
+ # 🛠️ INITIALIZATION: BACKEND & COMMUNICATION ARCHITECTURE
2
+
3
+ > [!IMPORTANT]
4
+ > **THIS IS A WHITELABEL TEMPLATE.**
5
+ > To activate this project, run the bootstrap prompt below manually.
6
+
7
+ ## ⚡ BOOTSTRAP PROMPT (MANUAL CONTROL)
8
+ "Analyze the backend ecosystem and communication patterns of this project to generate the definitive technical documentation.
9
+
10
+ **STEP 1: Context Analysis (Mandatory Read):**
11
+ 1. `package.json` (Identify API/DB/Auth frameworks and libraries).
12
+ 2. `README.md` (Understand the project's core purpose).
13
+ 3. Directory Scan: Search for patterns in `src/server/`, `src/app/api/`, `src/actions/`, or direct `fetch` calls within components to understand how the frontend communicates with the data layer.
14
+ 4. Data Structure: Locate the database schema (e.g., `prisma/schema.prisma`, `schema.ts`, or connection config files).
15
+
16
+ **STEP 2: Identify Real Architecture:**
17
+ - Determine if communication is via tRPC, Route Handlers, Server Actions, REST, or direct fetch.
18
+ - Identify how Auth is injected (Middlewares vs Context).
19
+ - Map how errors are handled (e.g., `TRPCError` vs `NextResponse` codes).
20
+
21
+ **STEP 3: Generate Elite Rule:**
22
+ Rewrite this file (BACKEND.md) documenting the exact patterns found in this project. You MUST use the 'Pattern Reference' below as a benchmark for quality and tone of voice. Document with technical depth issues such as Race Conditions, Sanitization, Retry logic, and persistence flows. The goal is for any new agent to understand the server architecture in 1 minute."
23
+
24
+ ---
25
+
26
+ ## 🏗️ EXPECTED STRUCTURE
27
+ 1. **Communication Strategy**: Deep dive into the identified pattern (Decentralized Fetch, Centralized API, Hooks, etc).
28
+ 2. **Data Persistence & ORM**: Mapping the storage layer (SQL, NoSQL, LocalStorage, or External APIs).
29
+ 3. **Authentication & Identity**: How the system knows 'who' is making the request and 'what' they can do.
30
+ 4. **Error Handling & Resiliency**: Standards for failures, retries, and input protection.
31
+ 5. **Directory Map**: A visual guide of where the 'Server/API' logic resides.
32
+
33
+ ---
34
+
35
+ ## 🌟 PATTERN REFERENCE (THE ELITE STANDARD)
36
+ *Use this as your benchmark for technical precision. Even if the technology differs, the depth of detail must match:*
37
+
38
+ ### 1. Stack & Directory Structure (Example: T3 Stack)
39
+ - **API Engine:** tRPC (`@trpc/server`) + Zod for validation.
40
+ - **Database:** Prisma ORM connected to Neon (PostgreSQL).
41
+ - **Directories:**
42
+ - `src/server/api/routers/*`: All tRPC routers.
43
+ - `src/lib/*`: Core business logic (Cost calculators, Sanitizers).
44
+
45
+ ### 2. API Operations & Procedures
46
+ - **Procedures:** `publicProcedure` (Open), `privateProcedure` (Clerk Auth), `adminProcedure` (Role check).
47
+ - **Validation:** Every input must be heavily validated with `.input(z.object({...}))`.
48
+ - **Errors:** Throw `TRPCError` with codes like `NOT_FOUND`, `FORBIDDEN`, `CONFLICT`.
49
+
50
+ ### 3. Database & Resiliency
51
+ - **Race Conditions:** Use `upsert` or `findUnique` followed by `create` for syncing external IDs.
52
+ - **Error Handling:** Use `isPrismaSchemaError()` to translate database schema issues into user-friendly messages.
53
+
54
+ ### 4. Auth & Identity Management
55
+ - **Syncing:** Clerk handles the JWT. The backend syncs data into Prisma's `User` schema via `currentUser()`.
56
+ - **Demo Guards:** Use `enforceNonDemoUser(ctx.db, ctx.userId)` to block destructive mutations for temporary accounts.
57
+
58
+ ### 5. Business Logic & Reliability
59
+ - **Input Sanitization:** ALWAYS run `sanitizeData(rawInput)` before processing data.
60
+ - **External API Reliability:** Wrap calls (OpenAI/Stripe) inside `retryWithBackoff(operation, name)`.
61
+ - **Credit Logic:** Cascading deduction (debit `creditosComprados` first).
62
+
63
+ ---
64
+
65
+ ## 🤖 AI SELF-EXECUTION DIRECTIVE
66
+ > [!IMPORTANT]
67
+ > **IF YOU ARE AN AI READING THIS FILE:**
68
+ > If the content above still matches the 'Whitelabel Template', you are MANDATED to execute the **BOOTSTRAP PROMPT** at the top of this file immediately.
69
+
70
+ 1. Scan the project as instructed.
71
+ 2. Analyze the communication patterns.
72
+ 3. Overwrite this entire file with the project-specific technical documentation.
@@ -0,0 +1,69 @@
1
+ # 💰 INITIALIZATION: COMMERCIAL STRATEGY & VALUE PROPOSITION
2
+
3
+ > [!IMPORTANT]
4
+ > **THIS IS A WHITELABEL TEMPLATE.**
5
+ > To activate this project, run the bootstrap prompt below manually.
6
+
7
+ ## ⚡ BOOTSTRAP PROMPT (MANUAL CONTROL)
8
+ "Analyze the commercial core and product-market fit of this project to generate the definitive sales and positioning guide.
9
+
10
+ **STEP 1: Context Analysis (Mandatory Read):**
11
+ 1. `README.md` (Product value proposition).
12
+ 2. `PROJECT.md` (To understand current features and target audience).
13
+ 3. Landing Page / Main UI: Scan for headlines and subheadlines to identify the current 'voice' of the product.
14
+
15
+ **STEP 2: Identify Commercial Foundations:**
16
+ - What is the transformation? (Before vs After).
17
+ - Who is the Ideal Customer Profile (ICP)?
18
+ - What are the main objections and how to counter them?
19
+ - What are the core sales arguments (Time saving, cost reduction, etc)?
20
+
21
+ **STEP 3: Generate Elite Rule (OUTPUT IN PT-BR):**
22
+ Rewrite this entire file (COMERCIAL.md) in **PORTUGUESE (PT-BR)**. You MUST create a high-impact commercial guide following the 'Pattern Reference' below. Use persuasive language (Copywriting), focus on benefits instead of features, and define the brand's 'tone of voice'. The goal is to provide a guide that could be used by a marketing or sales team to position the product accurately."
23
+
24
+ ---
25
+
26
+ ## 🏗️ EXPECTED STRUCTURE (IN PORTUGUESE)
27
+ 1. **O que é o Produto**: Definição comercial (o que ele vende de verdade).
28
+ 2. **Promessa e Posicionamento**: Headlines e subheadlines magnéticas.
29
+ 3. **Público-Alvo e Dores**: Quem compra e qual problema estamos resolvendo.
30
+ 4. **Transformação**: O cenário 'Antes' vs 'Depois' do uso.
31
+ 5. **Argumentos de Venda e Objeções**: Como vender e como matar as dúvidas do cliente.
32
+ 6. **Linguagem e Tom de Voz**: Como a marca deve (e não deve) soar.
33
+ 7. **Resumo Executivo**: O 'Elevator Pitch' do projeto.
34
+
35
+ ---
36
+
37
+ ## 🌟 PATTERN REFERENCE (FAKESTORE / GENERIC EXAMPLE)
38
+ *Use este exemplo como benchmark de tom de voz. Note como a dor e o benefício são profundos:*
39
+
40
+ ### 1. O que é o [ProductX]
41
+ O [ProductX] vende previsibilidade financeira e paz de espírito para donos de [Nicho]. Não vendemos apenas um 'Software de Gestão', vendemos o fim do caos administrativo e da perda de dinheiro por falta de controle.
42
+
43
+ ### 2. Principal promessa comercial
44
+ "Recupere o controle da sua empresa em 15 minutos por dia. Menos tempo em planilhas, mais tempo escalando seu faturamento."
45
+
46
+ ### 3. Público-alvo principal
47
+ Empresas de médio porte que faturam entre X e Y e sofrem com processos manuais e falta de clareza sobre suas margens de lucro.
48
+
49
+ ### 4. Dor que o produto resolve
50
+ O empresário sente que 'trabalha para a empresa' e não o contrário. Ele não sabe para onde o dinheiro está indo, gasta horas em processos repetitivos e tem medo de tomar decisões sem dados reais.
51
+
52
+ ### 5. Transformação prometida
53
+ - **Antes:** Caos operacional, multas por atraso, zero visão de futuro e estresse constante.
54
+ - **Depois:** Rotina automatizada, fluxo de caixa em tempo real e decisões baseadas em números, não em 'achismo'.
55
+
56
+ ### 6. Argumentos de Venda (Benchmark)
57
+ - "Inteligência operacional: o sistema antecipa problemas de caixa antes que aconteçam."
58
+ - "Autonomia total: sua equipe opera o sistema sem precisar de treinamentos complexos de semanas."
59
+
60
+ ---
61
+
62
+ ## 🤖 AI SELF-EXECUTION DIRECTIVE
63
+ > [!IMPORTANT]
64
+ > **IF YOU ARE AN AI READING THIS FILE:**
65
+ > If the content above still matches the 'Whitelabel Template', you are MANDATED to execute the **BOOTSTRAP PROMPT** at the top of this file immediately.
66
+
67
+ 1. Scan the project as instructed.
68
+ 2. Analyze the commercial and positioning patterns.
69
+ 3. Overwrite this entire file with the project-specific commercial documentation **IN PORTUGUESE (PT-BR)**.
@@ -0,0 +1,76 @@
1
+ # 🎨 INITIALIZATION: FRONTEND PRACTICES & UI ARCHITECTURE
2
+
3
+ > [!IMPORTANT]
4
+ > **THIS IS A WHITELABEL TEMPLATE.**
5
+ > To activate this project, run the bootstrap prompt below manually.
6
+
7
+ ## ⚡ BOOTSTRAP PROMPT (MANUAL CONTROL)
8
+ "Analyze the frontend ecosystem and UI architecture of this project to generate the definitive technical documentation.
9
+
10
+ **STEP 1: Context Analysis (Mandatory Read):**
11
+ 1. `package.json` (Identify Frameworks, Styling libraries, State Managers, and Iconography).
12
+ 2. `globals.css` (Identify Tailwind version, CSS-in-JS, or global design tokens).
13
+ 3. Directory Scan: Search for patterns in `src/app/` or `src/pages/` to identify the Routing system.
14
+ 4. Component Audit: Scan `src/components/` to identify the UI library (ShadCN, MUI, Mantine) and component structure.
15
+
16
+ **STEP 2: Identify Real Architecture:**
17
+ - Determine the Styling strategy: Tailwind v3, v4, CSS Modules, or Styled-components.
18
+ - Map State Management: Identify if the project uses Zustand, Redux, Context API, or local state.
19
+ - Form Handling: Identify the engine (Formik, React Hook Form, or Native).
20
+ - Data Consumption: Map how the UI consumes data (tRPC hooks, SWR, React Query, or raw fetch).
21
+
22
+ **STEP 3: Generate Elite Rule:**
23
+ Rewrite this file (FRONTEND.md) documenting the exact patterns found in this project. You MUST use the 'Pattern Reference' below as a benchmark for quality, design philosophy (Anti-Generic), and technical depth. Document with precision how to handle stages, form validation, and global loading states. The goal is for any new agent to understand the UI architecture and design language in 1 minute."
24
+
25
+ ---
26
+
27
+ ## 🏗️ EXPECTED STRUCTURE
28
+ 1. **Stack & Architecture**: Framework, directory structure of pages and components.
29
+ 2. **Styling & Design System**: Styling engine rules, color system tokens, and utility standards.
30
+ 3. **State Management & UI Machines**: Global stores, local UI orchestration, and stage machine logic.
31
+ 4. **Forms & Validation**: Standard engine, schema validation patterns, and visual feedback rules.
32
+ 5. **Data Consumption**: Implementation patterns for mutations, queries, and optimistic updates.
33
+ 6. **Iconography & UI Elements**: Library sizing, loading indicators, and layout wrappers.
34
+
35
+ ---
36
+
37
+ ## 🌟 PATTERN REFERENCE (THE ELITE STANDARD)
38
+ *Use this as your benchmark for UI/UX engineering detail. Maintain this level of rigor regardless of the stack:*
39
+
40
+ ### 1. Stack & Architecture (Example: Next.js + Tailwind v4)
41
+ - **Framework:** Next.js (App Router) with isolation between `(pages)` and `(auth)`.
42
+ - **Styling:** Tailwind CSS v4 using semantic tokens (e.g., `bg-primary`, `text-muted-foreground`).
43
+ - **UI Base:** ShadCN primitives for consistent accessible components.
44
+
45
+ ### 2. State Management & UI Machines (Zustand)
46
+ - **Patterns:** Utilize Zustand stores to manage complex 'Stage' states in multi-step interfaces.
47
+ - **Consumption:** Use `React.useMemo` with `switch` statements for clean stage-based rendering to avoid ternary hell.
48
+
49
+ ### 3. Forms & Validation (Formik + Yup)
50
+ - **Engine:** `useFormik` hook for all forms.
51
+ - **Schema:** Strict validation built in `src/schema/` and imported via `validationSchema`.
52
+ - **Feedback:** Use `cn()` to apply conditional error classes (e.g., `border-destructive`).
53
+
54
+ ### 4. Data Consumption & Feedback
55
+ - **Mutations:** Use specialized hooks (e.g., tRPC `useMutation`) with explicit `onSuccess` and `onError` blocks.
56
+ - **Global Loading:** Trigger global overlays (e.g., particle loaders) via central stores for heavy operations.
57
+
58
+ ### 5. Iconography & UI Elements
59
+ - **Library:** `lucide-react`.
60
+ - **Sizing:** Standard props `size={24}` (preferred over `className`).
61
+ - **Loaders:** `Loader2` with `animate-spin` as the default project spinner.
62
+
63
+ ### 6. Layout Wrappers
64
+ - **Auth Guard:** All protected pages MUST be wrapped in `<AuthTemplate>`.
65
+ - **Feedback:** Use `sonner` for toast notifications and Dialogs for destructive confirmation.
66
+
67
+ ---
68
+
69
+ ## 🤖 AI SELF-EXECUTION DIRECTIVE
70
+ > [!IMPORTANT]
71
+ > **IF YOU ARE AN AI READING THIS FILE:**
72
+ > If the content above still matches the 'Whitelabel Template', you are MANDATED to execute the **BOOTSTRAP PROMPT** at the top of this file immediately.
73
+
74
+ 1. Scan the project as instructed.
75
+ 2. Analyze the frontend patterns.
76
+ 3. Overwrite this entire file with the project-specific technical documentation.
@@ -0,0 +1,111 @@
1
+ ```text
2
+ 🧭 GUIA DO DEV BOOSTER KIT (BOOSTERS)
3
+
4
+ Este guia serve como referência rápida para entender a função de cada Booster (ativador manual).
5
+ Ele foi formatado como bloco de código para facilitar a leitura direta na IDE.
6
+
7
+ ---
8
+
9
+ [ 🛠️ ENGENHARIA E EXECUÇÃO ]
10
+
11
+ • create.md -> Arquiteto Mestre. Focado em Scaffolding e criação de novas
12
+ funcionalidades ou apps do zero, integrando FRONTEND.md e BACKEND.md.
13
+ • performance.md -> Engenheiro de Performance. Focado em Core Web Vitals,
14
+ velocidade de carregamento e otimização de Next.js.
15
+ • i18n.md -> Especialista de Internacionalização. Extração de textos e
16
+ configuração de múltiplos idiomas.
17
+ • accessibility.md -> Auditor de Acessibilidade. Garante conformidade WCAG e
18
+ uso correto de semântica HTML/ARIA.
19
+ • refactor.md -> Líder de Qualidade. Focado em limpar dívida técnica, implementar
20
+ SOLID e reforçar o Clean Code.
21
+ • implementation.md -> Mestre de Implementação. Faz a triagem da complexidade (P, M, G)
22
+ e escolhe o template correto antes de gerar o plano após confirmação.
23
+
24
+ • documentation.md -> Documentação Técnica. Gera um documento estruturado de 17 seções a partir do contexto consolidado
25
+ para prever todos os requisitos técnicos rigorosos.
26
+ • atomic.md -> Execução Atômica. Protocolo para execução passo a passo,
27
+ focada em uma única alteração cirúrgica por vez.
28
+ • review.md -> Auditoria Elite. Ativa orquestração mult-agente para validar
29
+ se um plano ou código segue os padrões do projeto.
30
+
31
+ ---
32
+
33
+ [ 🔍 DESCOBERTA E PLANEJAMENTO ]
34
+
35
+ • discovery.md -> Consultor Estratégico. Usa brainstorm de 3 caminhos para validar
36
+ ideias de produto e regras de negócio.
37
+ • planning.md -> Alinhamento e Prontidão. Consolida decisões, mapeia riscos/gaps e valida se está pronto para implementation
38
+ antes de seguir para implementation.
39
+ • investigation.md -> Pré-Orquestrador de Contexto. Faz análise profunda do repositório
40
+ (no-code analysis) antes de propor mudanças.
41
+ • advisor.md -> Consultor do Kit (GPS). Ajuda a escolher qual booster usar.
42
+
43
+ ---
44
+
45
+ [ 🐞 CORREÇÃO E QUALIDADE ]
46
+
47
+ • debug.md -> Análise de Causa Raiz. Usa motor de hipóteses para investigar bugs
48
+ de forma sistemática.
49
+ • testing.md -> Estrategista de Testes. Define estratégia de cobertura (Unit, E2E)
50
+ e coordena a execução.
51
+ • changelog.md -> Gerador de Histórico. Cria notas de release estruturadas e organiza
52
+ o histórico de alterações.
53
+
54
+ ---
55
+
56
+ [ 🎨 ESPECIALIDADES E STACK ]
57
+
58
+ • frontend.md -> Especialista de Frontend. Ativa regras de Next.js, React e UI/UX.
59
+ • backend.md -> Especialista de Backend. Focado em APIs, tRPC, Banco de Dados e Servidor.
60
+ • design.md -> Auditoria de UI/UX. Verifica se os componentes estão seguindo
61
+ padrões premium e acessibilidade.
62
+ • seo.md -> Guardião de SEO. Valida HTML semântico e metatags para indexação.
63
+ • mobile.md -> Mestre de Mobile. Ativa padrões de React Native, Expo e touch UX.
64
+
65
+ ---
66
+
67
+ [ 🛡️ SEGURANÇA E DEPLOY ]
68
+
69
+ • security.md -> Auditoria de Segurança. Analisa vulnerabilidades, vazamento de
70
+ segredos e modelagem de ameaças.
71
+ • deploy.md -> Protocolo de Lançamento. Faz os "pre-flight checks" para garantir
72
+ que o código está pronto para produção.
73
+
74
+ ---
75
+
76
+ 💡 COMO USAR AGORA:
77
+ Os Boosters agora funcionam como modos manuais do Dev Booster.
78
+ Na maioria dos casos, a ativação NÃO executa tudo imediatamente.
79
+
80
+ Fluxo padrão:
81
+ 1. Ative o Booster pelo nome.
82
+ 2. O Booster entra no modo correto.
83
+ 3. Depois envie a tarefa, ideia, contexto, artefato ou objetivo real.
84
+ 4. Só então ele carrega o necessário e continua.
85
+
86
+ Exemplos de ativação:
87
+ - Arraste `.devbooster/boosters/frontend.md` no chat e envie.
88
+ - Arraste `.devbooster/boosters/discovery.md` no chat e envie.
89
+ - Arraste `.devbooster/boosters/advisor.md` no chat e envie.
90
+
91
+ Padrões de comportamento:
92
+ - Boosters de domínio, como frontend, backend, testing e performance:
93
+ ativam rápido, entram em modo armado e carregam contexto depois da primeira dor real.
94
+ - Boosters de síntese, como documentation e planning:
95
+ resumem o contexto atual e pedem confirmação antes de continuar.
96
+ - Boosters de entrada de artefato, como review:
97
+ pedem a documentação, implementação, arquivo ou referência antes de carregar o restante.
98
+ - Boosters operacionais como changelog:
99
+ usam o estado real do Git como fonte principal e fazem apenas as perguntas mínimas.
100
+
101
+ Exemplos práticos:
102
+ - Arraste `.devbooster/boosters/planning.md` no chat e envie.
103
+ - Arraste `.devbooster/boosters/documentation.md` no chat e envie.
104
+ - Arraste `.devbooster/boosters/changelog.md` no chat e envie.
105
+ - Arraste `.devbooster/boosters/review.md` no chat e envie.
106
+
107
+ Depois da ativação, envie o próximo passo normalmente.
108
+ Exemplo:
109
+ "[arquivo planning.md enviado no chat]"
110
+ "Agora quero validar se já fechamos contexto suficiente para seguir para implementation."
111
+ ```