@jakkrichm/create-nexus-devflow 2.0.20 → 2.0.22

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 (258) hide show
  1. package/dist/bin/create-nexus-devflow.js +73 -59
  2. package/dist/bin/create-nexus-devflow.js.map +1 -1
  3. package/dist/lib/ui.d.ts +36 -0
  4. package/dist/lib/ui.js +115 -0
  5. package/dist/lib/ui.js.map +1 -0
  6. package/dist/lib/update.js +19 -8
  7. package/dist/lib/update.js.map +1 -1
  8. package/package.json +1 -1
  9. package/template/.agents/skills/00-discover/SKILL.md +28 -116
  10. package/template/.agents/skills/40-execute/SKILL.md +1 -1
  11. package/template/.agents/skills/50-verify/SKILL.md +28 -161
  12. package/template/.agents/skills/60-report/SKILL.md +19 -92
  13. package/template/.agents/skills/70-release/SKILL.md +36 -11
  14. package/template/.agents/skills/check/SKILL.md +19 -7
  15. package/template/.agents/skills/complete/SKILL.md +21 -10
  16. package/template/.claude/skills/00-discover/SKILL.md +28 -116
  17. package/template/.claude/skills/40-execute/SKILL.md +1 -1
  18. package/template/.claude/skills/50-verify/SKILL.md +28 -161
  19. package/template/.claude/skills/60-report/SKILL.md +19 -92
  20. package/template/.claude/skills/70-release/SKILL.md +36 -11
  21. package/template/.claude/skills/check/SKILL.md +19 -7
  22. package/template/.claude/skills/complete/SKILL.md +21 -10
  23. package/template/AGENTS.md +1 -1
  24. package/template/devflow/context/coding-standards.md +40 -29
  25. package/template/.agents/skills/agent/SKILL.md +0 -165
  26. package/template/.agents/skills/api-and-interface-design/SKILL.md +0 -294
  27. package/template/.agents/skills/app-builder/SKILL.md +0 -75
  28. package/template/.agents/skills/app-builder/agent-coordination.md +0 -71
  29. package/template/.agents/skills/app-builder/feature-building.md +0 -53
  30. package/template/.agents/skills/app-builder/project-detection.md +0 -34
  31. package/template/.agents/skills/app-builder/scaffolding.md +0 -118
  32. package/template/.agents/skills/app-builder/tech-stack.md +0 -40
  33. package/template/.agents/skills/app-builder/templates/SKILL.md +0 -39
  34. package/template/.agents/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
  35. package/template/.agents/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
  36. package/template/.agents/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
  37. package/template/.agents/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
  38. package/template/.agents/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
  39. package/template/.agents/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
  40. package/template/.agents/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
  41. package/template/.agents/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -122
  42. package/template/.agents/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -122
  43. package/template/.agents/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -169
  44. package/template/.agents/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -134
  45. package/template/.agents/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
  46. package/template/.agents/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -119
  47. package/template/.agents/skills/architecture/SKILL.md +0 -55
  48. package/template/.agents/skills/architecture/context-discovery.md +0 -43
  49. package/template/.agents/skills/architecture/examples.md +0 -94
  50. package/template/.agents/skills/architecture/pattern-selection.md +0 -68
  51. package/template/.agents/skills/architecture/patterns-reference.md +0 -50
  52. package/template/.agents/skills/architecture/trade-off-analysis.md +0 -77
  53. package/template/.agents/skills/bash-linux/SKILL.md +0 -199
  54. package/template/.agents/skills/behavioral-modes/SKILL.md +0 -242
  55. package/template/.agents/skills/brainstorm/SKILL.md +0 -168
  56. package/template/.agents/skills/changelog/SKILL.md +0 -109
  57. package/template/.agents/skills/codebase-design/DEEPENING.md +0 -24
  58. package/template/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +0 -28
  59. package/template/.agents/skills/codebase-design/SKILL.md +0 -58
  60. package/template/.agents/skills/commit/SKILL.md +0 -59
  61. package/template/.agents/skills/competitor-analysis/SKILL.md +0 -66
  62. package/template/.agents/skills/context-engineering/SKILL.md +0 -290
  63. package/template/.agents/skills/database-design/SKILL.md +0 -52
  64. package/template/.agents/skills/database-design/database-selection.md +0 -43
  65. package/template/.agents/skills/database-design/indexing.md +0 -39
  66. package/template/.agents/skills/database-design/migrations.md +0 -48
  67. package/template/.agents/skills/database-design/optimization.md +0 -36
  68. package/template/.agents/skills/database-design/orm-selection.md +0 -30
  69. package/template/.agents/skills/database-design/schema-design.md +0 -56
  70. package/template/.agents/skills/database-design/scripts/schema_validator.py +0 -172
  71. package/template/.agents/skills/deploy/SKILL.md +0 -63
  72. package/template/.agents/skills/documentation-and-adrs/SKILL.md +0 -278
  73. package/template/.agents/skills/domain-modeling/ADR-FORMAT.md +0 -47
  74. package/template/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
  75. package/template/.agents/skills/domain-modeling/SKILL.md +0 -74
  76. package/template/.agents/skills/followup/SKILL.md +0 -83
  77. package/template/.agents/skills/frontend-ui-engineering/SKILL.md +0 -326
  78. package/template/.agents/skills/frontend-ui-engineering/accessibility-checklist.md +0 -159
  79. package/template/.agents/skills/goal/SKILL.md +0 -148
  80. package/template/.agents/skills/handoff/SKILL.md +0 -46
  81. package/template/.agents/skills/help/SKILL.md +0 -253
  82. package/template/.agents/skills/i18n-localization/SKILL.md +0 -154
  83. package/template/.agents/skills/i18n-localization/scripts/i18n_checker.py +0 -241
  84. package/template/.agents/skills/insight/SKILL.md +0 -42
  85. package/template/.agents/skills/issue-triage/SKILL.md +0 -115
  86. package/template/.agents/skills/lint-and-validate/SKILL.md +0 -45
  87. package/template/.agents/skills/lint-and-validate/scripts/lint_runner.py +0 -184
  88. package/template/.agents/skills/lint-and-validate/scripts/type_coverage.py +0 -173
  89. package/template/.agents/skills/mcp-builder/SKILL.md +0 -176
  90. package/template/.agents/skills/merge/SKILL.md +0 -76
  91. package/template/.agents/skills/mobile-design/SKILL.md +0 -394
  92. package/template/.agents/skills/mobile-design/decision-trees.md +0 -516
  93. package/template/.agents/skills/mobile-design/mobile-backend.md +0 -491
  94. package/template/.agents/skills/mobile-design/mobile-color-system.md +0 -420
  95. package/template/.agents/skills/mobile-design/mobile-debugging.md +0 -122
  96. package/template/.agents/skills/mobile-design/mobile-design-thinking.md +0 -357
  97. package/template/.agents/skills/mobile-design/mobile-navigation.md +0 -458
  98. package/template/.agents/skills/mobile-design/mobile-performance.md +0 -767
  99. package/template/.agents/skills/mobile-design/mobile-testing.md +0 -356
  100. package/template/.agents/skills/mobile-design/mobile-typography.md +0 -433
  101. package/template/.agents/skills/mobile-design/platform-android.md +0 -666
  102. package/template/.agents/skills/mobile-design/platform-ios.md +0 -561
  103. package/template/.agents/skills/mobile-design/scripts/mobile_audit.py +0 -670
  104. package/template/.agents/skills/mobile-design/touch-psychology.md +0 -537
  105. package/template/.agents/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +0 -312
  106. package/template/.agents/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +0 -240
  107. package/template/.agents/skills/nextjs-react-expert/3-server-server-side-performance.md +0 -490
  108. package/template/.agents/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +0 -264
  109. package/template/.agents/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +0 -581
  110. package/template/.agents/skills/nextjs-react-expert/6-rendering-rendering-performance.md +0 -432
  111. package/template/.agents/skills/nextjs-react-expert/7-js-javascript-performance.md +0 -684
  112. package/template/.agents/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +0 -150
  113. package/template/.agents/skills/nextjs-react-expert/SKILL.md +0 -286
  114. package/template/.agents/skills/nextjs-react-expert/scripts/convert_rules.py +0 -222
  115. package/template/.agents/skills/nextjs-react-expert/scripts/react_performance_checker.py +0 -252
  116. package/template/.agents/skills/nodejs-best-practices/SKILL.md +0 -333
  117. package/template/.agents/skills/package-json-generator/SKILL.md +0 -60
  118. package/template/.agents/skills/package-json-generator/scripts/generate.js +0 -120
  119. package/template/.agents/skills/package-json-generator/scripts/run.sh +0 -19
  120. package/template/.agents/skills/parallel-agents/SKILL.md +0 -144
  121. package/template/.agents/skills/performance-optimization/SKILL.md +0 -299
  122. package/template/.agents/skills/performance-optimization/performance-checklist.md +0 -113
  123. package/template/.agents/skills/powershell-windows/SKILL.md +0 -167
  124. package/template/.agents/skills/pr/SKILL.md +0 -93
  125. package/template/.agents/skills/prd/SKILL.md +0 -127
  126. package/template/.agents/skills/preview/SKILL.md +0 -42
  127. package/template/.agents/skills/python-patterns/SKILL.md +0 -441
  128. package/template/.agents/skills/research/SKILL.md +0 -143
  129. package/template/.agents/skills/review/SKILL.md +0 -71
  130. package/template/.agents/skills/roadmap-strategy/SKILL.md +0 -94
  131. package/template/.agents/skills/security-review/SKILL.md +0 -63
  132. package/template/.agents/skills/seo-fundamentals/SKILL.md +0 -129
  133. package/template/.agents/skills/seo-fundamentals/scripts/seo_checker.py +0 -219
  134. package/template/.agents/skills/server-management/SKILL.md +0 -161
  135. package/template/.agents/skills/simplify/SKILL.md +0 -70
  136. package/template/.agents/skills/skill-development/SKILL.md +0 -86
  137. package/template/.agents/skills/spec/SKILL.md +0 -39
  138. package/template/.agents/skills/spec-driven-development/SKILL.md +0 -207
  139. package/template/.agents/skills/tailwind-patterns/SKILL.md +0 -269
  140. package/template/.agents/skills/type-design/SKILL.md +0 -84
  141. package/template/.agents/skills/ui-ux-pro-max/SKILL.md +0 -75
  142. package/template/.claude/skills/agent/SKILL.md +0 -165
  143. package/template/.claude/skills/api-and-interface-design/SKILL.md +0 -294
  144. package/template/.claude/skills/app-builder/SKILL.md +0 -75
  145. package/template/.claude/skills/app-builder/agent-coordination.md +0 -71
  146. package/template/.claude/skills/app-builder/feature-building.md +0 -53
  147. package/template/.claude/skills/app-builder/project-detection.md +0 -34
  148. package/template/.claude/skills/app-builder/scaffolding.md +0 -118
  149. package/template/.claude/skills/app-builder/tech-stack.md +0 -40
  150. package/template/.claude/skills/app-builder/templates/SKILL.md +0 -39
  151. package/template/.claude/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
  152. package/template/.claude/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
  153. package/template/.claude/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
  154. package/template/.claude/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
  155. package/template/.claude/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
  156. package/template/.claude/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
  157. package/template/.claude/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
  158. package/template/.claude/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -122
  159. package/template/.claude/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -122
  160. package/template/.claude/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -169
  161. package/template/.claude/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -134
  162. package/template/.claude/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
  163. package/template/.claude/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -119
  164. package/template/.claude/skills/architecture/SKILL.md +0 -55
  165. package/template/.claude/skills/architecture/context-discovery.md +0 -43
  166. package/template/.claude/skills/architecture/examples.md +0 -94
  167. package/template/.claude/skills/architecture/pattern-selection.md +0 -68
  168. package/template/.claude/skills/architecture/patterns-reference.md +0 -50
  169. package/template/.claude/skills/architecture/trade-off-analysis.md +0 -77
  170. package/template/.claude/skills/bash-linux/SKILL.md +0 -199
  171. package/template/.claude/skills/behavioral-modes/SKILL.md +0 -242
  172. package/template/.claude/skills/brainstorm/SKILL.md +0 -168
  173. package/template/.claude/skills/changelog/SKILL.md +0 -109
  174. package/template/.claude/skills/codebase-design/DEEPENING.md +0 -24
  175. package/template/.claude/skills/codebase-design/DESIGN-IT-TWICE.md +0 -28
  176. package/template/.claude/skills/codebase-design/SKILL.md +0 -58
  177. package/template/.claude/skills/commit/SKILL.md +0 -59
  178. package/template/.claude/skills/competitor-analysis/SKILL.md +0 -66
  179. package/template/.claude/skills/context-engineering/SKILL.md +0 -290
  180. package/template/.claude/skills/database-design/SKILL.md +0 -52
  181. package/template/.claude/skills/database-design/database-selection.md +0 -43
  182. package/template/.claude/skills/database-design/indexing.md +0 -39
  183. package/template/.claude/skills/database-design/migrations.md +0 -48
  184. package/template/.claude/skills/database-design/optimization.md +0 -36
  185. package/template/.claude/skills/database-design/orm-selection.md +0 -30
  186. package/template/.claude/skills/database-design/schema-design.md +0 -56
  187. package/template/.claude/skills/database-design/scripts/schema_validator.py +0 -172
  188. package/template/.claude/skills/deploy/SKILL.md +0 -63
  189. package/template/.claude/skills/documentation-and-adrs/SKILL.md +0 -278
  190. package/template/.claude/skills/domain-modeling/ADR-FORMAT.md +0 -47
  191. package/template/.claude/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
  192. package/template/.claude/skills/domain-modeling/SKILL.md +0 -74
  193. package/template/.claude/skills/followup/SKILL.md +0 -83
  194. package/template/.claude/skills/frontend-ui-engineering/SKILL.md +0 -326
  195. package/template/.claude/skills/frontend-ui-engineering/accessibility-checklist.md +0 -159
  196. package/template/.claude/skills/goal/SKILL.md +0 -148
  197. package/template/.claude/skills/handoff/SKILL.md +0 -46
  198. package/template/.claude/skills/help/SKILL.md +0 -253
  199. package/template/.claude/skills/i18n-localization/SKILL.md +0 -154
  200. package/template/.claude/skills/i18n-localization/scripts/i18n_checker.py +0 -241
  201. package/template/.claude/skills/insight/SKILL.md +0 -42
  202. package/template/.claude/skills/issue-triage/SKILL.md +0 -115
  203. package/template/.claude/skills/lint-and-validate/SKILL.md +0 -45
  204. package/template/.claude/skills/lint-and-validate/scripts/lint_runner.py +0 -184
  205. package/template/.claude/skills/lint-and-validate/scripts/type_coverage.py +0 -173
  206. package/template/.claude/skills/mcp-builder/SKILL.md +0 -176
  207. package/template/.claude/skills/merge/SKILL.md +0 -76
  208. package/template/.claude/skills/mobile-design/SKILL.md +0 -394
  209. package/template/.claude/skills/mobile-design/decision-trees.md +0 -516
  210. package/template/.claude/skills/mobile-design/mobile-backend.md +0 -491
  211. package/template/.claude/skills/mobile-design/mobile-color-system.md +0 -420
  212. package/template/.claude/skills/mobile-design/mobile-debugging.md +0 -122
  213. package/template/.claude/skills/mobile-design/mobile-design-thinking.md +0 -357
  214. package/template/.claude/skills/mobile-design/mobile-navigation.md +0 -458
  215. package/template/.claude/skills/mobile-design/mobile-performance.md +0 -767
  216. package/template/.claude/skills/mobile-design/mobile-testing.md +0 -356
  217. package/template/.claude/skills/mobile-design/mobile-typography.md +0 -433
  218. package/template/.claude/skills/mobile-design/platform-android.md +0 -666
  219. package/template/.claude/skills/mobile-design/platform-ios.md +0 -561
  220. package/template/.claude/skills/mobile-design/scripts/mobile_audit.py +0 -670
  221. package/template/.claude/skills/mobile-design/touch-psychology.md +0 -537
  222. package/template/.claude/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +0 -312
  223. package/template/.claude/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +0 -240
  224. package/template/.claude/skills/nextjs-react-expert/3-server-server-side-performance.md +0 -490
  225. package/template/.claude/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +0 -264
  226. package/template/.claude/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +0 -581
  227. package/template/.claude/skills/nextjs-react-expert/6-rendering-rendering-performance.md +0 -432
  228. package/template/.claude/skills/nextjs-react-expert/7-js-javascript-performance.md +0 -684
  229. package/template/.claude/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +0 -150
  230. package/template/.claude/skills/nextjs-react-expert/SKILL.md +0 -286
  231. package/template/.claude/skills/nextjs-react-expert/scripts/convert_rules.py +0 -222
  232. package/template/.claude/skills/nextjs-react-expert/scripts/react_performance_checker.py +0 -252
  233. package/template/.claude/skills/nodejs-best-practices/SKILL.md +0 -333
  234. package/template/.claude/skills/package-json-generator/SKILL.md +0 -60
  235. package/template/.claude/skills/package-json-generator/scripts/generate.js +0 -120
  236. package/template/.claude/skills/package-json-generator/scripts/run.sh +0 -19
  237. package/template/.claude/skills/parallel-agents/SKILL.md +0 -144
  238. package/template/.claude/skills/performance-optimization/SKILL.md +0 -299
  239. package/template/.claude/skills/performance-optimization/performance-checklist.md +0 -113
  240. package/template/.claude/skills/powershell-windows/SKILL.md +0 -167
  241. package/template/.claude/skills/pr/SKILL.md +0 -93
  242. package/template/.claude/skills/prd/SKILL.md +0 -127
  243. package/template/.claude/skills/preview/SKILL.md +0 -42
  244. package/template/.claude/skills/python-patterns/SKILL.md +0 -441
  245. package/template/.claude/skills/research/SKILL.md +0 -143
  246. package/template/.claude/skills/review/SKILL.md +0 -71
  247. package/template/.claude/skills/roadmap-strategy/SKILL.md +0 -94
  248. package/template/.claude/skills/security-review/SKILL.md +0 -63
  249. package/template/.claude/skills/seo-fundamentals/SKILL.md +0 -129
  250. package/template/.claude/skills/seo-fundamentals/scripts/seo_checker.py +0 -219
  251. package/template/.claude/skills/server-management/SKILL.md +0 -161
  252. package/template/.claude/skills/simplify/SKILL.md +0 -70
  253. package/template/.claude/skills/skill-development/SKILL.md +0 -86
  254. package/template/.claude/skills/spec/SKILL.md +0 -39
  255. package/template/.claude/skills/spec-driven-development/SKILL.md +0 -207
  256. package/template/.claude/skills/tailwind-patterns/SKILL.md +0 -269
  257. package/template/.claude/skills/type-design/SKILL.md +0 -84
  258. 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>` |