@jakkrichm/create-nexus-devflow 2.0.25 → 2.1.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/README.md +30 -8
- package/dist/bin/create-nexus-devflow.d.ts +22 -1
- package/dist/bin/create-nexus-devflow.js +658 -11
- package/dist/bin/create-nexus-devflow.js.map +1 -1
- package/dist/lib/branch-context.d.ts +39 -0
- package/dist/lib/branch-context.js +196 -0
- package/dist/lib/branch-context.js.map +1 -0
- package/dist/lib/code-graph.d.ts +30 -0
- package/dist/lib/code-graph.js +209 -0
- package/dist/lib/code-graph.js.map +1 -0
- package/dist/lib/command-catalog.d.ts +11 -0
- package/dist/lib/command-catalog.js +63 -0
- package/dist/lib/command-catalog.js.map +1 -0
- package/dist/lib/context-slicer.d.ts +31 -0
- package/dist/lib/context-slicer.js +234 -0
- package/dist/lib/context-slicer.js.map +1 -0
- package/dist/lib/current-work.js +97 -49
- package/dist/lib/current-work.js.map +1 -1
- package/dist/lib/dashboard-page.d.ts +2 -0
- package/dist/lib/dashboard-page.js +285 -0
- package/dist/lib/dashboard-page.js.map +1 -0
- package/dist/lib/dashboard-snapshot.d.ts +62 -0
- package/dist/lib/dashboard-snapshot.js +114 -0
- package/dist/lib/dashboard-snapshot.js.map +1 -0
- package/dist/lib/dashboard.d.ts +2 -0
- package/dist/lib/dashboard.js +398 -8
- package/dist/lib/dashboard.js.map +1 -1
- package/dist/lib/discoveries.d.ts +19 -0
- package/dist/lib/discoveries.js +81 -0
- package/dist/lib/discoveries.js.map +1 -0
- package/dist/lib/doctor.d.ts +26 -0
- package/dist/lib/doctor.js +474 -0
- package/dist/lib/doctor.js.map +1 -0
- package/dist/lib/drift-reconciler.d.ts +38 -0
- package/dist/lib/drift-reconciler.js +155 -0
- package/dist/lib/drift-reconciler.js.map +1 -0
- package/dist/lib/findings.d.ts +26 -2
- package/dist/lib/findings.js +165 -1
- package/dist/lib/findings.js.map +1 -1
- package/dist/lib/gatekeeper.d.ts +20 -0
- package/dist/lib/gatekeeper.js +106 -0
- package/dist/lib/gatekeeper.js.map +1 -0
- package/dist/lib/git-hooks.d.ts +16 -0
- package/dist/lib/git-hooks.js +103 -0
- package/dist/lib/git-hooks.js.map +1 -0
- package/dist/lib/history.d.ts +6 -1
- package/dist/lib/history.js +98 -11
- package/dist/lib/history.js.map +1 -1
- package/dist/lib/ide-extension.d.ts +38 -0
- package/dist/lib/ide-extension.js +61 -0
- package/dist/lib/ide-extension.js.map +1 -0
- package/dist/lib/ideas.d.ts +26 -0
- package/dist/lib/ideas.js +179 -0
- package/dist/lib/ideas.js.map +1 -0
- package/dist/lib/mcp.d.ts +36 -0
- package/dist/lib/mcp.js +653 -0
- package/dist/lib/mcp.js.map +1 -0
- package/dist/lib/status.d.ts +3 -1
- package/dist/lib/status.js +60 -6
- package/dist/lib/status.js.map +1 -1
- package/dist/lib/swarm-orchestrator.d.ts +31 -0
- package/dist/lib/swarm-orchestrator.js +134 -0
- package/dist/lib/swarm-orchestrator.js.map +1 -0
- package/dist/lib/update.js +2 -2
- package/dist/lib/update.js.map +1 -1
- package/dist/lib/version-check.d.ts +22 -0
- package/dist/lib/version-check.js +59 -0
- package/dist/lib/version-check.js.map +1 -0
- package/dist/lib/webview-studio.d.ts +8 -0
- package/dist/lib/webview-studio.js +463 -0
- package/dist/lib/webview-studio.js.map +1 -0
- package/dist/lib/workflow-state.d.ts +23 -0
- package/dist/lib/workflow-state.js +128 -0
- package/dist/lib/workflow-state.js.map +1 -0
- package/dist/scripts/prepare-template.js +3 -3
- package/package.json +1 -1
- package/template/{.claude/skills/00-discover → .agents/skills/00-explore}/SKILL.md +10 -10
- package/template/.agents/skills/10-define/SKILL.md +4 -4
- package/template/.agents/skills/20-spec/SKILL.md +2 -3
- package/template/.agents/skills/30-plan/SKILL.md +2 -3
- package/template/.agents/skills/40-execute/SKILL.md +2 -2
- package/template/.agents/skills/50-verify/SKILL.md +2 -2
- package/template/.agents/skills/60-report/SKILL.md +3 -3
- package/template/{.claude/skills/70-release → .agents/skills/70-deliver}/SKILL.md +7 -13
- package/template/.agents/skills/adopt/SKILL.md +136 -73
- package/template/.agents/skills/audit/SKILL.md +275 -0
- package/template/.agents/skills/autopilot/SKILL.md +228 -147
- package/template/.agents/skills/brainstorm/SKILL.md +3 -3
- package/template/.agents/skills/brief/SKILL.md +74 -51
- package/template/.agents/skills/check/SKILL.md +96 -76
- package/template/.agents/skills/ci/SKILL.md +140 -61
- package/template/.agents/skills/complete/SKILL.md +156 -101
- package/template/.agents/skills/convert-any-to-md/SKILL.md +2 -2
- package/template/.agents/skills/debug/SKILL.md +124 -49
- package/template/.agents/skills/devflow/SKILL.md +16 -10
- package/template/.agents/skills/discovery/SKILL.md +166 -0
- package/template/.agents/skills/doctor/SKILL.md +188 -72
- package/template/.agents/skills/feature/SKILL.md +195 -102
- package/template/.agents/skills/fix/SKILL.md +41 -90
- package/template/.agents/skills/idea/SKILL.md +3 -3
- package/template/.agents/skills/implement/SKILL.md +189 -46
- package/template/.agents/skills/onboard/SKILL.md +215 -85
- package/template/.agents/skills/overview/SKILL.md +51 -85
- package/template/.agents/skills/prototype/SKILL.md +82 -27
- package/template/.agents/skills/release/SKILL.md +160 -0
- package/template/.agents/skills/report-html/SKILL.md +2 -2
- package/template/.agents/skills/rollback/SKILL.md +123 -77
- package/template/.agents/skills/status/SKILL.md +109 -0
- package/template/.agents/skills/test/SKILL.md +2 -2
- package/template/.agents/skills/tests/SKILL.md +126 -0
- package/template/.agents/skills/try/SKILL.md +77 -65
- package/template/{.agents/skills/00-discover → .claude/skills/00-explore}/SKILL.md +9 -9
- package/template/.claude/skills/10-define/SKILL.md +2 -2
- package/template/.claude/skills/20-spec/SKILL.md +1 -1
- package/template/.claude/skills/30-plan/SKILL.md +1 -1
- package/template/.claude/skills/60-report/SKILL.md +1 -1
- package/template/{.agents/skills/70-release → .claude/skills/70-deliver}/SKILL.md +6 -12
- package/template/.claude/skills/adopt/SKILL.md +2 -2
- package/template/.claude/skills/audit/SKILL.md +141 -0
- package/template/.claude/skills/autopilot/SKILL.md +74 -52
- package/template/.claude/skills/brief/SKILL.md +67 -45
- package/template/.claude/skills/ci/SKILL.md +1 -1
- package/template/.claude/skills/complete/SKILL.md +1 -1
- package/template/.claude/skills/debug/SKILL.md +1 -1
- package/template/.claude/skills/devflow/SKILL.md +7 -7
- package/template/.claude/skills/discovery/SKILL.md +145 -0
- package/template/.claude/skills/doctor/SKILL.md +1 -1
- package/template/.claude/skills/feature/SKILL.md +67 -18
- package/template/.claude/skills/fix/SKILL.md +1 -1
- package/template/.claude/skills/idea/SKILL.md +2 -2
- package/template/.claude/skills/onboard/SKILL.md +3 -3
- package/template/.claude/skills/overview/SKILL.md +39 -88
- package/template/.claude/skills/prototype/SKILL.md +1 -1
- package/template/.claude/skills/release/SKILL.md +171 -0
- package/template/.claude/skills/rollback/SKILL.md +2 -2
- package/template/AGENTS.md +5 -5
- package/template/devflow/build-plan.md +62 -0
- package/template/devflow/context/ai-interaction.md +4 -4
- package/template/devflow/context/coding-standards.md +3 -3
- package/template/devflow/context/current-stage.md +1 -1
- package/template/devflow/context/findings.md +1 -1
- package/template/devflow/history/HISTORY.md +2 -2
- package/template/devflow/project-plan.md +79 -0
- package/template/devflow/reference/mockup.html +476 -0
- package/template/devflow/reference/project-overview-template.md +39 -0
- package/template/devflow/reference/running-id-contract.md +24 -2
- package/template/devflow/reference/studio.html +504 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: autopilot
|
|
3
|
-
description: "[Devflow] Optional explicit mode for one bounded
|
|
3
|
+
description: "[Devflow] Optional explicit mode for one bounded Fast-Track or Deep-Track delivery pass with checkpoint commits and review packet."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# autopilot - Autonomous Bounded DevFlow Loop
|
|
@@ -8,27 +8,31 @@ description: "[Devflow] Optional explicit mode for one bounded spec/plan/impleme
|
|
|
8
8
|
Where this sits in the workflow:
|
|
9
9
|
|
|
10
10
|
```text
|
|
11
|
-
devflow -> [autopilot] -> review packet -> 70-
|
|
12
|
-
(where (
|
|
13
|
-
are we?)
|
|
14
|
-
report)
|
|
11
|
+
devflow -> [autopilot] -> review packet -> /complete (fast) / 70-deliver (deep)
|
|
12
|
+
(where (fast or deep (human review, (package, PR,
|
|
13
|
+
are we?) track loop) walkthrough) merge with approval)
|
|
15
14
|
```
|
|
16
15
|
|
|
17
|
-
Autopilot is an explicit opt-in execution skill for Nexus-DevFlow 2.0. It runs
|
|
16
|
+
Autopilot is an explicit opt-in execution skill for Nexus-DevFlow 2.0. It runs one bounded loop without requiring human confirmation between every sub-step, in either track:
|
|
18
17
|
|
|
19
|
-
|
|
18
|
+
- Fast-Track: `feature` / `fix` -> `implement` -> `check`.
|
|
19
|
+
- Deep-Track: `20-spec` -> `30-plan` -> `40-execute` -> `50-verify` -> `60-report`.
|
|
20
|
+
|
|
21
|
+
It does **not** replace the normal step-by-step workflow. Mainline commands (`feature`, `fix`, `implement`, `check`, `complete`, `20-spec`, `30-plan`, `40-execute`, `50-verify`, `60-report`, `70-deliver`) remain the conservative default.
|
|
20
22
|
|
|
21
23
|
Do not suggest Autopilot as the default next action. Use it only when the user explicitly asks for it.
|
|
22
24
|
|
|
23
|
-
The explicit Autopilot request is permission to create checkpoint commits on the feature
|
|
25
|
+
The explicit Autopilot request is permission to create checkpoint commits on the feature/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
26
|
|
|
25
27
|
## Input
|
|
26
28
|
|
|
27
29
|
Common forms:
|
|
28
30
|
|
|
29
31
|
- **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
|
-
-
|
|
31
|
-
- **`
|
|
32
|
+
- **`fast`**: force Fast-Track mode. Example: `autopilot fast "add auth header"`
|
|
33
|
+
- **`deep`**: force Deep-Track mode. Example: `autopilot deep "data migration"`
|
|
34
|
+
- **Running ID or feature name**: target that run, e.g. `autopilot RUN-004` or `autopilot "add user authentication"` (mode auto-selected from context).
|
|
35
|
+
- **`fix "<issue>"`**: write and execute an ad-hoc fast-mode fix run.
|
|
32
36
|
- **`resume`**: continue the current active run on its existing branch.
|
|
33
37
|
|
|
34
38
|
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.
|
|
@@ -36,8 +40,6 @@ If the requested target conflicts with a run already in progress, stop and ask w
|
|
|
36
40
|
> [!IMPORTANT]
|
|
37
41
|
> 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-execute`. Reversing completed work requires explicit dependency and human review gates.
|
|
38
42
|
|
|
39
|
-
---
|
|
40
|
-
|
|
41
43
|
## Step 1 - Preflight & Safety Check
|
|
42
44
|
|
|
43
45
|
Read the project state:
|
|
@@ -45,11 +47,20 @@ Read the project state:
|
|
|
45
47
|
- `AGENTS.md` & `CLAUDE.md`
|
|
46
48
|
- `devflow/context/project-overview.md`
|
|
47
49
|
- `devflow/context/current-stage.md`
|
|
50
|
+
- `devflow/context/current-feature.md`
|
|
51
|
+
- `devflow/context/current-run/` artifacts
|
|
48
52
|
- `devflow/context/coding-standards.md`
|
|
49
53
|
- `devflow/context/ai-interaction.md`
|
|
50
54
|
- `devflow/context/findings.md`
|
|
51
55
|
- git branch, status, and recent log
|
|
52
56
|
|
|
57
|
+
Track mode selection:
|
|
58
|
+
|
|
59
|
+
1. Use explicit `fast` or `deep` if provided.
|
|
60
|
+
2. If `devflow/context/current-feature.md` is active and `current-run/` has no deep stage files, default to **fast**.
|
|
61
|
+
3. If `devflow/context/current-run/` has deep stage files (`10-define.md`, `20-spec.md`, `30-plan.md`, etc.), default to **deep**.
|
|
62
|
+
4. If both tracks are active, stop and ask which track should win.
|
|
63
|
+
|
|
53
64
|
Stop before changing files when:
|
|
54
65
|
|
|
55
66
|
1. The repo is not a git repository.
|
|
@@ -57,18 +68,24 @@ Stop before changing files when:
|
|
|
57
68
|
3. `current-stage.md` has an active run and the user requested a different target without resolving conflict.
|
|
58
69
|
4. The task requires architectural, financial, auth, billing, or destructive decisions not documented in the context.
|
|
59
70
|
|
|
60
|
-
|
|
71
|
+
## Step 2 - Choose or Write Specification
|
|
61
72
|
|
|
62
|
-
|
|
73
|
+
### Fast-Track
|
|
63
74
|
|
|
64
|
-
1. If `devflow/
|
|
75
|
+
1. If `devflow/context/current-feature.md` already exists and is active, resume it.
|
|
76
|
+
2. If no spec exists:
|
|
77
|
+
- Write or refresh the spec in `devflow/context/current-feature.md`.
|
|
78
|
+
- Lock scope, acceptance criteria, and implementation checklist.
|
|
79
|
+
- Add feasibility checks and test hooks.
|
|
80
|
+
3. Critique and red-team the spec (edge cases, unhappy paths, testable criteria), then apply fixes.
|
|
81
|
+
|
|
82
|
+
### Deep-Track
|
|
83
|
+
|
|
84
|
+
1. If `devflow/context/current-run/20-spec.md` already exists, resume it.
|
|
65
85
|
2. If no spec exists:
|
|
66
86
|
- Ensure `10-define.md` exists with locked scope and allocated Running ID.
|
|
67
87
|
- 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
|
-
---
|
|
88
|
+
- Critique and red-team the spec (edge cases, unhappy paths, testable criteria), then apply fixes.
|
|
72
89
|
|
|
73
90
|
## Step 3 - Branch Setup & Implementation Plan (`30-plan`)
|
|
74
91
|
|
|
@@ -77,10 +94,8 @@ Stop before changing files when:
|
|
|
77
94
|
- Fix: `fix/{slug}-{running-id}`
|
|
78
95
|
- Switch to or create the working branch. Never run Autopilot directly on `main` or `master`.
|
|
79
96
|
2. **Planning**:
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
---
|
|
97
|
+
- **Fast-Track**: maintain the implementation and verification checklist sections in `devflow/context/current-feature.md`.
|
|
98
|
+
- **Deep-Track**: write `devflow/context/current-run/30-plan.md` and seed `checklists/implementation-checklist.md` and `checklists/verification-checklist.md`.
|
|
84
99
|
|
|
85
100
|
## Step 4 - Implement in Small Increments (`40-execute`)
|
|
86
101
|
|
|
@@ -93,15 +108,19 @@ For every subtask:
|
|
|
93
108
|
3. If UI is involved, inspect behavior, verify console errors and network calls.
|
|
94
109
|
4. Self-review diff against `coding-standards.md`.
|
|
95
110
|
5. Fix issues and rerun failed checks.
|
|
96
|
-
6. Mark the task checked `[x]
|
|
111
|
+
6. Mark the task checked `[x]`.
|
|
97
112
|
7. **Create a Checkpoint Commit** on the feature/fix branch for the passing step:
|
|
98
113
|
```bash
|
|
99
|
-
|
|
114
|
+
# Fast-Track
|
|
115
|
+
git add <modified-files> devflow/context/current-feature.md
|
|
100
116
|
git commit -m "feat({running-id}): checkpoint <concise step description>"
|
|
101
|
-
```
|
|
102
|
-
8. Write `devflow/runs/{running-id}-{slug}40-execute.md`.
|
|
103
117
|
|
|
104
|
-
|
|
118
|
+
# Deep-Track
|
|
119
|
+
git add <modified-files> devflow/context/current-run/{running-id}-{slug}/checklists/implementation-checklist.md
|
|
120
|
+
git commit -m "feat({running-id}): checkpoint <concise step description>"
|
|
121
|
+
```
|
|
122
|
+
8. **Fast-Track**: write implementation status to `devflow/context/current-feature.md`.
|
|
123
|
+
9. **Deep-Track**: write `devflow/context/current-run/{running-id}-{slug}40-execute.md`.
|
|
105
124
|
|
|
106
125
|
## Step 5 - Senior QA Verification (`50-verify`)
|
|
107
126
|
|
|
@@ -110,10 +129,11 @@ For every subtask:
|
|
|
110
129
|
- Static contracts (`npm run check:static` when applicable)
|
|
111
130
|
- Project test suite (Unit tests, integration tests)
|
|
112
131
|
- Build / Package smoke tests
|
|
113
|
-
2. Update
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
132
|
+
2. Update verification evidence with concrete evidence in the active track artifact:
|
|
133
|
+
- **Fast-Track**: `devflow/context/current-feature.md`
|
|
134
|
+
- **Deep-Track**: `checklists/verification-checklist.md`
|
|
135
|
+
3. **Deep-Track**: write `devflow/context/current-run/{running-id}-{slug}50-verify.md` with QA verdict (`PASS` / `FAIL`).
|
|
136
|
+
4. **Fast-Track**: confirm check stage transition and verification state in `devflow/context/current-feature.md`.
|
|
117
137
|
|
|
118
138
|
## Step 6 - Targeted Quality Audit & Repair
|
|
119
139
|
|
|
@@ -125,16 +145,15 @@ Review diffs and inspect `devflow/context/findings.md`:
|
|
|
125
145
|
4. Create a checkpoint commit for the fix.
|
|
126
146
|
5. If a P0/P1 finding cannot be repaired within scope or fails twice consecutively, stop immediately and report.
|
|
127
147
|
|
|
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.
|
|
148
|
+
## Step 7 - Review Packet & Track Handoff
|
|
136
149
|
|
|
137
|
-
|
|
150
|
+
1. **Deep-Track**: write `devflow/context/current-run/{running-id}-{slug}60-report.md`, render standalone HTML dashboard `devflow/context/current-run/{running-id}-{slug}60-report.html` (via `md2html` or report generator), and set `devflow/context/current-stage.md` to ready for `70-deliver`.
|
|
151
|
+
2. **Fast-Track**: keep final checkpoint and evidence in `devflow/context/current-feature.md`.
|
|
152
|
+
3. Stop with a concise **Review Packet Dashboard** for human approval, including:
|
|
153
|
+
- Track used (`fast` or `deep`)
|
|
154
|
+
- Evidence summary
|
|
155
|
+
- Commit count
|
|
156
|
+
- Manual next action (`/complete` for fast, `/70-deliver` for deep)
|
|
138
157
|
|
|
139
158
|
## 🛑 Strict Hard Stops (Never Exceed)
|
|
140
159
|
|
|
@@ -147,29 +166,32 @@ Stop immediately and report to the user instead of continuing when Autopilot wou
|
|
|
147
166
|
- Make product, business, or architecture decisions not specified in the context.
|
|
148
167
|
- Continue after two failed attempts to fix the same issue (Two-attempt hard stop).
|
|
149
168
|
|
|
150
|
-
---
|
|
151
|
-
|
|
152
169
|
## Output Review Packet Format
|
|
153
170
|
|
|
154
171
|
When Autopilot finishes successfully, output a scannable review packet:
|
|
155
172
|
|
|
156
173
|
```markdown
|
|
157
|
-
### 🛸 Autopilot Execution Summary: [{running-id}]
|
|
174
|
+
### 🛸 Autopilot Execution Summary: [{running-id}] ({track})
|
|
158
175
|
|
|
159
176
|
- **Branch**: `{branch-name}`
|
|
160
177
|
- **Target Run**: `{running-id} - {title}`
|
|
161
178
|
- **Artifacts Generated**:
|
|
162
|
-
-
|
|
163
|
-
|
|
164
|
-
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
-
|
|
179
|
+
- **Fast-Track**:
|
|
180
|
+
- Spec/Build/Verify evidence: `devflow/context/current-feature.md`
|
|
181
|
+
- **Deep-Track**:
|
|
182
|
+
- Spec: `devflow/context/current-run/{id}20-spec.md`
|
|
183
|
+
- Plan: `devflow/context/current-run/{id}30-plan.md`
|
|
184
|
+
- Implement Evidence: `devflow/context/current-run/{id}40-execute.md`
|
|
185
|
+
- QA Verify Report: `devflow/context/current-run/{id}50-verify.md`
|
|
186
|
+
- Digest Report: `devflow/context/current-run/{id}60-report.md`
|
|
187
|
+
- HTML Dashboard: `devflow/context/current-run/{id}60-report.html`
|
|
188
|
+
- **Validation & Tests**: track-aware PASS/FAIL evidence
|
|
169
189
|
- **Checkpoint Commits**: `{count} commits created on {branch-name}`
|
|
170
190
|
- **Manual QA Walkthrough**: Run `try {running-id}` for human review guide
|
|
171
191
|
|
|
172
192
|
---
|
|
173
193
|
👉 **Next Recommended Action**:
|
|
174
|
-
Inspect diffs and `try` walkthrough
|
|
194
|
+
Inspect diffs and `try` walkthrough.
|
|
195
|
+
- Fast-Track: run `/complete {running-id}` for final safety and merge flow.
|
|
196
|
+
- Deep-Track: run `70-deliver {running-id}` to package, merge, or create PR.
|
|
175
197
|
```
|
|
@@ -1,77 +1,99 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brief
|
|
3
|
-
description: "[Devflow]
|
|
3
|
+
description: "[Devflow] Deep read-only scope, codebase impact, dependency, and sub-feature split briefing before speccing a run (reads build-plan.md or ideas.md)."
|
|
4
|
+
argument-hint: "[feature-number | 'feature-name' | IDEA-xxx]"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
# brief - Scope, Dependency &
|
|
7
|
+
# brief - Deep Scope, Dependency & Codebase Impact Briefing
|
|
7
8
|
|
|
8
9
|
Where this sits in the workflow:
|
|
9
10
|
|
|
10
11
|
```text
|
|
11
|
-
|
|
12
|
-
(
|
|
13
|
-
|
|
12
|
+
devflow/build-plan.md (or ideas.md) ──▶ [brief] ──▶ feature / 20-spec ──▶ implement / 40-execute
|
|
13
|
+
(feature queue & context) (deep read-only (write spec) (build it)
|
|
14
|
+
explainer)
|
|
14
15
|
```
|
|
15
16
|
|
|
16
|
-
This skill answers one essential question: ***"What does this upcoming feature
|
|
17
|
+
This skill answers one essential question: ***"What does this upcoming feature actually touch and involve in the real codebase before I commit to writing a full specification?"***
|
|
17
18
|
|
|
18
|
-
It inspects
|
|
19
|
+
It inspects `devflow/build-plan.md` (or `devflow/ideas.md` / `project-overview.md`) and conducts a **Deep Static Codebase Analysis** to provide a concise briefing — calculating files touched, dependency chains, estimated size (`XS`..`XL`), and actionable sub-feature split proposals before any work begins.
|
|
19
20
|
|
|
20
21
|
It is **strictly read-only 100%**. It never writes specs, creates directories, branches, or commits code.
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
---
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
- **running ID or feature name**: e.g. `brief RUN-003`, `brief "OAuth Login"`.
|
|
26
|
-
- **topic / concern**: e.g. `brief "database migration"`.
|
|
25
|
+
## Usage & Invocations
|
|
27
26
|
|
|
28
|
-
|
|
27
|
+
```text
|
|
28
|
+
brief # Briefs the next unchecked feature in build-plan.md
|
|
29
|
+
brief 2 # Briefs feature #2 in build-plan.md
|
|
30
|
+
brief "OAuth Login" # Briefs a specific feature by name
|
|
31
|
+
brief IDEA-003 # Briefs a pending idea from ideas.md
|
|
32
|
+
```
|
|
29
33
|
|
|
30
|
-
|
|
34
|
+
If there is no build plan or pending idea, plainly report that context is needed and recommend `/discovery` or `/overview`.
|
|
31
35
|
|
|
32
|
-
|
|
36
|
+
---
|
|
33
37
|
|
|
34
|
-
|
|
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
|
+
## 3-Step Briefing Protocol
|
|
38
39
|
|
|
39
|
-
|
|
40
|
+
### Step 1 - Read Context & Target Resolution (Read-Only)
|
|
40
41
|
|
|
41
|
-
|
|
42
|
+
1. **Target Item Resolution**:
|
|
43
|
+
- If argument provided (`2`, `"OAuth Login"`, `IDEA-003`): find matching item in `devflow/build-plan.md` or `devflow/ideas.md`.
|
|
44
|
+
- If no argument: locate the first unchecked item (`- [ ]`) in `devflow/build-plan.md`. If build plan is empty, locate the first pending item in `devflow/ideas.md`.
|
|
45
|
+
2. **Project Architecture**: Read `devflow/context/project-overview.md` and `devflow/context/coding-standards.md`.
|
|
46
|
+
3. **Deep Codebase Inspection**:
|
|
47
|
+
- Inspect existing directory structures, routing files, data models/schemas, database migrations, API handlers, and UI component trees.
|
|
48
|
+
- Trace existing modules related to the target feature.
|
|
42
49
|
|
|
43
|
-
|
|
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.
|
|
50
|
+
---
|
|
49
51
|
|
|
50
|
-
|
|
52
|
+
### Step 2 - Analyze Scope, Dependencies & Sizing
|
|
51
53
|
|
|
52
|
-
|
|
54
|
+
Evaluate with concrete facts:
|
|
53
55
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
+
1. **What It Is**: Core capability and user-visible or system-visible outcome.
|
|
57
|
+
2. **Dependencies & Prerequisites**: Upstream database models, authentication layers, environment variables, or sibling features that must be complete first.
|
|
58
|
+
3. **Unblocks**: Downstream features or workflows enabled once this item ships.
|
|
59
|
+
4. **Files & Modules Touched**: List predicted files and folders likely to be created or modified (e.g. `lib/`, `routes/`, `components/`, `test/`).
|
|
60
|
+
5. **Estimated Size**:
|
|
61
|
+
- `XS`: Small tweak / config (~15-30 mins, 1-2 files)
|
|
62
|
+
- `S`: Single component or route (~1-2 hours, 2-4 files)
|
|
63
|
+
- `M`: Full CRUD feature or service integration (~half day, 4-7 files)
|
|
64
|
+
- `L`: Complex multi-component subsystem (~1 day, 7-12 files)
|
|
65
|
+
- `XL`: Major epic (>12 files or heavy cross-cutting concerns)
|
|
66
|
+
6. **Sub-Feature Split Engine (for L and XL)**:
|
|
67
|
+
- If the feature is `L` or `XL`, draft a concrete 2-3 sub-feature breakdown (e.g. `4a: Backend Schema & Core APIs`, `4b: Frontend UI & Client State`) with individual sizing and sequential dependencies.
|
|
68
|
+
7. **Key Risks & Open Questions**: Unsettled API contracts, performance bottlenecks, migration risks, or design decisions.
|
|
56
69
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
### Step 3 - Output Structured Briefing Card
|
|
73
|
+
|
|
74
|
+
Produce a clean, scannable briefing directly in the chat in **Thai (`th`)**:
|
|
75
|
+
|
|
76
|
+
```markdown
|
|
77
|
+
### 📋 Feature Briefing: [หมายเลขหรือรหัส - ชื่อฟีเจอร์]
|
|
78
|
+
|
|
79
|
+
- **🎯 What**: [สรุปเป้าหมายและความสามารถหลักสั้นๆ]
|
|
80
|
+
- **🔗 Dependencies**: [ฟีเจอร์หรือโมดูลก่อนหน้าที่ต้องมี หรือ 'None']
|
|
81
|
+
- **🔓 Unlocks**: [ฟีเจอร์ถัดไปในแผนงานที่จะถูกปลดล็อก]
|
|
82
|
+
- **📁 Files Touched**: [รายชื่อไฟล์และโมดูลที่คาดว่าจะต้องแก้ไขหรือสร้างใหม่]
|
|
83
|
+
- **⚖️ Estimated Scope & Size**: `[XS | S | M | L | XL]`
|
|
84
|
+
- **✂️ Sub-Feature Split Proposal** *(กรณีขนาด L หรือ XL)*:
|
|
85
|
+
- `[ID]a: [ขอบเขตย่อยส่วนที่ 1]` (Size: M, Dependencies: None)
|
|
86
|
+
- `[ID]b: [ขอบเขตย่อยส่วนที่ 2]` (Size: M, Dependencies: [ID]a)
|
|
87
|
+
- **⚠️ Key Risks & Open Questions**: [ความเสี่ยงทางเทคนิคหรือคำถามที่ต้องตอบใน Spec]
|
|
63
88
|
|
|
64
89
|
---
|
|
65
|
-
👉 **Next Recommended Action**:
|
|
90
|
+
👉 **Next Recommended Action**: `/feature {target}` (หรือเริ่มทำ sub-feature แรก เช่น `/feature 4a`)
|
|
66
91
|
```
|
|
67
92
|
|
|
68
|
-
|
|
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.
|
|
93
|
+
---
|
|
74
94
|
|
|
75
|
-
##
|
|
95
|
+
## Strict Rules & Guardrails
|
|
76
96
|
|
|
77
|
-
|
|
97
|
+
1. **Always Read-Only**: Never edit workspace files, allocate running IDs, switch branches, or commit code during `/brief`.
|
|
98
|
+
2. **Explain, Don't Spec**: Focus on scope, architectural dependencies, and size estimation. The formal delivery contract belongs to `/feature` or `20-spec`.
|
|
99
|
+
3. **Ground In Reality**: Trace all assertions back to `project-overview.md` and active codebase inspection. Do not hallucinate non-existent files or packages.
|
|
@@ -91,7 +91,7 @@ When invoked:
|
|
|
91
91
|
Update `devflow/context/current-stage.md`:
|
|
92
92
|
- `Active Discovery ID`: `None`
|
|
93
93
|
- `Active Running ID`: `None (Idle)`
|
|
94
|
-
- `Current Stage`: `Idle (Ready for new /feature, /fix, or /00-
|
|
94
|
+
- `Current Stage`: `Idle (Ready for new /feature, /fix, or /00-explore)`
|
|
95
95
|
- `Living Spec`: `None`
|
|
96
96
|
- `Last Completed Run`: `{ID} ({YYYY-MM-DD})`
|
|
97
97
|
- `Last Updated`: `{YYYY-MM-DD}`
|
|
@@ -64,7 +64,7 @@ Structure:
|
|
|
64
64
|
|
|
65
65
|
- **Classification**: Companion command & Investigation lane
|
|
66
66
|
- **Mainline integration**:
|
|
67
|
-
- During `00-
|
|
67
|
+
- During `00-explore`: Unclear failure intake before allocation
|
|
68
68
|
- During `40-execute`: Hard test failure or unexpected runtime exception
|
|
69
69
|
- During `50-verify`: Defect found during QA inspection
|
|
70
70
|
- **Handoff**: `test` (write repro test), `40-execute` (execute fix), `50-verify` (re-check)
|
|
@@ -17,7 +17,7 @@ Use this skill to guide the user on what to do next, inspect current workspace s
|
|
|
17
17
|
Nexus-DevFlow supports two seamless workflow tracks:
|
|
18
18
|
1. **🏎️ Fast-Track (Blueprint Mode - 4 Steps)**: `/spec` ➔ `/implement` ➔ `/check` ➔ `/complete`
|
|
19
19
|
*Driven by a **Single Living Spec (`current-feature.md`)** for fast, high-velocity daily development and bugfixes (85% of tasks).*
|
|
20
|
-
2. **🏗️ Deep-Track (Architect Mode - 8 Steps)**: `00-
|
|
20
|
+
2. **🏗️ Deep-Track (Architect Mode - 8 Steps)**: `00-explore` ➔ `10-define` ➔ `20-spec` ➔ `30-plan` ➔ `40-execute` ➔ `50-verify` ➔ `60-report` ➔ `70-deliver`
|
|
21
21
|
*Driven by modular separate stage files for large, high-stakes architectural epics and multi-agent coordination.*
|
|
22
22
|
|
|
23
23
|
---
|
|
@@ -37,7 +37,7 @@ When invoked without an argument (or when determining the next step), inspect:
|
|
|
37
37
|
- If at `20-spec.md` -> Recommend `30-plan {RUNNING_ID}`.
|
|
38
38
|
- If at `30-plan.md` -> Recommend `40-execute {RUNNING_ID}`.
|
|
39
39
|
- If at `40-execute.md` with all tasks done -> Recommend `50-verify {RUNNING_ID}`.
|
|
40
|
-
- If passed `50-verify.md` -> Recommend `60-report {RUNNING_ID}` then `70-
|
|
40
|
+
- If passed `50-verify.md` -> Recommend `60-report {RUNNING_ID}` then `70-deliver {RUNNING_ID}`.
|
|
41
41
|
3. **Active Discovery**: Check `devflow/discoveries/` for open discovery notes.
|
|
42
42
|
4. **Pending Ideas Inbox**: Check `devflow/ideas.md`. If items exist under `## 📌 Pending Ideas`, summarize them in a **💡 Pending Ideas (Inbox)** list with their IDs (`[IDEA-xxx]`), feasibility, and mention that they can be started with `/spec IDEA-xxx`.
|
|
43
43
|
5. **Audit Findings Ledger**: Check `devflow/context/findings.md` for open high-severity findings.
|
|
@@ -46,7 +46,7 @@ When invoked without an argument (or when determining the next step), inspect:
|
|
|
46
46
|
- If no run is active and user wants to start a feature -> Recommend `/spec <name>` (or `/feature <name>`).
|
|
47
47
|
- If no run is active and user wants to fix a bug -> Recommend `/fix <bug>`.
|
|
48
48
|
- If no run is active and user has pending ideas in `devflow/ideas.md` -> Highlight `/spec IDEA-xxx`.
|
|
49
|
-
- If no run is active and user wants deep architectural exploration -> Recommend `00-
|
|
49
|
+
- If no run is active and user wants deep architectural exploration -> Recommend `00-explore`.
|
|
50
50
|
- If user asks to check system health -> Recommend `doctor`.
|
|
51
51
|
|
|
52
52
|
---
|
|
@@ -65,13 +65,13 @@ When invoked without an argument (or when determining the next step), inspect:
|
|
|
65
65
|
| "Setup DevFlow on fresh/new project" | `onboard` | `onboard` / `setup` | `onboard` -> `/spec` or `10-define` |
|
|
66
66
|
| "Adopt DevFlow on existing codebase" | `adopt` | `adopt` / `bootstrap` | `adopt` -> `/spec` or `10-define` |
|
|
67
67
|
| "Check setup health & diagnostics" | `doctor` | `doctor` / `health` | `doctor` |
|
|
68
|
-
| "Explore a new request / deep idea" | `00-
|
|
68
|
+
| "Explore a new request / deep idea" | `00-explore` | `discover` | **Deep-Track**: `00` -> `10` -> `20` -> ... |
|
|
69
69
|
| "Define delivery boundaries and ID" | `10-define` | `define` | **Deep-Track**: `10` -> `20` -> `30` |
|
|
70
70
|
| "Break down spec into plan (Deep)" | `30-plan` | `plan` | **Deep-Track**: `30` -> `40` -> `50` |
|
|
71
71
|
| "Deep code implementation" | `40-execute` | `implement` | **Deep-Track**: `40` -> `50` |
|
|
72
72
|
| "Deep QA verification" | `50-verify` | `verify` | **Deep-Track**: `50` -> `60` -> `70` |
|
|
73
73
|
| "Deep markdown digest report" | `60-report` | `report` | **Deep-Track**: `60` -> `70` |
|
|
74
|
-
| "Deep release packaging & merge" | `70-
|
|
74
|
+
| "Deep release packaging & merge" | `70-deliver` | `release` | **Deep-Track**: `70-deliver` |
|
|
75
75
|
| "Human manual QA walkthrough guide" | `try` | `try` | Companion (after implement or check) |
|
|
76
76
|
| "Safely plan feature or run reversal" | `rollback` | `rollback` | Companion |
|
|
77
77
|
| "Set up automatic GitHub Actions CI" | `ci` | `ci` | Companion |
|
|
@@ -91,14 +91,14 @@ When invoked without an argument (or when determining the next step), inspect:
|
|
|
91
91
|
- `complete` (`/complete`, `$complete`) - Safety pass, release digest, git merge, close run
|
|
92
92
|
|
|
93
93
|
### 2. Deep-Track (Architect Mode - 8 Steps)
|
|
94
|
-
- `00-
|
|
94
|
+
- `00-explore` - Explore request and decide Proceed/Defer/Reject
|
|
95
95
|
- `10-define` - Lock delivery boundaries and allocate Running ID
|
|
96
96
|
- `20-spec` - Formalize markdown delivery contract
|
|
97
97
|
- `30-plan` - Breakdown spec into phased tasks with test decisions
|
|
98
98
|
- `40-execute` - Incremental task implementation
|
|
99
99
|
- `50-verify` - Senior QA review and multi-lane validation
|
|
100
100
|
- `60-report` - Generate standardized markdown digest report
|
|
101
|
-
- `70-
|
|
101
|
+
- `70-deliver` - Release packaging, release notes, and merge
|
|
102
102
|
|
|
103
103
|
### 3. Public Companion Commands
|
|
104
104
|
- `devflow` (`status`, `/devflow`) - Interactive guide, state inspector, and router
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: discovery
|
|
3
|
+
description: "[Devflow] Deep multi-turn guided project discovery interview that develops detailed project-plan.md and build-plan.md files through an adaptive conversation, drafting only after user approval."
|
|
4
|
+
argument-hint: "[optional product idea or context]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# discovery - Guided Multi-Turn Project Discovery & Architecture Interview
|
|
8
|
+
|
|
9
|
+
Where this sits in the workflow:
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
[Product Idea / Concept] -> [discovery] -> devflow/project-plan.md -> /overview -> project-overview.md
|
|
13
|
+
(rough thoughts from user) (deep adaptive devflow/build-plan.md (distill) (living source of truth)
|
|
14
|
+
interview) (user-owned plans)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
`discovery` is an optional, high-depth conversational planning assistant. It guides the user through an adaptive, multi-turn interview to think through product vision, technical architecture, constraints, and phased delivery roadmap — drafting the two user-owned planning documents (`devflow/project-plan.md` and `devflow/build-plan.md`) only after explicit user review and approval.
|
|
18
|
+
|
|
19
|
+
It is **never mandatory**: users who already have clear requirements can write both planning files directly or run `/overview` straight away.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Usage & Invocations
|
|
24
|
+
|
|
25
|
+
```text
|
|
26
|
+
/discovery # Start interactive discovery interview
|
|
27
|
+
/discovery "AI-powered CRM for SMB" # Start discovery seeded with an initial product concept
|
|
28
|
+
$discovery # Codex CLI invocation
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## The Adaptive Interview Protocol
|
|
34
|
+
|
|
35
|
+
Run discovery as an **engaging pair-programming conversation**:
|
|
36
|
+
- 🚫 **Do NOT dump 10-20 questions at once.**
|
|
37
|
+
- ✅ **Ask 1-2 focused questions at a time.**
|
|
38
|
+
- ✅ **Adapt follow-up questions based on previous answers.**
|
|
39
|
+
- ✅ **Offer proactive suggestions, sensible defaults, and architectural trade-offs.**
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
### Step 1 - Check Existing Planning State
|
|
44
|
+
|
|
45
|
+
1. Inspect `devflow/project-plan.md` and `devflow/build-plan.md` (or `blueprint/` equivalents).
|
|
46
|
+
2. If detailed plans already exist:
|
|
47
|
+
- Ask the user whether they want to **deepen/refine** the existing plan or **start fresh**.
|
|
48
|
+
- Never overwrite existing user-authored content without confirmation.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
### Step 2 - Conduct Multi-Turn Discovery Interview
|
|
53
|
+
|
|
54
|
+
Guide the user through 4 core discovery pillars:
|
|
55
|
+
|
|
56
|
+
#### Pillar 1: Product Vision & User Persona
|
|
57
|
+
- **Problem Statement**: What core problem does this application solve?
|
|
58
|
+
- **Target Audience**: Who is the primary user persona?
|
|
59
|
+
- **Core Value & Success Metric**: What is the single most important workflow that delivers value?
|
|
60
|
+
|
|
61
|
+
#### Pillar 2: Technical Architecture & Stack
|
|
62
|
+
- **Frontend & UI**: Framework (Next.js, Vite, React, Svelte, Vue), Styling (Tailwind, CSS Modules, Vanilla CSS).
|
|
63
|
+
- **Backend & APIs**: REST, GraphQL, tRPC, Server Actions, Node.js, Go, Python.
|
|
64
|
+
- **Data Layer**: Database (PostgreSQL, SQLite, MongoDB), ORM/Query Builder (Prisma, Drizzle, Kysely), Migrations.
|
|
65
|
+
- **Authentication & Security**: Auth provider (NextAuth, Supabase Auth, Clerk, JWT, Session cookies).
|
|
66
|
+
- **Integrations & Third-party Services**: Payments (Stripe), Emails (Resend), Cloud storage (S3/R2).
|
|
67
|
+
|
|
68
|
+
#### Pillar 3: Constraints & Non-Goals (Scope Boundaries)
|
|
69
|
+
- **Non-Goals (Out of Scope)**: What features are explicitly postponed for later phases?
|
|
70
|
+
- **Technical & Operational Constraints**: Budget, latency targets, deployment platform (Vercel, Render, AWS, VPS).
|
|
71
|
+
|
|
72
|
+
#### Pillar 4: Phased Roadmap & Feature Sizing
|
|
73
|
+
- Break down the delivery into sequential phases:
|
|
74
|
+
- **Phase 1: MVP Baseline** (Core database models, auth, primary happy path)
|
|
75
|
+
- **Phase 2: Core Experience** (Main features, workflows, dashboard, notifications)
|
|
76
|
+
- **Phase 3: Polish & Scale** (Edge cases, performance optimizations, exports, settings)
|
|
77
|
+
- Assign a **Size** to every feature:
|
|
78
|
+
- `XS`: Small tweak / config (~10-30 mins)
|
|
79
|
+
- `S`: Single component or route (~1-2 hours)
|
|
80
|
+
- `M`: Full CRUD feature or API integration (~ครึ่งวัน)
|
|
81
|
+
- `L`: Complex multi-component subsystem (1 วัน)
|
|
82
|
+
- `XL`: Major epic (ควรแบ่งย่อยเป็น L หรือ M)
|
|
83
|
+
- Define **Dependencies** for sequential execution.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
### Step 3 - Draft Plan Preview & Confirmation Gate
|
|
88
|
+
|
|
89
|
+
Once all pillars are sufficiently explored:
|
|
90
|
+
|
|
91
|
+
1. Synthesize the findings into Markdown drafts for both files.
|
|
92
|
+
2. Present the draft summary directly in the chat to the user in **Thai (`th`)**:
|
|
93
|
+
- High-level Architectural Summary
|
|
94
|
+
- Proposed Feature List by Phase with Sizing and Dependencies
|
|
95
|
+
3. **STOP and ask for user confirmation**:
|
|
96
|
+
> *"นี่คือร่างแผนงาน Project Plan และ Build Plan ทั้งหมด คุณต้องการปรับแก้ส่วนไหนเพิ่มเติม หรือยืนยันให้บันทึกลงไฟล์เลยครับ?"*
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
### Step 4 - Write User-Owned Planning Documents
|
|
101
|
+
|
|
102
|
+
Upon user approval, write to:
|
|
103
|
+
|
|
104
|
+
1. **`devflow/project-plan.md`**:
|
|
105
|
+
```markdown
|
|
106
|
+
# 🗺️ Project Plan (User-Owned Architectural Vision)
|
|
107
|
+
|
|
108
|
+
## 1. Product Vision & Problem Statement
|
|
109
|
+
...
|
|
110
|
+
|
|
111
|
+
## 2. Target Users & Core Personas
|
|
112
|
+
...
|
|
113
|
+
|
|
114
|
+
## 3. Technical Architecture & Tech Stack
|
|
115
|
+
...
|
|
116
|
+
|
|
117
|
+
## 4. Key Constraints & Non-Goals
|
|
118
|
+
...
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
2. **`devflow/build-plan.md`**:
|
|
122
|
+
```markdown
|
|
123
|
+
# 🏗️ Build Plan (Phased Sequential Feature Queue)
|
|
124
|
+
|
|
125
|
+
## Phase 1: MVP Baseline
|
|
126
|
+
- [ ] 1. Project Initialization & Base Tooling (Size: S)
|
|
127
|
+
- [ ] 2. Database Schema & Auth Setup (Size: M, Depends on: 1)
|
|
128
|
+
|
|
129
|
+
## Phase 2: Core Workflows
|
|
130
|
+
- [ ] 3. Main Dashboard & Data Grid (Size: M, Depends on: 2)
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
### Step 5 - Handoff to `/overview`
|
|
136
|
+
|
|
137
|
+
After writing the planning files, prompt the user with the next recommended action:
|
|
138
|
+
|
|
139
|
+
```markdown
|
|
140
|
+
✅ **บันทึกแผนงานลง `devflow/project-plan.md` และ `devflow/build-plan.md` เรียบร้อยแล้ว!**
|
|
141
|
+
|
|
142
|
+
👉 **ขั้นตอนถัดไป**: เรียกคำสั่ง:
|
|
143
|
+
`/overview`
|
|
144
|
+
เพื่อกลั่นกรองแผนงานทั้งหมดลงสู่ `devflow/context/project-overview.md` ซึ่งจะเป็น Living Source of Truth สำหรับ AI Agent ในทุกๆ Session ครับ
|
|
145
|
+
```
|
|
@@ -36,7 +36,7 @@ Run through these 5 health checks:
|
|
|
36
36
|
- `findings.md` (Check if ledger exists)
|
|
37
37
|
|
|
38
38
|
### Check 2: Tool Adapters Parity
|
|
39
|
-
- Check if `.agents/skills/` exists and contains core lifecycle skills (`00-
|
|
39
|
+
- Check if `.agents/skills/` exists and contains core lifecycle skills (`00-explore` through `70-deliver`, `devflow`, `onboard`, `adopt`, `doctor`).
|
|
40
40
|
- Check if `.claude/skills/` is in sync with `.agents/skills/`.
|
|
41
41
|
|
|
42
42
|
### Check 3: Commands & Script Verification
|