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,403 @@
1
+ ---
2
+ name: vulnerability-scanner
3
+ description: Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization.
4
+ allowed-tools: Read, Glob, Grep, Bash
5
+ ---
6
+
7
+ # Vulnerability Scanner
8
+
9
+ > Think like an attacker, defend like an expert. 2025 threat landscape awareness.
10
+
11
+ ## 🔧 Runtime Scripts
12
+
13
+ **Execute for automated validation:**
14
+
15
+ | Script | Purpose | Usage |
16
+ |--------|---------|-------|
17
+ | `scripts/security_scan.py` | Validate security principles applied | `python scripts/security_scan.py <project_path>` |
18
+
19
+ ## 📋 Reference Files
20
+
21
+ | File | Purpose |
22
+ |------|---------|
23
+ | [checklists.md](checklists.md) | OWASP Top 10, Auth, API, Data protection checklists |
24
+
25
+ ---
26
+
27
+ ## 1. Security Expert Mindset
28
+
29
+ ### Core Principles
30
+
31
+ | Principle | Application |
32
+ |-----------|-------------|
33
+ | **Assume Breach** | Design as if attacker already inside |
34
+ | **Zero Trust** | Never trust, always verify |
35
+ | **Defense in Depth** | Multiple layers, no single point |
36
+ | **Least Privilege** | Minimum required access only |
37
+ | **Fail Secure** | On error, deny access |
38
+
39
+ ### Threat Modeling Questions
40
+
41
+ Before scanning, ask:
42
+ 1. What are we protecting? (Assets)
43
+ 2. Who would attack? (Threat actors)
44
+ 3. How would they attack? (Attack vectors)
45
+ 4. What's the impact? (Business risk)
46
+
47
+ ---
48
+
49
+ ## 2. OWASP Top 10:2025
50
+
51
+ ### Risk Categories
52
+
53
+ | Rank | Category | Think About |
54
+ |------|----------|-------------|
55
+ | **A01** | Broken Access Control | Who can access what? IDOR, SSRF |
56
+ | **A02** | Security Misconfiguration | Defaults, headers, exposed services |
57
+ | **A03** | Software Supply Chain 🆕 | Dependencies, CI/CD, build integrity |
58
+ | **A04** | Cryptographic Failures | Weak crypto, exposed secrets |
59
+ | **A05** | Injection | User input → system commands |
60
+ | **A06** | Insecure Design | Flawed architecture |
61
+ | **A07** | Authentication Failures | Session, credential management |
62
+ | **A08** | Integrity Failures | Unsigned updates, tampered data |
63
+ | **A09** | Logging & Alerting | Blind spots, no monitoring |
64
+ | **A10** | Exceptional Conditions 🆕 | Error handling, fail-open states |
65
+
66
+ ### 2025 Key Changes
67
+
68
+ ```
69
+ 2021 → 2025 Shifts:
70
+ ├── SSRF merged into A01 (Access Control)
71
+ ├── A02 elevated (Cloud/Container configs)
72
+ ├── A03 NEW: Supply Chain (major focus)
73
+ ├── A10 NEW: Exceptional Conditions
74
+ └── Focus shift: Root causes > Symptoms
75
+ ```
76
+
77
+ ---
78
+
79
+ ## 3. Supply Chain Security (A03)
80
+
81
+ ### Attack Surface
82
+
83
+ | Vector | Risk | Question to Ask |
84
+ |--------|------|-----------------|
85
+ | **Dependencies** | Malicious packages | Do we audit new deps? |
86
+ | **Lock files** | Integrity attacks | Are they committed? |
87
+ | **Build pipeline** | CI/CD compromise | Who can modify? |
88
+ | **Registry** | Typosquatting | Verified sources? |
89
+
90
+ ### Defense Principles
91
+
92
+ - Verify package integrity (checksums)
93
+ - Pin versions, audit updates
94
+ - Use private registries for critical deps
95
+ - Sign and verify artifacts
96
+
97
+ ---
98
+
99
+ ## 4. Attack Surface Mapping
100
+
101
+ ### What to Map
102
+
103
+ | Category | Elements |
104
+ |----------|----------|
105
+ | **Entry Points** | APIs, forms, file uploads |
106
+ | **Data Flows** | Input → Process → Output |
107
+ | **Trust Boundaries** | Where auth/authz checked |
108
+ | **Assets** | Secrets, PII, business data |
109
+
110
+ ### Prioritization Matrix
111
+
112
+ ```
113
+ Risk = Likelihood × Impact
114
+
115
+ High Impact + High Likelihood → CRITICAL
116
+ High Impact + Low Likelihood → HIGH
117
+ Low Impact + High Likelihood → MEDIUM
118
+ Low Impact + Low Likelihood → LOW
119
+ ```
120
+
121
+ ---
122
+
123
+ ## 5. Risk Prioritization
124
+
125
+ ### CVSS + Context
126
+
127
+ | Factor | Weight | Question |
128
+ |--------|--------|----------|
129
+ | **CVSS Score** | Base severity | How severe is the vuln? |
130
+ | **EPSS Score** | Exploit likelihood | Is it being exploited? |
131
+ | **Asset Value** | Business context | What's at risk? |
132
+ | **Exposure** | Attack surface | Internet-facing? |
133
+
134
+ ### Prioritization Decision Tree
135
+
136
+ ```
137
+ Is it actively exploited (EPSS >0.5)?
138
+ ├── YES → CRITICAL: Immediate action
139
+ └── NO → Check CVSS
140
+ ├── CVSS ≥9.0 → HIGH
141
+ ├── CVSS 7.0-8.9 → Consider asset value
142
+ └── CVSS <7.0 → Schedule for later
143
+ ```
144
+
145
+ ---
146
+
147
+ ## 6. Exceptional Conditions (A10 - New)
148
+
149
+ ### Fail-Open vs Fail-Closed
150
+
151
+ | Scenario | Fail-Open (BAD) | Fail-Closed (GOOD) |
152
+ |----------|-----------------|---------------------|
153
+ | Auth error | Allow access | Deny access |
154
+ | Parsing fails | Accept input | Reject input |
155
+ | Timeout | Retry forever | Limit + abort |
156
+
157
+ ### What to Check
158
+
159
+ - Exception handlers that catch-all and ignore
160
+ - Missing error handling on security operations
161
+ - Race conditions in auth/authz
162
+ - Resource exhaustion scenarios
163
+
164
+ ---
165
+
166
+ ## 7. Scanning Methodology
167
+
168
+ ### Phase-Based Approach
169
+
170
+ ```
171
+ 1. RECONNAISSANCE
172
+ └── Understand the target
173
+ ├── Technology stack
174
+ ├── Entry points
175
+ └── Data flows
176
+
177
+ 2. DISCOVERY
178
+ └── Identify potential issues
179
+ ├── Configuration review
180
+ ├── Dependency analysis
181
+ └── Code pattern search
182
+
183
+ 3. ANALYSIS
184
+ └── Validate and prioritize
185
+ ├── False positive elimination
186
+ ├── Risk scoring
187
+ └── Attack chain mapping
188
+
189
+ 4. REPORTING
190
+ └── Actionable findings
191
+ ├── Clear reproduction steps
192
+ ├── Business impact
193
+ └── Remediation guidance
194
+ ```
195
+
196
+ ---
197
+
198
+ ## 8. Code Pattern Analysis
199
+
200
+ ### High-Risk Patterns
201
+
202
+ | Pattern | Risk | Look For |
203
+ |---------|------|----------|
204
+ | **String concat in queries** | Injection | `"SELECT * FROM " + user_input` |
205
+ | **Dynamic code execution** | RCE | `eval()`, `exec()`, `Function()` |
206
+ | **Unsafe deserialization** | RCE | `pickle.loads()`, `unserialize()` |
207
+ | **Path manipulation** | Traversal | User input in file paths |
208
+ | **Disabled security** | Various | `verify=False`, `--insecure` |
209
+
210
+ ### Secret Patterns
211
+
212
+ | Type | Indicators |
213
+ |------|-----------|
214
+ | API Keys | `api_key`, `apikey`, high entropy |
215
+ | Tokens | `token`, `bearer`, `jwt` |
216
+ | Credentials | `password`, `secret`, `key` |
217
+ | Cloud | `AWS_`, `AZURE_`, `GCP_` prefixes |
218
+
219
+ ---
220
+
221
+ ## 9. Cloud Security Considerations
222
+
223
+ ### Shared Responsibility
224
+
225
+ | Layer | You Own | Provider Owns |
226
+ |-------|---------|---------------|
227
+ | Data | ✅ | ❌ |
228
+ | Application | ✅ | ❌ |
229
+ | OS/Runtime | Depends | Depends |
230
+ | Infrastructure | ❌ | ✅ |
231
+
232
+ ### Cloud-Specific Checks
233
+
234
+ - IAM: Least privilege applied?
235
+ - Storage: Public buckets?
236
+ - Network: Security groups tightened?
237
+ - Secrets: Using secrets manager?
238
+
239
+ ---
240
+
241
+ ## 10. Anti-Patterns
242
+
243
+ | ❌ Don't | ✅ Do |
244
+ |----------|-------|
245
+ | Scan without understanding | Map attack surface first |
246
+ | Alert on every CVE | Prioritize by exploitability + asset |
247
+ | Ignore false positives | Maintain verified baseline |
248
+ | Fix symptoms only | Address root causes |
249
+ | Scan once before deploy | Continuous scanning |
250
+ | Trust third-party deps blindly | Verify integrity, audit code |
251
+
252
+ ---
253
+
254
+ ## 11. Reporting Principles
255
+
256
+ ### Finding Structure
257
+
258
+ Each finding should answer:
259
+ 1. **What?** - Clear vulnerability description
260
+ 2. **Where?** - Exact location (file, line, endpoint)
261
+ 3. **Why?** - Root cause explanation
262
+ 4. **Impact?** - Business consequence
263
+ 5. **How to fix?** - Specific remediation
264
+
265
+ ### Severity Classification
266
+
267
+ | Severity | Criteria |
268
+ |----------|----------|
269
+ | **Critical** | RCE, auth bypass, mass data exposure |
270
+ | **High** | Data exposure, privilege escalation |
271
+ | **Medium** | Limited scope, requires conditions |
272
+ | **Low** | Informational, best practice |
273
+
274
+ ---
275
+
276
+ > **Remember:** Vulnerability scanning finds issues. Expert thinking prioritizes what matters. Always ask: "What would an attacker do with this?"
277
+
278
+
279
+
280
+ ---
281
+ # Content from checklists.md
282
+
283
+ # Security Checklists
284
+
285
+ > Quick reference checklists for security audits. Use alongside vulnerability-scanner principles.
286
+
287
+ ---
288
+
289
+ ## OWASP Top 10 Audit Checklist
290
+
291
+ ### A01: Broken Access Control
292
+ - [ ] Authorization on all protected routes
293
+ - [ ] Deny by default
294
+ - [ ] Rate limiting implemented
295
+ - [ ] CORS properly configured
296
+
297
+ ### A02: Cryptographic Failures
298
+ - [ ] Passwords hashed (bcrypt/argon2, cost 12+)
299
+ - [ ] Sensitive data encrypted at rest
300
+ - [ ] TLS 1.2+ for all connections
301
+ - [ ] No secrets in code/logs
302
+
303
+ ### A03: Injection
304
+ - [ ] Parameterized queries
305
+ - [ ] Input validation on all user data
306
+ - [ ] Output encoding for XSS
307
+ - [ ] No eval() or dynamic code execution
308
+
309
+ ### A04: Insecure Design
310
+ - [ ] Threat modeling done
311
+ - [ ] Security requirements defined
312
+ - [ ] Business logic validated
313
+
314
+ ### A05: Security Misconfiguration
315
+ - [ ] Unnecessary features disabled
316
+ - [ ] Error messages sanitized
317
+ - [ ] Security headers configured
318
+ - [ ] Default credentials changed
319
+
320
+ ### A06: Vulnerable Components
321
+ - [ ] Dependencies up to date
322
+ - [ ] No known vulnerabilities
323
+ - [ ] Unused dependencies removed
324
+
325
+ ### A07: Authentication Failures
326
+ - [ ] MFA available
327
+ - [ ] Session invalidation on logout
328
+ - [ ] Session timeout implemented
329
+ - [ ] Brute force protection
330
+
331
+ ### A08: Integrity Failures
332
+ - [ ] Dependency integrity verified
333
+ - [ ] CI/CD pipeline secured
334
+ - [ ] Update mechanism secured
335
+
336
+ ### A09: Logging Failures
337
+ - [ ] Security events logged
338
+ - [ ] Logs protected
339
+ - [ ] No sensitive data in logs
340
+ - [ ] Alerting configured
341
+
342
+ ### A10: SSRF
343
+ - [ ] URL validation implemented
344
+ - [ ] Allow-list for external calls
345
+ - [ ] Network segmentation
346
+
347
+ ---
348
+
349
+ ## Authentication Checklist
350
+
351
+ - [ ] Strong password policy
352
+ - [ ] Account lockout
353
+ - [ ] Secure password reset
354
+ - [ ] Session management
355
+ - [ ] Token expiration
356
+ - [ ] Logout invalidation
357
+
358
+ ---
359
+
360
+ ## API Security Checklist
361
+
362
+ - [ ] Authentication required
363
+ - [ ] Authorization per endpoint
364
+ - [ ] Input validation
365
+ - [ ] Rate limiting
366
+ - [ ] Output sanitization
367
+ - [ ] Error handling
368
+
369
+ ---
370
+
371
+ ## Data Protection Checklist
372
+
373
+ - [ ] Encryption at rest
374
+ - [ ] Encryption in transit
375
+ - [ ] Key management
376
+ - [ ] Data minimization
377
+ - [ ] Secure deletion
378
+
379
+ ---
380
+
381
+ ## Security Headers
382
+
383
+ | Header | Purpose |
384
+ |--------|---------|
385
+ | **Content-Security-Policy** | XSS prevention |
386
+ | **X-Content-Type-Options** | MIME sniffing |
387
+ | **X-Frame-Options** | Clickjacking |
388
+ | **Strict-Transport-Security** | Force HTTPS |
389
+ | **Referrer-Policy** | Referrer control |
390
+
391
+ ---
392
+
393
+ ## Quick Audit Commands
394
+
395
+ | Check | What to Look For |
396
+ |-------|------------------|
397
+ | Secrets in code | password, api_key, secret |
398
+ | Dangerous patterns | eval, innerHTML, SQL concat |
399
+ | Dependency issues | npm audit, snyk |
400
+
401
+ ---
402
+
403
+ > **Usage:** Copy relevant checklists into your PLAN.md or security report.
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: web-design-guidelines
3
+ description: Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
4
+ metadata:
5
+ author: vercel
6
+ version: "1.0.0"
7
+ argument-hint: <file-or-pattern>
8
+ ---
9
+
10
+ # Web Interface Guidelines
11
+
12
+ Review files for compliance with Web Interface Guidelines.
13
+
14
+ ## How It Works
15
+
16
+ 1. Fetch the latest guidelines from the source URL below
17
+ 2. Read the specified files (or prompt user for files/pattern)
18
+ 3. Check against all rules in the fetched guidelines
19
+ 4. Output findings in the terse `file:line` format
20
+
21
+ ## Guidelines Source
22
+
23
+ Fetch fresh guidelines before each review:
24
+
25
+ ```
26
+ https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md
27
+ ```
28
+
29
+ Use WebFetch to retrieve the latest rules. The fetched content contains all the rules and output format instructions.
30
+
31
+ ## Usage
32
+
33
+ When a user provides a file or pattern argument:
34
+ 1. Fetch guidelines from the source URL above
35
+ 2. Read the specified files
36
+ 3. Apply all rules from the fetched guidelines
37
+ 4. Output findings using the format specified in the guidelines
38
+
39
+ If no files specified, ask the user which files to review.
40
+
41
+ ---
42
+
43
+ ## Related Skills
44
+
45
+ | Skill | When to Use |
46
+ |-------|-------------|
47
+ | **[frontend-design](../frontend-design/SKILL.md)** | Before coding - Learn design principles (color, typography, UX psychology) |
48
+ | **web-design-guidelines** (this) | After coding - Audit for accessibility, performance, and best practices |
49
+
50
+ ## Design Workflow
51
+
52
+ ```
53
+ 1. DESIGN → Read frontend-design principles
54
+ 2. CODE → Implement the design
55
+ 3. AUDIT → Run web-design-guidelines review ← YOU ARE HERE
56
+ 4. FIX → Address findings from audit
57
+ ```
@@ -0,0 +1,187 @@
1
+ ---
2
+ name: webapp-testing
3
+ description: Web application testing principles. E2E, Playwright, deep audit strategies.
4
+ allowed-tools: Read, Write, Edit, Glob, Grep, Bash
5
+ ---
6
+
7
+ # Web App Testing
8
+
9
+ > Discover and test everything. Leave no route untested.
10
+
11
+ ## 🔧 Runtime Scripts
12
+
13
+ **Execute these for automated browser testing:**
14
+
15
+ | Script | Purpose | Usage |
16
+ |--------|---------|-------|
17
+ | `scripts/playwright_runner.py` | Basic browser test | `python scripts/playwright_runner.py https://example.com` |
18
+ | | With screenshot | `python scripts/playwright_runner.py <url> --screenshot` |
19
+ | | Accessibility check | `python scripts/playwright_runner.py <url> --a11y` |
20
+
21
+ **Requires:** `pip install playwright && playwright install chromium`
22
+
23
+ ---
24
+
25
+ ## 1. Deep Audit Approach
26
+
27
+ ### Discovery First
28
+
29
+ | Target | How to Find |
30
+ |--------|-------------|
31
+ | Routes | Scan app/, pages/, router files |
32
+ | API endpoints | Grep for HTTP methods |
33
+ | Components | Find component directories |
34
+ | Features | Read documentation |
35
+
36
+ ### Systematic Testing
37
+
38
+ 1. **Map** - List all routes/APIs
39
+ 2. **Scan** - Verify they respond
40
+ 3. **Test** - Cover critical paths
41
+
42
+ ---
43
+
44
+ ## 2. Testing Pyramid for Web
45
+
46
+ ```
47
+ /\ E2E (Few)
48
+ / \ Critical user flows
49
+ /----\
50
+ / \ Integration (Some)
51
+ /--------\ API, data flow
52
+ / \
53
+ /------------\ Component (Many)
54
+ Individual UI pieces
55
+ ```
56
+
57
+ ---
58
+
59
+ ## 3. E2E Test Principles
60
+
61
+ ### What to Test
62
+
63
+ | Priority | Tests |
64
+ |----------|-------|
65
+ | 1 | Happy path user flows |
66
+ | 2 | Authentication flows |
67
+ | 3 | Critical business actions |
68
+ | 4 | Error handling |
69
+
70
+ ### E2E Best Practices
71
+
72
+ | Practice | Why |
73
+ |----------|-----|
74
+ | Use data-testid | Stable selectors |
75
+ | Wait for elements | Avoid flaky tests |
76
+ | Clean state | Independent tests |
77
+ | Avoid implementation details | Test user behavior |
78
+
79
+ ---
80
+
81
+ ## 4. Playwright Principles
82
+
83
+ ### Core Concepts
84
+
85
+ | Concept | Use |
86
+ |---------|-----|
87
+ | Page Object Model | Encapsulate page logic |
88
+ | Fixtures | Reusable test setup |
89
+ | Assertions | Built-in auto-wait |
90
+ | Trace Viewer | Debug failures |
91
+
92
+ ### Configuration
93
+
94
+ | Setting | Recommendation |
95
+ |---------|----------------|
96
+ | Retries | 2 on CI |
97
+ | Trace | on-first-retry |
98
+ | Screenshots | on-failure |
99
+ | Video | retain-on-failure |
100
+
101
+ ---
102
+
103
+ ## 5. Visual Testing
104
+
105
+ ### When to Use
106
+
107
+ | Scenario | Value |
108
+ |----------|-------|
109
+ | Design system | High |
110
+ | Marketing pages | High |
111
+ | Component library | Medium |
112
+ | Dynamic content | Lower |
113
+
114
+ ### Strategy
115
+
116
+ - Baseline screenshots
117
+ - Compare on changes
118
+ - Review visual diffs
119
+ - Update intentional changes
120
+
121
+ ---
122
+
123
+ ## 6. API Testing Principles
124
+
125
+ ### Coverage Areas
126
+
127
+ | Area | Tests |
128
+ |------|-------|
129
+ | Status codes | 200, 400, 404, 500 |
130
+ | Response shape | Matches schema |
131
+ | Error messages | User-friendly |
132
+ | Edge cases | Empty, large, special chars |
133
+
134
+ ---
135
+
136
+ ## 7. Test Organization
137
+
138
+ ### File Structure
139
+
140
+ ```
141
+ tests/
142
+ ├── e2e/ # Full user flows
143
+ ├── integration/ # API, data
144
+ ├── component/ # UI units
145
+ └── fixtures/ # Shared data
146
+ ```
147
+
148
+ ### Naming Convention
149
+
150
+ | Pattern | Example |
151
+ |---------|---------|
152
+ | Feature-based | `login.spec.ts` |
153
+ | Descriptive | `user-can-checkout.spec.ts` |
154
+
155
+ ---
156
+
157
+ ## 8. CI Integration
158
+
159
+ ### Pipeline Steps
160
+
161
+ 1. Install dependencies
162
+ 2. Install browsers
163
+ 3. Run tests
164
+ 4. Upload artifacts (traces, screenshots)
165
+
166
+ ### Parallelization
167
+
168
+ | Strategy | Use |
169
+ |----------|-----|
170
+ | Per file | Playwright default |
171
+ | Sharding | Large suites |
172
+ | Workers | Multiple browsers |
173
+
174
+ ---
175
+
176
+ ## 9. Anti-Patterns
177
+
178
+ | ❌ Don't | ✅ Do |
179
+ |----------|-------|
180
+ | Test implementation | Test behavior |
181
+ | Hardcode waits | Use auto-wait |
182
+ | Skip cleanup | Isolate tests |
183
+ | Ignore flaky tests | Fix root cause |
184
+
185
+ ---
186
+
187
+ > **Remember:** E2E tests are expensive. Use them for critical paths only.