@jakkrichm/create-nexus-devflow 2.0.6 → 2.0.9

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 (213) hide show
  1. package/lib/starter-templates.js +111 -0
  2. package/package.json +2 -2
  3. package/template/.agents/skills/00-discover/SKILL.md +1 -1
  4. package/template/.agents/skills/10-define/SKILL.md +1 -1
  5. package/template/.agents/skills/20-spec/SKILL.md +1 -1
  6. package/template/.agents/skills/30-plan/SKILL.md +1 -1
  7. package/template/.agents/skills/40-implement/SKILL.md +1 -1
  8. package/template/.agents/skills/50-verify/SKILL.md +1 -1
  9. package/template/.agents/skills/60-report/SKILL.md +1 -1
  10. package/template/.agents/skills/70-release/SKILL.md +1 -1
  11. package/template/.agents/skills/adopt/SKILL.md +95 -0
  12. package/template/.agents/skills/agent/SKILL.md +1 -1
  13. package/template/.agents/skills/api-and-interface-design/SKILL.md +1 -1
  14. package/template/.agents/skills/app-builder/SKILL.md +1 -1
  15. package/template/.agents/skills/architecture/SKILL.md +1 -1
  16. package/template/.agents/skills/autopilot/SKILL.md +175 -0
  17. package/template/.agents/skills/bash-linux/SKILL.md +1 -1
  18. package/template/.agents/skills/behavioral-modes/SKILL.md +1 -1
  19. package/template/.agents/skills/brainstorm/SKILL.md +1 -1
  20. package/template/.agents/skills/brief/SKILL.md +77 -0
  21. package/template/.agents/skills/browser-testing-with-devtools/SKILL.md +1 -1
  22. package/template/.agents/skills/changelog/SKILL.md +1 -1
  23. package/template/.agents/skills/ci/SKILL.md +131 -0
  24. package/template/.agents/skills/ci-cd-and-automation/SKILL.md +1 -1
  25. package/template/.agents/skills/code-review-and-quality/SKILL.md +1 -1
  26. package/template/.agents/skills/code-simplification/SKILL.md +1 -1
  27. package/template/.agents/skills/codebase-design/SKILL.md +1 -1
  28. package/template/.agents/skills/commit/SKILL.md +1 -1
  29. package/template/.agents/skills/competitor-analysis/SKILL.md +1 -1
  30. package/template/.agents/skills/context-engineering/SKILL.md +1 -1
  31. package/template/.agents/skills/database-design/SKILL.md +1 -1
  32. package/template/.agents/skills/debug/SKILL.md +1 -1
  33. package/template/.agents/skills/debugging-and-error-recovery/SKILL.md +1 -1
  34. package/template/.agents/skills/deploy/SKILL.md +1 -1
  35. package/template/.agents/skills/deployment-procedures/SKILL.md +1 -1
  36. package/template/.agents/skills/deprecation-and-migration/SKILL.md +1 -1
  37. package/template/.agents/skills/devflow/SKILL.md +71 -52
  38. package/template/.agents/skills/diagnosing-bugs/SKILL.md +1 -1
  39. package/template/.agents/skills/doctor/SKILL.md +84 -0
  40. package/template/.agents/skills/documentation-and-adrs/SKILL.md +1 -1
  41. package/template/.agents/skills/domain-modeling/SKILL.md +1 -1
  42. package/template/.agents/skills/followup/SKILL.md +1 -1
  43. package/template/.agents/skills/frontend-ui-engineering/SKILL.md +1 -1
  44. package/template/.agents/skills/git-workflow-and-versioning/SKILL.md +1 -1
  45. package/template/.agents/skills/goal/SKILL.md +1 -1
  46. package/template/.agents/skills/handoff/SKILL.md +1 -1
  47. package/template/.agents/skills/help/SKILL.md +1 -1
  48. package/template/.agents/skills/human-review-decisions/SKILL.md +1 -1
  49. package/template/.agents/skills/i18n-localization/SKILL.md +1 -1
  50. package/template/.agents/skills/idea-refine/SKILL.md +1 -1
  51. package/template/.agents/skills/incremental-implementation/SKILL.md +1 -1
  52. package/template/.agents/skills/insight/SKILL.md +1 -1
  53. package/template/.agents/skills/insight-capture/SKILL.md +1 -1
  54. package/template/.agents/skills/intelligent-routing/SKILL.md +1 -1
  55. package/template/.agents/skills/issue-triage/SKILL.md +1 -1
  56. package/template/.agents/skills/lint-and-validate/SKILL.md +1 -1
  57. package/template/.agents/skills/mcp-builder/SKILL.md +1 -1
  58. package/template/.agents/skills/md2html/SKILL.md +1 -1
  59. package/template/.agents/skills/merge/SKILL.md +1 -1
  60. package/template/.agents/skills/mobile-design/SKILL.md +1 -1
  61. package/template/.agents/skills/nextjs-react-expert/SKILL.md +1 -1
  62. package/template/.agents/skills/nodejs-best-practices/SKILL.md +1 -1
  63. package/template/.agents/skills/onboard/SKILL.md +129 -0
  64. package/template/.agents/skills/package-json-generator/SKILL.md +1 -1
  65. package/template/.agents/skills/parallel-agents/SKILL.md +1 -1
  66. package/template/.agents/skills/performance-optimization/SKILL.md +1 -1
  67. package/template/.agents/skills/planning-and-task-breakdown/SKILL.md +1 -1
  68. package/template/.agents/skills/powershell-windows/SKILL.md +1 -1
  69. package/template/.agents/skills/pr/SKILL.md +1 -1
  70. package/template/.agents/skills/pr-review/SKILL.md +1 -1
  71. package/template/.agents/skills/pr-review-analysis/SKILL.md +1 -1
  72. package/template/.agents/skills/prd/SKILL.md +1 -1
  73. package/template/.agents/skills/preview/SKILL.md +1 -1
  74. package/template/.agents/skills/preview-local-check/SKILL.md +1 -1
  75. package/template/.agents/skills/prototype/SKILL.md +1 -1
  76. package/template/.agents/skills/python-patterns/SKILL.md +1 -1
  77. package/template/.agents/skills/release-git-operations/SKILL.md +1 -1
  78. package/template/.agents/skills/research/SKILL.md +1 -1
  79. package/template/.agents/skills/review/SKILL.md +1 -1
  80. package/template/.agents/skills/review-followup-routing/SKILL.md +1 -1
  81. package/template/.agents/skills/roadmap-strategy/SKILL.md +1 -1
  82. package/template/.agents/skills/rollback/SKILL.md +108 -0
  83. package/template/.agents/skills/security-and-hardening/SKILL.md +1 -1
  84. package/template/.agents/skills/security-review/SKILL.md +1 -1
  85. package/template/.agents/skills/seo-fundamentals/SKILL.md +1 -1
  86. package/template/.agents/skills/server-management/SKILL.md +1 -1
  87. package/template/.agents/skills/shipping-and-launch/SKILL.md +1 -1
  88. package/template/.agents/skills/silent-failure-audit/SKILL.md +1 -1
  89. package/template/.agents/skills/simplify/SKILL.md +1 -1
  90. package/template/.agents/skills/skill-development/SKILL.md +1 -1
  91. package/template/.agents/skills/spec-driven-development/SKILL.md +1 -1
  92. package/template/.agents/skills/spec-orchestration/SKILL.md +1 -1
  93. package/template/.agents/skills/specialist-agent-routing/SKILL.md +1 -1
  94. package/template/.agents/skills/tailwind-patterns/SKILL.md +1 -1
  95. package/template/.agents/skills/test/SKILL.md +1 -1
  96. package/template/.agents/skills/test-driven-development/SKILL.md +1 -1
  97. package/template/.agents/skills/test-execution-and-coverage/SKILL.md +1 -1
  98. package/template/.agents/skills/try/SKILL.md +108 -0
  99. package/template/.agents/skills/type-design/SKILL.md +1 -1
  100. package/template/.agents/skills/ui-ux-pro-max/SKILL.md +1 -1
  101. package/template/.agents/skills/using-agent-skills/SKILL.md +1 -1
  102. package/template/.agents/skills/verification-orchestration/SKILL.md +1 -1
  103. package/template/.agents/skills/vulnerability-scanner/SKILL.md +1 -1
  104. package/template/.agents/skills/wiki/SKILL.md +1 -1
  105. package/template/.agents/skills/workflow-documentation-sync/SKILL.md +1 -1
  106. package/template/.claude/skills/00-discover/SKILL.md +1 -1
  107. package/template/.claude/skills/10-define/SKILL.md +1 -1
  108. package/template/.claude/skills/20-spec/SKILL.md +1 -1
  109. package/template/.claude/skills/30-plan/SKILL.md +1 -1
  110. package/template/.claude/skills/40-implement/SKILL.md +1 -1
  111. package/template/.claude/skills/50-verify/SKILL.md +1 -1
  112. package/template/.claude/skills/60-report/SKILL.md +1 -1
  113. package/template/.claude/skills/70-release/SKILL.md +1 -1
  114. package/template/.claude/skills/adopt/SKILL.md +95 -0
  115. package/template/.claude/skills/agent/SKILL.md +1 -1
  116. package/template/.claude/skills/api-and-interface-design/SKILL.md +1 -1
  117. package/template/.claude/skills/app-builder/SKILL.md +1 -1
  118. package/template/.claude/skills/architecture/SKILL.md +1 -1
  119. package/template/.claude/skills/autopilot/SKILL.md +175 -0
  120. package/template/.claude/skills/bash-linux/SKILL.md +1 -1
  121. package/template/.claude/skills/behavioral-modes/SKILL.md +1 -1
  122. package/template/.claude/skills/brainstorm/SKILL.md +1 -1
  123. package/template/.claude/skills/brief/SKILL.md +77 -0
  124. package/template/.claude/skills/browser-testing-with-devtools/SKILL.md +1 -1
  125. package/template/.claude/skills/changelog/SKILL.md +1 -1
  126. package/template/.claude/skills/ci/SKILL.md +131 -0
  127. package/template/.claude/skills/ci-cd-and-automation/SKILL.md +1 -1
  128. package/template/.claude/skills/code-review-and-quality/SKILL.md +1 -1
  129. package/template/.claude/skills/code-simplification/SKILL.md +1 -1
  130. package/template/.claude/skills/codebase-design/SKILL.md +1 -1
  131. package/template/.claude/skills/commit/SKILL.md +1 -1
  132. package/template/.claude/skills/competitor-analysis/SKILL.md +1 -1
  133. package/template/.claude/skills/context-engineering/SKILL.md +1 -1
  134. package/template/.claude/skills/database-design/SKILL.md +1 -1
  135. package/template/.claude/skills/debug/SKILL.md +1 -1
  136. package/template/.claude/skills/debugging-and-error-recovery/SKILL.md +1 -1
  137. package/template/.claude/skills/deploy/SKILL.md +1 -1
  138. package/template/.claude/skills/deployment-procedures/SKILL.md +1 -1
  139. package/template/.claude/skills/deprecation-and-migration/SKILL.md +1 -1
  140. package/template/.claude/skills/devflow/SKILL.md +71 -52
  141. package/template/.claude/skills/diagnosing-bugs/SKILL.md +1 -1
  142. package/template/.claude/skills/doctor/SKILL.md +84 -0
  143. package/template/.claude/skills/documentation-and-adrs/SKILL.md +1 -1
  144. package/template/.claude/skills/domain-modeling/SKILL.md +1 -1
  145. package/template/.claude/skills/followup/SKILL.md +1 -1
  146. package/template/.claude/skills/frontend-ui-engineering/SKILL.md +1 -1
  147. package/template/.claude/skills/git-workflow-and-versioning/SKILL.md +1 -1
  148. package/template/.claude/skills/goal/SKILL.md +1 -1
  149. package/template/.claude/skills/handoff/SKILL.md +1 -1
  150. package/template/.claude/skills/help/SKILL.md +1 -1
  151. package/template/.claude/skills/human-review-decisions/SKILL.md +1 -1
  152. package/template/.claude/skills/i18n-localization/SKILL.md +1 -1
  153. package/template/.claude/skills/idea-refine/SKILL.md +1 -1
  154. package/template/.claude/skills/incremental-implementation/SKILL.md +1 -1
  155. package/template/.claude/skills/insight/SKILL.md +1 -1
  156. package/template/.claude/skills/insight-capture/SKILL.md +1 -1
  157. package/template/.claude/skills/intelligent-routing/SKILL.md +1 -1
  158. package/template/.claude/skills/issue-triage/SKILL.md +1 -1
  159. package/template/.claude/skills/lint-and-validate/SKILL.md +1 -1
  160. package/template/.claude/skills/mcp-builder/SKILL.md +1 -1
  161. package/template/.claude/skills/md2html/SKILL.md +1 -1
  162. package/template/.claude/skills/merge/SKILL.md +1 -1
  163. package/template/.claude/skills/mobile-design/SKILL.md +1 -1
  164. package/template/.claude/skills/nextjs-react-expert/SKILL.md +1 -1
  165. package/template/.claude/skills/nodejs-best-practices/SKILL.md +1 -1
  166. package/template/.claude/skills/onboard/SKILL.md +129 -0
  167. package/template/.claude/skills/package-json-generator/SKILL.md +1 -1
  168. package/template/.claude/skills/parallel-agents/SKILL.md +1 -1
  169. package/template/.claude/skills/performance-optimization/SKILL.md +1 -1
  170. package/template/.claude/skills/planning-and-task-breakdown/SKILL.md +1 -1
  171. package/template/.claude/skills/powershell-windows/SKILL.md +1 -1
  172. package/template/.claude/skills/pr/SKILL.md +1 -1
  173. package/template/.claude/skills/pr-review/SKILL.md +1 -1
  174. package/template/.claude/skills/pr-review-analysis/SKILL.md +1 -1
  175. package/template/.claude/skills/prd/SKILL.md +1 -1
  176. package/template/.claude/skills/preview/SKILL.md +1 -1
  177. package/template/.claude/skills/preview-local-check/SKILL.md +1 -1
  178. package/template/.claude/skills/prototype/SKILL.md +1 -1
  179. package/template/.claude/skills/python-patterns/SKILL.md +1 -1
  180. package/template/.claude/skills/release-git-operations/SKILL.md +1 -1
  181. package/template/.claude/skills/research/SKILL.md +1 -1
  182. package/template/.claude/skills/review/SKILL.md +1 -1
  183. package/template/.claude/skills/review-followup-routing/SKILL.md +1 -1
  184. package/template/.claude/skills/roadmap-strategy/SKILL.md +1 -1
  185. package/template/.claude/skills/rollback/SKILL.md +108 -0
  186. package/template/.claude/skills/security-and-hardening/SKILL.md +1 -1
  187. package/template/.claude/skills/security-review/SKILL.md +1 -1
  188. package/template/.claude/skills/seo-fundamentals/SKILL.md +1 -1
  189. package/template/.claude/skills/server-management/SKILL.md +1 -1
  190. package/template/.claude/skills/shipping-and-launch/SKILL.md +1 -1
  191. package/template/.claude/skills/silent-failure-audit/SKILL.md +1 -1
  192. package/template/.claude/skills/simplify/SKILL.md +1 -1
  193. package/template/.claude/skills/skill-development/SKILL.md +1 -1
  194. package/template/.claude/skills/spec-driven-development/SKILL.md +1 -1
  195. package/template/.claude/skills/spec-orchestration/SKILL.md +1 -1
  196. package/template/.claude/skills/specialist-agent-routing/SKILL.md +1 -1
  197. package/template/.claude/skills/tailwind-patterns/SKILL.md +1 -1
  198. package/template/.claude/skills/test/SKILL.md +1 -1
  199. package/template/.claude/skills/test-driven-development/SKILL.md +1 -1
  200. package/template/.claude/skills/test-execution-and-coverage/SKILL.md +1 -1
  201. package/template/.claude/skills/try/SKILL.md +108 -0
  202. package/template/.claude/skills/type-design/SKILL.md +1 -1
  203. package/template/.claude/skills/ui-ux-pro-max/SKILL.md +1 -1
  204. package/template/.claude/skills/using-agent-skills/SKILL.md +1 -1
  205. package/template/.claude/skills/verification-orchestration/SKILL.md +1 -1
  206. package/template/.claude/skills/vulnerability-scanner/SKILL.md +1 -1
  207. package/template/.claude/skills/wiki/SKILL.md +1 -1
  208. package/template/.claude/skills/workflow-documentation-sync/SKILL.md +1 -1
  209. package/template/AGENTS.md +106 -26
  210. package/template/devflow/context/coding-standards.md +20 -12
  211. package/template/devflow/context/current-stage.md +2 -1
  212. package/template/devflow/context/findings.md +6 -10
  213. package/template/devflow/context/project-overview.md +11 -12
@@ -0,0 +1,111 @@
1
+ const starterTemplates = {
2
+ projectOverview: `# Project Overview
3
+
4
+ > **DevFlow Context Source of Truth.**
5
+ > Single AI-facing source of truth for project architecture, stack, and shipped capabilities.
6
+ > Run \`/onboard\` (for fresh projects) or \`/adopt\` (for existing codebases) to populate this file automatically.
7
+
8
+ ## 1. Project Summary
9
+
10
+ - **Name**: [Project Name]
11
+ - **Description**: [One-line summary of project purpose]
12
+ - **Primary Stack**: [Framework / Language / Runtime]
13
+
14
+ ## 2. Architecture & Modules
15
+
16
+ - \`src/\` - Core application source code
17
+
18
+ ## 3. Shipped Capabilities
19
+
20
+ - None recorded yet. Run \`/onboard\` or \`/adopt\` to initialize.
21
+ `,
22
+
23
+ codingStandards: `# Coding Standards
24
+
25
+ > Project conventions and rules to follow during development.
26
+ > Run \`/onboard\` (or \`/adopt\` for existing codebases) to tune these standards to your specific stack.
27
+
28
+ ## Architecture and Conventions
29
+
30
+ - Write clean, modular, and maintainable code with clear single responsibilities.
31
+ - Prefer TypeScript and explicit interfaces where available.
32
+ - Keep dependencies lean and justified.
33
+
34
+ ## Code Organization & Style
35
+
36
+ - Structure source code following framework-native conventions.
37
+ - Keep functions focused and avoid deeply nested logic.
38
+ - Use consistent naming conventions (camelCase for functions/variables, PascalCase for components/types).
39
+
40
+ ## Error Handling & Security
41
+
42
+ - Handle errors explicitly and provide meaningful error messages.
43
+ - Never hardcode credentials, secrets, or API keys in source code.
44
+ - Sanitize and validate all user inputs.
45
+
46
+ ## Testing & Quality
47
+
48
+ - Follow the TDD workflow for behavior-changing code units.
49
+ - Run tests and linting before completing features or fixes.
50
+ `,
51
+
52
+ currentStage: `# Current DevFlow Run Status
53
+
54
+ - **Active Discovery ID**: None
55
+ - **Active Running ID**: None
56
+ - **Current Stage**: Idle
57
+ - **Last Completed Run**: None
58
+ - **Last Updated**: -
59
+ `,
60
+
61
+ findings: `# Findings Ledger
62
+
63
+ > Review findings raised by \`/security-review\` or QA audits.
64
+ > Resolved findings are tracked with durable IDs.
65
+
66
+ - **Total Open P0/P1**: 0
67
+ - **Total Tracked**: 0
68
+
69
+ _No findings recorded._
70
+ `,
71
+
72
+ aiInteraction: `# AI Interaction Guidelines for DevFlow
73
+
74
+ > **DevFlow is an agentic workflow layer**, overlaying on top of scaffolded or existing codebases.
75
+
76
+ ## Communication & Interaction
77
+
78
+ - Be concise and direct in communication.
79
+ - Explain technical trade-offs and non-obvious design decisions briefly.
80
+ - Always confirm before performing major refactors or destructive operations.
81
+ - Maintain markdown-first evidence for all stage activities.
82
+
83
+ ## Artifact Language
84
+
85
+ - Default language for user-facing artifacts and summaries is Thai (\`th\`), while code, paths, and identifiers remain in English.
86
+ - Use exact schema headings when validators check for specific contract sections.
87
+
88
+ ## Output Formatting
89
+
90
+ - Use GitHub-style markdown for clean scanning.
91
+ - Use lists for steps, options, and findings.
92
+ - Use tables for comparative matrices or stage summaries.
93
+ - Use backticks for paths, filenames, identifiers, and CLI commands.
94
+
95
+ ## DevFlow Timeline Lifecycle
96
+
97
+ \`\`\`text
98
+ /00-Discover -> /10-Define -> /20-Spec -> /30-Plan -> /40-Implement -> /50-Verify -> /60-Report -> /70-Release
99
+ \`\`\`
100
+
101
+ - Run \`/00-Discover\` to explore requests under a Discovery ID.
102
+ - Run \`/10-Define\` to set delivery boundaries and allocate Running IDs.
103
+ - Run \`/20-Spec\` and \`/30-Plan\` to establish formal delivery specifications and execution plans.
104
+ - Run \`/40-Implement\` for step-by-step code implementation with evidence.
105
+ - Run \`/50-Verify\`, \`/60-Report\`, and \`/70-Release\` for quality verification, reporting, and release packaging.
106
+ `
107
+ };
108
+
109
+ module.exports = {
110
+ starterTemplates
111
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jakkrichm/create-nexus-devflow",
3
- "version": "2.0.6",
4
- "description": "Install or update the agent-ready DevFlow 2.0 workflow layer into a scaffolded or existing project.",
3
+ "version": "2.0.9",
4
+ "description": "Installer package for Nexus-DevFlow agentic workflow layer.",
5
5
  "license": "MIT",
6
6
  "author": "Jakkrich",
7
7
  "homepage": "https://github.com/Jakkrich/nexus-devflow#readme",
@@ -1,6 +1,6 @@
1
1
  ---name: 00-discover
2
2
 
3
- description: Discover stage in DevFlow 2.0 - explore a request, route supporting inquiry, and decide whether delivery work should begin without allocating a running ID.
3
+ description: "[Devflow] Discover stage in DevFlow 2.0 - explore a request, route supporting inquiry, and decide whether delivery work should begin without allocating a running ID."
4
4
  argument-hint: "{title, request, or discovery-id}"
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---name: 10-define
2
2
 
3
- description: Define stage in DevFlow 2.0 - turn an approved discovery into one or more bounded delivery runs with stable scope.
3
+ description: "[Devflow] Define stage in DevFlow 2.0 - turn an approved discovery into one or more bounded delivery runs with stable scope."
4
4
  argument-hint: "{approved discovery-id, discovery path, running-id, or run path}"
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---name: 20-spec
2
2
 
3
- description: Spec stage in DevFlow 2.0 - write the formal markdown-first specification from a stable definition.
3
+ description: "[Devflow] Spec stage in DevFlow 2.0 - write the formal markdown-first specification from a stable definition."
4
4
  argument-hint: "{running-id or workspace path}"
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---name: 30-plan
2
2
 
3
- description: Plan implementation in DevFlow 2.0 - transform `20-spec.md` into a markdown-first executable plan.
3
+ description: "[Devflow] Plan stage in DevFlow 2.0 - transform 20-spec.md into an executable task breakdown with test decisions."
4
4
  ---
5
5
  # Phase 30: Plan Implementation
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---name: 40-implement
2
2
 
3
- description: Implement code in DevFlow 2.0 - execute one planned unit at a time with markdown-first implementation evidence.
3
+ description: "[Devflow] Implement stage in DevFlow 2.0 - execute planned tasks incrementally with evidence and unit tests."
4
4
  ---
5
5
  # Phase 40: Implement Code
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---name: 50-verify
2
2
 
3
- description: Verify quality in DevFlow 2.0 - perform senior QA review, record evidence, and decide pass or return-to-implement.
3
+ description: "[Devflow] Verify stage in DevFlow 2.0 - perform senior QA review, record evidence, and decide pass or return-to-implement."
4
4
  ---
5
5
  # Phase 50: Verify Quality
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---name: 60-report
2
2
 
3
- description: Report stage in DevFlow 2.0 - produce the final standardized markdown and HTML summary for the full running flow.
3
+ description: "[Devflow] Report stage in DevFlow 2.0 - produce standardized markdown and HTML summary report for the completed run."
4
4
  argument-hint: "{running-id or workspace path}"
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---name: 70-release
2
2
 
3
- description: Release stage in DevFlow 2.0 - package verified work for delivery, merge, PR, deployment, or handoff.
3
+ description: "[Devflow] Release stage in DevFlow 2.0 - package verified work for delivery, git merge, PR, or deployment."
4
4
  argument-hint: "{running-id or workspace path}"
5
5
  ---
6
6
 
@@ -0,0 +1,95 @@
1
+ ---
2
+ name: adopt
3
+ description: "[Devflow] Survey existing brownfield codebase and bootstrap DevFlow context files."
4
+ ---
5
+
6
+ # adopt - Bootstrap Nexus-DevFlow from an Existing Codebase
7
+
8
+ Where this sits in the workflow:
9
+
10
+ ```text
11
+ existing codebase -> [adopt] -> project-overview + coding-standards -> /00-discover or /10-define
12
+ (already has code) (survey + (seeded from the real code; (first feature / refactoring
13
+ interview) shipped architecture documented) delivery lifecycle)
14
+ ```
15
+
16
+ Standard onboarding assumes a freshly scaffolded, near-empty app. That does not fit a codebase that already has thousands of lines of working code.
17
+
18
+ `/adopt` is the brownfield on-ramp for Nexus-DevFlow: it reads what is already there, asks only for what the code cannot reveal (the *intent*, the *why*, and the *upcoming roadmap*), and produces the exact context files the rest of the DevFlow lifecycle expects (`project-overview.md`, `coding-standards.md`, `AGENTS.md` commands).
19
+
20
+ ---
21
+
22
+ ## Input
23
+
24
+ A description of what the project is, if provided. Otherwise, inspect the repository directly. No argument is required.
25
+
26
+ ---
27
+
28
+ ## Step 0 - Confirm Brownfield Safety
29
+
30
+ Inspect `devflow/context/project-overview.md` and `devflow/context/coding-standards.md`:
31
+
32
+ - If they contain default placeholders or empty templates, proceed.
33
+ - If they already hold rich, user-owned content, stop and inform the user; offer to refresh specific sections rather than overwriting existing context without confirmation.
34
+
35
+ Never run a framework scaffolder (DevFlow is an overlay, never a generator).
36
+
37
+ ---
38
+
39
+ ## Step 1 - Survey the Codebase (Read-Only)
40
+
41
+ Read the repository to establish the facts. Change nothing in this step:
42
+
43
+ - **Stack & Tooling**: Languages, frameworks, and versions from manifest files (`package.json`, `requirements.txt`, `pyproject.toml`, `go.mod`, `Cargo.toml`, etc.). Note the active package manager from lockfiles.
44
+ - **Commands**: Real dev, build, test, lint, and verify scripts.
45
+ - **Conventions in Practice**: Directory layout, component naming, state management, styling, data-fetching, error handling, validation. Read what the code *actually does*.
46
+ - **Testing Reality**: Inspect existing test suites, runners, and coverage. Be honest about test status.
47
+ - **Shipped Capabilities & Architecture**: Inferred from routes, pages, controllers, database schemas, and entry points.
48
+
49
+ Keep structured notes for generation in Step 3.
50
+
51
+ ---
52
+
53
+ ## Step 2 - Interview for Intent
54
+
55
+ The code reveals *what* and *how*, but not *why* or *what next*. Ask a short set of 3-4 questions to fill the gaps:
56
+
57
+ 1. **Purpose & Users**: What is the core problem this project solves, and who are the target users?
58
+ 2. **Architecture Status**: Is the current structure and stack intentional, or are there legacy parts/technical debt the team wants to change or refactor?
59
+ 3. **Upcoming Roadmap**: What are the top priorities to build, fix, or refactor next?
60
+ 4. **Clarifications**: Anything the survey got wrong or missed?
61
+
62
+ *(If the user already provided this context in the prompt, skip questions that are already answered).*
63
+
64
+ ---
65
+
66
+ ## Step 3 - Generate the Context Artifacts
67
+
68
+ Write the baseline context files drawn from the survey (facts) and interview (intent):
69
+
70
+ 1. **`devflow/context/project-overview.md`**:
71
+ - Project Name, Purpose, and Target Users
72
+ - Architecture summary and directory layout
73
+ - Shipped capabilities and existing major modules
74
+ - Key technical stack components and verified commands
75
+ - Known technical debt or architectural focus areas
76
+
77
+ 2. **`devflow/context/coding-standards.md`**:
78
+ - Rewrite defaults to reflect the project's *actual* conventions discovered in Step 1
79
+ - Framework patterns, state management, error handling, styling, and test rules based on real code
80
+
81
+ 3. **`AGENTS.md` Commands Section**:
82
+ - Fill in the real dev, build, test, lint, and verify commands found during survey.
83
+
84
+ ---
85
+
86
+ ## Step 4 - Review Gate and Handoff
87
+
88
+ Present the adoption summary for review:
89
+
90
+ - Shipped features and architectural baseline recorded
91
+ - Inferred conventions and coding standards
92
+ - Available verified commands in `AGENTS.md`
93
+ - Recommended next step:
94
+ - Run `00-discover` (or `/00-discover`, `$00-discover`) to explore the next major initiative or feature
95
+ - Run `10-define` (or `/10-define`, `$10-define`) to immediately scope a delivery run for known roadmap items
@@ -1,6 +1,6 @@
1
1
  ---name: agent
2
2
 
3
- description: Invoke Agent - Run a specialist persona on a file, folder, stage artifact, or codebase concern.
3
+ description: "[Devflow] Invoke specialist persona or role-based agent on a target file, folder, stage artifact, or concern."
4
4
  ---
5
5
  # Phase 90: Invoke Agent
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: api-and-interface-design
3
- description: Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.
3
+ description: "[Devflow] Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend."
4
4
  ---
5
5
 
6
6
  # API and Interface Design
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: app-builder
3
- description: Main application building orchestrator. Creates full-stack applications from natural language requests. Determines project type, selects tech stack, coordinates agents.
3
+ description: "[Devflow] Main application building orchestrator. Creates full-stack applications from natural language requests. Determines project type, selects tech stack, coordinates agents."
4
4
  allowed-tools: Read, Write, Edit, Glob, Grep, Bash, Agent
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: architecture
3
- description: Architectural decision-making framework. Requirements analysis, trade-off evaluation, ADR documentation. Use when making architecture decisions or analyzing system design.
3
+ description: "[Devflow] Architectural decision-making framework. Requirements analysis, trade-off evaluation, ADR documentation. Use when making architecture decisions or analyzing system design."
4
4
  allowed-tools: Read, Glob, Grep
5
5
  ---
6
6
 
@@ -0,0 +1,175 @@
1
+ ---
2
+ name: autopilot
3
+ description: "[Devflow] Optional explicit mode for one bounded spec/plan/implement/verify/report pass with checkpoint commits and review packet."
4
+ ---
5
+
6
+ # autopilot - Autonomous Bounded DevFlow Loop
7
+
8
+ Where this sits in the workflow:
9
+
10
+ ```text
11
+ /devflow -> [autopilot] -> review packet -> /70-release
12
+ (where (spec, plan, (human review, (package, PR,
13
+ are we?) build, verify, walkthrough) merge with approval)
14
+ report)
15
+ ```
16
+
17
+ Autopilot is an explicit opt-in execution skill for Nexus-DevFlow 2.0. It runs a single bounded loop across the delivery lifecycle (**`20-spec` -> `30-plan` -> `40-implement` -> `50-verify` -> `60-report`**) without requiring human confirmation between every sub-step.
18
+
19
+ It does **not** replace the normal step-by-step workflow. Mainline commands (`/20-spec`, `/30-plan`, `/40-implement`, `/50-verify`, `/60-report`, `/70-release`) remain the conservative default.
20
+
21
+ Do not suggest Autopilot as the default next action. Use it only when the user explicitly asks for it.
22
+
23
+ The explicit Autopilot request is permission to create checkpoint commits on the feature or fix branch after passing implementation steps. It is **not** permission to merge into `main`, push to remote, deploy, publish, delete data, or run destructive actions.
24
+
25
+ ## Input
26
+
27
+ Common forms:
28
+
29
+ - **No argument**: resume the active run in `devflow/context/current-stage.md`, or target the next planned run/feature in `devflow/context/project-overview.md`.
30
+ - **Running ID or feature name**: target that run, e.g. `/autopilot RUN-004` or `/autopilot "add user authentication"`.
31
+ - **`fix "<issue>"`**: write and execute an ad-hoc fix run.
32
+ - **`resume`**: continue the current active run on its existing branch.
33
+
34
+ If the requested target conflicts with a run already in progress, stop and ask which one should win. Do not overwrite active stage artifacts silently.
35
+
36
+ > [!IMPORTANT]
37
+ > Rollback is intentionally excluded from Autopilot. If the request is a rollback or the stage is marked Rollback, stop and direct the user to `/rollback` and reviewed `/40-implement`. Reversing completed work requires explicit dependency and human review gates.
38
+
39
+ ---
40
+
41
+ ## Step 1 - Preflight & Safety Check
42
+
43
+ Read the project state:
44
+
45
+ - `AGENTS.md` & `CLAUDE.md`
46
+ - `devflow/context/project-overview.md`
47
+ - `devflow/context/current-stage.md`
48
+ - `devflow/context/coding-standards.md`
49
+ - `devflow/context/ai-interaction.md`
50
+ - `devflow/context/findings.md`
51
+ - git branch, status, and recent log
52
+
53
+ Stop before changing files when:
54
+
55
+ 1. The repo is not a git repository.
56
+ 2. The working tree is dirty with uncommitted changes unrelated to this run.
57
+ 3. `current-stage.md` has an active run and the user requested a different target without resolving conflict.
58
+ 4. The task requires architectural, financial, auth, billing, or destructive decisions not documented in the context.
59
+
60
+ ---
61
+
62
+ ## Step 2 - Choose or Write Specification (`20-spec`)
63
+
64
+ 1. If `devflow/runs/{running-id}-{slug}/20-spec.md` already exists, resume it.
65
+ 2. If no spec exists:
66
+ - Ensure `10-define.md` exists with locked scope and allocated Running ID.
67
+ - Write `20-spec.md` following the DevFlow specification schema.
68
+ - Critique and red-team the spec (edge cases, unhappy paths, testable criteria).
69
+ - Apply fixes to the spec.
70
+
71
+ ---
72
+
73
+ ## Step 3 - Branch Setup & Implementation Plan (`30-plan`)
74
+
75
+ 1. **Branch Management**:
76
+ - Feature: `feature/{slug}-{running-id}`
77
+ - Fix: `fix/{slug}-{running-id}`
78
+ - Switch to or create the working branch. Never run Autopilot directly on `main` or `master`.
79
+ 2. **Planning**:
80
+ - Write `devflow/runs/{running-id}-{slug}/30-plan.md`.
81
+ - Seed `checklists/implementation-checklist.md` and `checklists/verification-checklist.md`.
82
+
83
+ ---
84
+
85
+ ## Step 4 - Implement in Small Increments (`40-implement`)
86
+
87
+ Work through the implementation checklist in order. Each step must remain reviewable.
88
+
89
+ For every subtask:
90
+
91
+ 1. Implement only that scoped unit.
92
+ 2. Run relevant verification (unit tests, typecheck, lint, build).
93
+ 3. If UI is involved, inspect behavior, verify console errors and network calls.
94
+ 4. Self-review diff against `coding-standards.md`.
95
+ 5. Fix issues and rerun failed checks.
96
+ 6. Mark the task checked `[x]` in `checklists/implementation-checklist.md`.
97
+ 7. **Create a Checkpoint Commit** on the feature/fix branch for the passing step:
98
+ ```bash
99
+ git add <modified-files> devflow/runs/{running-id}-{slug}/checklists/implementation-checklist.md
100
+ git commit -m "feat({running-id}): checkpoint <concise step description>"
101
+ ```
102
+ 8. Write `devflow/runs/{running-id}-{slug}/40-implement.md`.
103
+
104
+ ---
105
+
106
+ ## Step 5 - Senior QA Verification (`50-verify`)
107
+
108
+ 1. Execute full project verification commands:
109
+ - Framework integrity (`npm run check` or equivalent)
110
+ - Static contracts (`npm run check:static` when applicable)
111
+ - Project test suite (Unit tests, integration tests)
112
+ - Build / Package smoke tests
113
+ 2. Update `checklists/verification-checklist.md` with concrete evidence.
114
+ 3. Write `devflow/runs/{running-id}-{slug}/50-verify.md` with QA verdict (`PASS` / `FAIL`).
115
+
116
+ ---
117
+
118
+ ## Step 6 - Targeted Quality Audit & Repair
119
+
120
+ Review diffs and inspect `devflow/context/findings.md`:
121
+
122
+ 1. **Repair confirmed P0 and P1 findings** within the current run scope.
123
+ 2. Update finding status in `devflow/context/findings.md`.
124
+ 3. Rerun verification tests after repairs.
125
+ 4. Create a checkpoint commit for the fix.
126
+ 5. If a P0/P1 finding cannot be repaired within scope or fails twice consecutively, stop immediately and report.
127
+
128
+ ---
129
+
130
+ ## Step 7 - Delivery Digest & Review Packet (`60-report`)
131
+
132
+ 1. Write `devflow/runs/{running-id}-{slug}/60-report.md`.
133
+ 2. Render standalone HTML dashboard `devflow/runs/{running-id}-{slug}/60-report.html` (via `md2html` or report generator).
134
+ 3. Update `devflow/context/current-stage.md` to indicate ready for `/70-release`.
135
+ 4. Stop with a concise **Review Packet Dashboard** for human approval.
136
+
137
+ ---
138
+
139
+ ## 🛑 Strict Hard Stops (Never Exceed)
140
+
141
+ Stop immediately and report to the user instead of continuing when Autopilot would need to:
142
+
143
+ - Commit directly to `main` or `master`, merge branches, delete branches, or force push.
144
+ - Run `git push` to remote repositories.
145
+ - Deploy to staging/production or publish packages to npm/registries.
146
+ - Delete data, drop databases, or run irreversible destructive migrations.
147
+ - Make product, business, or architecture decisions not specified in the context.
148
+ - Continue after two failed attempts to fix the same issue (Two-attempt hard stop).
149
+
150
+ ---
151
+
152
+ ## Output Review Packet Format
153
+
154
+ When Autopilot finishes successfully, output a scannable review packet:
155
+
156
+ ```markdown
157
+ ### 🛸 Autopilot Execution Summary: [{running-id}]
158
+
159
+ - **Branch**: `{branch-name}`
160
+ - **Target Run**: `{running-id} - {title}`
161
+ - **Artifacts Generated**:
162
+ - Spec: `devflow/runs/{id}/20-spec.md`
163
+ - Plan: `devflow/runs/{id}/30-plan.md`
164
+ - Implement Evidence: `devflow/runs/{id}/40-implement.md`
165
+ - QA Verify Report: `devflow/runs/{id}/50-verify.md`
166
+ - Digest Report: `devflow/runs/{id}/60-report.md`
167
+ - HTML Dashboard: `devflow/runs/{id}/60-report.html`
168
+ - **Validation & Tests**: `All Passed (Green)`
169
+ - **Checkpoint Commits**: `{count} commits created on {branch-name}`
170
+ - **Manual QA Walkthrough**: Run `/try {running-id}` for human review guide
171
+
172
+ ---
173
+ 👉 **Next Recommended Action**:
174
+ Inspect diffs and `/try` walkthrough, then run `/70-release {running-id}` to package, merge, or create PR.
175
+ ```
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: bash-linux
3
- description: Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.
3
+ description: "[Devflow] Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems."
4
4
  allowed-tools: Read, Write, Edit, Glob, Grep, Bash
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: behavioral-modes
3
- description: AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate). Use to adapt behavior based on task type.
3
+ description: "[Devflow] AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate). Use to adapt behavior based on task type."
4
4
  allowed-tools: Read, Glob, Grep
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---name: brainstorm
2
2
 
3
- description: Structured brainstorming for projects and features. Transitional compatibility path for the Brainstorm companion command in DevFlow 2.0.
3
+ description: "[Devflow] Structured divergent and convergent ideation for features and ideas without allocating running IDs."
4
4
  ---
5
5
 
6
6
  # Brainstorm - Structured Idea Exploration
@@ -0,0 +1,77 @@
1
+ ---
2
+ name: brief
3
+ description: "[Devflow] Read-only scope, dependency, and risk pre-briefing before speccing a run."
4
+ ---
5
+
6
+ # brief - Scope, Dependency & Risk Pre-Check
7
+
8
+ Where this sits in the workflow:
9
+
10
+ ```text
11
+ 10-define or project-overview.md -> [brief] -> /20-spec -> /30-plan -> /40-implement
12
+ (proposed scope & context) (read-only (write (break down) (build it)
13
+ explainer) contract)
14
+ ```
15
+
16
+ This skill answers one essential question: ***"What does this upcoming feature or run actually involve before I commit to writing a full specification?"***
17
+
18
+ It inspects the relevant context files and provides a concise briefing so the team can decide whether to spec it now, split it into smaller runs, reorder priorities, or clear an architectural blocker first.
19
+
20
+ It is **strictly read-only 100%**. It never writes specs, creates directories, branches, or commits code.
21
+
22
+ ## Input
23
+
24
+ - **no argument**: briefs the active run in `devflow/context/current-stage.md` (or the first planned feature in `devflow/context/project-overview.md`).
25
+ - **running ID or feature name**: e.g. `/brief RUN-003`, `/brief "OAuth Login"`.
26
+ - **topic / concern**: e.g. `/brief "database migration"`.
27
+
28
+ If there is no active run and the overview does not list planned features, plainly report that context is needed and recommend `/00-discover` or `/10-define`.
29
+
30
+ ## Step 1 - Read Context (Read-Only)
31
+
32
+ Gather and synthesize:
33
+
34
+ 1. **Active/Target Scope**: Target Running ID, `10-define.md`, or roadmap feature item.
35
+ 2. **Project Context**: `devflow/context/project-overview.md` (Data models, architecture layout, primary stack, existing shipped capabilities).
36
+ 3. **Existing Codebase State**: Inspect existing directory structures, schemas, and routes touching this feature.
37
+ 4. **Dependencies**: What previously completed runs (`devflow/runs/`) or modules must be in place first.
38
+
39
+ ## Step 2 - Analyze & Assess
40
+
41
+ Evaluate:
42
+
43
+ - **What It Is**: Core capability and user-visible or system-visible outcome.
44
+ - **Depends On**: Required upstream models, tables, APIs, environment variables, or sibling runs.
45
+ - **Unblocks**: Downstream features or workflows that this run enables.
46
+ - **Touches**: Files, modules, API routes, database tables, or UI components likely to change.
47
+ - **Estimated Size**: Small (S), Medium (M), Large (L), or Extra-Large (XL - recommend splitting in `/10-define`).
48
+ - **Open Questions & Risks**: Ambiguous requirements, missing external APIs, or complex migrations.
49
+
50
+ ## Step 3 - Output Structured Briefing
51
+
52
+ Produce a short, scannable briefing:
53
+
54
+ ```markdown
55
+ ### 📋 Feature Briefing: [Feature / Run Name]
56
+
57
+ - **What**: Brief summary of the core outcome.
58
+ - **Depends On**: Prerequisite modules, runs, or infrastructure.
59
+ - **Unblocks**: Downstream capabilities enabled by this feature.
60
+ - **Touches**: Anticipated files, schemas, endpoints, and UI views.
61
+ - **Estimated Scope & Size**: `[S / M / L / XL]` (and split recommendation if XL).
62
+ - **Key Risks & Open Questions**: Technical or product unknowns that must be settled in `/20-spec`.
63
+
64
+ ---
65
+ 👉 **Next Recommended Action**: `/20-spec {running-id}` (or resolve prerequisite blocker first).
66
+ ```
67
+
68
+ ## Rules
69
+
70
+ - **Always Read-Only**: Never edit any workspace file, never allocate running IDs, never commit or execute scripts.
71
+ - **Explain, Don't Spec**: Focus on scope, architectural dependencies, and size estimation. The formal delivery contract is the responsibility of `/20-spec`.
72
+ - **Ground In Reality**: Trace all assertions back to `project-overview.md` or actual codebase facts. Do not invent non-existent packages or fictional architecture.
73
+ - **Highlight Blockers Early**: Flagging a missing prerequisite before speccing is the primary value of this command.
74
+
75
+ ## Output Formatting
76
+
77
+ Follow the project conventions in `devflow/context/ai-interaction.md`: concise, scannable markdown with bold labels and actionable bullet points.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: browser-testing-with-devtools
3
- description: Tests in real browsers. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data via Chrome DevTools MCP.
3
+ description: "[Devflow] Tests in real browsers. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data via Chrome DevTools MCP."
4
4
  ---
5
5
 
6
6
  # Browser Testing with DevTools
@@ -1,6 +1,6 @@
1
1
  ---name: changelog
2
2
 
3
- description: Update CHANGELOG.md - Automatically gather changes from specs, git history, or current state to update the project changelog.
3
+ description: "[Devflow] Update CHANGELOG.md automatically from specs, git commits, and stage report history."
4
4
  ---
5
5
  # Phase 53: Update Changelog
6
6