@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,167 +0,0 @@
1
- ---
2
- name: powershell-windows
3
- description: "[Devflow] PowerShell Windows patterns. Critical pitfalls, operator syntax, error handling."
4
- allowed-tools: Read, Write, Edit, Glob, Grep, Bash
5
- ---
6
-
7
- # PowerShell Windows Patterns
8
-
9
- > Critical patterns and pitfalls for Windows PowerShell.
10
-
11
- ---
12
-
13
- ## 1. Operator Syntax Rules
14
-
15
- ### CRITICAL: Parentheses Required
16
-
17
- | ❌ Wrong | ✅ Correct |
18
- |----------|-----------|
19
- | `if (Test-Path "a" -or Test-Path "b")` | `if ((Test-Path "a") -or (Test-Path "b"))` |
20
- | `if (Get-Item $x -and $y -eq 5)` | `if ((Get-Item $x) -and ($y -eq 5))` |
21
-
22
- **Rule:** Each cmdlet call MUST be in parentheses when using logical operators.
23
-
24
- ---
25
-
26
- ## 2. Unicode/Emoji Restriction
27
-
28
- ### CRITICAL: No Unicode in Scripts
29
-
30
- | Purpose | ❌ Don't Use | ✅ Use |
31
- |---------|-------------|--------|
32
- | Success | ✅ ✓ | [OK] [+] |
33
- | Error | ❌ ✗ 🔴 | [!] [X] |
34
- | Warning | ⚠️ 🟡 | [*] [WARN] |
35
- | Info | ℹ️ 🔵 | [i] [INFO] |
36
- | Progress | ⏳ | [...] |
37
-
38
- **Rule:** Use ASCII characters only in PowerShell scripts.
39
-
40
- ---
41
-
42
- ## 3. Null Check Patterns
43
-
44
- ### Always Check Before Access
45
-
46
- | ❌ Wrong | ✅ Correct |
47
- |----------|-----------|
48
- | `$array.Count -gt 0` | `$array -and $array.Count -gt 0` |
49
- | `$text.Length` | `if ($text) { $text.Length }` |
50
-
51
- ---
52
-
53
- ## 4. String Interpolation
54
-
55
- ### Complex Expressions
56
-
57
- | ❌ Wrong | ✅ Correct |
58
- |----------|-----------|
59
- | `"Value: $($obj.prop.sub)"` | Store in variable first |
60
-
61
- **Pattern:**
62
- ```
63
- $value = $obj.prop.sub
64
- Write-Output "Value: $value"
65
- ```
66
-
67
- ---
68
-
69
- ## 5. Error Handling
70
-
71
- ### ErrorActionPreference
72
-
73
- | Value | Use |
74
- |-------|-----|
75
- | Stop | Development (fail fast) |
76
- | Continue | Production scripts |
77
- | SilentlyContinue | When errors expected |
78
-
79
- ### Try/Catch Pattern
80
-
81
- - Don't return inside try block
82
- - Use finally for cleanup
83
- - Return after try/catch
84
-
85
- ---
86
-
87
- ## 6. File Paths
88
-
89
- ### Windows Path Rules
90
-
91
- | Pattern | Use |
92
- |---------|-----|
93
- | Literal path | `C:\Users\User\file.txt` |
94
- | Variable path | `Join-Path $env:USERPROFILE "file.txt"` |
95
- | Relative | `Join-Path $ScriptDir "data"` |
96
-
97
- **Rule:** Use Join-Path for cross-platform safety.
98
-
99
- ---
100
-
101
- ## 7. Array Operations
102
-
103
- ### Correct Patterns
104
-
105
- | Operation | Syntax |
106
- |-----------|--------|
107
- | Empty array | `$array = @()` |
108
- | Add item | `$array += $item` |
109
- | ArrayList add | `$list.Add($item) | Out-Null` |
110
-
111
- ---
112
-
113
- ## 8. JSON Operations
114
-
115
- ### CRITICAL: Depth Parameter
116
-
117
- | ❌ Wrong | ✅ Correct |
118
- |----------|-----------|
119
- | `ConvertTo-Json` | `ConvertTo-Json -Depth 10` |
120
-
121
- **Rule:** Always specify `-Depth` for nested objects.
122
-
123
- ### File Operations
124
-
125
- | Operation | Pattern |
126
- |-----------|---------|
127
- | Read | `Get-Content "file.json" -Raw | ConvertFrom-Json` |
128
- | Write | `$data | ConvertTo-Json -Depth 10 | Out-File "file.json" -Encoding UTF8` |
129
-
130
- ---
131
-
132
- ## 9. Common Errors
133
-
134
- | Error Message | Cause | Fix |
135
- |---------------|-------|-----|
136
- | "parameter 'or'" | Missing parentheses | Wrap cmdlets in () |
137
- | "Unexpected token" | Unicode character | Use ASCII only |
138
- | "Cannot find property" | Null object | Check null first |
139
- | "Cannot convert" | Type mismatch | Use .ToString() |
140
-
141
- ---
142
-
143
- ## 10. Script Template
144
-
145
- ```powershell
146
- # Strict mode
147
- Set-StrictMode -Version Latest
148
- $ErrorActionPreference = "Continue"
149
-
150
- # Paths
151
- $ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
152
-
153
- # Main
154
- try {
155
- # Logic here
156
- Write-Output "[OK] Done"
157
- exit 0
158
- }
159
- catch {
160
- Write-Warning "Error: $_"
161
- exit 1
162
- }
163
- ```
164
-
165
- ---
166
-
167
- > **Remember:** PowerShell has unique syntax rules. Parentheses, ASCII-only, and null checks are non-negotiable.
@@ -1,93 +0,0 @@
1
- ---name: pr
2
-
3
- description: "[Devflow] Pull Request creation with automated change summaries, verification evidence, and linked stage artifacts."
4
- ---
5
- # Create Pull Request (Git Orchestration)
6
-
7
- ## Base Branch: $ARGUMENTS (default: main)
8
-
9
- Create a well-formatted pull request from the current branch with a clear summary of changes and linked artifacts.
10
-
11
- Primary behavior now lives in:
12
-
13
- ```text
14
- .agents/skills/release-git-operations/SKILL.md
15
- ```
16
-
17
- Treat this workflow file as a compatibility wrapper around that skill in `pr` mode.
18
-
19
- In DevFlow 2.0, this is a release-adjacent workflow. It usually follows `60-report` and pairs naturally with `70-release` once the final summary is aligned.
20
-
21
- ---
22
-
23
- ## Internal Process
24
-
25
- You are an orchestrator. Your goal is to call the specialized Git PR Maker agent and preserve the quality of the original PR workflow: clean preflight checks, strong summary construction, repository-template fidelity, and explicit next steps.
26
-
27
- ### Phase 1: Pre-flight Validation
28
- **Call Agent**: `prp-core-git-pr-maker`
29
-
30
- - Provide the base branch.
31
- - Ensure the branch is not `main` or `master`.
32
- - Check for unpushed commits.
33
- - Verify the working directory is clean enough for PR submission.
34
- - Confirm the implementation has already passed the expected verification gate. If it has not, route back to `50-verify` first.
35
-
36
- ### Phase 2: Context And Template
37
-
38
- - Search for PR templates in the repository, such as `.github/`.
39
- - Analyze commit history, diff, and linked task artifacts.
40
- - Prefer markdown-first stage artifacts as the source narrative:
41
- - `20-spec.md`
42
- - `30-plan.md`
43
- - `40-execute.md`
44
- - `50-verify.md`
45
- - `60-report.md` when the final summary already exists
46
- - `70-release.md` when release execution notes already exist
47
- - Automatically identify and link referenced issues when supported by repository conventions.
48
- - When the PR body needs stakeholder-readable language, apply `.agents/skills/9arm-skills/management-talk/SKILL.md` as a credited communication lens while preserving the repository PR template.
49
- - Apply GitHub prompt addons when useful:
50
- - `pr_template_filler` for PR body structure
51
- - `pr_reviewer`, `pr_quality_agent`, `pr_logic_agent`, `pr_security_agent`, `pr_structural` for review perspectives
52
- - `pr_finding_validator` to confirm findings are actionable
53
- - `pr_followup_*` to convert review comments into focused fixes
54
- - `issue_analyzer`, `issue_triager`, `duplicate_detector`, `spam_detector` for issue-linked context
55
-
56
- ### Phase 3: Push And Submission
57
-
58
- - Push the branch to the remote repository.
59
- - Use GitHub CLI or the repository-standard submission flow to create the PR with the generated body.
60
- - Preserve any repository policy on draft PRs, labels, reviewers, or linked issue syntax.
61
-
62
- ### Phase 4: Final Summary
63
-
64
- Verify that the workflow returns:
65
-
66
- - PR number
67
- - PR URL
68
- - base and head branches
69
- - draft or ready status
70
- - any follow-up actions still expected from the user
71
-
72
- ---
73
-
74
- ## Relationship To DevFlow 2.0
75
-
76
- - Classification: Companion command
77
- - Mainline status: Release support command, not a numbered stage
78
- - Typical entry points: `70-release`, `Commit`
79
- - Typical handoff targets: `PR-Review`, `PR-Followup`, `Merge`, `70-release`
80
-
81
- ## Sources
82
-
83
- - `AGENTS.md`
84
- - `.agents/skills/release-git-operations/SKILL.md`
85
- - `.agents/skills/git-workflow-and-versioning/SKILL.md`
86
- - Related commands: `Commit`, `PR-Review`, `PR-Followup`, `Merge`, `60-report`, `70-release`
87
-
88
- ## Next Workflow Recommendation
89
-
90
- - **Primary**: `70-release`
91
- - **Why**: after PR creation, release execution and handoff details should stay consistent with the approved report.
92
- - **Alternative**: `PR-Review` for structured review before broader sharing, or `60-report` when the final communication summary still needs to be refreshed first.
93
-
@@ -1,127 +0,0 @@
1
- ---
2
- name: prd
3
- description: "[Devflow] Product Requirements Document drafting, user story mapping, and feature scoping before delivery commitment."
4
- ---
5
-
6
- ---
7
- description: Strategic PRD Generator (Orchestration) - Transform a product or feature idea into a problem-first, hypothesis-driven Product Requirements Document (PRD).
8
- ---
9
- # Phase 12: Strategic PRD Generator (Orchestration)
10
-
11
- ## Feature Idea: $ARGUMENTS
12
-
13
- Transform a product or feature idea into a problem-first, hypothesis-driven Product Requirements Document (PRD).
14
-
15
- In DevFlow 2.0, this is a supporting workflow, not part of the numbered mainline state path. Use it when the idea is still too product-shaped for `10-define` or `20-spec` to proceed cleanly.
16
- Use `to-prd` when existing conversation, discovery, or codebase context is already sufficient and the job is synthesis rather than another interview.
17
- When invoked from `00-discover`, link the PRD to the Discovery ID and return to `00-discover {discovery_id}` for the final `Proceed`, `Defer`, or `Reject` decision. PRD does not create Running IDs.
18
-
19
- ---
20
-
21
- ## Internal Process
22
-
23
- You are an orchestrator. Your goal is to call the specialized PRD Architect agent and preserve the quality of discovery, framing, and scope decisions before the work enters the mainline execution flow.
24
-
25
- ### Phase 1: Interactive Discovery
26
- **Call Agent**: `prp-core-prd-architect`
27
-
28
- - Provide the feature idea if one exists.
29
- - If no idea is provided, the agent should initiate discovery through targeted questions or structured prompting.
30
- - Support the agent in grounding the PRD around:
31
- - **Who**: primary persona, context, environment, and trigger moment.
32
- - **What**: the core problem or desired outcome.
33
- - **Why**: limitations of the current process, product, or alternative solutions.
34
- - **Success**: measurable outcomes, user signals, or business impact.
35
-
36
- ### Phase 2: Grounding And Feasibility
37
-
38
- - Facilitate research into technical feasibility, domain context, and operational constraints.
39
- - Ensure the agent checks internal codebase or platform patterns when the idea must fit an existing system.
40
- - Apply `Research` or the relevant research agent/skill when the PRD mentions:
41
- - external APIs
42
- - SDKs
43
- - databases
44
- - cloud services
45
- - auth providers
46
- - payments
47
- - browser or device dependencies
48
- - Apply competitor or market analysis only when differentiation, market positioning, or user pain points materially affect scope decisions.
49
-
50
- ### Phase 3: Scope Definition
51
-
52
- - Review the agent's prioritization carefully.
53
- - Confirm:
54
- - MVP definition
55
- - non-goals
56
- - explicit assumptions
57
- - open questions
58
- - risks that should remain visible before delivery planning
59
- - Do not let the PRD silently drift into implementation detail that belongs in `20-spec` or `30-plan`.
60
-
61
- ### Phase 4: Output Generation
62
-
63
- - **MANDATORY:** Before generating the PRD, inspect `.agent/resources/schemas/prd.template.md` and use its required headings and table structure.
64
- - Before reporting completion, run:
65
-
66
- Review `{prd_path}` against `prd.template.md`, keep the required headings, and remove placeholder text before completion.
67
-
68
- - Replace any placeholder or template text with concrete product details, assumptions, risks, metrics, and open questions.
69
- - Save the PRD to:
70
-
71
- ```text
72
- devflow/prds/{date}-{slug}.prd.md
73
- ```
74
-
75
- - Verify the document includes:
76
- - problem statement
77
- - target user or actor
78
- - key hypotheses
79
- - success measures
80
- - scope boundaries
81
- - implementation phases at a product level, not task granularity
82
-
83
- ### Phase 5: Map Into DevFlow 2.0
84
-
85
- Convert the PRD into explicit next steps for the Timeline flow:
86
-
87
- - `00-discover {discovery_id}` when the PRD belongs to an active discovery
88
- - `10-define` when product framing was created outside Discover and delivery has already been approved
89
- - `20-spec` when the delivery contract is ready to be locked
90
- - `30-plan {ID}` only after the spec is execution-ready
91
-
92
- The user should still approve the transition into execution work. Do not treat PRD generation as automatic task creation.
93
-
94
- ---
95
-
96
- ## Output
97
-
98
- Return:
99
-
100
- - where the PRD was saved
101
- - the short product thesis
102
- - major scope boundaries
103
- - the biggest open questions
104
- - the exact recommended next DevFlow 2.0 command
105
-
106
- ---
107
-
108
- ## Relationship To DevFlow 2.0
109
-
110
- - Classification: Companion command
111
- - Mainline status: Not a numbered stage
112
- - Typical entry points: product framing before implementation-ready scope exists
113
- - Typical handoff targets: `00-discover {discovery_id}`, `10-define`, `20-spec`, `Roadmap`, `Spec-Orchestrate`
114
-
115
- ## Sources
116
-
117
- - `AGENTS.md`
118
- - `.agent/resources/schemas/prd.template.md`
119
- - Related commands: `Brainstorm`, `Research`, `10-define`, `20-spec`, `Roadmap`, `Spec-Orchestrate`
120
- - Support skills: `to-prd`, `grill-with-docs`, `domain-modeling`
121
-
122
- ## Next Workflow Recommendation
123
-
124
- - **Primary**: `00-discover {discovery_id}` when invoked from discovery; otherwise `10-define`
125
- - **Why**: PRD shapes product intent, while Discover owns the delivery decision and Define owns Running ID creation.
126
- - **Alternative**: `Research` when technical feasibility or external dependencies are still unresolved.
127
-
@@ -1,42 +0,0 @@
1
- ---
2
- name: preview
3
- description: "[Devflow] Local preview server management, smoke-check, and temporary runtime inspection before formal verification."
4
- ---
5
-
6
- # Preview Management & Local Runtime Inspection
7
-
8
- ## Overview
9
-
10
- This is the preview master skill for Nexus-DevFlow. It manages local development/preview servers (`npm run dev`, `npm run preview`, `vite`, `next dev`), handles port conflicts, and executes smoke checks before formal verification.
11
-
12
- ## Usage & Sub-Commands
13
-
14
- - `/preview` - Inspect current preview status and health
15
- - `/preview start` - Start the local preview/dev server
16
- - `/preview stop` - Stop the running server process
17
- - `/preview restart` - Restart the preview server
18
- - `/preview check` - Perform runtime smoke check against `http://localhost:<port>`
19
-
20
- ---
21
-
22
- ## 1. Process & Runtime Management
23
-
24
- 1. **Detect Framework & Command**: Identify the project runtime (`npm run dev`, `vite preview`, `pnpm start`, `python -m http.server`).
25
- 2. **Handle Port Conflicts**: Check if the standard port (3000, 5173, 8080) is occupied; auto-select fallback port or terminate stale background processes.
26
- 3. **Health & Smoke Check**: Query local endpoint via HTTP GET to verify HTTP 200 OK and asset loading.
27
- 4. **Report Status**:
28
- ```markdown
29
- ## Preview Status
30
- - **URL**: `http://localhost:3000`
31
- - **App Type**: Next.js / Vite / Node.js
32
- - **Health Status**: `OK` (200 OK)
33
- - **Console / Network**: Zero fatal runtime errors
34
- ```
35
-
36
- ---
37
-
38
- ## Relationship To DevFlow 2.0
39
-
40
- - **Classification**: Companion command & Runtime support
41
- - **Mainline stages**: `40-execute` (interactive visual check), `50-verify` (smoke test check)
42
- - **Handoff**: `50-verify`