@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.
- package/dist/bin/create-nexus-devflow.js +28 -4
- package/dist/bin/create-nexus-devflow.js.map +1 -1
- package/dist/lib/project-metadata.d.ts +1 -1
- package/dist/lib/project-metadata.js +3 -2
- package/dist/lib/project-metadata.js.map +1 -1
- package/dist/lib/update.js +7 -3
- package/dist/lib/update.js.map +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/adopt/SKILL.md +58 -5
- package/template/.agents/skills/doctor/SKILL.md +23 -16
- package/template/.agents/skills/implement/SKILL.md +2 -2
- package/template/.agents/skills/onboard/SKILL.md +18 -17
- package/template/.agents/skills/rollback/SKILL.md +1 -1
- package/template/.claude/skills/00-explore/SKILL.md +2 -2
- package/template/.claude/skills/10-define/SKILL.md +2 -2
- package/template/.claude/skills/20-spec/SKILL.md +1 -2
- package/template/.claude/skills/30-plan/SKILL.md +1 -2
- package/template/.claude/skills/40-execute/SKILL.md +2 -2
- package/template/.claude/skills/50-verify/SKILL.md +2 -2
- package/template/.claude/skills/60-report/SKILL.md +2 -2
- package/template/.claude/skills/70-deliver/SKILL.md +2 -2
- package/template/.claude/skills/adopt/SKILL.md +191 -75
- package/template/.claude/skills/audit/SKILL.md +267 -133
- package/template/.claude/skills/autopilot/SKILL.md +226 -167
- package/template/.claude/skills/brainstorm/SKILL.md +62 -0
- package/template/.claude/skills/brief/SKILL.md +93 -92
- package/template/.claude/skills/check/SKILL.md +96 -76
- package/template/.claude/skills/ci/SKILL.md +140 -61
- package/template/.claude/skills/complete/SKILL.md +156 -101
- package/template/.claude/skills/convert-any-to-md/SKILL.md +2 -2
- package/template/.claude/skills/convert-any-to-md/references/setup.md +29 -0
- package/template/.claude/skills/convert-any-to-md/scripts/convert_any_to_md.py +487 -0
- package/template/.claude/skills/convert-any-to-md/scripts/requirements.txt +3 -0
- package/template/.claude/skills/debug/SKILL.md +124 -49
- package/template/.claude/skills/devflow/SKILL.md +9 -3
- package/template/.claude/skills/discovery/SKILL.md +150 -129
- package/template/.claude/skills/doctor/SKILL.md +195 -72
- package/template/.claude/skills/feature/SKILL.md +195 -151
- package/template/.claude/skills/fix/SKILL.md +41 -90
- package/template/.claude/skills/idea/SKILL.md +2 -2
- package/template/.claude/skills/implement/SKILL.md +189 -46
- package/template/.claude/skills/onboard/SKILL.md +216 -85
- package/template/.claude/skills/overview/SKILL.md +44 -29
- package/template/.claude/skills/prototype/SKILL.md +82 -27
- package/template/.claude/skills/release/SKILL.md +119 -130
- package/template/.claude/skills/report-html/SKILL.md +2 -2
- package/template/.claude/skills/rollback/SKILL.md +123 -77
- package/template/.claude/skills/status/SKILL.md +109 -0
- package/template/.claude/skills/test/SKILL.md +2 -2
- package/template/.claude/skills/tests/SKILL.md +126 -0
- package/template/.claude/skills/try/SKILL.md +77 -65
- package/template/AGENTS.md +2 -1
- package/template/devflow/build-plan.md +8 -0
- package/template/devflow/history/features/README.md +5 -0
- package/template/devflow/history/fixes/README.md +5 -0
- package/template/devflow/history/rollbacks/README.md +5 -0
|
@@ -1,108 +1,120 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: try
|
|
3
|
-
description: "[
|
|
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 -
|
|
6
|
+
# try - manual review guide
|
|
7
7
|
|
|
8
8
|
Where this sits in the workflow:
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
`
|
|
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
|
|
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
|
-
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
|
|
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
|
|
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 -
|
|
35
|
+
## Step 1 - find the work to explain
|
|
32
36
|
|
|
33
37
|
Read:
|
|
34
38
|
|
|
35
|
-
- `AGENTS.md`
|
|
36
|
-
- `devflow/context/current-
|
|
39
|
+
- `AGENTS.md`
|
|
40
|
+
- `devflow/context/current-feature.md`
|
|
37
41
|
- `devflow/context/project-overview.md`
|
|
38
42
|
- `devflow/context/coding-standards.md`
|
|
39
|
-
-
|
|
40
|
-
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
58
|
+
## Step 2 - identify how to run the app
|
|
47
59
|
|
|
48
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
73
|
+
## Step 3 - write the manual guide
|
|
59
74
|
|
|
60
|
-
|
|
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
|
-
|
|
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
|
-
|
|
69
|
-
### 1. Start
|
|
70
|
-
Run `npm run dev` in the project root.
|
|
85
|
+
Keep it concrete. Prefer:
|
|
71
86
|
|
|
72
|
-
|
|
73
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
97
|
+
End with:
|
|
92
98
|
|
|
93
|
-
|
|
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
|
-
|
|
96
|
-
|
|
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
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
|
|
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
|
-
##
|
|
116
|
+
## Formatting
|
|
107
117
|
|
|
108
|
-
|
|
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.
|
package/template/AGENTS.md
CHANGED
|
@@ -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,
|
|
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.
|