@jakkrichm/create-nexus-devflow 2.2.2 → 2.5.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 +9 -1
- package/dist/bin/create-nexus-devflow.js.map +1 -1
- package/dist/lib/command-catalog.js +1 -1
- package/dist/lib/command-catalog.js.map +1 -1
- package/dist/lib/dashboard-page.d.ts +1 -1
- package/dist/lib/dashboard-page.js +42 -20
- package/dist/lib/dashboard-page.js.map +1 -1
- package/dist/lib/dashboard-snapshot.js +16 -12
- package/dist/lib/dashboard-snapshot.js.map +1 -1
- package/dist/lib/dashboard.js +10 -1
- package/dist/lib/dashboard.js.map +1 -1
- package/dist/lib/doctor.js +1 -1
- package/dist/lib/gatekeeper.d.ts +4 -0
- package/dist/lib/gatekeeper.js +2 -2
- package/dist/lib/gatekeeper.js.map +1 -1
- package/dist/lib/git-status.d.ts +10 -2
- package/dist/lib/git-status.js +57 -29
- package/dist/lib/git-status.js.map +1 -1
- package/dist/lib/swarm-orchestrator.d.ts +4 -1
- package/dist/lib/swarm-orchestrator.js +2 -2
- package/dist/lib/swarm-orchestrator.js.map +1 -1
- package/dist/lib/version-check.js +1 -1
- package/dist/lib/workflow-state.js +19 -32
- package/dist/lib/workflow-state.js.map +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/complete/SKILL.md +47 -36
- package/template/.agents/skills/devflow/SKILL.md +51 -79
- package/template/.claude/skills/complete/SKILL.md +47 -36
- package/template/.claude/skills/devflow/SKILL.md +51 -79
- package/template/AGENTS.md +21 -30
- package/template/devflow/build-plan.md +9 -0
- package/template/devflow/context/ai-interaction.md +38 -39
- package/template/devflow/context/findings.md +8 -11
- package/template/devflow/context/glossary.md +31 -0
- package/template/devflow/reference/build-plan-template.md +65 -0
- package/template/devflow/reference/feature-spec-template.md +110 -0
- package/template/devflow/reference/project-plan-template.md +128 -0
- package/template/devflow/reference/running-id-contract.md +12 -11
- package/template/.agents/skills/10-define/SKILL.md +0 -54
- package/template/.agents/skills/20-spec/SKILL.md +0 -155
- package/template/.agents/skills/30-plan/SKILL.md +0 -226
- package/template/.agents/skills/40-execute/SKILL.md +0 -158
- package/template/.agents/skills/50-verify/SKILL.md +0 -62
- package/template/.agents/skills/60-report/SKILL.md +0 -57
- package/template/.agents/skills/70-deliver/SKILL.md +0 -72
- package/template/.claude/skills/10-define/SKILL.md +0 -54
- package/template/.claude/skills/20-spec/SKILL.md +0 -155
- package/template/.claude/skills/30-plan/SKILL.md +0 -226
- package/template/.claude/skills/40-execute/SKILL.md +0 -158
- package/template/.claude/skills/50-verify/SKILL.md +0 -62
- package/template/.claude/skills/60-report/SKILL.md +0 -57
- package/template/.claude/skills/70-deliver/SKILL.md +0 -72
|
@@ -5,26 +5,19 @@ description: "[devflow][B] Flagship interactive guide, state inspector, and inte
|
|
|
5
5
|
|
|
6
6
|
# devflow - Interactive Workflow Guide & Intent Router for Nexus-DevFlow
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
- [F] Fast-Track only
|
|
10
|
-
- [D] Deep-Track only
|
|
11
|
-
- [B] Available in both tracks (Track-agnostic)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Use this skill to guide the user on what to do next, inspect current workspace state, map their natural language intent to the right Nexus-DevFlow track (Fast-Track or Deep-Track) or companion command, or display a sitemap of available DevFlow skills.
|
|
8
|
+
Use this skill to guide the user on what to do next, inspect current workspace state, map their natural language intent to the matching Nexus-DevFlow stage or companion command, or display a sitemap of available DevFlow skills.
|
|
15
9
|
|
|
16
10
|
## Input
|
|
17
11
|
|
|
18
|
-
- **No argument (`devflow`,
|
|
19
|
-
- **With user request (`devflow "<request>"`)**: Classify the user's intent and guide them to the matching DevFlow workflow
|
|
12
|
+
- **No argument (`devflow`, `/devflow`, `$devflow`, or `status`)**: Inspect current workspace state (active run in `devflow/context/current-stage.md`, active living spec in `devflow/context/current-feature.md`, active discovery in `devflow/discoveries/`, pending ideas in `devflow/ideas.md`, open findings in `devflow/context/findings.md`, and project overview in `devflow/context/project-overview.md`) and recommend the exact next action.
|
|
13
|
+
- **With user request (`devflow "<request>"`)**: Classify the user's intent and guide them to the matching DevFlow workflow stage or companion command path.
|
|
20
14
|
|
|
21
|
-
##
|
|
15
|
+
## The Unified Living Spec Architecture (DevFlow 2.5.0)
|
|
22
16
|
|
|
23
|
-
Nexus-DevFlow
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
*Driven by modular separate stage files for large, high-stakes architectural epics and multi-agent coordination.*
|
|
17
|
+
Nexus-DevFlow uses a **Single Unified Living Spec Model**:
|
|
18
|
+
- **The 4-Stage Lifecycle**: `/feature` (or `/fix`) ➔ `/implement` ➔ `/check` ➔ `/complete`
|
|
19
|
+
- Driven by a **Single Living Spec (`devflow/context/current-feature.md`)** that integrates architectural depth (Define, Spec, Plan, Execution Log, Multi-Lane QA, and Release Digest) into one clear living document.
|
|
20
|
+
- **Pre-Flight Inception Engine**: Companion skills (`/discovery`, `/idea`, `/grill`, `/brainstorm`) feed directly into `/feature`.
|
|
28
21
|
|
|
29
22
|
---
|
|
30
23
|
|
|
@@ -33,93 +26,72 @@ Nexus-DevFlow supports two seamless workflow tracks:
|
|
|
33
26
|
When invoked without an argument (or when determining the next step), inspect:
|
|
34
27
|
|
|
35
28
|
1. **Project Setup Baseline**: Read `devflow/context/project-overview.md` and `devflow/context/coding-standards.md`. If empty or default placeholders, recommend `onboard` (for fresh projects) or `adopt` (for existing codebases).
|
|
36
|
-
2. **Active Delivery Run**: Read `devflow/context/current-stage.md` and
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
- If verification evidence passed -> Recommend `/complete` (or `complete {RUNNING_ID}`).
|
|
41
|
-
- **If Deep-Track (numbered stage files present)**:
|
|
42
|
-
- If at `10-define.md` -> Recommend `20-spec {RUNNING_ID}`.
|
|
43
|
-
- If at `20-spec.md` -> Recommend `30-plan {RUNNING_ID}`.
|
|
44
|
-
- If at `30-plan.md` -> Recommend `40-execute {RUNNING_ID}`.
|
|
45
|
-
- If at `40-execute.md` with all tasks done -> Recommend `50-verify {RUNNING_ID}`.
|
|
46
|
-
- If passed `50-verify.md` -> Recommend `60-report {RUNNING_ID}` then `70-deliver {RUNNING_ID}`.
|
|
29
|
+
2. **Active Delivery Run**: Read `devflow/context/current-stage.md` and `devflow/context/current-feature.md`.
|
|
30
|
+
- If `current-feature.md` has incomplete checklist tasks (`- [ ]`) -> Recommend `/implement`.
|
|
31
|
+
- If all tasks are completed (`- [x]`) but no passing verification evidence in Section 5 -> Recommend `/check`.
|
|
32
|
+
- If verification evidence passed in Section 5 -> Recommend `/complete`.
|
|
47
33
|
3. **Active Discovery**: Check `devflow/discoveries/` for open discovery notes.
|
|
48
|
-
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 `/
|
|
34
|
+
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 `/feature IDEA-xxx` or `/discovery IDEA-xxx`.
|
|
49
35
|
5. **Audit Findings Ledger**: Check `devflow/context/findings.md` for open high-severity findings.
|
|
50
36
|
|
|
51
37
|
### Default State Recommendations
|
|
52
|
-
-
|
|
38
|
+
- If no run is active and user wants to start a feature -> Recommend `/feature <name>`.
|
|
53
39
|
- If no run is active and user wants to fix a bug -> Recommend `/fix <bug>`.
|
|
54
|
-
- If no run is active and user has pending ideas in `devflow/ideas.md` -> Highlight `/
|
|
55
|
-
- If no run is active and user wants deep architectural exploration -> Recommend
|
|
40
|
+
- If no run is active and user has pending ideas in `devflow/ideas.md` -> Highlight `/feature IDEA-xxx` or `/discovery IDEA-xxx`.
|
|
41
|
+
- If no run is active and user wants deep architectural exploration -> Recommend `/discovery`.
|
|
56
42
|
- If user asks to check system health -> Recommend `doctor`.
|
|
57
43
|
|
|
58
44
|
---
|
|
59
45
|
|
|
60
46
|
## Intent Classification & Skill Routing
|
|
61
47
|
|
|
62
|
-
| User Intent / Request Type | Recommended Skill | Normal Name / Alias |
|
|
48
|
+
| User Intent / Request Type | Recommended Skill | Normal Name / Alias | Lifecycle Path |
|
|
63
49
|
| :--- | :--- | :--- | :--- |
|
|
64
|
-
| **"Spec new feature /
|
|
65
|
-
| **"Quick bugfix / ad-hoc change"** | `
|
|
50
|
+
| **"Spec new feature / living spec"** | `feature` | `/feature` / `/spec` | **Unified**: `/feature` -> `/implement` -> `/check` -> `/complete` |
|
|
51
|
+
| **"Quick bugfix / ad-hoc change"** | `fix` | `/fix` | **Unified**: `/fix` -> `/implement` -> `/check` -> `/complete` |
|
|
66
52
|
| **"Capture quick idea / thought"** | `idea` | `/idea` | **Companion**: Enriches & saves to `devflow/ideas.md` |
|
|
67
|
-
| **"
|
|
68
|
-
| **"
|
|
69
|
-
| **"
|
|
70
|
-
| **"
|
|
71
|
-
| "
|
|
72
|
-
| "
|
|
53
|
+
| **"Pre-delivery exploration / research"**| `discovery`| `/discovery` | **Pre-Flight**: `discovery` -> `/feature` |
|
|
54
|
+
| **"Socratic alignment / ADR / glossary"**| `grill` | `/grill` / `/align` | **Pre-Flight**: `grill` -> `/feature` |
|
|
55
|
+
| **"Execute implementation tasks"** | `implement` | `/implement` | **Core Loop**: `/implement` -> `/check` |
|
|
56
|
+
| **"Run QA verification & check"** | `check` | `/check` | **Core Loop**: `/check` -> `/complete` |
|
|
57
|
+
| **"Complete run & git merge"** | `complete` | `/complete` | **Core Loop**: `/complete` |
|
|
58
|
+
| **"Generate HTML dashboard report"**| `report-html` | `/report:html` | **Standalone**: Converts `current-feature.md` or archive to HTML |
|
|
59
|
+
| "Setup DevFlow on fresh/new project" | `onboard` | `onboard` / `setup` | `onboard` -> `/feature` |
|
|
60
|
+
| "Adopt DevFlow on existing codebase" | `adopt` | `adopt` / `bootstrap` | `adopt` -> `/feature` |
|
|
73
61
|
| "Check setup health & diagnostics" | `doctor` | `doctor` / `health` | `doctor` |
|
|
74
|
-
| "Explore a new request / deep idea" | `discovery` | `discovery` / `/discovery` | **Deep-Track**: `discovery` -> `10` -> `20` -> ... |
|
|
75
|
-
| "Define delivery boundaries and ID" | `10-define` | `define` | **Deep-Track**: `10` -> `20` -> `30` |
|
|
76
|
-
| "Break down spec into plan (Deep)" | `30-plan` | `plan` | **Deep-Track**: `30` -> `40` -> `50` |
|
|
77
|
-
| "Deep code implementation" | `40-execute` | `implement` | **Deep-Track**: `40` -> `50` |
|
|
78
|
-
| "Deep QA verification" | `50-verify` | `verify` | **Deep-Track**: `50` -> `60` -> `70` |
|
|
79
|
-
| "Deep markdown digest report" | `60-report` | `report` | **Deep-Track**: `60` -> `70` |
|
|
80
|
-
| "Deep release packaging & merge" | `70-deliver` | `release` | **Deep-Track**: `70-deliver` |
|
|
81
62
|
| "Human manual QA walkthrough guide" | `try` | `try` | Companion (after implement or check) |
|
|
82
|
-
| "Safely plan feature or run reversal"
|
|
63
|
+
| "Safely plan feature or run reversal"| `rollback` | `rollback` | Companion |
|
|
83
64
|
| "Set up automatic GitHub Actions CI" | `ci` | `ci` | Companion |
|
|
84
|
-
| "Pre-check scope & risks before spec"
|
|
65
|
+
| "Pre-check scope & risks before spec"| `brief` | `brief` | Companion |
|
|
85
66
|
| "Run autonomous bounded delivery loop"| `autopilot` | `autopilot` | Companion |
|
|
86
67
|
| "Brainstorm ideas without ID" | `brainstorm` | `brainstorm` | Companion |
|
|
87
|
-
| "Socratic alignment / ADR / glossary" | `grill` | `/grill` / `align` | Companion (pre-spec / domain modeling) |
|
|
88
68
|
| "Investigate failure or root cause" | `debug` | `debug` | Companion |
|
|
89
69
|
|
|
90
70
|
---
|
|
91
71
|
|
|
92
72
|
## Available Skills Sitemap
|
|
93
73
|
|
|
94
|
-
### 1.
|
|
95
|
-
- `
|
|
96
|
-
- `
|
|
97
|
-
- `
|
|
98
|
-
- `
|
|
74
|
+
### 1. Mainline Living Spec Loop (4 Steps)
|
|
75
|
+
- `feature` (`/feature`, `/spec`) - Define, spec, and plan in `current-feature.md`
|
|
76
|
+
- `fix` (`/fix`) - Document an ad-hoc bug or change in `current-feature.md`
|
|
77
|
+
- `implement` (`/implement`) - Execute planned checklist tasks with TDD
|
|
78
|
+
- `check` (`/check`) - Senior QA review, multi-lane verification, record evidence
|
|
79
|
+
- `complete` (`/complete`) - Safety pass, release digest, git merge, close run
|
|
99
80
|
|
|
100
|
-
### 2.
|
|
81
|
+
### 2. Pre-Flight Discovery Engine
|
|
101
82
|
- `discovery` - Project roadmap planning or feature exploration before delivery commitment
|
|
102
|
-
- `
|
|
103
|
-
- `
|
|
104
|
-
- `
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
- `
|
|
108
|
-
- `
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
- `
|
|
112
|
-
- `
|
|
113
|
-
- `
|
|
114
|
-
- `
|
|
115
|
-
- `
|
|
116
|
-
- `
|
|
117
|
-
- `adopt` - Bootstrap DevFlow into existing brownfield projects
|
|
118
|
-
- `doctor` - Read-only health check for setup and drift
|
|
119
|
-
- `try` - Step-by-step human manual QA review guide
|
|
120
|
-
- `rollback` - Safe feature/run reversal planner
|
|
121
|
-
- `ci` - Automatic GitHub Actions workflow setup
|
|
122
|
-
- `brief` - Read-only scope and risk pre-briefing
|
|
123
|
-
- `autopilot` - Autonomous bounded delivery loop
|
|
124
|
-
- `debug` - Root cause investigation before or during implementation
|
|
125
|
-
- `overview` - Living context synchronization into project-overview.md
|
|
83
|
+
- `idea` - Quick idea capture with AI feasibility scoring
|
|
84
|
+
- `grill` (or `align`) - Socratic alignment, domain modeling, and ADR recording
|
|
85
|
+
- `brainstorm` - Multi-option ideation with trade-off analysis
|
|
86
|
+
|
|
87
|
+
### 3. Verification & Diagnostic Companions
|
|
88
|
+
- `doctor` - Health check for setup, adapters, and workspace state
|
|
89
|
+
- `audit` - Branch-aware or full-project code, security, and quality review
|
|
90
|
+
- `test` / `tests` - Test suite runner and unit test scaffolding
|
|
91
|
+
- `ci` - Set up or normalize GitHub Actions checks
|
|
92
|
+
- `status` - Read-only progress summary and next action suggestion
|
|
93
|
+
- `try` - Human manual QA walkthrough guide
|
|
94
|
+
- `report-html` - Standalone interactive HTML report dashboard
|
|
95
|
+
- `debug` - Root-cause investigation without editing code
|
|
96
|
+
- `rollback` - Safe reversal of completed features
|
|
97
|
+
- `release` - Deployment readiness check
|
package/template/AGENTS.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# Nexus-DevFlow 2.0 (The 3-Pillars &
|
|
1
|
+
# Nexus-DevFlow 2.5.0 (The 3-Pillars & Single Living Spec Model)
|
|
2
2
|
|
|
3
3
|
Instructions for AI coding agents working in this project. This is the cross-tool entry point: Codex, Google Antigravity, Cursor, GitHub Copilot, Gemini CLI, Aider, Zed, Windsurf, and others read `AGENTS.md`. Claude Code reads `CLAUDE.md`, which imports this file (`@AGENTS.md`), so there is a single source of truth.
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
This project uses **Nexus-DevFlow**, an agentic workflow layer supporting **The 3-Pillars Workspace Architecture &
|
|
7
|
+
This project uses **Nexus-DevFlow**, an agentic workflow layer supporting **The 3-Pillars Workspace Architecture & Single Living Spec Model**:
|
|
8
8
|
1. **🔮 Future (Backlog)**: `devflow/ideas.md` — Centralized Idea Inbox with AI scoring.
|
|
9
|
-
2. **⚡ Present (Active Context)**: `devflow/context/` — Living Source of Truth & Active Work (`current-feature.md`
|
|
9
|
+
2. **⚡ Present (Active Context)**: `devflow/context/` — Living Source of Truth & Active Work (`current-feature.md` Single Living Spec).
|
|
10
10
|
3. **📦 Past (History Archive)**: `devflow/history/` — Categorized delivery archives (`features/`, `fixes/`, `rollbacks/`, and `HISTORY.md`).
|
|
11
11
|
|
|
12
12
|
To start a new project, scaffold the application first in an empty folder, then run `npx @jakkrichm/create-nexus-devflow` to overlay DevFlow onto your codebase.
|
|
@@ -18,6 +18,7 @@ To start a new project, scaffold the application first in an empty folder, then
|
|
|
18
18
|
- `devflow/context/ai-interaction.md` - how to interact with the user on this project
|
|
19
19
|
- `devflow/context/current-stage.md` - active discovery or running delivery state
|
|
20
20
|
- `devflow/context/findings.md` - quality, security, and verification ledger
|
|
21
|
+
- `devflow/context/glossary.md` - domain terms & architecture definitions
|
|
21
22
|
|
|
22
23
|
## Tool-Specific Adapters & Execution Rules
|
|
23
24
|
|
|
@@ -31,60 +32,50 @@ Unused adapter families can be removed. Codex, Antigravity, GitHub Copilot, and
|
|
|
31
32
|
|
|
32
33
|
### Universal Invocation & Agent Directives:
|
|
33
34
|
|
|
34
|
-
1. **Canonical Command Names & AI Provider Invocation**: Each workflow stage and companion tool has exactly **one Canonical Name** (e.g. `feature`, `fix`, `implement`, `check`, `complete`, `discovery`, `
|
|
35
|
-
- **Canonical Name (Plain text)**: Directly invoke or prompt the command by its standard name (e.g., `feature`, `
|
|
36
|
-
- **Slash Prefix (`/`)**: For tools supporting slash commands (Claude Code, Google Antigravity, Gemini CLI), e.g., `/feature`, `/fix`, `/implement`, `/
|
|
37
|
-
- **Dollar Prefix (`$`)**: For OpenAI Codex CLI or skill-invocation tools, e.g., `$feature`, `$fix`, `$
|
|
35
|
+
1. **Canonical Command Names & AI Provider Invocation**: Each workflow stage and companion tool has exactly **one Canonical Name** (e.g. `feature`, `fix`, `implement`, `check`, `complete`, `discovery`, `idea`, `grill`, `brainstorm`, `devflow`, `doctor`, `overview`, `debug`, `onboard`, `adopt`, `try`, `rollback`, `ci`, `test`, `tests`, `autopilot`, `prototype`, `report-html`, `brief`, `audit`, `release`). The way you invoke commands depends on your AI Provider / Tool:
|
|
36
|
+
- **Canonical Name (Plain text)**: Directly invoke or prompt the command by its standard name (e.g., `feature`, `implement`, `devflow`, `discovery`).
|
|
37
|
+
- **Slash Prefix (`/`)**: For tools supporting slash commands (Claude Code, Google Antigravity, Gemini CLI), e.g., `/feature`, `/fix`, `/implement`, `/devflow`, `/discovery`.
|
|
38
|
+
- **Dollar Prefix (`$`)**: For OpenAI Codex CLI or skill-invocation tools, e.g., `$feature`, `$fix`, `$devflow`, `$discovery`.
|
|
38
39
|
2. **OpenAI Codex & Non-Native CLI Tools**: In environments without automatic background skill discovery (such as OpenAI Codex CLI, Aider, or generic terminals), **you MUST use your file reading tool to inspect `.agents/skills/<skill>/SKILL.md` before executing the stage** to strictly follow its schema, artifact contract, and quality gates.
|
|
39
40
|
3. **Google Antigravity & Claude Code**: Native skill engines automatically discover and surface `.agents/skills/` and `.claude/skills/`.
|
|
40
41
|
4. **State-Aware Inspection**: When unsure what to do next, invoke `devflow` to automatically inspect `devflow/context/current-stage.md` and active context in `devflow/context/`.
|
|
41
|
-
5. **Default Artifact & Communication Language (Thai)**: All generated markdown stage artifacts (`current-feature.md`, `
|
|
42
|
+
5. **Default Artifact & Communication Language (Thai)**: All generated markdown stage artifacts (`current-feature.md`, `discovery.md`, etc.) and user communication MUST default to **Thai (`th`)**, while code, technical terms, file paths, and identifiers remain in English.
|
|
42
43
|
|
|
43
44
|
---
|
|
44
45
|
|
|
45
|
-
##
|
|
46
|
+
## ⚡ The Unified 4-Stage Living Spec Lifecycle
|
|
46
47
|
|
|
47
|
-
|
|
48
|
+
All development tasks (from lean UI fixes to deep architectural epics) execute through the 4-step progressive lifecycle:
|
|
48
49
|
|
|
49
50
|
```text
|
|
50
51
|
/feature (หรือ /fix) ──▶ /implement ──▶ /check ──▶ /complete
|
|
51
52
|
```
|
|
52
53
|
|
|
53
54
|
1. **`feature` / `fix` (`/feature`, `/fix`, `/spec`)**:
|
|
54
|
-
- **Purpose**: Combines Discover, Define, Spec, and Plan into one unified step. Checks Single Active Run Guardrail, allocates sequential ID (`xxx-slug`), and creates the **Single Living Spec (`devflow/context/current-feature.md`)
|
|
55
|
+
- **Purpose**: Combines Discover, Define, Spec, and Plan into one unified step. Checks Single Active Run Guardrail, allocates sequential ID (`xxx-slug`), and creates the **Single Living Spec (`devflow/context/current-feature.md`)** with 6 structured sections.
|
|
55
56
|
- **Artifact**: `devflow/context/current-feature.md`
|
|
56
57
|
2. **`implement` (`/implement`)**:
|
|
57
|
-
- **Purpose**: Incrementally executes checklist tasks with TDD discipline and appends
|
|
58
|
+
- **Purpose**: Incrementally executes checklist tasks with TDD discipline (Red-Green-Refactor) and appends diff evidence to `current-feature.md`.
|
|
58
59
|
3. **`check` (`/check`)**:
|
|
59
|
-
- **Purpose**: Senior QA review, multi-lane verification matrix (Typecheck, Lint, Test suites, manual proof), and records
|
|
60
|
+
- **Purpose**: Senior QA review, multi-lane verification matrix (Typecheck, Lint, Test suites, manual proof), and records empirical proof into `current-feature.md`.
|
|
60
61
|
4. **`complete` (`/complete`)**:
|
|
61
|
-
- **Purpose**: Final safety pass, records Release Digest, automatically archives to `devflow/history/{features|fixes|rollbacks}/{xxx-slug}.md`, resets the stub, performs git merge
|
|
62
|
+
- **Purpose**: Final safety pass, records Release Digest, automatically archives to `devflow/history/{features|fixes|rollbacks}/{xxx-slug}.md`, resets the stub, and performs git squash-merge.
|
|
62
63
|
|
|
63
64
|
---
|
|
64
65
|
|
|
65
|
-
##
|
|
66
|
+
## 🔮 Pre-Flight Discovery & Architectural Alignment (Companions)
|
|
66
67
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
1. `discovery`: Unified pre-delivery discovery & exploration (project-level roadmap planning or feature-level exploration with 5 lenses: Brainstorm, Research, PRD, Bug Triage, Grill) before delivery commitment (`devflow/discoveries/{DISC-ID}/discovery.md`).
|
|
74
|
-
2. `10-define`: Turn approved discovery into bounded delivery run in `devflow/context/current-run/10-define.md`.
|
|
75
|
-
3. `20-spec`: Formalize markdown-first delivery contract & acceptance criteria (`20-spec.md`).
|
|
76
|
-
4. `30-plan`: Breakdown spec into executable tasks with test decisions (`30-plan.md` + checklists).
|
|
77
|
-
5. `40-execute`: Incremental task execution behind review gates (`40-execute.md`).
|
|
78
|
-
6. `50-verify`: Senior QA review & multi-lane verification checks (`50-verify.md`).
|
|
79
|
-
7. `60-report`: Standardized markdown delivery digest (`60-report.md`).
|
|
80
|
-
8. `70-deliver`: Release packaging, git merge, archives `devflow/context/current-run/` ➔ `devflow/history/{category}/{xxx-slug}/`, and closes run.
|
|
68
|
+
- `discovery`: Unified pre-delivery discovery & exploration (`devflow/discoveries/{DISC-ID}/discovery.md`).
|
|
69
|
+
- `idea`: Quick idea capture and AI feasibility scoring (`devflow/ideas.md`).
|
|
70
|
+
- `grill` (or `align`): Socratic alignment, domain modeling, and ADR recording (`devflow/decisions/`).
|
|
71
|
+
- `brainstorm`: Divergent/convergent ideation with trade-off analysis.
|
|
81
72
|
|
|
82
73
|
---
|
|
83
74
|
|
|
84
75
|
## 🌐 Standalone HTML Reporting Policy
|
|
85
76
|
|
|
86
77
|
> [!IMPORTANT]
|
|
87
|
-
> **No Auto-Generated HTML**: Mainline flows (`/complete`
|
|
78
|
+
> **No Auto-Generated HTML**: Mainline flows (`/complete`) strictly output Markdown only.
|
|
88
79
|
> When an interactive web dashboard is desired for presentation or sharing, invoke the standalone companion command:
|
|
89
80
|
> `/report:html` (or `npm run report:html -- {ID}`).
|
|
90
81
|
|
|
@@ -76,5 +76,14 @@
|
|
|
76
76
|
- *Dependencies*: None
|
|
77
77
|
- *Scope*: นำ Strict TDD (Red-Green-Refactor) Sub-Tasks และ Two-Stage Review Pattern (Stage 1: Spec Fidelity, Stage 2: Quality & Security Gate) ผสานเข้าสู่ Prompt Rules, Coding Standards, AI Interaction และ Stage Skills (`30-plan`, `40-execute`, `50-verify`, `feature`, `implement`, `check`, `debug`) พร้อมอัปเดต Template และ Unit Tests
|
|
78
78
|
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## ⚡ Phase 10: Nexus-DevFlow 2.5.0 (Unified Living Spec Model)
|
|
82
|
+
|
|
83
|
+
- [x] **10. Unify Deep-Track and Fast-Track into Single Living Spec Model** `[Size: L]`
|
|
84
|
+
- *Dependencies*: ADR-001
|
|
85
|
+
- *Scope*: รวมความสามารถเชิงสถาปัตยกรรมระดับลึกของ Deep-Track เข้าสู่ 4 ขั้นตอนหลักของ Fast-Track บนเอกสาร Single Living Spec (`current-feature.md`) จัดเก็บประวัติแบบ Single Archive (`.md`), ปลดระวาง stage skills 10-70 ที่ซ้ำซ้อน, และปรับปรุงเอกสาร & Schemas ทั้งหมด
|
|
86
|
+
|
|
87
|
+
|
|
79
88
|
|
|
80
89
|
|
|
@@ -27,58 +27,57 @@ Format every response for fast scanning and readability:
|
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
30
|
-
## 3.
|
|
30
|
+
## 3. The 3-Pillars Unified Architecture (DevFlow 2.5.0)
|
|
31
31
|
|
|
32
32
|
```text
|
|
33
33
|
devflow/
|
|
34
|
-
├── 🔮 ideas.md # [Future] Idea Inbox
|
|
35
|
-
├── ⚡ context/ # [Present] Living Spec (current-feature.md) & Active State
|
|
34
|
+
├── 🔮 ideas.md # [Future] Idea Inbox with AI Feasibility Scoring
|
|
35
|
+
├── ⚡ context/ # [Present] Single Living Spec (current-feature.md) & Active State
|
|
36
36
|
└── 📦 history/ # [Past] features/, fixes/, rollbacks/, and HISTORY.md
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
###
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
The entire lifecycle is driven by the **Single Living Spec (`devflow/context/current-feature.md`)**:
|
|
43
|
-
|
|
44
|
-
1. **Spec (`/feature` or `/fix`)**:
|
|
45
|
-
- Checks **Single Active Run Guardrail** (rejects if an uncompleted task is still active).
|
|
46
|
-
- Analyzes request (or consumes `IDEA-xxx` from `devflow/ideas.md`).
|
|
47
|
-
- Allocates sequential ID without prefix (e.g. `022-{slug}`) and creates branch `feature/{xxx-slug}` or `fix/{xxx-slug}`.
|
|
48
|
-
- Generates `devflow/context/current-feature.md` containing **Section 1 (Scope & AC)**, **Section 2 (Plan & Test Strategy)**, and **Section 3 (Checklist)**.
|
|
49
|
-
2. **Implement (`/implement`)**:
|
|
50
|
-
- Executes checklist tasks incrementally one small diff at a time using **TDD (Red-Green-Refactor)**.
|
|
51
|
-
- Updates `## 4. Implementation Record` and marks tasks `- [x]` in `current-feature.md`.
|
|
52
|
-
3. **Check (`/check`)**:
|
|
53
|
-
- Senior QA multi-lane verification (Lane 1: Typecheck/Lint, Lane 2: Test Suites, Lane 3: Manual Proof).
|
|
54
|
-
- Records empirical proof under `## 5. Verification Evidence` in `current-feature.md`.
|
|
55
|
-
4. **Complete (`/complete`)**:
|
|
56
|
-
- Final safety pass, updates `## 6. Release & Handoff` digest in `current-feature.md`.
|
|
57
|
-
- Automatically archives `current-feature.md` ➔ `devflow/history/{features|fixes|rollbacks}/{xxx-slug}.md`.
|
|
58
|
-
- Appends resolved findings and cleans `findings.md`.
|
|
59
|
-
- Resets `current-feature.md` back to the idle stub.
|
|
60
|
-
- Performs Git squash-merge into `main`, updates `devflow/history/HISTORY.md`, and sets workspace to Idle.
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
### 🏗️ Track 2: Deep-Track (Architect Mode — 8 Steps)
|
|
65
|
-
*Recommended for large architectural epics, database migrations, security audits, and multi-agent coordination.*
|
|
39
|
+
### ⚡ The Unified 4-Stage Living Spec Lifecycle
|
|
40
|
+
*ขับเคลื่อนการพัฒนาทุกระดับ (ตั้งแต่ Fast Fix จนถึง Architectural Epic) ด้วยเอกสารฉบับเดียว **Single Living Spec (`devflow/context/current-feature.md`)** ที่รวมความลึกระดับ Architect Mode เข้ากับความคล่องตัวระดับ Lean Velocity:*
|
|
66
41
|
|
|
67
42
|
```text
|
|
68
|
-
|
|
43
|
+
/feature (หรือ /fix) ──▶ /implement ──▶ /check ──▶ /complete
|
|
69
44
|
```
|
|
70
45
|
|
|
71
|
-
1.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
46
|
+
1. **Stage 1: Spec (`/feature` หรือ `/fix`)**:
|
|
47
|
+
- ตรวจสอบ **Single Active Run Guardrail** (บล็อกการเปิดงานซ้อนถ้ามีงานที่ยังไม่เสร็จ)
|
|
48
|
+
- ดึงบริบทจาก `devflow/discoveries/`, `devflow/ideas.md`, หรือคำขอของผู้ใช้
|
|
49
|
+
- จัดสรร Running ID (`xxx-slug`) และสร้าง Branch `feature/{xxx-slug}` หรือ `fix/{xxx-slug}`
|
|
50
|
+
- เขียน **Single Living Spec (`current-feature.md`)** ครอบคลุม:
|
|
51
|
+
- `## 🎯 1. Define & Boundaries` (Problem, In/Out Scope, Risks, Success Criteria)
|
|
52
|
+
- `## 📐 2. Technical Spec & Contracts` (Architecture, Models, Interface Contracts, Non-functional, ACs)
|
|
53
|
+
- `## 📋 3. Execution Plan & TDD Checklist` (Atomic tasks, `[TDD-Red/Green/Refactor]` Triplets)
|
|
54
|
+
|
|
55
|
+
2. **Stage 2: Implement (`/implement`)**:
|
|
56
|
+
- ดำเนินการ Task-by-task ตาม Checklist อย่างเคร่งครัดด้วย **TDD (Red-Green-Refactor)**
|
|
57
|
+
- ติ๊กเครื่องหมาย `- [x]` และบันทึก `## ⚡ 4. Implementation Log & Evidence` (Diff summary, Checkpoints) ลงใน `current-feature.md`
|
|
58
|
+
|
|
59
|
+
3. **Stage 3: Check (`/check`)**:
|
|
60
|
+
- Senior QA Multi-Lane Verification (Typecheck, Lint, Test Suites, Manual Proof)
|
|
61
|
+
- บันทึกผลการพิสูจน์เชิงประจักษ์ลงใน `## 🧪 5. Multi-Lane Verification Matrix` ใน `current-feature.md`
|
|
62
|
+
|
|
63
|
+
4. **Stage 4: Complete (`/complete`)**:
|
|
64
|
+
- สรุปผล `## 📦 6. Release Digest & Retrospective` (Changelog, Lessons Learned, ADRs)
|
|
65
|
+
- ทำการ Archive `current-feature.md` ไปเป็นไฟล์เดี่ยวที่ `devflow/history/{features|fixes|rollbacks}/{xxx-slug}.md`
|
|
66
|
+
- **Mandatory Delivery Gate**: บังคับถามผู้ใช้ก่อนเสมอว่าต้องการ Delivery รูปแบบใด:
|
|
67
|
+
- **Option 1 (Team MR/PR Flow)**: Pull master/main ล่าสุดมารวมกับ Feature/Dev Branch แล้ว push branch ขึ้นไปเพื่อเปิด MR/PR (ไม่ merge เข้า main/master ในเครื่อง และไม่แตะ protected branch)
|
|
68
|
+
- **Option 2 (Direct Squash-Merge)**: ทำการ Squash-merge เข้า main/master ในเครื่องเฉพาะเมื่อผู้ใช้สั่งโดยตรงเท่านั้น
|
|
69
|
+
- รีเซ็ต `current-feature.md` กลับเป็น Idle stub เมื่อปิดรอบงานเรียบร้อย
|
|
79
70
|
|
|
80
71
|
---
|
|
81
72
|
|
|
73
|
+
### 🔮 Pre-Flight Discovery & Architectural Alignment (Companion Tools)
|
|
74
|
+
สำหรับงานที่ต้องการสำรวจไอเดีย, ค้นคว้าทางเทคนิค, หรือการออกแบบสถาปัตยกรรมก่อนเริ่มสร้าง Spec:
|
|
75
|
+
- `/discovery`: Unified Pre-delivery Discovery & Research (บันทึกใน `devflow/discoveries/`)
|
|
76
|
+
- `/idea`: วิเคราะห์และบันทึกไอเดียลงใน `devflow/ideas.md`
|
|
77
|
+
- `/grill` (หรือ `/align`): Socratic Alignment, Domain Modeling & บันทึก ADRs ลงใน `devflow/decisions/`
|
|
78
|
+
- `/brainstorm`: เครื่องมือระดมความคิดทางเลือก 2-3 Options พร้อมเปรียบเทียบ Trade-offs
|
|
79
|
+
|
|
80
|
+
|
|
82
81
|
## 4. Strict TDD & Two-Stage Review Interaction Rules
|
|
83
82
|
|
|
84
83
|
### 🔴🟢 Strict TDD Execution Discipline
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
# Findings
|
|
1
|
+
# Findings
|
|
2
2
|
|
|
3
|
-
> **Generated
|
|
4
|
-
>
|
|
5
|
-
>
|
|
6
|
-
>
|
|
7
|
-
>
|
|
8
|
-
>
|
|
9
|
-
> - **Release Gate Rule**: Any `P0` or `P1` finding in `open` or `fixed` status unconditionally blocks `/complete` and `70-deliver`.
|
|
3
|
+
> **Generated file.** The findings ledger: review findings raised by `/audit`
|
|
4
|
+
> against the work in progress, each with a durable ID, severity (P0-P3), and
|
|
5
|
+
> status. `/implement` marks repaired findings `fixed`, a later `/audit` pass
|
|
6
|
+
> moves them to `closed`, and `/complete` refuses to merge while any P0 or P1
|
|
7
|
+
> finding is `open` or `fixed`, then archives resolved findings with the work
|
|
8
|
+
> and resets this file.
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
_No active findings recorded. QA and audit passes append findings here as they are discovered._
|
|
10
|
+
_No findings recorded. `/audit` appends findings here when it finds them._
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Nexus-DevFlow Domain Glossary
|
|
2
|
+
|
|
3
|
+
> พจนานุกรมศัพท์โดเมนและนิยามสถาปัตยกรรมสำหรับ Nexus-DevFlow
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
### Single Living Spec (`current-feature.md`)
|
|
8
|
+
- **Definition**: เอกสาร Markdown กลางเพียงฉบับเดียวที่ใช้ขับเคลื่อนและบันทึกวงจรชีวิตของงานพัฒนาตั้งแต่ต้นจนจบ (Single Source of Truth during active delivery)
|
|
9
|
+
- **Constraints**: มีได้เพียง 1 งานที่ active ในช่วงเวลาหนึ่งตามหลักการ Single Active Run Guardrail
|
|
10
|
+
- **Structure**: ครอบคลุม 6 ส่วนหลัก: (1) Define & Boundaries, (2) Technical Spec & Contracts, (3) Execution Plan & TDD Tasks, (4) Implementation Log & Evidence, (5) Multi-Lane Verification Matrix, (6) Release Digest & Retrospective
|
|
11
|
+
- **Aliases / Related**: `current-feature.md`, Living Spec, Feature Spec
|
|
12
|
+
|
|
13
|
+
### Unified Fast-Track
|
|
14
|
+
- **Definition**: รูปแบบการพัฒนาหลักแบบ Single-Track ของ Nexus-DevFlow ที่รวมความสามารถเชิงสถาปัตยกรรมระดับลึก (Deep) และความคล่องตัว (Fast) เข้าด้วยกันผ่าน 4 คำสั่งหลัก: `/feature` (หรือ `/fix`), `/implement`, `/check`, และ `/complete`
|
|
15
|
+
- **Constraints**: ขับเคลื่อนผ่านไฟล์ `current-feature.md` และเมื่อเสร็จสิ้นจะถูก Archive เป็นไฟล์ Markdown เดี่ยวใน `devflow/history/`
|
|
16
|
+
- **Aliases / Related**: Fast-Track, Unified Track
|
|
17
|
+
|
|
18
|
+
### Pre-Flight Discovery
|
|
19
|
+
- **Definition**: กระบวนการสำรวจไอเดีย, ทำการวิจัย (Research), กลั่นกรอง PRD, วิเคราะห์ Trade-offs และจัดทำ ADR ก่อนที่จะเริ่มเปิดรอบพัฒนาจริง
|
|
20
|
+
- **Constraints**: ไม่แก้ไขซอร์สโค้ดโปรเจกต์ และไม่ถือว่าเป็น Active Run จนกว่าจะถูกส่งต่อเข้าสู่ `/feature`
|
|
21
|
+
- **Aliases / Related**: `/discovery`, `/idea`, `/brainstorm`, `/grill`
|
|
22
|
+
|
|
23
|
+
### Multi-Lane Verification Matrix
|
|
24
|
+
- **Definition**: ตารางตรวจสอบคุณภาพแบบหลายมิติที่ครอบคลุม Typecheck, Linter, Automated Unit/Integration Tests, และ Manual Proof Evidence ในคำสั่ง `/check`
|
|
25
|
+
- **Constraints**: ต้องมีผลลัพธ์ผ่าน (PASS) ครบทุก Lane และไม่มี P0/P1 Finding ที่ยังค้างอยู่ก่อนที่จะส่งต่อไปยัง `/complete`
|
|
26
|
+
- **Aliases / Related**: QA Matrix, Lane Verification
|
|
27
|
+
|
|
28
|
+
### Release Digest & Retrospective
|
|
29
|
+
- **Definition**: สรุปผลการเปลี่ยนแปลง, บทเรียนที่ได้รับ (Lessons Learned), และการตัดสินใจสำคัญที่บันทึกไว้ในตอนปิดรอบการพัฒนา
|
|
30
|
+
- **Constraints**: บันทึกอัตโนมัติใน Living Spec ก่อนที่จะทำการ Squash Merge และ Archive
|
|
31
|
+
- **Aliases / Related**: Delivery Digest, Retrospective Log
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Build Plan
|
|
2
|
+
|
|
3
|
+
> **Document Type**: Build Plan (User-Owned)
|
|
4
|
+
> **Purpose**: รายการฟีเจอร์ตามลำดับการพัฒนาจริง (Ordered Feature Roadmap Checklist)
|
|
5
|
+
> **Workflow**: ใช้เครื่องหมาย Checkbox `- [ ]` เรียงลำดับ 1, 2, 3... เพื่อให้ `/feature` ดึงไปทำทีละงาน
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🚀 Phase 1: Core Foundation & Data Layer
|
|
10
|
+
|
|
11
|
+
- [ ] 1. **Core Schema & Data Models** - สร้าง Data Models, Schemas (Zod) และ Database Migrations เบื้องต้น
|
|
12
|
+
- [ ] 2. **Base Layout & Main UI Shell** - วางโครงสร้างหน้าจอหลัก, Navigation Shell และ Design Tokens
|
|
13
|
+
- [ ] 3. **Primary Feature Flow** - พัฒนาฟังก์ชันการทำงานหลัก พร้อม Input Form และ Validation
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## ⚡ Phase 2: Interactivity & Core Capabilities
|
|
18
|
+
|
|
19
|
+
- [ ] 4. **Live Preview / Action Pipeline** - เชื่อมต่อ Input เข้าสู่ระบบประมวลผลและการแสดงผลแบบ Real-time
|
|
20
|
+
- [ ] 5. **Export / Output Engine** - พัฒนาระบบส่งออกข้อมูล เช่น Image Generation, PDF Download หรือ API Response
|
|
21
|
+
- [ ] 6. **Local Persistence & Settings** - บันทึกการตั้งค่าและประวัติการใช้งานลงใน Local Storage หรือ Database
|
|
22
|
+
- [ ] 6a. **Settings Panel** - UI สำหรับปรับแต่งค่าและการจัดเก็บ State
|
|
23
|
+
- [ ] 6b. **History & Recall** - แสดงรายการประวัติย้อนหลังและปุ่มเรียกข้อมูลกลับมาใช้
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 🚢 Phase 3: Polish, Quality & Production Hardening
|
|
28
|
+
|
|
29
|
+
- [ ] 7. **Edge Cases & Input Polish** - จัดการ Loading States, Error Boundaries และ Responsive Layout
|
|
30
|
+
- [ ] 8. **Deployment Readiness & Production Verification** - ตั้งค่า Environment Config, ตรวจสอบ Production Build และ Health Check
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 🛠️ Architecture & Deployment Notes (Optional)
|
|
35
|
+
<!--
|
|
36
|
+
บันทึกการตัดสินใจทางสถาปัตยกรรมที่ตกลงกันไว้ล่วงหน้า เพื่อป้องกันการสับสนระหว่างการ Implement
|
|
37
|
+
-->
|
|
38
|
+
|
|
39
|
+
- **Key Technical Decisions**:
|
|
40
|
+
- [เช่น ใช้ Full Puppeteer พร้อม Bundled Chromium แทน Serverless Chromium เพื่อความเสถียรของ Font]
|
|
41
|
+
- [เช่น จัดเก็บ User Session ผ่าน JWT ใน HttpOnly Cookies]
|
|
42
|
+
- **Environment & Hosting Constraints**:
|
|
43
|
+
- [เช่น ต้องการ Memory ขั้นต่ำ 1GB บน Render หรือ Docker Container]
|
|
44
|
+
- [เช่น กำหนด Concurrency Limits ไม่เกิน 2 worker processes ต่อ instance]
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 🔮 Later / Post-MVP Backlog (Not in v1)
|
|
49
|
+
<!--
|
|
50
|
+
ฟีเจอร์ที่วางแผนไว้สำหรับอนาคต (หลังจาก v1 ส่งมอบเรียบร้อยแล้ว)
|
|
51
|
+
-->
|
|
52
|
+
|
|
53
|
+
- [ ] **Cloud Sync & User Accounts** - ระบบสมัครสมาชิกและซิงค์ข้อมูลบน Cloud (Clerk / Supabase)
|
|
54
|
+
- [ ] **Batch Processing** - อัปโหลดไฟล์ CSV และประมวลผลพร้อมกันทีละหลายรายการ
|
|
55
|
+
- [ ] **Paid Subscription & Billing** - เชื่อมต่อ Stripe และจัดการ Tier จำกัดการใช้งาน
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
<!--
|
|
60
|
+
💡 คำแนะนำในการเขียน Build Plan ที่ดี:
|
|
61
|
+
1. แต่ละข้อต้องเป็น "Feature-Sized Outcome" ที่มองเห็นผลลัพธ์ได้ (ไม่ใช่แค่ task ย่อยๆ เช่น "เขียน function x")
|
|
62
|
+
2. ห้ามใส่ Scaffolding Chores (เช่น "สร้างโปรเจกต์ Next.js", "ติดตั้ง Tailwind") เพราะทำก่อนหน้าแล้ว
|
|
63
|
+
3. ฟีเจอร์ที่มีความซับซ้อน สามารถแตกเป็น Sub-items ย่อยได้ เช่น 6a, 6b
|
|
64
|
+
4. อย่าจัดกลุ่มฟีเจอร์หลายๆ อย่างรวมในข้อเดียว (เช่น "Auth + Database + Dashboard + Deploy")
|
|
65
|
+
-->
|