@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,148 +0,0 @@
1
- ---
2
- name: goal
3
- description: "[Devflow] High-level goal routing and open-ended request intake before entering the 00-discover stage."
4
- ---
5
-
6
- ---
7
- description: Goal Router - Route a high-level goal into the correct DevFlow 2.0 path and record recommendation metrics.
8
- ---
9
- # Phase 05: Goal Router
10
-
11
- Route a high-level `/goal` request into the most appropriate DevFlow path.
12
-
13
- ## Usage
14
-
15
- ```text
16
- /goal {GOAL_DESCRIPTION}
17
- ```
18
-
19
- Local CLI equivalent:
20
-
21
- ```powershell
22
- npm run goal -- --goal "Implement goal command" --max-turns 30 --parallel
23
- npm run goal -- goal "Implement goal command" max-turns 30 parallel
24
- ```
25
-
26
- ## Purpose
27
-
28
- The goal router turns an open-ended request into a routed DevFlow recommendation plan.
29
-
30
- It should:
31
-
32
- - classify the goal into the right path
33
- - decompose large goals into worker-sized chunks
34
- - recommend the exact next command
35
- - record routing decisions, turn budget, and context notes in a session log
36
-
37
- The current goal runner is a routing and recommendation surface. It does not replace the mainline workflow or silently execute the full delivery lifecycle.
38
-
39
- ## Boss-Worker Roles
40
-
41
- - `prp-core-boss` owns routing, decomposition, turn budgets, validation gates, and final synthesis.
42
- - `prp-core-worker` owns focused implementation or analysis subtasks assigned by the Boss.
43
- - Specialist agents may still be invoked with `Agent` when a task needs deeper domain expertise.
44
-
45
- ## Flow Routing
46
-
47
- The Boss first classifies the request into one of these paths:
48
-
49
- | Flow | Use When | Typical Next Step |
50
- | :--- | :--- | :--- |
51
- | DevFlow Mainline | New feature, bug, test, docs, migration, or refactor requests. | `00-discover`, which owns the delivery decision |
52
- | PRD / Spec Orchestration | Product ideas or requirement-heavy planning before a Discovery ID exists. | `00-discover`, likely routing to `PRD` |
53
- | Brainstorm Flow | Early ambiguous ideas that need options and tradeoff analysis. | `00-discover`, likely routing to `Brainstorm` |
54
- | Research Flow | External facts, docs, codebase evidence, or feasibility proof are needed. | `00-discover`, likely routing to `Research` |
55
- | RCA / Debug Flow | Failures, errors, regressions, or investigation-heavy bug reports. | `00-discover`, likely routing to `Debug` |
56
-
57
- ## Process
58
-
59
- 1. Parse the goal text and runtime config.
60
- 2. Select a flow path and record the reasoning.
61
- 3. Estimate complexity and split large goals into worker-sized tasks.
62
- 4. Recommend the relevant DevFlow commands in the correct order.
63
- 5. Track turns by phase and stop when the configured `max-turns` budget is reached.
64
- 6. Run validation gates appropriate to the selected flow.
65
- 7. Add lightweight context usage notes when the runtime or operator can provide them.
66
- 8. Save a structured session report.
67
-
68
- ## Log Contract
69
-
70
- Session logs are written to:
71
-
72
- ```text
73
- devflow/runs/goal-sessions/session-{goal_id}.json
74
- devflow/runs/goal_latest_session.json
75
- devflow/runs/goal_execution_log.json
76
- ```
77
-
78
- Each log includes:
79
-
80
- - `goal_id`
81
- - `goal_description`
82
- - `status`
83
- - `execution_mode`
84
- - `config`
85
- - `metrics`
86
- - `context_usage`
87
- - `flow_selected`
88
- - `tasks_decomposed`
89
- - `execution_steps`
90
- - `recommended_commands`
91
-
92
- ### Context Usage Notes
93
-
94
- `context_usage` is intentionally manual and optional until the runtime exposes exact token telemetry. Use it to capture:
95
-
96
- - `context_loaded`
97
- - `files_read`
98
- - `artifacts_read`
99
- - `token_usage`
100
- - `optimization_notes`
101
-
102
- ## Validation
103
-
104
- After changing goal runner behavior, run:
105
-
106
- ```powershell
107
- npm run validate
108
- node .agent/scripts/test-goal-runner.mjs
109
- npm run goal -- goal "Create a small test task" max-turns 15 dry-run
110
- ```
111
-
112
- ## Output
113
-
114
- Report:
115
-
116
- - selected flow
117
- - task decomposition summary
118
- - session log path
119
- - recommended next command
120
- - key assumptions or routing risks
121
-
122
- ## Relationship To DevFlow 2.0
123
-
124
- - Classification: Companion command
125
- - Mainline status: Not a numbered stage
126
- - Typical entry points: broad goals before a Discovery ID exists
127
- - Typical handoff target: `00-discover`, with a likely companion route recorded as guidance rather than executed outside Discover
128
-
129
- ## Sources
130
-
131
- - `AGENTS.md`
132
- - `.agent/scripts/goal-runner.mjs`
133
- - Related commands: `00-discover`, `Brainstorm`, `Research`, `PRD`, `Spec-Orchestrate`, `Debug`
134
-
135
- ## Next Workflow Recommendation
136
-
137
- - **Primary**: the first command listed in `recommended_commands`
138
- - **Why**: `Goal` exists to route broad intent into the correct DevFlow 2.0 entry point
139
- - **Alternatives**:
140
- - `00-discover "{goal}"` for all new work; Discover chooses Brainstorm, PRD, Research, Debug, or direct decision
141
- - `10-define {discovery_id}` only after an approved Proceed decision
142
- - `20-spec {running_id}` only for an existing approved delivery run
143
-
144
- ## Wiki Update Recommendation
145
-
146
- - Update the wiki only when the goal-routing session reveals a durable pattern, intake heuristic, or onboarding note worth reusing.
147
- - If the output is only a one-off routing decision, do not create or update wiki pages.
148
-
@@ -1,46 +0,0 @@
1
- ---
2
- name: handoff
3
- description: "[Devflow] Compact active context into a handoff note. Use when a DevFlow run must continue in another session, agent, or report without duplicating existing artifacts."
4
- disable-model-invocation: true
5
- ---
6
-
7
- # Handoff
8
-
9
- Use this support skill when work needs to move to another session or agent.
10
-
11
- DevFlow stage artifacts remain the source of truth. This skill should reference them instead of duplicating them.
12
-
13
- ## Process
14
-
15
- 1. Identify the continuation purpose.
16
- - next stage
17
- - specialist agent
18
- - interrupted implementation
19
- - verification follow-up
20
- - release/report handoff
21
-
22
- 2. Collect existing durable artifacts.
23
- - stage markdown files
24
- - checklists
25
- - ADRs
26
- - issues or PR links
27
- - commits and diffs
28
-
29
- 3. Write only the missing bridge context.
30
- - current state
31
- - decisions already made
32
- - open blockers
33
- - files or commands the next agent should inspect first
34
- - suggested skills
35
-
36
- 4. Redact secrets and sensitive data.
37
-
38
- ## Output Location
39
-
40
- Prefer the active task workspace when the handoff belongs to the work item:
41
-
42
- ```text
43
- devflow/runs/{ID}-{slug}/handoff-{date}.md
44
- ```
45
-
46
- Use the OS temp directory only for throwaway cross-session transfer that should not become project history.
@@ -1,253 +0,0 @@
1
- ---name: help
2
-
3
- description: "[Devflow] DevFlow 2.0 help, routing guide, workflow sitemap, and process navigation."
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-execute | 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-execute 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-execute -> 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-execute`.
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
-
@@ -1,154 +0,0 @@
1
- ---
2
- name: i18n-localization
3
- description: "[Devflow] 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>` |