@jakkrichm/create-nexus-devflow 2.1.0 → 2.2.0

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 (56) hide show
  1. package/dist/bin/create-nexus-devflow.js +28 -4
  2. package/dist/bin/create-nexus-devflow.js.map +1 -1
  3. package/dist/lib/project-metadata.d.ts +1 -1
  4. package/dist/lib/project-metadata.js +3 -2
  5. package/dist/lib/project-metadata.js.map +1 -1
  6. package/dist/lib/update.js +7 -3
  7. package/dist/lib/update.js.map +1 -1
  8. package/package.json +1 -1
  9. package/template/.agents/skills/adopt/SKILL.md +58 -5
  10. package/template/.agents/skills/doctor/SKILL.md +23 -16
  11. package/template/.agents/skills/implement/SKILL.md +2 -2
  12. package/template/.agents/skills/onboard/SKILL.md +18 -17
  13. package/template/.agents/skills/rollback/SKILL.md +1 -1
  14. package/template/.claude/skills/00-explore/SKILL.md +2 -2
  15. package/template/.claude/skills/10-define/SKILL.md +2 -2
  16. package/template/.claude/skills/20-spec/SKILL.md +1 -2
  17. package/template/.claude/skills/30-plan/SKILL.md +1 -2
  18. package/template/.claude/skills/40-execute/SKILL.md +2 -2
  19. package/template/.claude/skills/50-verify/SKILL.md +2 -2
  20. package/template/.claude/skills/60-report/SKILL.md +2 -2
  21. package/template/.claude/skills/70-deliver/SKILL.md +2 -2
  22. package/template/.claude/skills/adopt/SKILL.md +191 -75
  23. package/template/.claude/skills/audit/SKILL.md +267 -133
  24. package/template/.claude/skills/autopilot/SKILL.md +226 -167
  25. package/template/.claude/skills/brainstorm/SKILL.md +62 -0
  26. package/template/.claude/skills/brief/SKILL.md +93 -92
  27. package/template/.claude/skills/check/SKILL.md +96 -76
  28. package/template/.claude/skills/ci/SKILL.md +140 -61
  29. package/template/.claude/skills/complete/SKILL.md +156 -101
  30. package/template/.claude/skills/convert-any-to-md/SKILL.md +2 -2
  31. package/template/.claude/skills/convert-any-to-md/references/setup.md +29 -0
  32. package/template/.claude/skills/convert-any-to-md/scripts/convert_any_to_md.py +487 -0
  33. package/template/.claude/skills/convert-any-to-md/scripts/requirements.txt +3 -0
  34. package/template/.claude/skills/debug/SKILL.md +124 -49
  35. package/template/.claude/skills/devflow/SKILL.md +9 -3
  36. package/template/.claude/skills/discovery/SKILL.md +150 -129
  37. package/template/.claude/skills/doctor/SKILL.md +195 -72
  38. package/template/.claude/skills/feature/SKILL.md +195 -151
  39. package/template/.claude/skills/fix/SKILL.md +41 -90
  40. package/template/.claude/skills/idea/SKILL.md +2 -2
  41. package/template/.claude/skills/implement/SKILL.md +189 -46
  42. package/template/.claude/skills/onboard/SKILL.md +216 -85
  43. package/template/.claude/skills/overview/SKILL.md +44 -29
  44. package/template/.claude/skills/prototype/SKILL.md +82 -27
  45. package/template/.claude/skills/release/SKILL.md +119 -130
  46. package/template/.claude/skills/report-html/SKILL.md +2 -2
  47. package/template/.claude/skills/rollback/SKILL.md +123 -77
  48. package/template/.claude/skills/status/SKILL.md +109 -0
  49. package/template/.claude/skills/test/SKILL.md +2 -2
  50. package/template/.claude/skills/tests/SKILL.md +126 -0
  51. package/template/.claude/skills/try/SKILL.md +77 -65
  52. package/template/AGENTS.md +2 -1
  53. package/template/devflow/build-plan.md +8 -0
  54. package/template/devflow/history/features/README.md +5 -0
  55. package/template/devflow/history/fixes/README.md +5 -0
  56. package/template/devflow/history/rollbacks/README.md +5 -0
@@ -1,108 +1,120 @@
1
1
  ---
2
2
  name: try
3
- description: "[Devflow] Generate human manual QA review walkthrough guide (where to go, what to click, what to expect)."
3
+ description: "[devflow][B] Generate a human manual try guide for the current or most recently completed Blueprint feature, fix, or rollback. Reads the spec, project commands, and available app context, then tells the user exactly what to start, where to go, what to click or run, what to expect, and what would count as wrong. Read-only. Use when the user runs /try, invokes $try, asks how to test manually, asks where to click, asks how to see the change, or wants a manual review path after /implement, /autopilot, /check, or /complete."
4
4
  ---
5
5
 
6
- # try - Manual QA & Review Walkthrough Guide
6
+ # try - manual review guide
7
7
 
8
8
  Where this sits in the workflow:
9
9
 
10
- ```text
11
- 40-execute or 50-verify or 60-report -> [try] -> human review & verification
12
- (work implemented / verified) (manual (where to go,
13
- steps) what to click)
14
- ```
10
+ /implement or /complete -> [try] -> human review
11
+ (work exists) (manual (where to go,
12
+ path) what to click)
15
13
 
16
- `50-verify` proves behavior from automated QA and test runs. `try` gives the user and testers an actionable, step-by-step manual walkthrough: start this command, open this route, click these controls, expect this result, and watch for these failure signs.
14
+ `/check` proves behavior from the agent side. `/try` gives the user a practical
15
+ manual walkthrough: start this command, open this route, click these controls,
16
+ expect this result, and watch for these failure signs.
17
17
 
18
- It is always **read-only 100%**. It does not edit files, install dependencies, commit, merge, push, or run destructive commands.
18
+ It is always read-only. It does not edit files, install dependencies, commit,
19
+ merge, push, or run destructive commands.
19
20
 
20
21
  ## Input
21
22
 
22
23
  Optional scope:
23
24
 
24
- - **no argument**: use the active run in `devflow/context/current-stage.md` (or the latest completed run under `devflow/runs/`)
25
- - `latest`: use the most recent completed run in `devflow/runs/`
26
- - a run ID or path: e.g. `try RUN-002-add-onboard-adopt-doctor-skills`
27
- - a specific route, endpoint, or CLI command: focus the walkthrough on that surface
25
+ - no argument: use the active feature, fix, or rollback in
26
+ `devflow/context/current-feature.md`
27
+ - `latest`: use the most recent archive under `devflow/history/features/`,
28
+ `devflow/history/fixes/`, or `devflow/history/rollbacks/`
29
+ - a step name or number: focus the guide on that current-feature step
30
+ - a path, route, or command: include it as the main thing to try
28
31
 
29
- If there is no active run and no run history, ask what change or feature the user wants to test manually.
32
+ If there is no active feature and no useful archive, ask what change the user
33
+ wants to try instead of guessing.
30
34
 
31
- ## Step 1 - Find The Work To Explain
35
+ ## Step 1 - find the work to explain
32
36
 
33
37
  Read:
34
38
 
35
- - `AGENTS.md` (Commands section)
36
- - `devflow/context/current-stage.md`
39
+ - `AGENTS.md`
40
+ - `devflow/context/current-feature.md`
37
41
  - `devflow/context/project-overview.md`
38
42
  - `devflow/context/coding-standards.md`
39
- - Active run artifacts: `20-spec.md`, `30-plan.md`, `40-execute.md`, `50-verify.md` (or archived run artifacts)
40
- - Current git branch and status
43
+ - `devflow/build-plan.md`
44
+ - latest files under `devflow/history/features/`,
45
+ `devflow/history/fixes/`, and `devflow/history/rollbacks/`, if the current
46
+ feature is reset
47
+ - git branch and working tree status
41
48
 
42
- Do not dump the full spec. Extract only the concrete routes, screens, CLI commands, API endpoints, test data, and expected outcomes that a human needs to verify the feature.
49
+ Prefer the active spec. If `current-feature.md` is the reset stub, use the most
50
+ recent archived feature, fix, or rollback by filename or modification time and
51
+ say that is what you used.
43
52
 
44
- ## Step 2 - Identify How To Run The App
53
+ Do not dump the spec. Pull out the routes, commands, UI surfaces, CLI commands,
54
+ API endpoints, data states, and done-whens that matter for a human trying it.
55
+ For a rollback, lead with the path that proves the removed behavior is gone, then
56
+ include one unaffected regression path from the rollback spec.
45
57
 
46
- Check the Commands section in `AGENTS.md`. Adapt to the project type:
58
+ ## Step 2 - identify how to run the app
47
59
 
48
- - **Web app**: dev server command (e.g. `npm run dev`), local URL (e.g. `http://localhost:3000`), and specific route/screen.
49
- - **Server / API**: start command, base URL, endpoint, HTTP method, payload, and expected response shape.
50
- - **CLI**: exact CLI command, flags, arguments, and expected terminal output.
51
- - **Library / Module**: sample usage snippet, REPL call, or interactive test command.
52
- - **Fullstack / Microservices**: minimal combined startup commands (e.g. backend + frontend).
60
+ Use the Commands section in `AGENTS.md`. Match the project type:
53
61
 
54
- If a startup command is missing or unclear in `AGENTS.md`, report that as a configuration gap rather than guessing.
62
+ - **Web app** - dev server command, URL, and the route or screen to open.
63
+ - **Server/API** - server command, base URL, endpoint, method, and expected
64
+ response shape.
65
+ - **CLI** - exact command(s), arguments, and expected output.
66
+ - **Library** - example command, test fixture, REPL snippet, or sample call.
67
+ - **Hybrid app** - list the smallest set of commands needed, such as backend plus
68
+ web dev server.
55
69
 
56
- ## Step 3 - Produce The Manual Walkthrough Guide
70
+ If the app may already be running, say how to reuse it. If a command is missing
71
+ from `AGENTS.md`, report that as a gap rather than inventing certainty.
57
72
 
58
- Format the guide with these 5 standard sections:
73
+ ## Step 3 - write the manual guide
59
74
 
60
- 1. **1. Start** - exact command(s) to start the system and where to run them.
61
- 2. **2. Open** - URL(s), screens, tabs, API endpoints, or terminal locations.
62
- 3. **3. Do** - specific clicks, form inputs, toggles, selections, or arguments.
63
- 4. **4. Expect** - expected visible UI change, response payload, state change, output, or absence of errors.
64
- 5. **5. Watch For** - common failure symptoms, console errors, network 4xx/5xx errors, stale state, layout breakage, or safety warnings.
75
+ Produce a short guide with these sections:
65
76
 
66
- ### Example Walkthrough Style:
77
+ 1. **Start** - commands to run and where to run them.
78
+ 2. **Open** - URLs, screens, tabs, API endpoints, or CLI commands.
79
+ 3. **Do** - clicks, inputs, selections, or command arguments.
80
+ 4. **Expect** - visible result, output, response, state change, file, or lack of
81
+ error.
82
+ 5. **Watch For** - common wrong outcomes, console or network errors, stale data,
83
+ missing fields, bad empty states, layout issues, or safety warnings.
67
84
 
68
- ```markdown
69
- ### 1. Start
70
- Run `npm run dev` in the project root.
85
+ Keep it concrete. Prefer:
71
86
 
72
- ### 2. Open
73
- Navigate to `http://localhost:3000/dashboard/reports`.
87
+ Open http://127.0.0.1:7788/api/snapshot
88
+ Expect a JSON object with `generated_at`, `services`, `projects`, and
89
+ `conflicts`.
74
90
 
75
- ### 3. Do
76
- 1. Click the **"Export Report"** button in the top right.
77
- 2. Select **"Format: HTML"** from the dropdown.
78
- 3. Click **"Download"**.
91
+ Avoid:
79
92
 
80
- ### 4. Expect
81
- - A new file `report.html` is downloaded.
82
- - The UI displays a green success toast: *"Report exported successfully"*.
83
- - The downloaded HTML file opens in the browser with full styling and charts.
93
+ Check that the snapshot works.
84
94
 
85
- ### 5. Watch For
86
- - Spinner hanging indefinitely without downloading.
87
- - Console error related to `Blob` or `URL.createObjectURL`.
88
- - Broken styling or unrendered Mermaid charts in the exported HTML.
89
- ```
95
+ ## Step 4 - include confidence and gaps
90
96
 
91
- ## Step 4 - Include Confidence, Best Signal & Gaps
97
+ End with:
92
98
 
93
- Conclude with:
99
+ - **Best signal** - the one thing the user should try first.
100
+ - **Optional deeper checks** - only if useful.
101
+ - **Gaps** - anything the guide cannot know from the docs, such as missing route
102
+ names, seed data, credentials, or external services.
94
103
 
95
- - **Best Signal**: the single most critical action the user should try first to confirm functionality.
96
- - **Edge Cases & Error Flows**: optional secondary checks (e.g. invalid input, empty state, network failure).
97
- - **Gaps & Assumptions**: anything the guide cannot know for certain (e.g. seed credentials, third-party API keys, required database fixtures).
104
+ If the feature is not user-visible, say so and provide the closest manual signal,
105
+ such as an API response, CLI output, log line, or unit test command.
98
106
 
99
107
  ## Rules
100
108
 
101
- - **Strictly Read-Only**: Never edit code, commit, push, install packages, or mutate repository state.
102
- - **Do Not Run Automatically**: Do not launch the server or run commands unless the user explicitly instructs you to do so in the chat.
103
- - **Be Concrete & Specific**: Provide exact URLs, button labels, and payloads.
104
- - **Acknowledge Uncertainty**: If a route or behavior is not specified in the spec, state it clearly as an assumption.
109
+ - Read-only only. Do not edit, commit, merge, push, install, or delete.
110
+ - Do not run the app unless the user explicitly asks you to try it for them.
111
+ - Do not pretend a path is known when the spec does not say it. Give the best
112
+ likely path and label uncertainty.
113
+ - Keep the guide short enough to follow while the app is open.
114
+ - Match the project's commands from `AGENTS.md`.
105
115
 
106
- ## Output Formatting
116
+ ## Formatting
107
117
 
108
- Follow the project conventions in `devflow/context/ai-interaction.md`: concise, scannable markdown with numbered steps and clear bold headers.
118
+ Format the output to match the project's conventions in
119
+ `devflow/context/ai-interaction.md`: concise, scannable markdown, with numbered
120
+ steps for the manual path and short bullets for warnings.
@@ -25,8 +25,9 @@ The workflow and skills are exposed through tool-specific adapters:
25
25
 
26
26
  - **OpenAI Codex, Google Antigravity & GitHub Copilot**: `.agents/skills/<skill>/SKILL.md`
27
27
  - **Claude Code**: `.claude/skills/<skill>/SKILL.md`
28
+ - **OpenCode**: `AGENTS.md` plus the compatible `.agents/skills/` or `.claude/skills/` tree already installed for the selected tools
28
29
 
29
- Unused adapter families can be removed. Codex, Antigravity, and GitHub Copilot share `.agents/` and `AGENTS.md`. Claude Code projects keep `.claude/` and `AGENTS.md` (via `CLAUDE.md`).
30
+ Unused adapter families can be removed. Codex, Antigravity, GitHub Copilot, and OpenCode share `.agents/` and `AGENTS.md`. OpenCode can also reuse `.claude/` when Claude Code is selected. Claude Code projects keep `.claude/` and `AGENTS.md` (via `CLAUDE.md`). Do not duplicate the same DevFlow skills under `.opencode/skills/`; OpenCode already discovers the compatible trees.
30
31
 
31
32
  ### Universal Invocation & Agent Directives:
32
33
 
@@ -60,3 +60,11 @@
60
60
  - *Dependencies*: Feature 6
61
61
  - *Scope*: พัฒนาระบบกระจายงานแบบคู่ขนานให้ Subagents (Coder, QA Verifier, Security Auditor) และระบบ Indexing Local Codebase Graph เพื่อดึงบริบทที่แม่นยำสูงสุด
62
62
 
63
+ ---
64
+
65
+ ## 🔄 Phase 8: Upstream Synchronization & Multi-Adapter Expansion
66
+
67
+ - [x] **8. Sync Upstream v0.13.0 (Adopt Visibility, OpenCode & Multi-Adapter Selection)** `[Size: M]`
68
+ - *Dependencies*: None
69
+ - *Scope*: ผสานความสามารถ Adopt Workflow Visibility (Commit vs Local-only), การรองรับ OpenCode และ Multi-Adapter Checkbox Prompt ใน CLI พร้อมอัปเดต Doctor checks และซิงก์ Baseline SHA เป็น v0.13.0 (`0b65166`)
70
+
@@ -0,0 +1,5 @@
1
+ # Completed Features Archive
2
+
3
+ Finished feature specs, enhancements, architecture migrations, and tooling runs are archived here as `xxx-name.md` (for Fast-Track single living specs) or `xxx-name/` (for Deep-Track stage runs).
4
+
5
+ Together they form the project's permanent feature build history, recording what was built, why, and how it was verified.
@@ -0,0 +1,5 @@
1
+ # Completed Fixes Archive
2
+
3
+ Finished bug fixes, hotfixes, regressions, security patches, and performance optimizations are archived here as `xxx-name.md` (for Fast-Track single living specs) or `xxx-name/` (for Deep-Track stage runs).
4
+
5
+ Together they form the project's permanent bug resolution history, recording root causes, TDD test decisions, and empirical proof.
@@ -0,0 +1,5 @@
1
+ # Completed Rollbacks Archive
2
+
3
+ Safely reversed features and rollback execution records are archived here as `YYYY-MM-DD-xxx-name.md` (or `YYYY-MM-DD-xxx-name/`).
4
+
5
+ Together they form the project's safe feature reversal ledger, documenting target commits, dependency review, and post-reversal verification.