@jakkrichm/create-nexus-devflow 2.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 (431) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +82 -0
  3. package/bin/create-nexus-devflow.js +275 -0
  4. package/lib/update.js +379 -0
  5. package/package.json +53 -0
  6. package/template/.agents/skills/00-discover/SKILL.md +170 -0
  7. package/template/.agents/skills/10-define/SKILL.md +170 -0
  8. package/template/.agents/skills/20-spec/SKILL.md +156 -0
  9. package/template/.agents/skills/30-plan/SKILL.md +221 -0
  10. package/template/.agents/skills/40-implement/SKILL.md +166 -0
  11. package/template/.agents/skills/50-verify/SKILL.md +188 -0
  12. package/template/.agents/skills/60-report/SKILL.md +183 -0
  13. package/template/.agents/skills/70-release/SKILL.md +155 -0
  14. package/template/.agents/skills/9arm-skills/README.md +51 -0
  15. package/template/.agents/skills/9arm-skills/debug-mantra/SKILL.md +86 -0
  16. package/template/.agents/skills/9arm-skills/management-talk/SKILL.md +79 -0
  17. package/template/.agents/skills/9arm-skills/post-mortem/SKILL.md +71 -0
  18. package/template/.agents/skills/9arm-skills/scrutinize/SKILL.md +72 -0
  19. package/template/.agents/skills/agent/SKILL.md +165 -0
  20. package/template/.agents/skills/api-and-interface-design/SKILL.md +294 -0
  21. package/template/.agents/skills/app-builder/SKILL.md +75 -0
  22. package/template/.agents/skills/app-builder/agent-coordination.md +71 -0
  23. package/template/.agents/skills/app-builder/feature-building.md +53 -0
  24. package/template/.agents/skills/app-builder/project-detection.md +34 -0
  25. package/template/.agents/skills/app-builder/scaffolding.md +118 -0
  26. package/template/.agents/skills/app-builder/tech-stack.md +40 -0
  27. package/template/.agents/skills/app-builder/templates/SKILL.md +39 -0
  28. package/template/.agents/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
  29. package/template/.agents/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
  30. package/template/.agents/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
  31. package/template/.agents/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
  32. package/template/.agents/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
  33. package/template/.agents/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
  34. package/template/.agents/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
  35. package/template/.agents/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
  36. package/template/.agents/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
  37. package/template/.agents/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
  38. package/template/.agents/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
  39. package/template/.agents/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
  40. package/template/.agents/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
  41. package/template/.agents/skills/architecture/SKILL.md +55 -0
  42. package/template/.agents/skills/architecture/context-discovery.md +43 -0
  43. package/template/.agents/skills/architecture/examples.md +94 -0
  44. package/template/.agents/skills/architecture/pattern-selection.md +68 -0
  45. package/template/.agents/skills/architecture/patterns-reference.md +50 -0
  46. package/template/.agents/skills/architecture/trade-off-analysis.md +77 -0
  47. package/template/.agents/skills/bash-linux/SKILL.md +199 -0
  48. package/template/.agents/skills/behavioral-modes/SKILL.md +242 -0
  49. package/template/.agents/skills/brainstorm/SKILL.md +168 -0
  50. package/template/.agents/skills/browser-testing-with-devtools/SKILL.md +302 -0
  51. package/template/.agents/skills/changelog/SKILL.md +109 -0
  52. package/template/.agents/skills/check-for-updates/SKILL.md +117 -0
  53. package/template/.agents/skills/ci-cd-and-automation/SKILL.md +390 -0
  54. package/template/.agents/skills/code-review-and-quality/SKILL.md +392 -0
  55. package/template/.agents/skills/code-simplification/SKILL.md +331 -0
  56. package/template/.agents/skills/codebase-design/DEEPENING.md +24 -0
  57. package/template/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +28 -0
  58. package/template/.agents/skills/codebase-design/SKILL.md +58 -0
  59. package/template/.agents/skills/commit/SKILL.md +63 -0
  60. package/template/.agents/skills/competitor-analysis/SKILL.md +66 -0
  61. package/template/.agents/skills/context-engineering/SKILL.md +290 -0
  62. package/template/.agents/skills/database-design/SKILL.md +52 -0
  63. package/template/.agents/skills/database-design/database-selection.md +43 -0
  64. package/template/.agents/skills/database-design/indexing.md +39 -0
  65. package/template/.agents/skills/database-design/migrations.md +48 -0
  66. package/template/.agents/skills/database-design/optimization.md +36 -0
  67. package/template/.agents/skills/database-design/orm-selection.md +30 -0
  68. package/template/.agents/skills/database-design/schema-design.md +56 -0
  69. package/template/.agents/skills/database-design/scripts/schema_validator.py +172 -0
  70. package/template/.agents/skills/debug/SKILL.md +131 -0
  71. package/template/.agents/skills/debugging-and-error-recovery/SKILL.md +298 -0
  72. package/template/.agents/skills/deploy/SKILL.md +91 -0
  73. package/template/.agents/skills/deployment-procedures/SKILL.md +241 -0
  74. package/template/.agents/skills/deprecation-and-migration/SKILL.md +206 -0
  75. package/template/.agents/skills/devflow/SKILL.md +89 -0
  76. package/template/.agents/skills/devflow-concept-intake/SKILL.md +150 -0
  77. package/template/.agents/skills/devflow-concept-intake/agents/openai.yaml +4 -0
  78. package/template/.agents/skills/devflow-concept-intake/references/adoption-proposal-template.md +60 -0
  79. package/template/.agents/skills/devflow-concept-intake/references/concept-report-template.md +47 -0
  80. package/template/.agents/skills/devflow-concept-intake/references/upstream-tracking-template.md +51 -0
  81. package/template/.agents/skills/devflow-wiki/SKILL.md +75 -0
  82. package/template/.agents/skills/diagnosing-bugs/SKILL.md +93 -0
  83. package/template/.agents/skills/documentation-and-adrs/SKILL.md +278 -0
  84. package/template/.agents/skills/domain-modeling/ADR-FORMAT.md +47 -0
  85. package/template/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  86. package/template/.agents/skills/domain-modeling/SKILL.md +74 -0
  87. package/template/.agents/skills/english-to-thai-translator/SKILL.md +125 -0
  88. package/template/.agents/skills/followup/SKILL.md +83 -0
  89. package/template/.agents/skills/frontend-ui-engineering/SKILL.md +326 -0
  90. package/template/.agents/skills/frontend-ui-engineering/accessibility-checklist.md +159 -0
  91. package/template/.agents/skills/git-workflow-and-versioning/SKILL.md +300 -0
  92. package/template/.agents/skills/goal/SKILL.md +148 -0
  93. package/template/.agents/skills/handoff/SKILL.md +46 -0
  94. package/template/.agents/skills/help/SKILL.md +253 -0
  95. package/template/.agents/skills/human-review-decisions/SKILL.md +74 -0
  96. package/template/.agents/skills/i18n-localization/SKILL.md +154 -0
  97. package/template/.agents/skills/i18n-localization/scripts/i18n_checker.py +241 -0
  98. package/template/.agents/skills/idea-refine/SKILL.md +178 -0
  99. package/template/.agents/skills/idea-refine/examples.md +238 -0
  100. package/template/.agents/skills/idea-refine/frameworks.md +99 -0
  101. package/template/.agents/skills/idea-refine/refinement-criteria.md +113 -0
  102. package/template/.agents/skills/idea-refine/scripts/idea-refine.sh +15 -0
  103. package/template/.agents/skills/incremental-implementation/SKILL.md +248 -0
  104. package/template/.agents/skills/insight/SKILL.md +131 -0
  105. package/template/.agents/skills/insight-capture/SKILL.md +84 -0
  106. package/template/.agents/skills/intelligent-routing/SKILL.md +176 -0
  107. package/template/.agents/skills/issue-triage/SKILL.md +115 -0
  108. package/template/.agents/skills/lint-and-validate/SKILL.md +45 -0
  109. package/template/.agents/skills/lint-and-validate/scripts/lint_runner.py +184 -0
  110. package/template/.agents/skills/lint-and-validate/scripts/type_coverage.py +173 -0
  111. package/template/.agents/skills/mcp-builder/SKILL.md +176 -0
  112. package/template/.agents/skills/md2html/SKILL.md +154 -0
  113. package/template/.agents/skills/md2html/components.md +505 -0
  114. package/template/.agents/skills/md2html/template.html +1152 -0
  115. package/template/.agents/skills/merge/SKILL.md +76 -0
  116. package/template/.agents/skills/mobile-design/SKILL.md +394 -0
  117. package/template/.agents/skills/mobile-design/decision-trees.md +516 -0
  118. package/template/.agents/skills/mobile-design/mobile-backend.md +491 -0
  119. package/template/.agents/skills/mobile-design/mobile-color-system.md +420 -0
  120. package/template/.agents/skills/mobile-design/mobile-debugging.md +122 -0
  121. package/template/.agents/skills/mobile-design/mobile-design-thinking.md +357 -0
  122. package/template/.agents/skills/mobile-design/mobile-navigation.md +458 -0
  123. package/template/.agents/skills/mobile-design/mobile-performance.md +767 -0
  124. package/template/.agents/skills/mobile-design/mobile-testing.md +356 -0
  125. package/template/.agents/skills/mobile-design/mobile-typography.md +433 -0
  126. package/template/.agents/skills/mobile-design/platform-android.md +666 -0
  127. package/template/.agents/skills/mobile-design/platform-ios.md +561 -0
  128. package/template/.agents/skills/mobile-design/scripts/mobile_audit.py +670 -0
  129. package/template/.agents/skills/mobile-design/touch-psychology.md +537 -0
  130. package/template/.agents/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +312 -0
  131. package/template/.agents/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +240 -0
  132. package/template/.agents/skills/nextjs-react-expert/3-server-server-side-performance.md +490 -0
  133. package/template/.agents/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +264 -0
  134. package/template/.agents/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +581 -0
  135. package/template/.agents/skills/nextjs-react-expert/6-rendering-rendering-performance.md +432 -0
  136. package/template/.agents/skills/nextjs-react-expert/7-js-javascript-performance.md +684 -0
  137. package/template/.agents/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +150 -0
  138. package/template/.agents/skills/nextjs-react-expert/SKILL.md +286 -0
  139. package/template/.agents/skills/nextjs-react-expert/scripts/convert_rules.py +222 -0
  140. package/template/.agents/skills/nextjs-react-expert/scripts/react_performance_checker.py +252 -0
  141. package/template/.agents/skills/nodejs-best-practices/SKILL.md +333 -0
  142. package/template/.agents/skills/obsidian-bases/SKILL.md +506 -0
  143. package/template/.agents/skills/obsidian-bases/references/FUNCTIONS_REFERENCE.md +173 -0
  144. package/template/.agents/skills/obsidian-cli/SKILL.md +115 -0
  145. package/template/.agents/skills/obsidian-clipper-template-creator/SKILL.md +73 -0
  146. package/template/.agents/skills/obsidian-clipper-template-creator/assets/clipping-template.json +51 -0
  147. package/template/.agents/skills/obsidian-clipper-template-creator/assets/recipe-template.json +48 -0
  148. package/template/.agents/skills/obsidian-clipper-template-creator/references/analysis-workflow.md +79 -0
  149. package/template/.agents/skills/obsidian-clipper-template-creator/references/bases-workflow.md +44 -0
  150. package/template/.agents/skills/obsidian-clipper-template-creator/references/filters.md +51 -0
  151. package/template/.agents/skills/obsidian-clipper-template-creator/references/json-schema.md +77 -0
  152. package/template/.agents/skills/obsidian-clipper-template-creator/references/logic.md +67 -0
  153. package/template/.agents/skills/obsidian-clipper-template-creator/references/variables.md +64 -0
  154. package/template/.agents/skills/obsidian-markdown/SKILL.md +205 -0
  155. package/template/.agents/skills/obsidian-markdown/references/CALLOUTS.md +58 -0
  156. package/template/.agents/skills/obsidian-markdown/references/EMBEDS.md +63 -0
  157. package/template/.agents/skills/obsidian-markdown/references/PROPERTIES.md +61 -0
  158. package/template/.agents/skills/package-json-generator/SKILL.md +60 -0
  159. package/template/.agents/skills/package-json-generator/scripts/generate.js +120 -0
  160. package/template/.agents/skills/package-json-generator/scripts/run.sh +19 -0
  161. package/template/.agents/skills/parallel-agents/SKILL.md +144 -0
  162. package/template/.agents/skills/performance-optimization/SKILL.md +299 -0
  163. package/template/.agents/skills/performance-optimization/performance-checklist.md +113 -0
  164. package/template/.agents/skills/planning-and-task-breakdown/SKILL.md +239 -0
  165. package/template/.agents/skills/powershell-windows/SKILL.md +167 -0
  166. package/template/.agents/skills/pr/SKILL.md +93 -0
  167. package/template/.agents/skills/pr-review/SKILL.md +143 -0
  168. package/template/.agents/skills/pr-review-analysis/SKILL.md +89 -0
  169. package/template/.agents/skills/prd/SKILL.md +127 -0
  170. package/template/.agents/skills/preview/SKILL.md +121 -0
  171. package/template/.agents/skills/preview-local-check/SKILL.md +59 -0
  172. package/template/.agents/skills/prompt-addons/SKILL.md +99 -0
  173. package/template/.agents/skills/prototype/SKILL.md +44 -0
  174. package/template/.agents/skills/prp-dev-fastapi/SKILL.md +114 -0
  175. package/template/.agents/skills/prp-dev-multiplatform/SKILL.md +36 -0
  176. package/template/.agents/skills/prp-dev-odoo/SKILL.md +71 -0
  177. package/template/.agents/skills/prp-dev-php/SKILL.md +63 -0
  178. package/template/.agents/skills/prp-sa-ba/SKILL.md +52 -0
  179. package/template/.agents/skills/python-patterns/SKILL.md +441 -0
  180. package/template/.agents/skills/red-team-tactics/SKILL.md +199 -0
  181. package/template/.agents/skills/release-git-operations/SKILL.md +97 -0
  182. package/template/.agents/skills/research/SKILL.md +143 -0
  183. package/template/.agents/skills/review/SKILL.md +55 -0
  184. package/template/.agents/skills/review-followup-routing/SKILL.md +98 -0
  185. package/template/.agents/skills/roadmap-strategy/SKILL.md +97 -0
  186. package/template/.agents/skills/security-and-hardening/SKILL.md +349 -0
  187. package/template/.agents/skills/security-and-hardening/security-checklist.md +134 -0
  188. package/template/.agents/skills/security-review/SKILL.md +166 -0
  189. package/template/.agents/skills/seo-fundamentals/SKILL.md +129 -0
  190. package/template/.agents/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
  191. package/template/.agents/skills/server-management/SKILL.md +161 -0
  192. package/template/.agents/skills/shipping-and-launch/SKILL.md +311 -0
  193. package/template/.agents/skills/silent-failure-audit/SKILL.md +73 -0
  194. package/template/.agents/skills/simplify/SKILL.md +79 -0
  195. package/template/.agents/skills/skill-development/SKILL.md +86 -0
  196. package/template/.agents/skills/spec-driven-development/SKILL.md +207 -0
  197. package/template/.agents/skills/spec-orchestration/SKILL.md +91 -0
  198. package/template/.agents/skills/specialist-agent-routing/SKILL.md +107 -0
  199. package/template/.agents/skills/tailwind-patterns/SKILL.md +269 -0
  200. package/template/.agents/skills/test/SKILL.md +82 -0
  201. package/template/.agents/skills/test-driven-development/SKILL.md +422 -0
  202. package/template/.agents/skills/test-driven-development/testing-patterns.md +236 -0
  203. package/template/.agents/skills/test-execution-and-coverage/SKILL.md +56 -0
  204. package/template/.agents/skills/type-design/SKILL.md +84 -0
  205. package/template/.agents/skills/ui-ux-pro-max/SKILL.md +75 -0
  206. package/template/.agents/skills/using-agent-skills/SKILL.md +171 -0
  207. package/template/.agents/skills/verification-orchestration/SKILL.md +68 -0
  208. package/template/.agents/skills/vulnerability-scanner/SKILL.md +276 -0
  209. package/template/.agents/skills/vulnerability-scanner/checklists.md +121 -0
  210. package/template/.agents/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
  211. package/template/.agents/skills/wiki/SKILL.md +149 -0
  212. package/template/.agents/skills/workflow-documentation-sync/SKILL.md +87 -0
  213. package/template/.agents/skills/writing-great-skills/SKILL.md +65 -0
  214. package/template/.claude/skills/00-discover/SKILL.md +170 -0
  215. package/template/.claude/skills/10-define/SKILL.md +170 -0
  216. package/template/.claude/skills/20-spec/SKILL.md +156 -0
  217. package/template/.claude/skills/30-plan/SKILL.md +221 -0
  218. package/template/.claude/skills/40-implement/SKILL.md +166 -0
  219. package/template/.claude/skills/50-verify/SKILL.md +188 -0
  220. package/template/.claude/skills/60-report/SKILL.md +183 -0
  221. package/template/.claude/skills/70-release/SKILL.md +155 -0
  222. package/template/.claude/skills/9arm-skills/README.md +51 -0
  223. package/template/.claude/skills/9arm-skills/debug-mantra/SKILL.md +86 -0
  224. package/template/.claude/skills/9arm-skills/management-talk/SKILL.md +79 -0
  225. package/template/.claude/skills/9arm-skills/post-mortem/SKILL.md +71 -0
  226. package/template/.claude/skills/9arm-skills/scrutinize/SKILL.md +72 -0
  227. package/template/.claude/skills/agent/SKILL.md +165 -0
  228. package/template/.claude/skills/api-and-interface-design/SKILL.md +294 -0
  229. package/template/.claude/skills/app-builder/SKILL.md +75 -0
  230. package/template/.claude/skills/app-builder/agent-coordination.md +71 -0
  231. package/template/.claude/skills/app-builder/feature-building.md +53 -0
  232. package/template/.claude/skills/app-builder/project-detection.md +34 -0
  233. package/template/.claude/skills/app-builder/scaffolding.md +118 -0
  234. package/template/.claude/skills/app-builder/tech-stack.md +40 -0
  235. package/template/.claude/skills/app-builder/templates/SKILL.md +39 -0
  236. package/template/.claude/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
  237. package/template/.claude/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
  238. package/template/.claude/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
  239. package/template/.claude/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
  240. package/template/.claude/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
  241. package/template/.claude/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
  242. package/template/.claude/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
  243. package/template/.claude/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
  244. package/template/.claude/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
  245. package/template/.claude/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
  246. package/template/.claude/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
  247. package/template/.claude/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
  248. package/template/.claude/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
  249. package/template/.claude/skills/architecture/SKILL.md +55 -0
  250. package/template/.claude/skills/architecture/context-discovery.md +43 -0
  251. package/template/.claude/skills/architecture/examples.md +94 -0
  252. package/template/.claude/skills/architecture/pattern-selection.md +68 -0
  253. package/template/.claude/skills/architecture/patterns-reference.md +50 -0
  254. package/template/.claude/skills/architecture/trade-off-analysis.md +77 -0
  255. package/template/.claude/skills/bash-linux/SKILL.md +199 -0
  256. package/template/.claude/skills/behavioral-modes/SKILL.md +242 -0
  257. package/template/.claude/skills/brainstorm/SKILL.md +168 -0
  258. package/template/.claude/skills/browser-testing-with-devtools/SKILL.md +302 -0
  259. package/template/.claude/skills/changelog/SKILL.md +109 -0
  260. package/template/.claude/skills/check-for-updates/SKILL.md +117 -0
  261. package/template/.claude/skills/ci-cd-and-automation/SKILL.md +390 -0
  262. package/template/.claude/skills/code-review-and-quality/SKILL.md +392 -0
  263. package/template/.claude/skills/code-simplification/SKILL.md +331 -0
  264. package/template/.claude/skills/codebase-design/DEEPENING.md +24 -0
  265. package/template/.claude/skills/codebase-design/DESIGN-IT-TWICE.md +28 -0
  266. package/template/.claude/skills/codebase-design/SKILL.md +58 -0
  267. package/template/.claude/skills/commit/SKILL.md +63 -0
  268. package/template/.claude/skills/competitor-analysis/SKILL.md +66 -0
  269. package/template/.claude/skills/context-engineering/SKILL.md +290 -0
  270. package/template/.claude/skills/database-design/SKILL.md +52 -0
  271. package/template/.claude/skills/database-design/database-selection.md +43 -0
  272. package/template/.claude/skills/database-design/indexing.md +39 -0
  273. package/template/.claude/skills/database-design/migrations.md +48 -0
  274. package/template/.claude/skills/database-design/optimization.md +36 -0
  275. package/template/.claude/skills/database-design/orm-selection.md +30 -0
  276. package/template/.claude/skills/database-design/schema-design.md +56 -0
  277. package/template/.claude/skills/database-design/scripts/schema_validator.py +172 -0
  278. package/template/.claude/skills/debug/SKILL.md +131 -0
  279. package/template/.claude/skills/debugging-and-error-recovery/SKILL.md +298 -0
  280. package/template/.claude/skills/deploy/SKILL.md +91 -0
  281. package/template/.claude/skills/deployment-procedures/SKILL.md +241 -0
  282. package/template/.claude/skills/deprecation-and-migration/SKILL.md +206 -0
  283. package/template/.claude/skills/devflow/SKILL.md +89 -0
  284. package/template/.claude/skills/devflow-concept-intake/SKILL.md +150 -0
  285. package/template/.claude/skills/devflow-concept-intake/agents/openai.yaml +4 -0
  286. package/template/.claude/skills/devflow-concept-intake/references/adoption-proposal-template.md +60 -0
  287. package/template/.claude/skills/devflow-concept-intake/references/concept-report-template.md +47 -0
  288. package/template/.claude/skills/devflow-concept-intake/references/upstream-tracking-template.md +51 -0
  289. package/template/.claude/skills/devflow-wiki/SKILL.md +75 -0
  290. package/template/.claude/skills/diagnosing-bugs/SKILL.md +93 -0
  291. package/template/.claude/skills/documentation-and-adrs/SKILL.md +278 -0
  292. package/template/.claude/skills/domain-modeling/ADR-FORMAT.md +47 -0
  293. package/template/.claude/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  294. package/template/.claude/skills/domain-modeling/SKILL.md +74 -0
  295. package/template/.claude/skills/english-to-thai-translator/SKILL.md +125 -0
  296. package/template/.claude/skills/followup/SKILL.md +83 -0
  297. package/template/.claude/skills/frontend-ui-engineering/SKILL.md +326 -0
  298. package/template/.claude/skills/frontend-ui-engineering/accessibility-checklist.md +159 -0
  299. package/template/.claude/skills/git-workflow-and-versioning/SKILL.md +300 -0
  300. package/template/.claude/skills/goal/SKILL.md +148 -0
  301. package/template/.claude/skills/handoff/SKILL.md +46 -0
  302. package/template/.claude/skills/help/SKILL.md +253 -0
  303. package/template/.claude/skills/human-review-decisions/SKILL.md +74 -0
  304. package/template/.claude/skills/i18n-localization/SKILL.md +154 -0
  305. package/template/.claude/skills/i18n-localization/scripts/i18n_checker.py +241 -0
  306. package/template/.claude/skills/idea-refine/SKILL.md +178 -0
  307. package/template/.claude/skills/idea-refine/examples.md +238 -0
  308. package/template/.claude/skills/idea-refine/frameworks.md +99 -0
  309. package/template/.claude/skills/idea-refine/refinement-criteria.md +113 -0
  310. package/template/.claude/skills/idea-refine/scripts/idea-refine.sh +15 -0
  311. package/template/.claude/skills/incremental-implementation/SKILL.md +248 -0
  312. package/template/.claude/skills/insight/SKILL.md +131 -0
  313. package/template/.claude/skills/insight-capture/SKILL.md +84 -0
  314. package/template/.claude/skills/intelligent-routing/SKILL.md +176 -0
  315. package/template/.claude/skills/issue-triage/SKILL.md +115 -0
  316. package/template/.claude/skills/lint-and-validate/SKILL.md +45 -0
  317. package/template/.claude/skills/lint-and-validate/scripts/lint_runner.py +184 -0
  318. package/template/.claude/skills/lint-and-validate/scripts/type_coverage.py +173 -0
  319. package/template/.claude/skills/mcp-builder/SKILL.md +176 -0
  320. package/template/.claude/skills/md2html/SKILL.md +154 -0
  321. package/template/.claude/skills/md2html/components.md +505 -0
  322. package/template/.claude/skills/md2html/template.html +1152 -0
  323. package/template/.claude/skills/merge/SKILL.md +76 -0
  324. package/template/.claude/skills/mobile-design/SKILL.md +394 -0
  325. package/template/.claude/skills/mobile-design/decision-trees.md +516 -0
  326. package/template/.claude/skills/mobile-design/mobile-backend.md +491 -0
  327. package/template/.claude/skills/mobile-design/mobile-color-system.md +420 -0
  328. package/template/.claude/skills/mobile-design/mobile-debugging.md +122 -0
  329. package/template/.claude/skills/mobile-design/mobile-design-thinking.md +357 -0
  330. package/template/.claude/skills/mobile-design/mobile-navigation.md +458 -0
  331. package/template/.claude/skills/mobile-design/mobile-performance.md +767 -0
  332. package/template/.claude/skills/mobile-design/mobile-testing.md +356 -0
  333. package/template/.claude/skills/mobile-design/mobile-typography.md +433 -0
  334. package/template/.claude/skills/mobile-design/platform-android.md +666 -0
  335. package/template/.claude/skills/mobile-design/platform-ios.md +561 -0
  336. package/template/.claude/skills/mobile-design/scripts/mobile_audit.py +670 -0
  337. package/template/.claude/skills/mobile-design/touch-psychology.md +537 -0
  338. package/template/.claude/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +312 -0
  339. package/template/.claude/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +240 -0
  340. package/template/.claude/skills/nextjs-react-expert/3-server-server-side-performance.md +490 -0
  341. package/template/.claude/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +264 -0
  342. package/template/.claude/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +581 -0
  343. package/template/.claude/skills/nextjs-react-expert/6-rendering-rendering-performance.md +432 -0
  344. package/template/.claude/skills/nextjs-react-expert/7-js-javascript-performance.md +684 -0
  345. package/template/.claude/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +150 -0
  346. package/template/.claude/skills/nextjs-react-expert/SKILL.md +286 -0
  347. package/template/.claude/skills/nextjs-react-expert/scripts/convert_rules.py +222 -0
  348. package/template/.claude/skills/nextjs-react-expert/scripts/react_performance_checker.py +252 -0
  349. package/template/.claude/skills/nodejs-best-practices/SKILL.md +333 -0
  350. package/template/.claude/skills/obsidian-bases/SKILL.md +506 -0
  351. package/template/.claude/skills/obsidian-bases/references/FUNCTIONS_REFERENCE.md +173 -0
  352. package/template/.claude/skills/obsidian-cli/SKILL.md +115 -0
  353. package/template/.claude/skills/obsidian-clipper-template-creator/SKILL.md +73 -0
  354. package/template/.claude/skills/obsidian-clipper-template-creator/assets/clipping-template.json +51 -0
  355. package/template/.claude/skills/obsidian-clipper-template-creator/assets/recipe-template.json +48 -0
  356. package/template/.claude/skills/obsidian-clipper-template-creator/references/analysis-workflow.md +79 -0
  357. package/template/.claude/skills/obsidian-clipper-template-creator/references/bases-workflow.md +44 -0
  358. package/template/.claude/skills/obsidian-clipper-template-creator/references/filters.md +51 -0
  359. package/template/.claude/skills/obsidian-clipper-template-creator/references/json-schema.md +77 -0
  360. package/template/.claude/skills/obsidian-clipper-template-creator/references/logic.md +67 -0
  361. package/template/.claude/skills/obsidian-clipper-template-creator/references/variables.md +64 -0
  362. package/template/.claude/skills/obsidian-markdown/SKILL.md +205 -0
  363. package/template/.claude/skills/obsidian-markdown/references/CALLOUTS.md +58 -0
  364. package/template/.claude/skills/obsidian-markdown/references/EMBEDS.md +63 -0
  365. package/template/.claude/skills/obsidian-markdown/references/PROPERTIES.md +61 -0
  366. package/template/.claude/skills/package-json-generator/SKILL.md +60 -0
  367. package/template/.claude/skills/package-json-generator/scripts/generate.js +120 -0
  368. package/template/.claude/skills/package-json-generator/scripts/run.sh +19 -0
  369. package/template/.claude/skills/parallel-agents/SKILL.md +144 -0
  370. package/template/.claude/skills/performance-optimization/SKILL.md +299 -0
  371. package/template/.claude/skills/performance-optimization/performance-checklist.md +113 -0
  372. package/template/.claude/skills/planning-and-task-breakdown/SKILL.md +239 -0
  373. package/template/.claude/skills/powershell-windows/SKILL.md +167 -0
  374. package/template/.claude/skills/pr/SKILL.md +93 -0
  375. package/template/.claude/skills/pr-review/SKILL.md +143 -0
  376. package/template/.claude/skills/pr-review-analysis/SKILL.md +89 -0
  377. package/template/.claude/skills/prd/SKILL.md +127 -0
  378. package/template/.claude/skills/preview/SKILL.md +121 -0
  379. package/template/.claude/skills/preview-local-check/SKILL.md +59 -0
  380. package/template/.claude/skills/prompt-addons/SKILL.md +99 -0
  381. package/template/.claude/skills/prototype/SKILL.md +44 -0
  382. package/template/.claude/skills/prp-dev-fastapi/SKILL.md +114 -0
  383. package/template/.claude/skills/prp-dev-multiplatform/SKILL.md +36 -0
  384. package/template/.claude/skills/prp-dev-odoo/SKILL.md +71 -0
  385. package/template/.claude/skills/prp-dev-php/SKILL.md +63 -0
  386. package/template/.claude/skills/prp-sa-ba/SKILL.md +52 -0
  387. package/template/.claude/skills/python-patterns/SKILL.md +441 -0
  388. package/template/.claude/skills/red-team-tactics/SKILL.md +199 -0
  389. package/template/.claude/skills/release-git-operations/SKILL.md +97 -0
  390. package/template/.claude/skills/research/SKILL.md +143 -0
  391. package/template/.claude/skills/review/SKILL.md +55 -0
  392. package/template/.claude/skills/review-followup-routing/SKILL.md +98 -0
  393. package/template/.claude/skills/roadmap-strategy/SKILL.md +97 -0
  394. package/template/.claude/skills/security-and-hardening/SKILL.md +349 -0
  395. package/template/.claude/skills/security-and-hardening/security-checklist.md +134 -0
  396. package/template/.claude/skills/security-review/SKILL.md +166 -0
  397. package/template/.claude/skills/seo-fundamentals/SKILL.md +129 -0
  398. package/template/.claude/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
  399. package/template/.claude/skills/server-management/SKILL.md +161 -0
  400. package/template/.claude/skills/shipping-and-launch/SKILL.md +311 -0
  401. package/template/.claude/skills/silent-failure-audit/SKILL.md +73 -0
  402. package/template/.claude/skills/simplify/SKILL.md +79 -0
  403. package/template/.claude/skills/skill-development/SKILL.md +86 -0
  404. package/template/.claude/skills/spec-driven-development/SKILL.md +207 -0
  405. package/template/.claude/skills/spec-orchestration/SKILL.md +91 -0
  406. package/template/.claude/skills/specialist-agent-routing/SKILL.md +107 -0
  407. package/template/.claude/skills/tailwind-patterns/SKILL.md +269 -0
  408. package/template/.claude/skills/test/SKILL.md +82 -0
  409. package/template/.claude/skills/test-driven-development/SKILL.md +422 -0
  410. package/template/.claude/skills/test-driven-development/testing-patterns.md +236 -0
  411. package/template/.claude/skills/test-execution-and-coverage/SKILL.md +56 -0
  412. package/template/.claude/skills/type-design/SKILL.md +84 -0
  413. package/template/.claude/skills/ui-ux-pro-max/SKILL.md +75 -0
  414. package/template/.claude/skills/using-agent-skills/SKILL.md +171 -0
  415. package/template/.claude/skills/verification-orchestration/SKILL.md +68 -0
  416. package/template/.claude/skills/vulnerability-scanner/SKILL.md +276 -0
  417. package/template/.claude/skills/vulnerability-scanner/checklists.md +121 -0
  418. package/template/.claude/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
  419. package/template/.claude/skills/wiki/SKILL.md +149 -0
  420. package/template/.claude/skills/workflow-documentation-sync/SKILL.md +87 -0
  421. package/template/.claude/skills/writing-great-skills/SKILL.md +65 -0
  422. package/template/.nexus/nexus-devflow.json +44 -0
  423. package/template/AGENTS.md +58 -0
  424. package/template/CLAUDE.md +5 -0
  425. package/template/LICENSE +21 -0
  426. package/template/devflow/context/ai-interaction.md +34 -0
  427. package/template/devflow/context/coding-standards.md +19 -0
  428. package/template/devflow/context/current-stage.md +6 -0
  429. package/template/devflow/context/findings.md +13 -0
  430. package/template/devflow/context/project-overview.md +20 -0
  431. package/template/devflow/reference/running-id-contract.md +39 -0
@@ -0,0 +1,253 @@
1
+ ---name: help
2
+
3
+ description: DevFlow 2.0 Help and routing guide. Transitional file while Help moves from numbered workflow to companion command.
4
+ argument-hint: [optional: question, running id, stage, or issue]
5
+ ---
6
+
7
+ # Help
8
+
9
+ This file is a transitional compatibility entry for DevFlow 2.0.
10
+
11
+ In DevFlow 2.0, `Help` is a companion command, not a numbered mainline workflow.
12
+
13
+ ## Mission
14
+
15
+ Act as a senior architect, project mentor, and Q&A assistant.
16
+
17
+ Help should:
18
+
19
+ - explain the current DevFlow 2.0 model
20
+ - route the user to the correct mainline stage
21
+ - recommend companion commands when the task is still unclear
22
+ - warn when a prior stage still needs manual review
23
+ - summarize current project or framework state
24
+ - stay read-only
25
+
26
+ Help must not:
27
+
28
+ - act like a mainline stage
29
+ - create or mutate stage artifacts directly
30
+ - send the user into deprecated JSON-first flow unless the question is specifically about legacy migration
31
+
32
+ ## Read-Only Rule
33
+
34
+ Help remains read-only.
35
+
36
+ If the user asks Help to edit files directly, Help should instead:
37
+
38
+ - explain the best next command
39
+ - suggest the correct workflow or specialist agent
40
+ - point to the correct stage artifact
41
+
42
+ ## Help Startup Routine
43
+
44
+ When invoked, Help should verify system health first before summarizing task status.
45
+
46
+ ### Phase A: Environment Health Check
47
+
48
+ Check system readiness step by step:
49
+
50
+ 1. verify `.agents/skills/` exists
51
+ 2. verify `devflow/discoveries/` and `devflow/runs/` exist
52
+ 3. verify the mainline workflow files exist
53
+ 4. verify schema resources exist under `.agent/resources/schemas/`
54
+
55
+ If the framework is in mixed legacy/2.0 state, Help should say so explicitly.
56
+
57
+ If core pieces are missing, stop and recommend the underlying fix first.
58
+
59
+ ### Phase B: Running Status Scan
60
+
61
+ 1. scan `devflow/discoveries/` for pending discovery decisions and `devflow/runs/` for active Running IDs
62
+ 2. prefer reading discovery and stage markdown files over legacy JSON
63
+ 3. summarize discovery decisions, run state, blockers, and likely next action
64
+ 4. treat `Approval Status` and `Next Allowed Command` as soft routing signals when they are present
65
+
66
+ When available, Help may use the internal helper below to build a faster first-pass summary before reading individual stage files:
67
+
68
+ ```text
69
+ node scripts/summarize-run-status.mjs
70
+ node scripts/summarize-run-status.mjs --json
71
+ ```
72
+
73
+ Typical summary shape:
74
+
75
+ ```text
76
+ Help Summary:
77
+ Environment: All OK
78
+
79
+ Active Runs:
80
+ - 010-auth-refactor: stage=40-implement | approval=Pending | next=/50-Verify 010 | warnings: manual review open
81
+ - 011-billing-phase-1: stage=20-spec | approval=Approved | next=/30-Plan 011
82
+ - 012-admin-console: stage=50-verify | approval=Approved | next=/60-Report 012 | warnings: not ready for release
83
+
84
+ Recommended Next Action:
85
+ - 010 -> /50-Verify 010
86
+ - 011 -> /20-Spec 011
87
+ - 012 -> /40-Implement 012
88
+ ```
89
+
90
+ ### Phase C: Manual Review Soft Gate
91
+
92
+ Help should not hard-block stage progression.
93
+ Help should warn when a stage artifact still shows:
94
+
95
+ - `Approval Status: Pending`
96
+ - `Approval Status: Needs Revision`
97
+ - missing `Next Allowed Command`
98
+
99
+ When one of those conditions exists, Help should:
100
+
101
+ 1. say that manual review still appears open
102
+ 2. recommend the reviewer inspect the current stage artifact first
103
+ 3. suggest the next command only as a soft recommendation, not as an automatic jump
104
+ 4. prefer checklist approval gates and stage `Next Allowed Command` when both exist, and call out disagreements explicitly
105
+
106
+ Typical warning shape:
107
+
108
+ ```text
109
+ Manual Review Warning:
110
+ - 014 -> 20-spec.md still shows Approval Status: Pending
111
+ - Recommended action: review 20-spec.md and confirm the next allowed command before moving to /30-Plan 014
112
+ ```
113
+
114
+ ## DevFlow 2.0 Mainline
115
+
116
+ ```text
117
+ /00-Discover -> /10-Define -> /20-Spec -> /30-Plan -> /40-Implement -> /50-Verify -> /60-Report -> /70-Release
118
+ ```
119
+
120
+ ## Public Companion Commands
121
+
122
+ These are not numbered stages and may be called directly by users:
123
+
124
+ - `Goal`
125
+ - `Brainstorm`
126
+ - `Research`
127
+ - `Debug`
128
+ - `PRD`
129
+ - `Issue-Triage`
130
+ - `Security-Review`
131
+ - `Wiki`
132
+ - `Check-For-Updates`
133
+ - `Help`
134
+
135
+ ## Internal Companion Surfaces
136
+
137
+ These files still exist because their prompt bodies contain useful behavior, but they are not the preferred public entry points:
138
+
139
+ - `Preview`
140
+ - `Simplify`
141
+ - `Spec-Research`
142
+ - `Competitor`
143
+ - `Roadmap`
144
+ - `Spec-Orchestrate`
145
+ - `Test`
146
+ - `QA-Orchestrate`
147
+ - `Followup`
148
+ - `Human-Approve`
149
+ - `Human-Feedback`
150
+ - `Human-ReCheck`
151
+ - `Human-Reject`
152
+ - `Commit`
153
+ - `PR`
154
+ - `PR-Review`
155
+ - `PR-Followup`
156
+ - `Merge`
157
+ - `Deploy`
158
+ - `Changelog`
159
+ - `Insight`
160
+ - `Agent`
161
+
162
+ ## Routing Rules
163
+
164
+ ### 1. If the user is just starting
165
+
166
+ Recommend `/00-Discover`. Discover selects `Brainstorm`, `PRD`, `Research`, `Debug`, or direct decision and owns the return synthesis.
167
+ If the request is large, high-risk, multi-phase, or requirement-heavy, explain that the run should use the manual review flow with explicit human approval at each stage.
168
+
169
+ ### 2. If an approved discovery needs delivery boundaries
170
+
171
+ Recommend `/10-Define {discovery_id}` so Define can create one or more Running IDs.
172
+
173
+ If the go/no-go decision is not approved, return to `/00-Discover {discovery_id}` instead.
174
+
175
+ ### 3. If the task is already defined and needs requirements
176
+
177
+ Recommend `/20-Spec`.
178
+
179
+ ### 4. If requirements already exist and implementation planning is next
180
+
181
+ Recommend `/30-Plan`.
182
+
183
+ ### 5. If planning is done and work should begin
184
+
185
+ Recommend `/40-Implement`.
186
+
187
+ ### 6. If implementation exists and needs checking
188
+
189
+ Recommend `/50-Verify`.
190
+
191
+ ### 7. If work is done and needs a final human-friendly summary before release
192
+
193
+ Recommend `/60-Report`.
194
+
195
+ ### 8. If the work needs packaging or release handling after the report is aligned
196
+
197
+ Recommend `/70-Release`.
198
+
199
+ ## General Q And A Role
200
+
201
+ Help should:
202
+
203
+ - answer questions about the project, framework, commands, agents, and prompts
204
+ - recommend which public workflow, public companion command, or agent should be used next
205
+ - clarify the current 2.0 stage model and companion-command model
206
+ - explain when the manual review flow is the safer choice
207
+ - provide example prompts for other workflows or agents
208
+
209
+ When the user lacks context or the problem is unclear, Help may recommend `Research`, `Brainstorm`, or `Debug` instead of pretending the route is obvious.
210
+
211
+ ## Legacy Transition Notes
212
+
213
+ The following are legacy concepts in DevFlow 2.0:
214
+
215
+ - dashboard-first task flow
216
+ - JSON-first task contracts
217
+ - numbered utility workflows that are not true stage states
218
+
219
+ Legacy aliases are no longer part of the active command surface.
220
+
221
+ If a user mentions a removed legacy command, Help should:
222
+
223
+ 1. state that the legacy alias has been retired
224
+ 2. recommend the current 2.0 stage or companion command
225
+ 3. continue the conversation using only the current command name
226
+
227
+ If a user mentions an internal companion surface, Help should:
228
+
229
+ 1. explain that it is an internal support surface in DevFlow 2.0
230
+ 2. recommend the public command or mainline stage that should normally be used instead
231
+ 3. mention the internal surface only when the user is intentionally doing framework-level or advanced workflow work
232
+
233
+ ## Relationship To DevFlow 2.0
234
+
235
+ - Classification: Companion command
236
+ - Mainline status: Routing and explanation command, not a numbered stage
237
+ - Typical entry points: whenever the next step is unclear
238
+ - Typical handoff targets: any mainline stage or companion command that best matches the current state
239
+
240
+ ## Sources
241
+
242
+ - `AGENTS.md`
243
+ - `docs/workspace-artifacts.md`
244
+ - Related commands: all mainline stages, `Brainstorm`, `Research`, `Debug`, `Wiki`, `Agent`, `Goal`
245
+
246
+ ## Next Workflow Recommendation
247
+
248
+ - **Primary**: the workflow or companion command that best matches the user's current state
249
+ - **Why**: `Help` is the routing and coaching entry point for people and agents
250
+ - **Alternatives**:
251
+ - `Goal "{goal}"` for broad goals that need decomposition and routing
252
+ - `Wiki query {framework|project|all} "{question}"` when the user needs accumulated knowledge
253
+
@@ -0,0 +1,74 @@
1
+ ---
2
+ name: human-review-decisions
3
+ description: Handle human approval, feedback, rejection, and recheck decisions around verified work. Use when a task needs a human gate after verification and the result must route cleanly back into the DevFlow 2.0 lifecycle.
4
+ ---
5
+
6
+ # Human Review Decisions
7
+
8
+ ## Overview
9
+
10
+ This skill handles the human review loop after implementation and verification. It does not replace mainline stages; it records or advises the human decision and routes the task back to the right stage.
11
+
12
+ ## Supported Modes
13
+
14
+ - `approve`
15
+ - `feedback`
16
+ - `reject`
17
+ - `recheck`
18
+
19
+ ## When to Use
20
+
21
+ - After `/50-Verify` when a human must decide whether the work is acceptable
22
+ - When verified work needs non-blocking feedback
23
+ - When review fails and the task must be sent back with explicit action items
24
+ - When a read-only re-evaluation is needed before the human chooses a decision
25
+
26
+ ## Process
27
+
28
+ ### 1. Load The Review Context
29
+
30
+ Prefer these artifacts:
31
+
32
+ - `verify.md`
33
+ - `implement.md`
34
+ - `release.md`
35
+ - `report.md`
36
+
37
+ Read only what is necessary to understand the review question and evidence.
38
+
39
+ ### 2. Apply The Requested Decision
40
+
41
+ #### Approve
42
+
43
+ - confirm the task is genuinely review-ready
44
+ - record approval in the current review-facing artifact
45
+ - route to `/60-Report` first, then `/70-Release` when release execution is the remaining step
46
+
47
+ #### Feedback
48
+
49
+ - record requested improvements without treating them as hard rejection
50
+ - preserve the feedback round and source
51
+ - route to `/40-Implement` or `/30-Plan` if the feedback changes scope
52
+
53
+ #### Reject
54
+
55
+ - record rejection reason and concrete action items
56
+ - route to `/40-Implement`, `/30-Plan`, or `Debug` depending on the issue
57
+
58
+ #### Recheck
59
+
60
+ - keep the action read-only unless the user explicitly asks to record it
61
+ - evaluate the evidence and recommend `approve`, `feedback`, `reject`, or `/50-Verify`
62
+
63
+ ### 3. Record Reusable Lessons
64
+
65
+ If the review reveals a durable team lesson, add it to `devflow/lessons.md` or route to `Wiki`.
66
+
67
+ ## Output
68
+
69
+ Return:
70
+
71
+ - decision taken
72
+ - artifact updated or not updated
73
+ - next recommended stage or companion command
74
+ - any reusable lesson worth capturing
@@ -0,0 +1,154 @@
1
+ ---
2
+ name: i18n-localization
3
+ description: Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.
4
+ allowed-tools: Read, Glob, Grep
5
+ ---
6
+
7
+ # i18n & Localization
8
+
9
+ > Internationalization (i18n) and Localization (L10n) best practices.
10
+
11
+ ---
12
+
13
+ ## 1. Core Concepts
14
+
15
+ | Term | Meaning |
16
+ |------|---------|
17
+ | **i18n** | Internationalization - making app translatable |
18
+ | **L10n** | Localization - actual translations |
19
+ | **Locale** | Language + Region (en-US, tr-TR) |
20
+ | **RTL** | Right-to-left languages (Arabic, Hebrew) |
21
+
22
+ ---
23
+
24
+ ## 2. When to Use i18n
25
+
26
+ | Project Type | i18n Needed? |
27
+ |--------------|--------------|
28
+ | Public web app | ✅ Yes |
29
+ | SaaS product | ✅ Yes |
30
+ | Internal tool | ⚠️ Maybe |
31
+ | Single-region app | ⚠️ Consider future |
32
+ | Personal project | ❌ Optional |
33
+
34
+ ---
35
+
36
+ ## 3. Implementation Patterns
37
+
38
+ ### React (react-i18next)
39
+
40
+ ```tsx
41
+ import { useTranslation } from 'react-i18next';
42
+
43
+ function Welcome() {
44
+ const { t } = useTranslation();
45
+ return <h1>{t('welcome.title')}</h1>;
46
+ }
47
+ ```
48
+
49
+ ### Next.js (next-intl)
50
+
51
+ ```tsx
52
+ import { useTranslations } from 'next-intl';
53
+
54
+ export default function Page() {
55
+ const t = useTranslations('Home');
56
+ return <h1>{t('title')}</h1>;
57
+ }
58
+ ```
59
+
60
+ ### Python (gettext)
61
+
62
+ ```python
63
+ from gettext import gettext as _
64
+
65
+ print(_("Welcome to our app"))
66
+ ```
67
+
68
+ ---
69
+
70
+ ## 4. File Structure
71
+
72
+ ```
73
+ locales/
74
+ ├── en/
75
+ │ ├── common.json
76
+ │ ├── auth.json
77
+ │ └── errors.json
78
+ ├── tr/
79
+ │ ├── common.json
80
+ │ ├── auth.json
81
+ │ └── errors.json
82
+ └── ar/ # RTL
83
+ └── ...
84
+ ```
85
+
86
+ ---
87
+
88
+ ## 5. Best Practices
89
+
90
+ ### DO ✅
91
+
92
+ - Use translation keys, not raw text
93
+ - Namespace translations by feature
94
+ - Support pluralization
95
+ - Handle date/number formats per locale
96
+ - Plan for RTL from the start
97
+ - Use ICU message format for complex strings
98
+
99
+ ### DON'T ❌
100
+
101
+ - Hardcode strings in components
102
+ - Concatenate translated strings
103
+ - Assume text length (German is 30% longer)
104
+ - Forget about RTL layout
105
+ - Mix languages in same file
106
+
107
+ ---
108
+
109
+ ## 6. Common Issues
110
+
111
+ | Issue | Solution |
112
+ |-------|----------|
113
+ | Missing translation | Fallback to default language |
114
+ | Hardcoded strings | Use linter/checker script |
115
+ | Date format | Use Intl.DateTimeFormat |
116
+ | Number format | Use Intl.NumberFormat |
117
+ | Pluralization | Use ICU message format |
118
+
119
+ ---
120
+
121
+ ## 7. RTL Support
122
+
123
+ ```css
124
+ /* CSS Logical Properties */
125
+ .container {
126
+ margin-inline-start: 1rem; /* Not margin-left */
127
+ padding-inline-end: 1rem; /* Not padding-right */
128
+ }
129
+
130
+ [dir="rtl"] .icon {
131
+ transform: scaleX(-1);
132
+ }
133
+ ```
134
+
135
+ ---
136
+
137
+ ## 8. Checklist
138
+
139
+ Before shipping:
140
+
141
+ - [ ] All user-facing strings use translation keys
142
+ - [ ] Locale files exist for all supported languages
143
+ - [ ] Date/number formatting uses Intl API
144
+ - [ ] RTL layout tested (if applicable)
145
+ - [ ] Fallback language configured
146
+ - [ ] No hardcoded strings in components
147
+
148
+ ---
149
+
150
+ ## Script
151
+
152
+ | Script | Purpose | Command |
153
+ |--------|---------|---------|
154
+ | `scripts/i18n_checker.py` | Detect hardcoded strings & missing translations | `python scripts/i18n_checker.py <project_path>` |