@jakkrichm/create-nexus-devflow 2.1.0 → 2.2.1
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 +1 -1
- package/dist/bin/create-nexus-devflow.js +29 -5
- package/dist/bin/create-nexus-devflow.js.map +1 -1
- package/dist/lib/command-catalog.js +5 -2
- package/dist/lib/command-catalog.js.map +1 -1
- package/dist/lib/dashboard.js +1 -1
- package/dist/lib/discoveries.js +18 -6
- package/dist/lib/discoveries.js.map +1 -1
- package/dist/lib/ideas.js +2 -2
- package/dist/lib/ideas.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 +13 -5
- package/dist/lib/update.js.map +1 -1
- package/dist/lib/workflow-state.js +9 -6
- package/dist/lib/workflow-state.js.map +1 -1
- package/dist/scripts/prepare-template.js +10 -2
- package/dist/scripts/prepare-template.js.map +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/10-define/SKILL.md +1 -1
- package/template/.agents/skills/adopt/SKILL.md +58 -5
- package/template/.agents/skills/brainstorm/SKILL.md +1 -1
- package/template/.agents/skills/devflow/SKILL.md +9 -7
- package/template/.agents/skills/discovery/SKILL.md +75 -150
- package/template/.agents/skills/doctor/SKILL.md +23 -16
- package/template/.agents/skills/feature/SKILL.md +1 -0
- package/template/.agents/skills/grill/SKILL.md +93 -0
- 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/10-define/SKILL.md +3 -3
- 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 +18 -10
- package/template/.claude/skills/discovery/SKILL.md +65 -119
- package/template/.claude/skills/doctor/SKILL.md +195 -72
- package/template/.claude/skills/feature/SKILL.md +197 -152
- package/template/.claude/skills/fix/SKILL.md +41 -90
- package/template/.claude/skills/grill/SKILL.md +93 -0
- 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 +8 -7
- package/template/devflow/build-plan.md +8 -0
- package/template/devflow/context/ai-interaction.md +11 -0
- package/template/devflow/context/coding-standards.md +15 -1
- package/template/devflow/context/current-stage.md +1 -1
- package/template/devflow/decisions/.gitkeep +0 -0
- package/template/devflow/decisions/README.md +24 -0
- package/template/devflow/history/HISTORY.md +1 -1
- 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
- package/template/.agents/skills/00-explore/SKILL.md +0 -84
- package/template/.claude/skills/00-explore/SKILL.md +0 -84
|
@@ -27,8 +27,8 @@ None. `/doctor` takes no argument.
|
|
|
27
27
|
|
|
28
28
|
Gather these, then summarize. Do not dump file contents.
|
|
29
29
|
|
|
30
|
-
1. **Required
|
|
31
|
-
- Confirm `AGENTS.md`, `
|
|
30
|
+
1. **Required DevFlow files**
|
|
31
|
+
- Confirm `AGENTS.md`, `devflow/project-plan.md`,
|
|
32
32
|
`devflow/build-plan.md`, and `devflow/context/` exist.
|
|
33
33
|
- Confirm `devflow/context/coding-standards.md`,
|
|
34
34
|
`devflow/context/ai-interaction.md`,
|
|
@@ -45,15 +45,22 @@ Gather these, then summarize. Do not dump file contents.
|
|
|
45
45
|
`### <id> [<severity>] <status> - <title>` and warn on a malformed ledger.
|
|
46
46
|
Report any P0 or P1 finding still `open` or `fixed` by ID, since it will
|
|
47
47
|
block `/complete`. Never block on the ledger yourself.
|
|
48
|
-
- If `.gitignore` marks
|
|
48
|
+
- If `.gitignore` marks DevFlow workflow files as local-only, still require
|
|
49
49
|
the files to exist on disk. Ignored but present is healthy; ignored and
|
|
50
50
|
missing means the local workflow needs to be restored.
|
|
51
51
|
2. **Tool adapters**
|
|
52
|
-
-
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
- Read `.nexus/nexus-devflow.json` when present and report its exact
|
|
53
|
+
logical adapters: Codex, Claude Code, GitHub Copilot, Antigravity, and OpenCode.
|
|
54
|
+
- Confirm at least one compatible skill tree exists. Codex, Antigravity, and
|
|
55
|
+
GitHub Copilot use `.agents/skills/`. Claude Code uses `.claude/skills/`.
|
|
56
|
+
OpenCode can use either tree.
|
|
57
|
+
- If both skill trees are present, say that is healthy when the selected
|
|
58
|
+
tools require both. Compare their skill folder names and warn about missing
|
|
59
|
+
skills on either side.
|
|
60
|
+
- If OpenCode is selected, do not require `.opencode/skills/`. If it contains
|
|
61
|
+
duplicate DevFlow skills alongside `.agents/skills/` or `.claude/skills/`,
|
|
62
|
+
warn that OpenCode discovers all of those locations and the duplicate tree
|
|
63
|
+
should be reviewed.
|
|
57
64
|
- If git shows changes under `.agents/skills/` or `.claude/skills/`, check
|
|
58
65
|
the matching adapter file too. Warn when workflow behavior was updated in
|
|
59
66
|
one adapter but not the other.
|
|
@@ -62,11 +69,11 @@ Gather these, then summarize. Do not dump file contents.
|
|
|
62
69
|
- If `CLAUDE.md` exists and still starts with `# Project Name`, flag that
|
|
63
70
|
`/onboard` probably has not finished.
|
|
64
71
|
3. **Commands and project setup**
|
|
65
|
-
- Check whether root `README.md` is still the copied
|
|
72
|
+
- Check whether root `README.md` is still the copied DevFlow workflow doc
|
|
66
73
|
by looking for `# AI Coding Blueprint` or opening text that describes the
|
|
67
|
-
|
|
74
|
+
workflow instead of the app. If so, warn that `/onboard` should
|
|
68
75
|
replace it with a project README before publishing.
|
|
69
|
-
- If `devflow/README.md` clearly contains copied
|
|
76
|
+
- If `devflow/README.md` clearly contains copied workflow docs,
|
|
70
77
|
report it as an obsolete installer artifact. Its absence is healthy. An
|
|
71
78
|
unchanged managed copy can be removed by the updater; a modified copy needs
|
|
72
79
|
user review.
|
|
@@ -84,14 +91,14 @@ Gather these, then summarize. Do not dump file contents.
|
|
|
84
91
|
detected runtime and package manager, and starts with read-only contents
|
|
85
92
|
permission. Preserve other workflows and report overlap for review.
|
|
86
93
|
- A missing `Verify` command or GitHub workflow is informational. It means the
|
|
87
|
-
optional automatic-check setup was not selected, not that
|
|
94
|
+
optional automatic-check setup was not selected, not that DevFlow is
|
|
88
95
|
unhealthy.
|
|
89
96
|
4. **Ignore rules**
|
|
90
97
|
- Check obvious ignore patterns for the detected stack. For Node or Astro,
|
|
91
98
|
look for `node_modules`, `.env`, `dist`, and framework cache folders such as
|
|
92
99
|
`.astro` or `.next` when relevant.
|
|
93
|
-
- Detect local-only
|
|
94
|
-
`.claude/`, `
|
|
100
|
+
- Detect local-only DevFlow mode if `.gitignore` ignores `.agents/`,
|
|
101
|
+
`.claude/`, `devflow/`, or `CLAUDE.md`. Report it as a visibility choice,
|
|
95
102
|
not a failure, when the local files exist.
|
|
96
103
|
- In local-only mode, check whether tracked `AGENTS.md` still describes the
|
|
97
104
|
Blueprint workflow, lists hidden adapter paths, or exposes the core skill
|
|
@@ -153,8 +160,8 @@ Choose the repair order in this priority:
|
|
|
153
160
|
- Required Blueprint files missing -> overlay the Blueprint again, or use
|
|
154
161
|
`/adopt` for a brownfield app.
|
|
155
162
|
- No git repo -> initialize git before using the build loop.
|
|
156
|
-
- No tool adapter -> restore `.agents/skills/` or `.claude/skills/` for the
|
|
157
|
-
|
|
163
|
+
- No tool adapter -> restore `.agents/skills/` or `.claude/skills/` for the
|
|
164
|
+
selected tool. OpenCode can use either compatible tree.
|
|
158
165
|
- Onboarding incomplete -> run `/onboard`.
|
|
159
166
|
- Root README is still the Blueprint workflow doc -> run `/onboard` to replace
|
|
160
167
|
it with a project README before publishing.
|
|
@@ -32,6 +32,7 @@ big item has been split into sub-items, the next unchecked sub-item is the targe
|
|
|
32
32
|
|
|
33
33
|
## Step 1 - pick the target
|
|
34
34
|
|
|
35
|
+
- Given a Discovery ID or Idea ID (e.g. `/feature DISC-20260824-001` or `/feature IDEA-001`) -> import problem context, research, trade-offs, and ADRs from `devflow/discoveries/{DISC-ID}/discovery.md` or `devflow/ideas.md` into the living spec.
|
|
35
36
|
- Given a number or name that matches a build-plan item -> use it.
|
|
36
37
|
- Given a request that clearly describes a new feature with no reasonable match
|
|
37
38
|
in the build plan -> follow **New-feature intake** below.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: grill
|
|
3
|
+
description: "[devflow][B] Interactive Socratic alignment & domain modeling - stress-test plans, extract domain glossary, and record architecture decision records (ADRs) before delivery."
|
|
4
|
+
argument-hint: "{topic, plan, or question}"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# grill - Socratic Alignment & Domain Modeling
|
|
8
|
+
|
|
9
|
+
$ARGUMENTS
|
|
10
|
+
|
|
11
|
+
Use this skill to conduct a codebase-grounded, interactive Socratic interview with the user. It clarifies domain vocabulary, resolves architectural ambiguities, and prevents misalignment before writing specifications or code.
|
|
12
|
+
|
|
13
|
+
## Invocations & Aliases
|
|
14
|
+
|
|
15
|
+
- `/grill {topic or plan}`: Standard slash command in Claude Code, Google Antigravity, and Gemini CLI
|
|
16
|
+
- `grill {topic or plan}`: Plain text invocation
|
|
17
|
+
- `$grill {topic or plan}`: Codex CLI invocation
|
|
18
|
+
- `/align {topic}`: Alias for domain alignment
|
|
19
|
+
|
|
20
|
+
## Core Philosophy: Align Before You Build
|
|
21
|
+
|
|
22
|
+
1. **Codebase-Grounded**: Read existing code and context first. Never ask questions the codebase can already answer.
|
|
23
|
+
2. **One Round at a Time**: Ask 1-2 focused, high-leverage questions per round with clear recommended defaults. Never dump a wall of 10 questions.
|
|
24
|
+
3. **Lazy Inline Persistence**:
|
|
25
|
+
- Write agreed domain terminology to `devflow/context/glossary.md` the moment each term resolves.
|
|
26
|
+
- Record significant, hard-to-reverse technical decisions as ADRs in `devflow/decisions/ADR-xxx-{slug}.md`.
|
|
27
|
+
4. **Zero Assumptions**: Challenge ambiguities, contradictory requirements, and naming inconsistencies upfront.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Process & Execution Loop
|
|
32
|
+
|
|
33
|
+
### 1. Grounding Phase (Silent Inspection)
|
|
34
|
+
Before asking the first question:
|
|
35
|
+
- Read `devflow/context/project-overview.md` and `devflow/context/coding-standards.md`.
|
|
36
|
+
- Inspect existing domain terms in `devflow/context/glossary.md` (if present).
|
|
37
|
+
- Search codebase patterns (`grep_search` / `rg`) related to the topic to ground technical reality.
|
|
38
|
+
|
|
39
|
+
### 2. Interactive Socratic Interview Loop
|
|
40
|
+
In each turn:
|
|
41
|
+
- Identify the most critical unresolved branch in the design tree:
|
|
42
|
+
- **Domain Language & Boundaries**: "What exactly is an Entity X versus Entity Y in this context?"
|
|
43
|
+
- **Data Flow & Contracts**: "Who owns state X? Synchronous vs. asynchronous?"
|
|
44
|
+
- **Edge Cases & Failure Modes**: "What happens on network failure, concurrent mutation, or invalid input?"
|
|
45
|
+
- **Irreversible Trade-offs**: "Database schema change vs. application-layer adapter?"
|
|
46
|
+
- Ask **1-2 questions maximum** per turn.
|
|
47
|
+
- Always provide a recommended default with concise technical rationale.
|
|
48
|
+
- Wait for the user's answer.
|
|
49
|
+
|
|
50
|
+
### 3. Immediate State Persistence
|
|
51
|
+
|
|
52
|
+
#### A. Domain Glossary (`devflow/context/glossary.md`)
|
|
53
|
+
When a domain term or conceptual definition crystallizes, immediately create or append to `devflow/context/glossary.md`:
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
### [Term / Concept]
|
|
57
|
+
- **Definition**: Clear, unambiguous definition within this project.
|
|
58
|
+
- **Constraints**: Invariants, boundaries, or lifecycle rules.
|
|
59
|
+
- **Aliases / Related**: Related terms or common misnomers.
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### B. Architecture Decision Records (`devflow/decisions/ADR-xxx-{slug}.md`)
|
|
63
|
+
When a decision meets the 3 ADR criteria:
|
|
64
|
+
1. **Significant Impact**: Affects architecture, data schema, security, or public API.
|
|
65
|
+
2. **Hard to Reverse**: Changing it later requires painful migration or refactoring.
|
|
66
|
+
3. **Multiple Viable Alternatives**: There were real trade-offs between 2+ options.
|
|
67
|
+
|
|
68
|
+
Allocate the next sequential ID (`ADR-001`, `ADR-002`, ...) and create `devflow/decisions/ADR-xxx-{slug}.md`:
|
|
69
|
+
|
|
70
|
+
```markdown
|
|
71
|
+
# ADR-xxx: {Title}
|
|
72
|
+
|
|
73
|
+
- **Status**: Accepted
|
|
74
|
+
- **Date**: {YYYY-MM-DD}
|
|
75
|
+
- **Context**: {Why was this decision needed? What problem does it solve?}
|
|
76
|
+
- **Decision**: {What did we decide to do?}
|
|
77
|
+
- **Alternatives Considered**:
|
|
78
|
+
- *Option 1*: {Pros / Cons}
|
|
79
|
+
- *Option 2*: {Pros / Cons}
|
|
80
|
+
- **Consequences**:
|
|
81
|
+
- *Positive*: {Benefits gained}
|
|
82
|
+
- *Trade-offs / Risks*: {Costs, constraints, or follow-ups}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 4. Closing & Handoff
|
|
88
|
+
|
|
89
|
+
When all design branches are resolved:
|
|
90
|
+
1. Summarize settled domain terms and created ADRs.
|
|
91
|
+
2. Provide explicit next command recommendations:
|
|
92
|
+
- **Fast-Track (Standard Features/Fixes)**: Run `/feature {topic}` or `/fix {topic}` to immediately start the living spec.
|
|
93
|
+
- **Deep-Track (Large Architectural Epics)**: Run `10-define` or `/discovery` with the discovery context.
|
|
@@ -65,7 +65,7 @@ Before the first rollback build step:
|
|
|
65
65
|
and the only dirty path before applying the patch is the approved rollback
|
|
66
66
|
spec. Stop on drift.
|
|
67
67
|
3. Preview the target's product diff while excluding `.agents/**`, `.claude/**`,
|
|
68
|
-
`
|
|
68
|
+
`devflow/**`, `AGENTS.md`, `CLAUDE.md`, and
|
|
69
69
|
`prototypes/**`. Confirm the preview is non-empty and matches the Product
|
|
70
70
|
paths in the spec.
|
|
71
71
|
4. Apply that product diff in reverse with three-way conflict detection and
|
|
@@ -73,7 +73,7 @@ Before the first rollback build step:
|
|
|
73
73
|
|
|
74
74
|
git diff --binary <target-parent> <target-commit> -- . \
|
|
75
75
|
':(exclude).agents/**' \
|
|
76
|
-
':(exclude).claude/**' ':(exclude)
|
|
76
|
+
':(exclude).claude/**' ':(exclude)devflow/**' \
|
|
77
77
|
':(exclude)AGENTS.md' ':(exclude)CLAUDE.md' \
|
|
78
78
|
':(exclude)prototypes/**' |
|
|
79
79
|
git apply --reverse --3way --index
|
|
@@ -69,7 +69,7 @@ obsolete overlay content in the product README slot:
|
|
|
69
69
|
- Create a small root `README.md` stub for the actual project using the detected
|
|
70
70
|
project name, one-line purpose when known, and the Commands from `AGENTS.md`.
|
|
71
71
|
Keep it minimal if the project plan is not filled yet.
|
|
72
|
-
- Do not move or copy the workflow document into `
|
|
72
|
+
- Do not move or copy the workflow document into `devflow/`. Agents use the
|
|
73
73
|
local skills, plans, and context files directly.
|
|
74
74
|
- Remove any `AGENTS.md` claim that a project README explains the Blueprint
|
|
75
75
|
workflow.
|
|
@@ -91,7 +91,7 @@ If no test command exists, say so explicitly. Do not claim tests are a gate unti
|
|
|
91
91
|
a real test command is configured.
|
|
92
92
|
|
|
93
93
|
If `CLAUDE.md` exists and still has the placeholder `# Project Name`, replace it
|
|
94
|
-
with the detected project name. Keep the `@AGENTS.md` and `@
|
|
94
|
+
with the detected project name. Keep the `@AGENTS.md` and `@devflow/...`
|
|
95
95
|
imports intact. Do not move detailed app context into `CLAUDE.md`; that belongs
|
|
96
96
|
in `AGENTS.md` and the generated project overview.
|
|
97
97
|
|
|
@@ -147,17 +147,17 @@ preserving existing entries. Typical examples include dependencies, build output
|
|
|
147
147
|
framework caches, logs, environment files, test output, temporary files, and OS or
|
|
148
148
|
editor files.
|
|
149
149
|
|
|
150
|
-
Ask how
|
|
150
|
+
Ask how DevFlow workflow files should be handled in git, unless the user
|
|
151
151
|
already gave a preference:
|
|
152
152
|
|
|
153
153
|
```text
|
|
154
|
-
|
|
154
|
+
DevFlow visibility?
|
|
155
155
|
|
|
156
|
-
1. Commit
|
|
156
|
+
1. Commit DevFlow workflow files
|
|
157
157
|
Portable. Best for teams and working across machines.
|
|
158
158
|
|
|
159
|
-
2. Keep
|
|
160
|
-
Adds .agents/, .claude/,
|
|
159
|
+
2. Keep DevFlow workflow files local
|
|
160
|
+
Adds .agents/, .claude/, devflow/, and CLAUDE.md to .gitignore.
|
|
161
161
|
Keeps AGENTS.md public as the lightweight project agent guide.
|
|
162
162
|
```
|
|
163
163
|
|
|
@@ -166,37 +166,38 @@ Recommend option 1 by default. If the user chooses option 2:
|
|
|
166
166
|
- Add this block to `.gitignore`, preserving existing entries:
|
|
167
167
|
|
|
168
168
|
```gitignore
|
|
169
|
-
#
|
|
169
|
+
# DevFlow local workflow files
|
|
170
170
|
.agents/
|
|
171
171
|
.claude/
|
|
172
|
-
|
|
172
|
+
devflow/
|
|
173
173
|
CLAUDE.md
|
|
174
174
|
```
|
|
175
175
|
|
|
176
176
|
- Keep `AGENTS.md` tracked. It remains the lightweight public project guide for
|
|
177
177
|
commands and conventions.
|
|
178
178
|
- Make `AGENTS.md` public-safe: keep project description, commands, testing gate,
|
|
179
|
-
and coding conventions, but remove or avoid
|
|
179
|
+
and coding conventions, but remove or avoid DevFlow workflow explanations,
|
|
180
180
|
hidden adapter paths, workflow-document pointers, and core skill lists that
|
|
181
181
|
would expose the local-only workflow.
|
|
182
182
|
- Explain that local-only mode hides the workflow contents from the repo, but the
|
|
183
183
|
`.gitignore` names still reveal the ignored paths.
|
|
184
|
-
- Explain that
|
|
185
|
-
with the repo; another machine needs
|
|
184
|
+
- Explain that DevFlow state, specs, findings, and history will not travel
|
|
185
|
+
with the repo; another machine needs DevFlow reinstalled or restored
|
|
186
186
|
locally.
|
|
187
|
-
- If any of `.agents/`, `.claude/`, `
|
|
187
|
+
- If any of `.agents/`, `.claude/`, `devflow/`, or
|
|
188
188
|
`CLAUDE.md` are already tracked, say `.gitignore` will not hide tracked files.
|
|
189
189
|
Ask before running
|
|
190
|
-
`git rm --cached -r .agents .claude
|
|
190
|
+
`git rm --cached -r .agents .claude devflow CLAUDE.md`, and
|
|
191
191
|
only run it if the user explicitly approves. Never delete the local files.
|
|
192
192
|
|
|
193
193
|
Then report which adapter folders are needed:
|
|
194
194
|
|
|
195
|
-
- Codex
|
|
195
|
+
- Codex, Antigravity, and GitHub Copilot: keep `AGENTS.md`, `.agents/`, and `devflow/`; `CLAUDE.md` and
|
|
196
196
|
`.claude/` can be deleted.
|
|
197
|
-
- Claude Code only: keep `AGENTS.md`, `CLAUDE.md`, `.claude/`, and `
|
|
197
|
+
- Claude Code only: keep `AGENTS.md`, `CLAUDE.md`, `.claude/`, and `devflow/`;
|
|
198
198
|
`.agents/` can be deleted.
|
|
199
|
-
-
|
|
199
|
+
- OpenCode: shares either `.agents/` or `.claude/` compatible skill tree without duplicate folders.
|
|
200
|
+
- Mixed tools: keep both `.agents/` and `.claude/` adapters.
|
|
200
201
|
|
|
201
202
|
Do not delete adapters unless the user explicitly asks.
|
|
202
203
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 10-define
|
|
3
|
-
description: "[
|
|
3
|
+
description: "[devflow][D] Define stage in DevFlow 2.0 - turn an approved discovery into a bounded delivery run in context/current-run with stable scope."
|
|
4
4
|
argument-hint: "{approved discovery-id, discovery path, running-id, or run path}"
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -43,7 +43,7 @@ using:
|
|
|
43
43
|
Require:
|
|
44
44
|
- `Decision: Proceed`
|
|
45
45
|
- `Approval Status: Approved`
|
|
46
|
-
- A resolvable Discovery ID and `00-explore.md`
|
|
46
|
+
- A resolvable Discovery ID and `discovery.md` (or legacy `00-explore.md`)
|
|
47
47
|
|
|
48
48
|
### 3. Allocate Sequential ID
|
|
49
49
|
- Inspect `devflow/history/HISTORY.md` and allocate sequential ID without prefix (e.g. `022-{slug}`).
|
|
@@ -51,4 +51,4 @@ Require:
|
|
|
51
51
|
- Write `devflow/context/current-run/10-define.md`.
|
|
52
52
|
- Update `devflow/context/current-stage.md`:
|
|
53
53
|
- `Active Running ID`: `{ID}`
|
|
54
|
-
- `Current Stage`: `10-define (Completed -> Ready for 20-spec)`
|
|
54
|
+
- `Current Stage`: `10-define (Completed -> Ready for 20-spec)`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 20-spec
|
|
3
|
-
description: "[
|
|
3
|
+
description: "[devflow][D] 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
|
|
|
@@ -153,4 +153,3 @@ Report:
|
|
|
153
153
|
- Use `Research` when a requirement, rule, or integration constraint still lacks evidence.
|
|
154
154
|
- Use `Spec-Research`, `Competitor`, or `PRD` when the contract needs stronger external, product, or market framing before planning.
|
|
155
155
|
- Use `grill-with-docs` when available if clarification could materially change acceptance criteria, edge cases, exclusions, or rules.
|
|
156
|
-
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 30-plan
|
|
3
|
-
description: "[
|
|
3
|
+
description: "[devflow][D] 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
|
|
|
@@ -218,4 +218,3 @@ If `Approval Status` is still pending or major dependencies remain unresolved:
|
|
|
218
218
|
- **Reason**: Plans often discover stable patterns that future sessions should reuse.
|
|
219
219
|
- **Suggested Command**: `Wiki project ingest devflow/runs/{ID}-*30-plan.md`
|
|
220
220
|
|
|
221
|
-
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 40-execute
|
|
3
|
-
description: "[
|
|
3
|
+
description: "[devflow][D] Execute stage in DevFlow 2.0 - execute planned tasks incrementally with evidence and unit tests."
|
|
4
4
|
---
|
|
5
5
|
# Phase 40: Execute Code
|
|
6
6
|
|
|
@@ -158,4 +158,4 @@ Report:
|
|
|
158
158
|
- **Needed**: `yes` when coding discovers a reusable implementation pattern, gotcha, or context optimization.
|
|
159
159
|
- **Scope**: `project` unless the discovery is about DevFlow itself.
|
|
160
160
|
- **Reason**: Coding findings are useful only when they are stable enough to help future tasks.
|
|
161
|
-
- **Suggested Command**: `Wiki project ingest devflow/runs/{ID}-*40-execute.md`
|
|
161
|
+
- **Suggested Command**: `Wiki project ingest devflow/runs/{ID}-*40-execute.md`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 50-verify
|
|
3
|
-
description: "[
|
|
3
|
+
description: "[devflow][D] Verify stage in DevFlow 2.0 - perform senior QA review, record evidence, and decide pass or return-to-implement."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Phase 50: Verify Quality
|
|
@@ -52,4 +52,4 @@ Execute verification across all essential quality dimensions:
|
|
|
52
52
|
Report:
|
|
53
53
|
- QA verdict across all verification lanes
|
|
54
54
|
- Evidence commands and outputs
|
|
55
|
-
- Next command: `60-report {ID}` (if pass) or `40-execute {ID}` (if fail)
|
|
55
|
+
- Next command: `60-report {ID}` (if pass) or `40-execute {ID}` (if fail)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 60-report
|
|
3
|
-
description: "[
|
|
3
|
+
description: "[devflow][D] Report stage in DevFlow 2.0 - produce standardized markdown summary report with retrospective lessons learned."
|
|
4
4
|
argument-hint: "{running-id or workspace path}"
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -54,4 +54,4 @@ Structure the report in **Thai (`th`)**:
|
|
|
54
54
|
## Next Workflow Recommendation
|
|
55
55
|
|
|
56
56
|
- **Primary**: `70-deliver {ID}`
|
|
57
|
-
- **Optional Standalone HTML**: `/report:html`
|
|
57
|
+
- **Optional Standalone HTML**: `/report:html`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 70-deliver
|
|
3
|
-
description: "[
|
|
3
|
+
description: "[devflow][D] Deliver stage in DevFlow 2.0 - package verified work for delivery, archive run to categorized history, git merge, PR, or deployment."
|
|
4
4
|
argument-hint: "{running-id or workspace path}"
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -69,4 +69,4 @@ Set `devflow/context/current-stage.md` to:
|
|
|
69
69
|
- `Active Running ID`: `None (Idle)`
|
|
70
70
|
- `Current Stage`: `Idle (Ready for new run)`
|
|
71
71
|
- `Last Completed Run`: `{ID} ({YYYY-MM-DD})`
|
|
72
|
-
- `Last Updated`: `{YYYY-MM-DD}`
|
|
72
|
+
- `Last Updated`: `{YYYY-MM-DD}`
|