@jakkrichm/create-nexus-devflow 2.0.20 → 2.0.21

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 (253) hide show
  1. package/dist/lib/update.js +19 -8
  2. package/dist/lib/update.js.map +1 -1
  3. package/package.json +1 -1
  4. package/template/.agents/skills/00-discover/SKILL.md +28 -116
  5. package/template/.agents/skills/40-execute/SKILL.md +1 -1
  6. package/template/.agents/skills/50-verify/SKILL.md +28 -161
  7. package/template/.agents/skills/60-report/SKILL.md +19 -92
  8. package/template/.agents/skills/70-release/SKILL.md +36 -11
  9. package/template/.agents/skills/check/SKILL.md +19 -7
  10. package/template/.agents/skills/complete/SKILL.md +21 -10
  11. package/template/.claude/skills/00-discover/SKILL.md +28 -116
  12. package/template/.claude/skills/40-execute/SKILL.md +1 -1
  13. package/template/.claude/skills/50-verify/SKILL.md +28 -161
  14. package/template/.claude/skills/60-report/SKILL.md +19 -92
  15. package/template/.claude/skills/70-release/SKILL.md +36 -11
  16. package/template/.claude/skills/check/SKILL.md +19 -7
  17. package/template/.claude/skills/complete/SKILL.md +21 -10
  18. package/template/AGENTS.md +1 -1
  19. package/template/devflow/context/coding-standards.md +40 -29
  20. package/template/.agents/skills/agent/SKILL.md +0 -165
  21. package/template/.agents/skills/api-and-interface-design/SKILL.md +0 -294
  22. package/template/.agents/skills/app-builder/SKILL.md +0 -75
  23. package/template/.agents/skills/app-builder/agent-coordination.md +0 -71
  24. package/template/.agents/skills/app-builder/feature-building.md +0 -53
  25. package/template/.agents/skills/app-builder/project-detection.md +0 -34
  26. package/template/.agents/skills/app-builder/scaffolding.md +0 -118
  27. package/template/.agents/skills/app-builder/tech-stack.md +0 -40
  28. package/template/.agents/skills/app-builder/templates/SKILL.md +0 -39
  29. package/template/.agents/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
  30. package/template/.agents/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
  31. package/template/.agents/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
  32. package/template/.agents/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
  33. package/template/.agents/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
  34. package/template/.agents/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
  35. package/template/.agents/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
  36. package/template/.agents/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -122
  37. package/template/.agents/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -122
  38. package/template/.agents/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -169
  39. package/template/.agents/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -134
  40. package/template/.agents/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
  41. package/template/.agents/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -119
  42. package/template/.agents/skills/architecture/SKILL.md +0 -55
  43. package/template/.agents/skills/architecture/context-discovery.md +0 -43
  44. package/template/.agents/skills/architecture/examples.md +0 -94
  45. package/template/.agents/skills/architecture/pattern-selection.md +0 -68
  46. package/template/.agents/skills/architecture/patterns-reference.md +0 -50
  47. package/template/.agents/skills/architecture/trade-off-analysis.md +0 -77
  48. package/template/.agents/skills/bash-linux/SKILL.md +0 -199
  49. package/template/.agents/skills/behavioral-modes/SKILL.md +0 -242
  50. package/template/.agents/skills/brainstorm/SKILL.md +0 -168
  51. package/template/.agents/skills/changelog/SKILL.md +0 -109
  52. package/template/.agents/skills/codebase-design/DEEPENING.md +0 -24
  53. package/template/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +0 -28
  54. package/template/.agents/skills/codebase-design/SKILL.md +0 -58
  55. package/template/.agents/skills/commit/SKILL.md +0 -59
  56. package/template/.agents/skills/competitor-analysis/SKILL.md +0 -66
  57. package/template/.agents/skills/context-engineering/SKILL.md +0 -290
  58. package/template/.agents/skills/database-design/SKILL.md +0 -52
  59. package/template/.agents/skills/database-design/database-selection.md +0 -43
  60. package/template/.agents/skills/database-design/indexing.md +0 -39
  61. package/template/.agents/skills/database-design/migrations.md +0 -48
  62. package/template/.agents/skills/database-design/optimization.md +0 -36
  63. package/template/.agents/skills/database-design/orm-selection.md +0 -30
  64. package/template/.agents/skills/database-design/schema-design.md +0 -56
  65. package/template/.agents/skills/database-design/scripts/schema_validator.py +0 -172
  66. package/template/.agents/skills/deploy/SKILL.md +0 -63
  67. package/template/.agents/skills/documentation-and-adrs/SKILL.md +0 -278
  68. package/template/.agents/skills/domain-modeling/ADR-FORMAT.md +0 -47
  69. package/template/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
  70. package/template/.agents/skills/domain-modeling/SKILL.md +0 -74
  71. package/template/.agents/skills/followup/SKILL.md +0 -83
  72. package/template/.agents/skills/frontend-ui-engineering/SKILL.md +0 -326
  73. package/template/.agents/skills/frontend-ui-engineering/accessibility-checklist.md +0 -159
  74. package/template/.agents/skills/goal/SKILL.md +0 -148
  75. package/template/.agents/skills/handoff/SKILL.md +0 -46
  76. package/template/.agents/skills/help/SKILL.md +0 -253
  77. package/template/.agents/skills/i18n-localization/SKILL.md +0 -154
  78. package/template/.agents/skills/i18n-localization/scripts/i18n_checker.py +0 -241
  79. package/template/.agents/skills/insight/SKILL.md +0 -42
  80. package/template/.agents/skills/issue-triage/SKILL.md +0 -115
  81. package/template/.agents/skills/lint-and-validate/SKILL.md +0 -45
  82. package/template/.agents/skills/lint-and-validate/scripts/lint_runner.py +0 -184
  83. package/template/.agents/skills/lint-and-validate/scripts/type_coverage.py +0 -173
  84. package/template/.agents/skills/mcp-builder/SKILL.md +0 -176
  85. package/template/.agents/skills/merge/SKILL.md +0 -76
  86. package/template/.agents/skills/mobile-design/SKILL.md +0 -394
  87. package/template/.agents/skills/mobile-design/decision-trees.md +0 -516
  88. package/template/.agents/skills/mobile-design/mobile-backend.md +0 -491
  89. package/template/.agents/skills/mobile-design/mobile-color-system.md +0 -420
  90. package/template/.agents/skills/mobile-design/mobile-debugging.md +0 -122
  91. package/template/.agents/skills/mobile-design/mobile-design-thinking.md +0 -357
  92. package/template/.agents/skills/mobile-design/mobile-navigation.md +0 -458
  93. package/template/.agents/skills/mobile-design/mobile-performance.md +0 -767
  94. package/template/.agents/skills/mobile-design/mobile-testing.md +0 -356
  95. package/template/.agents/skills/mobile-design/mobile-typography.md +0 -433
  96. package/template/.agents/skills/mobile-design/platform-android.md +0 -666
  97. package/template/.agents/skills/mobile-design/platform-ios.md +0 -561
  98. package/template/.agents/skills/mobile-design/scripts/mobile_audit.py +0 -670
  99. package/template/.agents/skills/mobile-design/touch-psychology.md +0 -537
  100. package/template/.agents/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +0 -312
  101. package/template/.agents/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +0 -240
  102. package/template/.agents/skills/nextjs-react-expert/3-server-server-side-performance.md +0 -490
  103. package/template/.agents/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +0 -264
  104. package/template/.agents/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +0 -581
  105. package/template/.agents/skills/nextjs-react-expert/6-rendering-rendering-performance.md +0 -432
  106. package/template/.agents/skills/nextjs-react-expert/7-js-javascript-performance.md +0 -684
  107. package/template/.agents/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +0 -150
  108. package/template/.agents/skills/nextjs-react-expert/SKILL.md +0 -286
  109. package/template/.agents/skills/nextjs-react-expert/scripts/convert_rules.py +0 -222
  110. package/template/.agents/skills/nextjs-react-expert/scripts/react_performance_checker.py +0 -252
  111. package/template/.agents/skills/nodejs-best-practices/SKILL.md +0 -333
  112. package/template/.agents/skills/package-json-generator/SKILL.md +0 -60
  113. package/template/.agents/skills/package-json-generator/scripts/generate.js +0 -120
  114. package/template/.agents/skills/package-json-generator/scripts/run.sh +0 -19
  115. package/template/.agents/skills/parallel-agents/SKILL.md +0 -144
  116. package/template/.agents/skills/performance-optimization/SKILL.md +0 -299
  117. package/template/.agents/skills/performance-optimization/performance-checklist.md +0 -113
  118. package/template/.agents/skills/powershell-windows/SKILL.md +0 -167
  119. package/template/.agents/skills/pr/SKILL.md +0 -93
  120. package/template/.agents/skills/prd/SKILL.md +0 -127
  121. package/template/.agents/skills/preview/SKILL.md +0 -42
  122. package/template/.agents/skills/python-patterns/SKILL.md +0 -441
  123. package/template/.agents/skills/research/SKILL.md +0 -143
  124. package/template/.agents/skills/review/SKILL.md +0 -71
  125. package/template/.agents/skills/roadmap-strategy/SKILL.md +0 -94
  126. package/template/.agents/skills/security-review/SKILL.md +0 -63
  127. package/template/.agents/skills/seo-fundamentals/SKILL.md +0 -129
  128. package/template/.agents/skills/seo-fundamentals/scripts/seo_checker.py +0 -219
  129. package/template/.agents/skills/server-management/SKILL.md +0 -161
  130. package/template/.agents/skills/simplify/SKILL.md +0 -70
  131. package/template/.agents/skills/skill-development/SKILL.md +0 -86
  132. package/template/.agents/skills/spec/SKILL.md +0 -39
  133. package/template/.agents/skills/spec-driven-development/SKILL.md +0 -207
  134. package/template/.agents/skills/tailwind-patterns/SKILL.md +0 -269
  135. package/template/.agents/skills/type-design/SKILL.md +0 -84
  136. package/template/.agents/skills/ui-ux-pro-max/SKILL.md +0 -75
  137. package/template/.claude/skills/agent/SKILL.md +0 -165
  138. package/template/.claude/skills/api-and-interface-design/SKILL.md +0 -294
  139. package/template/.claude/skills/app-builder/SKILL.md +0 -75
  140. package/template/.claude/skills/app-builder/agent-coordination.md +0 -71
  141. package/template/.claude/skills/app-builder/feature-building.md +0 -53
  142. package/template/.claude/skills/app-builder/project-detection.md +0 -34
  143. package/template/.claude/skills/app-builder/scaffolding.md +0 -118
  144. package/template/.claude/skills/app-builder/tech-stack.md +0 -40
  145. package/template/.claude/skills/app-builder/templates/SKILL.md +0 -39
  146. package/template/.claude/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
  147. package/template/.claude/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
  148. package/template/.claude/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
  149. package/template/.claude/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
  150. package/template/.claude/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
  151. package/template/.claude/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
  152. package/template/.claude/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
  153. package/template/.claude/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -122
  154. package/template/.claude/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -122
  155. package/template/.claude/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -169
  156. package/template/.claude/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -134
  157. package/template/.claude/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
  158. package/template/.claude/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -119
  159. package/template/.claude/skills/architecture/SKILL.md +0 -55
  160. package/template/.claude/skills/architecture/context-discovery.md +0 -43
  161. package/template/.claude/skills/architecture/examples.md +0 -94
  162. package/template/.claude/skills/architecture/pattern-selection.md +0 -68
  163. package/template/.claude/skills/architecture/patterns-reference.md +0 -50
  164. package/template/.claude/skills/architecture/trade-off-analysis.md +0 -77
  165. package/template/.claude/skills/bash-linux/SKILL.md +0 -199
  166. package/template/.claude/skills/behavioral-modes/SKILL.md +0 -242
  167. package/template/.claude/skills/brainstorm/SKILL.md +0 -168
  168. package/template/.claude/skills/changelog/SKILL.md +0 -109
  169. package/template/.claude/skills/codebase-design/DEEPENING.md +0 -24
  170. package/template/.claude/skills/codebase-design/DESIGN-IT-TWICE.md +0 -28
  171. package/template/.claude/skills/codebase-design/SKILL.md +0 -58
  172. package/template/.claude/skills/commit/SKILL.md +0 -59
  173. package/template/.claude/skills/competitor-analysis/SKILL.md +0 -66
  174. package/template/.claude/skills/context-engineering/SKILL.md +0 -290
  175. package/template/.claude/skills/database-design/SKILL.md +0 -52
  176. package/template/.claude/skills/database-design/database-selection.md +0 -43
  177. package/template/.claude/skills/database-design/indexing.md +0 -39
  178. package/template/.claude/skills/database-design/migrations.md +0 -48
  179. package/template/.claude/skills/database-design/optimization.md +0 -36
  180. package/template/.claude/skills/database-design/orm-selection.md +0 -30
  181. package/template/.claude/skills/database-design/schema-design.md +0 -56
  182. package/template/.claude/skills/database-design/scripts/schema_validator.py +0 -172
  183. package/template/.claude/skills/deploy/SKILL.md +0 -63
  184. package/template/.claude/skills/documentation-and-adrs/SKILL.md +0 -278
  185. package/template/.claude/skills/domain-modeling/ADR-FORMAT.md +0 -47
  186. package/template/.claude/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
  187. package/template/.claude/skills/domain-modeling/SKILL.md +0 -74
  188. package/template/.claude/skills/followup/SKILL.md +0 -83
  189. package/template/.claude/skills/frontend-ui-engineering/SKILL.md +0 -326
  190. package/template/.claude/skills/frontend-ui-engineering/accessibility-checklist.md +0 -159
  191. package/template/.claude/skills/goal/SKILL.md +0 -148
  192. package/template/.claude/skills/handoff/SKILL.md +0 -46
  193. package/template/.claude/skills/help/SKILL.md +0 -253
  194. package/template/.claude/skills/i18n-localization/SKILL.md +0 -154
  195. package/template/.claude/skills/i18n-localization/scripts/i18n_checker.py +0 -241
  196. package/template/.claude/skills/insight/SKILL.md +0 -42
  197. package/template/.claude/skills/issue-triage/SKILL.md +0 -115
  198. package/template/.claude/skills/lint-and-validate/SKILL.md +0 -45
  199. package/template/.claude/skills/lint-and-validate/scripts/lint_runner.py +0 -184
  200. package/template/.claude/skills/lint-and-validate/scripts/type_coverage.py +0 -173
  201. package/template/.claude/skills/mcp-builder/SKILL.md +0 -176
  202. package/template/.claude/skills/merge/SKILL.md +0 -76
  203. package/template/.claude/skills/mobile-design/SKILL.md +0 -394
  204. package/template/.claude/skills/mobile-design/decision-trees.md +0 -516
  205. package/template/.claude/skills/mobile-design/mobile-backend.md +0 -491
  206. package/template/.claude/skills/mobile-design/mobile-color-system.md +0 -420
  207. package/template/.claude/skills/mobile-design/mobile-debugging.md +0 -122
  208. package/template/.claude/skills/mobile-design/mobile-design-thinking.md +0 -357
  209. package/template/.claude/skills/mobile-design/mobile-navigation.md +0 -458
  210. package/template/.claude/skills/mobile-design/mobile-performance.md +0 -767
  211. package/template/.claude/skills/mobile-design/mobile-testing.md +0 -356
  212. package/template/.claude/skills/mobile-design/mobile-typography.md +0 -433
  213. package/template/.claude/skills/mobile-design/platform-android.md +0 -666
  214. package/template/.claude/skills/mobile-design/platform-ios.md +0 -561
  215. package/template/.claude/skills/mobile-design/scripts/mobile_audit.py +0 -670
  216. package/template/.claude/skills/mobile-design/touch-psychology.md +0 -537
  217. package/template/.claude/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +0 -312
  218. package/template/.claude/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +0 -240
  219. package/template/.claude/skills/nextjs-react-expert/3-server-server-side-performance.md +0 -490
  220. package/template/.claude/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +0 -264
  221. package/template/.claude/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +0 -581
  222. package/template/.claude/skills/nextjs-react-expert/6-rendering-rendering-performance.md +0 -432
  223. package/template/.claude/skills/nextjs-react-expert/7-js-javascript-performance.md +0 -684
  224. package/template/.claude/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +0 -150
  225. package/template/.claude/skills/nextjs-react-expert/SKILL.md +0 -286
  226. package/template/.claude/skills/nextjs-react-expert/scripts/convert_rules.py +0 -222
  227. package/template/.claude/skills/nextjs-react-expert/scripts/react_performance_checker.py +0 -252
  228. package/template/.claude/skills/nodejs-best-practices/SKILL.md +0 -333
  229. package/template/.claude/skills/package-json-generator/SKILL.md +0 -60
  230. package/template/.claude/skills/package-json-generator/scripts/generate.js +0 -120
  231. package/template/.claude/skills/package-json-generator/scripts/run.sh +0 -19
  232. package/template/.claude/skills/parallel-agents/SKILL.md +0 -144
  233. package/template/.claude/skills/performance-optimization/SKILL.md +0 -299
  234. package/template/.claude/skills/performance-optimization/performance-checklist.md +0 -113
  235. package/template/.claude/skills/powershell-windows/SKILL.md +0 -167
  236. package/template/.claude/skills/pr/SKILL.md +0 -93
  237. package/template/.claude/skills/prd/SKILL.md +0 -127
  238. package/template/.claude/skills/preview/SKILL.md +0 -42
  239. package/template/.claude/skills/python-patterns/SKILL.md +0 -441
  240. package/template/.claude/skills/research/SKILL.md +0 -143
  241. package/template/.claude/skills/review/SKILL.md +0 -71
  242. package/template/.claude/skills/roadmap-strategy/SKILL.md +0 -94
  243. package/template/.claude/skills/security-review/SKILL.md +0 -63
  244. package/template/.claude/skills/seo-fundamentals/SKILL.md +0 -129
  245. package/template/.claude/skills/seo-fundamentals/scripts/seo_checker.py +0 -219
  246. package/template/.claude/skills/server-management/SKILL.md +0 -161
  247. package/template/.claude/skills/simplify/SKILL.md +0 -70
  248. package/template/.claude/skills/skill-development/SKILL.md +0 -86
  249. package/template/.claude/skills/spec/SKILL.md +0 -39
  250. package/template/.claude/skills/spec-driven-development/SKILL.md +0 -207
  251. package/template/.claude/skills/tailwind-patterns/SKILL.md +0 -269
  252. package/template/.claude/skills/type-design/SKILL.md +0 -84
  253. package/template/.claude/skills/ui-ux-pro-max/SKILL.md +0 -75
@@ -1,88 +0,0 @@
1
- ---
2
- name: electron-desktop
3
- description: Electron desktop app template principles. Cross-platform, React, TypeScript.
4
- ---
5
-
6
- # Electron Desktop App Template
7
-
8
- ## Tech Stack
9
-
10
- | Component | Technology |
11
- |-----------|------------|
12
- | Framework | Electron 28+ |
13
- | UI | React 18 |
14
- | Language | TypeScript |
15
- | Styling | Tailwind CSS |
16
- | Bundler | Vite + electron-builder |
17
- | IPC | Type-safe communication |
18
-
19
- ---
20
-
21
- ## Directory Structure
22
-
23
- ```
24
- project-name/
25
- ├── electron/
26
- │ ├── main.ts # Main process
27
- │ ├── preload.ts # Preload script
28
- │ └── ipc/ # IPC handlers
29
- ├── src/
30
- │ ├── App.tsx
31
- │ ├── components/
32
- │ │ ├── TitleBar.tsx # Custom title bar
33
- │ │ └── ...
34
- │ └── hooks/
35
- ├── public/
36
- └── package.json
37
- ```
38
-
39
- ---
40
-
41
- ## Process Model
42
-
43
- | Process | Role |
44
- |---------|------|
45
- | Main | Node.js, system access |
46
- | Renderer | Chromium, React UI |
47
- | Preload | Bridge, context isolation |
48
-
49
- ---
50
-
51
- ## Key Concepts
52
-
53
- | Concept | Purpose |
54
- |---------|---------|
55
- | contextBridge | Safe API exposure |
56
- | ipcMain/ipcRenderer | Process communication |
57
- | nodeIntegration: false | Security |
58
- | contextIsolation: true | Security |
59
-
60
- ---
61
-
62
- ## Setup Steps
63
-
64
- 1. `npm create vite {{name}} -- --template react-ts`
65
- 2. Install: `npm install -D electron electron-builder vite-plugin-electron`
66
- 3. Create electron/ directory
67
- 4. Configure main process
68
- 5. `npm run electron:dev`
69
-
70
- ---
71
-
72
- ## Build Targets
73
-
74
- | Platform | Output |
75
- |----------|--------|
76
- | Windows | NSIS, Portable |
77
- | macOS | DMG, ZIP |
78
- | Linux | AppImage, DEB |
79
-
80
- ---
81
-
82
- ## Best Practices
83
-
84
- - Use preload script for main/renderer bridge
85
- - Type-safe IPC with typed handlers
86
- - Custom title bar for native feel
87
- - Handle window state (maximize, minimize)
88
- - Auto-updates with electron-updater
@@ -1,83 +0,0 @@
1
- ---
2
- name: express-api
3
- description: Express.js REST API template principles. TypeScript, Prisma, JWT.
4
- ---
5
-
6
- # Express.js API Template
7
-
8
- ## Tech Stack
9
-
10
- | Component | Technology |
11
- |-----------|------------|
12
- | Runtime | Node.js 20+ |
13
- | Framework | Express.js |
14
- | Language | TypeScript |
15
- | Database | PostgreSQL + Prisma |
16
- | Validation | Zod |
17
- | Auth | JWT + bcrypt |
18
-
19
- ---
20
-
21
- ## Directory Structure
22
-
23
- ```
24
- project-name/
25
- ├── prisma/
26
- │ └── schema.prisma
27
- ├── src/
28
- │ ├── app.ts # Express setup
29
- │ ├── config/ # Environment
30
- │ ├── routes/ # Route handlers
31
- │ ├── controllers/ # Business logic
32
- │ ├── services/ # Data access
33
- │ ├── middleware/
34
- │ │ ├── auth.ts # JWT verify
35
- │ │ ├── error.ts # Error handler
36
- │ │ └── validate.ts # Zod validation
37
- │ ├── schemas/ # Zod schemas
38
- │ └── utils/
39
- └── package.json
40
- ```
41
-
42
- ---
43
-
44
- ## Middleware Stack
45
-
46
- | Order | Middleware |
47
- |-------|------------|
48
- | 1 | helmet (security) |
49
- | 2 | cors |
50
- | 3 | morgan (logging) |
51
- | 4 | body parsing |
52
- | 5 | routes |
53
- | 6 | error handler |
54
-
55
- ---
56
-
57
- ## API Response Format
58
-
59
- | Type | Structure |
60
- |------|-----------|
61
- | Success | `{ success: true, data: {...} }` |
62
- | Error | `{ error: "message", details: [...] }` |
63
-
64
- ---
65
-
66
- ## Setup Steps
67
-
68
- 1. Create project directory
69
- 2. `npm init -y`
70
- 3. Install deps: `npm install express prisma zod bcrypt jsonwebtoken`
71
- 4. Configure Prisma
72
- 5. `npm run db:push`
73
- 6. `npm run dev`
74
-
75
- ---
76
-
77
- ## Best Practices
78
-
79
- - Layer architecture (routes → controllers → services)
80
- - Validate all inputs with Zod
81
- - Centralized error handling
82
- - Environment-based config
83
- - Use Prisma for type-safe DB access
@@ -1,90 +0,0 @@
1
- ---
2
- name: flutter-app
3
- description: Flutter mobile app template principles. Riverpod, Go Router, clean architecture.
4
- ---
5
-
6
- # Flutter App Template
7
-
8
- ## Tech Stack
9
-
10
- | Component | Technology |
11
- |-----------|------------|
12
- | Framework | Flutter 3.x |
13
- | Language | Dart 3.x |
14
- | State | Riverpod 2.0 |
15
- | Navigation | Go Router |
16
- | HTTP | Dio |
17
- | Storage | Hive |
18
-
19
- ---
20
-
21
- ## Directory Structure
22
-
23
- ```
24
- project_name/
25
- ├── lib/
26
- │ ├── main.dart
27
- │ ├── app.dart
28
- │ ├── core/
29
- │ │ ├── constants/
30
- │ │ ├── theme/
31
- │ │ ├── router/
32
- │ │ └── utils/
33
- │ ├── features/
34
- │ │ ├── auth/
35
- │ │ │ ├── data/
36
- │ │ │ ├── domain/
37
- │ │ │ └── presentation/
38
- │ │ └── home/
39
- │ ├── shared/
40
- │ │ ├── widgets/
41
- │ │ └── providers/
42
- │ └── services/
43
- │ ├── api/
44
- │ └── storage/
45
- ├── test/
46
- └── pubspec.yaml
47
- ```
48
-
49
- ---
50
-
51
- ## Architecture Layers
52
-
53
- | Layer | Contents |
54
- |-------|----------|
55
- | Presentation | Screens, Widgets, Providers |
56
- | Domain | Entities, Use Cases |
57
- | Data | Repositories, Models |
58
-
59
- ---
60
-
61
- ## Key Packages
62
-
63
- | Package | Purpose |
64
- |---------|---------|
65
- | flutter_riverpod | State management |
66
- | riverpod_annotation | Code generation |
67
- | go_router | Navigation |
68
- | dio | HTTP client |
69
- | freezed | Immutable models |
70
- | hive | Local storage |
71
-
72
- ---
73
-
74
- ## Setup Steps
75
-
76
- 1. `flutter create {{name}} --org com.{{bundle}}`
77
- 2. Update `pubspec.yaml`
78
- 3. `flutter pub get`
79
- 4. Run code generation: `dart run build_runner build`
80
- 5. `flutter run`
81
-
82
- ---
83
-
84
- ## Best Practices
85
-
86
- - Feature-first folder structure
87
- - Riverpod for state, React Query pattern for server state
88
- - Freezed for immutable data classes
89
- - Go Router for declarative navigation
90
- - Material 3 theming
@@ -1,90 +0,0 @@
1
- ---
2
- name: monorepo-turborepo
3
- description: Turborepo monorepo template principles. pnpm workspaces, shared packages.
4
- ---
5
-
6
- # Turborepo Monorepo Template
7
-
8
- ## Tech Stack
9
-
10
- | Component | Technology |
11
- |-----------|------------|
12
- | Build System | Turborepo |
13
- | Package Manager | pnpm |
14
- | Apps | Next.js, Express |
15
- | Packages | Shared UI, Config, Types |
16
- | Language | TypeScript |
17
-
18
- ---
19
-
20
- ## Directory Structure
21
-
22
- ```
23
- project-name/
24
- ├── apps/
25
- │ ├── web/ # Next.js app
26
- │ ├── api/ # Express API
27
- │ └── docs/ # Documentation
28
- ├── packages/
29
- │ ├── ui/ # Shared components
30
- │ ├── config/ # ESLint, TS, Tailwind
31
- │ ├── types/ # Shared types
32
- │ └── utils/ # Shared utilities
33
- ├── turbo.json
34
- ├── pnpm-workspace.yaml
35
- └── package.json
36
- ```
37
-
38
- ---
39
-
40
- ## Key Concepts
41
-
42
- | Concept | Description |
43
- |---------|-------------|
44
- | Workspaces | pnpm-workspace.yaml |
45
- | Pipeline | turbo.json task graph |
46
- | Caching | Remote/local task caching |
47
- | Dependencies | `workspace:*` protocol |
48
-
49
- ---
50
-
51
- ## Turbo Pipeline
52
-
53
- | Task | Depends On |
54
- |------|------------|
55
- | build | ^build (dependencies first) |
56
- | dev | cache: false, persistent |
57
- | lint | ^build |
58
- | test | ^build |
59
-
60
- ---
61
-
62
- ## Setup Steps
63
-
64
- 1. Create root directory
65
- 2. `pnpm init`
66
- 3. Create pnpm-workspace.yaml
67
- 4. Create turbo.json
68
- 5. Add apps and packages
69
- 6. `pnpm install`
70
- 7. `pnpm dev`
71
-
72
- ---
73
-
74
- ## Common Commands
75
-
76
- | Command | Description |
77
- |---------|-------------|
78
- | `pnpm dev` | Run all apps |
79
- | `pnpm build` | Build all |
80
- | `pnpm --filter @name/web dev` | Run specific app |
81
- | `pnpm --filter @name/web add axios` | Add dep to app |
82
-
83
- ---
84
-
85
- ## Best Practices
86
-
87
- - Shared configs in packages/config
88
- - Shared types in packages/types
89
- - Internal packages with `workspace:*`
90
- - Use Turbo remote caching for CI
@@ -1,122 +0,0 @@
1
- ---
2
- name: nextjs-fullstack
3
- description: Next.js full-stack template principles. App Router, Prisma, Tailwind v4.
4
- ---
5
-
6
- # Next.js Full-Stack Template (2026 Edition)
7
-
8
- ## Tech Stack
9
-
10
- | Component | Technology | Version / Notes |
11
- |-----------|------------|-----------------|
12
- | Framework | Next.js | v16+ (App Router, Turbopack) |
13
- | Language | TypeScript | v5+ (Strict Mode) |
14
- | Database | PostgreSQL | Prisma ORM (Serverless friendly) |
15
- | Styling | Tailwind CSS | v4.0 (Zero-config, CSS-first) |
16
- | Auth | Clerk / Better Auth | Middleware Protected Routes |
17
- | UI Logic | React 19 | Server Actions, useActionState |
18
- | Validation | Zod | Schema validation (API & Forms) |
19
-
20
- ---
21
-
22
- ## Directory Structure
23
-
24
- ```
25
- project-name/
26
- ├── prisma/
27
- │ └── schema.prisma # Database schema
28
- ├── src/
29
- │ ├── app/
30
- │ │ ├── (auth)/ # Route groups for Login/Register
31
- │ │ ├── (dashboard)/ # Protected routes
32
- │ │ ├── api/ # Route Handlers (only for Webhooks/External integration)
33
- │ │ ├── layout.tsx # Root Layout (Metadata, Providers)
34
- │ │ ├── page.tsx # Landing Page
35
- │ │ └── globals.css # Tailwind v4 config (@theme) lives here
36
- │ ├── components/
37
- │ │ ├── ui/ # Reusable UI (Button, Input)
38
- │ │ └── forms/ # Client forms using useActionState
39
- │ ├── lib/
40
- │ │ ├── db.ts # Prisma singleton client
41
- │ │ ├── utils.ts # Helper functions
42
- │ │ └── dal.ts # Data Access Layer (Server-only)
43
- │ ├── actions/ # Server Actions (Mutations)
44
- │ └── types/ # Global TS Types
45
- ├── public/
46
- ├── next.config.ts # TypeScript Config
47
- └── package.json
48
- ```
49
-
50
- ---
51
-
52
- ## Key Concepts (Updated)
53
-
54
- | Concept | Description |
55
- |---------|-------------|
56
- | Server Components | Render on server (default). Direct DB access (Prisma) without APIs. |
57
- | Server Actions | Handle Form mutations. Replaces traditional API Routes. Use in action={}. |
58
- | React 19 Hooks | Form state management: useActionState, useFormStatus, useOptimistic. |
59
- | Data Access Layer | Data security. Separation of DB logic (DTOs) for safe reuse. |
60
- | Tailwind v4 | Styling engine. No tailwind.config.js. Config directly in CSS. |
61
-
62
- ---
63
-
64
- ## Environment Variables
65
-
66
- | Variable | Purpose |
67
- |----------|---------|
68
- | DATABASE_URL | PostgreSQL connection string (Prisma) |
69
- | NEXT_PUBLIC_APP_URL | Public application URL |
70
- | NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY | Auth (if using Clerk) |
71
- | CLERK_SECRET_KEY | Auth Secret (Server only) |
72
-
73
- ---
74
-
75
- ## Setup Steps
76
-
77
- 1. Initialize Project:
78
- ```bash
79
- npx create-next-app@latest my-app --typescript --tailwind --eslint
80
- # Select Yes for App Router
81
- # Select No for src directory (optional, this template uses src)
82
- ```
83
-
84
- 2. Install DB & Validation:
85
- ```bash
86
- npm install prisma @prisma/client zod
87
- npm install -D ts-node # For running seed scripts
88
- ```
89
-
90
- 3. Configure Tailwind v4 (If missing):
91
- Ensure `src/app/globals.css` uses the new import syntax instead of a config file:
92
- ```css
93
- @import "tailwindcss";
94
-
95
- @theme {
96
- --color-primary: oklch(0.5 0.2 240);
97
- --font-sans: "Inter", sans-serif;
98
- }
99
- ```
100
-
101
- 4. Initialize Database:
102
- ```bash
103
- npx prisma init
104
- # Update schema.prisma
105
- npm run db:push
106
- ```
107
-
108
- 5. Run Developer Server:
109
- ```bash
110
- npm run dev --turbo
111
- # --turbo to enable faster Turbopack
112
- ```
113
-
114
- ---
115
-
116
- ## Best Practices (2026 Standards)
117
-
118
- - **Fetch Data**: Call Prisma directly in Server Components (async/await). Do not use useEffect for initial data fetching.
119
- - **Mutations**: Use Server Actions combined with React 19's `useActionState` to handle loading and error states instead of manual useState.
120
- - **Type Safety**: Share Zod schemas between Server Actions (input validation) and Client Forms.
121
- - **Security**: Always validate input data with Zod before passing it to Prisma.
122
- - **Styling**: Use native CSS variables in Tailwind v4 for easier dynamic theming.
@@ -1,122 +0,0 @@
1
- ---
2
- name: nextjs-saas
3
- description: Next.js SaaS template principles (2026 Standards). React 19, Server Actions, Auth.js v6.
4
- ---
5
-
6
- # Next.js SaaS Template (Updated 2026)
7
-
8
- ## Tech Stack
9
-
10
- | Component | Technology | Version / Notes |
11
- |-----------|------------|-----------------|
12
- | Framework | Next.js | v16+ (App Router, React Compiler) |
13
- | Runtime | Node.js | v24 (Krypton LTS) |
14
- | Auth | Auth.js | v6 (formerly NextAuth) |
15
- | Payments | Stripe API | Latest |
16
- | Database | PostgreSQL | Prisma v6 (Serverless Driver) |
17
- | Email | Resend | React Email |
18
- | UI | Tailwind CSS | v4 (Oxide Engine, no config file) |
19
-
20
- ---
21
-
22
- ## Directory Structure
23
-
24
- ```
25
- project-name/
26
- ├── prisma/
27
- │ └── schema.prisma # Database Schema
28
- ├── src/
29
- │ ├── actions/ # NEW: Server Actions (Replaces API Routes for data mutation)
30
- │ │ ├── auth-actions.ts
31
- │ │ ├── billing-actions.ts
32
- │ │ └── user-actions.ts
33
- │ ├── app/
34
- │ │ ├── (auth)/ # Route Group: Login, register
35
- │ │ ├── (dashboard)/ # Route Group: Protected routes (App Layout)
36
- │ │ ├── (marketing)/ # Route Group: Landing, pricing (Marketing Layout)
37
- │ │ └── api/ # Only used for Webhooks or Edge cases
38
- │ │ └── webhooks/stripe/
39
- │ ├── components/
40
- │ │ ├── emails/ # React Email templates
41
- │ │ ├── forms/ # Client components using useActionState (React 19)
42
- │ │ └── ui/ # Shadcn UI
43
- │ ├── lib/
44
- │ │ ├── auth.ts # Auth.js v6 config
45
- │ │ ├── db.ts # Prisma Singleton
46
- │ │ └── stripe.ts # Stripe Singleton
47
- │ └── styles/
48
- │ └── globals.css # Tailwind v4 imports (CSS only)
49
- └── package.json
50
- ```
51
-
52
- ---
53
-
54
- ## SaaS Features
55
-
56
- | Feature | Implementation |
57
- |---------|---------------|
58
- | Auth | Auth.js v6 + Passkeys + OAuth |
59
- | Data Mutation | Server Actions (No API routes) |
60
- | Subscriptions | Stripe Checkout & Customer Portal |
61
- | Webhooks | Asynchronous Stripe event handling |
62
- | Email | Transactional via Resend |
63
- | Validation | Zod (Server-side validation) |
64
-
65
- ---
66
-
67
- ## Database Schema
68
-
69
- | Model | Fields (Key fields) |
70
- |-------|---------------------|
71
- | User | id, email, stripeCustomerId, subscriptionId, plan |
72
- | Account | OAuth provider data (Google, GitHub...) |
73
- | Session | User sessions (Database strategy) |
74
-
75
- ---
76
-
77
- ## Environment Variables
78
-
79
- | Variable | Purpose |
80
- |----------|---------|
81
- | DATABASE_URL | Prisma connection string (Postgres) |
82
- | AUTH_SECRET | Replaces NEXTAUTH_SECRET (Auth.js v6) |
83
- | STRIPE_SECRET_KEY | Payments (Server-side) |
84
- | STRIPE_WEBHOOK_SECRET | Webhook verification |
85
- | RESEND_API_KEY | Email sending |
86
- | NEXT_PUBLIC_APP_URL | Application Canonical URL |
87
-
88
- ---
89
-
90
- ## Setup Steps
91
-
92
- 1. Initialize project (Node 24):
93
- ```bash
94
- npx create-next-app@latest {{name}} --typescript --eslint
95
- ```
96
-
97
- 2. Install core libraries:
98
- ```bash
99
- npm install next-auth@beta stripe resend @prisma/client
100
- ```
101
-
102
- 3. Install Tailwind v4 (Add to globals.css):
103
- ```css
104
- @import "tailwindcss";
105
- ```
106
-
107
- 4. Configure environment (.env.local)
108
-
109
- 5. Sync Database:
110
- ```bash
111
- npx prisma db push
112
- ```
113
-
114
- 6. Run local Webhook:
115
- ```bash
116
- npm run stripe:listen
117
- ```
118
-
119
- 7. Run project:
120
- ```bash
121
- npm run dev
122
- ```