@jakkrichm/create-nexus-devflow 2.17.6 → 2.17.7
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 +5 -5
- package/dist/lib/tooling/commands/scan-doc-contract.js +0 -1
- package/dist/lib/tooling/commands/scan-doc-contract.js.map +1 -1
- package/dist/scripts/prepare-template.js +1 -1
- package/dist/scripts/prepare-template.js.map +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/audit/SKILL.md +2 -0
- package/template/.agents/skills/brainstorm/SKILL.md +5 -4
- package/template/.agents/skills/check/reference/verify.md +6 -0
- package/template/.agents/skills/complete/SKILL.md +2 -0
- package/template/.agents/skills/discovery/SKILL.md +9 -0
- package/template/.agents/skills/doctor/SKILL.md +2 -0
- package/template/.agents/skills/feature/SKILL.md +3 -1
- package/template/.agents/skills/grill/SKILL.md +6 -1
- package/template/.agents/skills/implement/SKILL.md +6 -1
- package/template/.agents/skills/test/SKILL.md +26 -0
- package/template/.claude/skills/audit/SKILL.md +2 -0
- package/template/.claude/skills/brainstorm/SKILL.md +5 -4
- package/template/.claude/skills/check/reference/verify.md +6 -0
- package/template/.claude/skills/complete/SKILL.md +2 -0
- package/template/.claude/skills/discovery/SKILL.md +11 -3
- package/template/.claude/skills/doctor/SKILL.md +2 -0
- package/template/.claude/skills/feature/SKILL.md +3 -1
- package/template/.claude/skills/grill/SKILL.md +6 -1
- package/template/.claude/skills/implement/SKILL.md +6 -1
- package/template/.claude/skills/test/SKILL.md +26 -0
- package/template/devflow/context/coding-standards.md +62 -2
- package/template/devflow/context/glossary.md +20 -0
- package/template/devflow/decisions/README.md +15 -1
- package/template/devflow/reference/feature-spec-template.md +8 -0
- package/template/devflow/reference/help-playbook-protocol.md +8 -8
- package/template/devflow/reference/slicing-archetypes.md +105 -0
- package/template/devflow/docs/USAGE.md +0 -195
- package/template/devflow/docs/diagrams/nexus-devflow-architecture.html +0 -14821
- package/template/devflow/docs/diagrams/nexus-devflow-architecture.json +0 -80
- package/template/devflow/docs/diagrams/nexus-devflow-lifecycle.html +0 -14860
- package/template/devflow/docs/diagrams/nexus-devflow-lifecycle.json +0 -88
- package/template/devflow/docs/examples/living-spec/adr.example.md +0 -43
- package/template/devflow/docs/examples/living-spec/current-feature.example.md +0 -113
- package/template/devflow/docs/examples/living-spec/discovery.example.md +0 -45
- package/template/devflow/docs/examples/living-spec/ideas.example.md +0 -22
- package/template/devflow/docs/governance-rules.md +0 -39
- package/template/devflow/docs/manual-review-workflow-spec.md +0 -116
- package/template/devflow/docs/markdown-metadata-contract.md +0 -140
- package/template/devflow/docs/quickstart.md +0 -124
- package/template/devflow/docs/release-process.md +0 -52
- package/template/devflow/docs/skill-selection-policy.md +0 -65
- package/template/devflow/docs/workflow-surface-map.md +0 -86
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
- **Execution Safety Gate**: DO NOT execute the skill's primary or mutating actions (do not launch scans/attacks, do not modify source code, and do not initialize new task runs).
|
|
6
6
|
- **Dynamic Workspace Inspection**: Read the target skill in the active adapter. Inspect only workspace files and selected references needed to tailor its examples; reuse current context.
|
|
7
7
|
- **Persistent HTML Playbook & Token-Saving Cache**:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
- **Output Location & Light Theme Mandate**: Compile and persist the tailored playbook as a standalone, styled HTML report at `devflow/reference/playbooks/{skill}.html` adhering to the **Paper/Ink Light Theme Standard** (`data-theme="light"`, teal accent, ruler corner, terminal mockup UI, and a real diagram). Build the standalone page using these conventions.
|
|
9
|
+
- **First Run**: Render the comprehensive 5W1H playbook in chat and write the complete HTML report to `devflow/reference/playbooks/{skill}.html`.
|
|
10
|
+
- **Subsequent Invocations (Delta Updates & Zero Token Bloat)**: If `devflow/reference/playbooks/{skill}.html` already exists:
|
|
11
|
+
- Inspect the existing HTML file and compute the diff/delta against the current repository state (e.g., new file paths, modified endpoints, or newly installed vendor assets).
|
|
12
|
+
- DO NOT repeat unchanged boilerplate or full static content in chat.
|
|
13
|
+
- Provide a concise **Delta Summary** in chat (highlighting what changed, new recommendations, or newly available commands).
|
|
14
|
+
- In-place update `devflow/reference/playbooks/{skill}.html` with the fresh timestamp and state.
|
|
15
|
+
- Provide a clickable link to the actual resolved output file using the active client's supported local-file link format.
|
|
16
16
|
- **Render the User-Friendly 5W1H Playbook**: Emit an easy-to-read, practical guide organized around the **5W 1H Framework** (rendered on initial run or updated in the HTML playbook):
|
|
17
17
|
1. **What (Concept & Capabilities)**: Clear, jargon-free summary of what this skill does, its core concept, and its bundled tools/capabilities.
|
|
18
18
|
2. **Why (Problems Solved & Key Benefits)**: The problems it solves, key advantages, and why you should use it instead of ad-hoc manual work.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# 🧩 4 Slicing Archetypes Framework
|
|
2
|
+
|
|
3
|
+
> คู่มือมาตรฐานการแบ่งขนาดฟีเจอร์ (Feature Slicing & Decomposition) ใน Nexus-DevFlow เพื่อให้แต่ละรอบการส่งมอบ (Feature Run) มีขนาดเล็ก ส่งมอบคุณค่าได้จริง และทดสอบได้รอบด้าน
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🎯 ทำไมต้องมี Slicing Archetypes?
|
|
8
|
+
|
|
9
|
+
ในการพัฒนาซอฟต์แวร์และการทำงานร่วมกับ AI Coding Agents ปัญหาคลาสสิก 2 ประการคือ:
|
|
10
|
+
1. **Slicing by Technical Layer** (เช่น ทำเฉพาะ Database หรือทำเฉพาะ Backend API ก่อน): ทำให้ในรอบนั้นไม่มี UI ให้ทดสอบ หรือไม่สามารถทดสอบแบบ End-to-End ได้
|
|
11
|
+
2. **Oversized Features** (ก้อนใหญ่เกินไป): ทำให้ Context Window เต็มเร็ว AI เริ่มเพี้ยน และการ Review ทำได้ยาก
|
|
12
|
+
|
|
13
|
+
**4 Slicing Archetypes** ช่วยให้คุณและ Agent เลือกกลยุทธ์การหั่นงานที่เหมาะสมที่สุดตามเป้าหมายของแต่ละ Milestone:
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 🛹 1. Skateboard Archetype (Minimal Functional Loop)
|
|
18
|
+
|
|
19
|
+
> *"อย่าเริ่มสร้างรถยนต์ด้วยการทำล้อ แต่ให้เริ่มด้วยการทำสเก็ตบอร์ดที่พาผู้ใช้เคลื่อนที่ได้จริง"*
|
|
20
|
+
|
|
21
|
+
### นิยาม & วัตถุประสงค์:
|
|
22
|
+
- สร้าง Core Business Logic & State Machine ที่ทำงานได้จริงครบ Loop แม้ UI จะเรียบง่ายที่สุด (Minimal UI หรือ Single Route / Basic Form / CLI interface)
|
|
23
|
+
- เน้นความถูกต้องของ Logic, Validation, Edge Cases และ Data Flow
|
|
24
|
+
|
|
25
|
+
### เหมาะสำหรับ:
|
|
26
|
+
- ฟีเจอร์ที่ Logic ซับซ้อน มีการคำนวณ การแปลงข้อมูล หรือ State transitions หลายขั้นตอน
|
|
27
|
+
- ต้องการพิสูจน์ว่าแนวคิดหลัก (Core Mechanism) ทำงานได้จริงก่อนลงทุนตกแต่งหน้าจอ
|
|
28
|
+
|
|
29
|
+
### ตัวอย่าง:
|
|
30
|
+
- **Search & Filter**: สร้างหน้าค้นหาที่มี Search Input เรียบๆ และแสดงผลลัพธ์แบบ Text List เพื่อทดสอบ Search Query, Debounce, Pagination และ Filter Logic
|
|
31
|
+
- **Payment Processing**: ระบบคำนวณราคาสินค้า ส่วนลด ภาษี และสร้าง Transaction Record โดยยังไม่ต้องมี UI สวยหรู
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 🎭 2. Facade Archetype (Rich UI / Mock-Backed DX)
|
|
36
|
+
|
|
37
|
+
> *"สร้างประสบการณ์ใช้งานจริงที่สวยงามและจับต้องได้ โดยเชื่อมต่อกับ Mock Data ก่อนพัฒนา Backend จริง"*
|
|
38
|
+
|
|
39
|
+
### นิยาม & วัตถุประสงค์:
|
|
40
|
+
- สร้าง Full Rich Interactive UI, Component Interactions, Micro-animations และ Design System สมบูรณ์แบบ
|
|
41
|
+
- จำลอง Data Source ด้วย In-Memory Mock หรือ JSON Fixtures เพื่อเก็บ Feedback เรื่อง UX/DX ทันที
|
|
42
|
+
|
|
43
|
+
### เหมาะสำหรับ:
|
|
44
|
+
- ฟีเจอร์ที่เน้นประสบการณ์ผู้ใช้ (UI/UX Heavy), Dashboard, Data Visualization, Complex Multi-step Wizards
|
|
45
|
+
- ต้องการให้ Stakeholders / ผู้ใช้เห็นหน้าตาและสัมผัส Flow การกดจริงเพื่อสรุป Design ก่อนลงมือทำ Backend
|
|
46
|
+
|
|
47
|
+
### ตัวอย่าง:
|
|
48
|
+
- **Analytics Dashboard**: สร้างชาร์ต กราฟ และ Card KPIs สวยงาม Interactive เต็มรูปแบบโดยอ่านข้อมูลจาก Mock Dataset
|
|
49
|
+
- **Interactive Kanban Board**: Drag & drop การ์ด ย้ายคอลัมน์ ปรับแท็กแบบ Real-time บน Local State ก่อนเชื่อมต่อ Database จริง
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## 🎯 3. Tracer Bullet Archetype (End-to-End Vertical Slice)
|
|
54
|
+
|
|
55
|
+
> *"ยิงกระสุนส่องวิถี ทะลวงผ่านทุกเลเยอร์ของระบบจากบนลงล่าง สำหรับ 1 Happy Path ที่สมบูรณ์"*
|
|
56
|
+
|
|
57
|
+
### นิยาม & วัตถุประสงค์:
|
|
58
|
+
- สร้าง Full-Stack Vertical Slice ตั้งแต่ UI -> API Controller -> Service/Logic -> Database Model & Migration สำหรับ **1 Single Happy Path**
|
|
59
|
+
- พิสูจน์ Contract, Network Protocol, Serialization, Type Safety และ Infrastructure ทั้งหมดว่าเชื่อมต่อกันได้จริง
|
|
60
|
+
|
|
61
|
+
### เหมาะสำหรับ:
|
|
62
|
+
- สถาปัตยกรรมใหม่ หรือเมื่อต้องต่อเชื่อม Third-Party Service, DB ใหม่, หรือ Auth Flow ใหม่
|
|
63
|
+
- ต้องการลดความเสี่ยงด้าน Integration Risk ในช่วงต้นของโปรเจกต์
|
|
64
|
+
|
|
65
|
+
### ตัวอย่าง:
|
|
66
|
+
- **User Authentication**: สร้าง Registration Form -> Submit API -> Hash Password -> บันทึกลง PostgreSQL DB -> Issue JWT Token -> Redirect ไปหน้า Profile สำหรับกรณีข้อมูลถูกต้อง 1 กรณี
|
|
67
|
+
- **Report Export**: กดปุ่ม Export -> Backend Query ข้อมูล -> สร้าง PDF Stream -> Browser ดาวน์โหลดไฟล์สำเร็จ
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 🧭 4. Journey Archetype (Slice by User Workflow / Milestones)
|
|
72
|
+
|
|
73
|
+
> *"แบ่งฟีเจอร์ตามขั้นตอนการเดินทางของผู้ใช้งาน (User Journey Steps)"*
|
|
74
|
+
|
|
75
|
+
### นิยาม & วัตถุประสงค์:
|
|
76
|
+
- หั่นงานตามลำดับขั้นตอนธรรมชาติของ Business Process (เช่น Stage 1: Onboarding -> Stage 2: Core Activity -> Stage 3: Summary & Export)
|
|
77
|
+
- แต่ละชิ้นงานจบในตัว และปลดล็อคขั้นตอนถัดไปใน Journey ของผู้ใช้
|
|
78
|
+
|
|
79
|
+
### เหมาะสำหรับ:
|
|
80
|
+
- Workflow ขนาดใหญ่ที่มีหลายสเตจ, Checkout Flows, Multi-step Form Wizard, Approval Pipeline
|
|
81
|
+
|
|
82
|
+
### ตัวอย่าง:
|
|
83
|
+
- **E-Commerce Checkout**:
|
|
84
|
+
- *Slice 1 (Cart Review)*: หน้าสรุปรายการสินค้าและปรับจำนวน
|
|
85
|
+
- *Slice 2 (Shipping & Address)*: แบบฟอร์มกรอกที่อยู่จัดส่งและคำนวณค่าส่ง
|
|
86
|
+
- *Slice 3 (Payment & Order Confirmation)*: เลือกวิธีชำระเงินและสรุปใบสั่งซื้อ
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 📊 ตารางเปรียบเทียบและการเลือกใช้งาน (Selection Matrix)
|
|
91
|
+
|
|
92
|
+
| Archetype | จุดเน้นหลัก (Focus) | UI Level | Backend / DB | เมื่อไหร่ควรเลือก? |
|
|
93
|
+
| :--- | :--- | :---: | :---: | :--- |
|
|
94
|
+
| 🛹 **Skateboard** | Core Logic & Flow | Minimal | Real | Logic ซับซ้อน ต้องการความถูกต้องก่อนตกแต่ง |
|
|
95
|
+
| 🎭 **Facade** | UX, DX & Interaction | Rich / Complete | Mocked | ต้องการทดสอบ UX / รับ Feedback จากผู้ใช้เร็ว |
|
|
96
|
+
| 🎯 **Tracer Bullet** | Full Architecture Path | Functional | Real | ต้องการทดสอบ Integration & Pipeline ทะลุทุกชั้น |
|
|
97
|
+
| 🧭 **Journey** | Step-by-Step Workflow | Balanced | Real | Workflow ยาว แบ่งทำทีละสเตจตามลำดับ |
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## 💡 แนวทางปฏิบัติใน DevFlow Workflow
|
|
102
|
+
|
|
103
|
+
1. **ใน `/discovery` หรือ `/brainstorm`**: เมื่อวิเคราะห์ฟีเจอร์ใหญ่ ให้เสนอ Archetype ที่แนะนำในการแบ่ง Sub-features
|
|
104
|
+
2. **ใน `/feature` (Step 2 Sizing & Splitting)**: หากต้องแยกฟีเจอร์ย่อย (เช่น 4a, 4b, 4c) ให้ระบุ Archetype กำกับ เช่น `4a. (Tracer Bullet) Core Export Engine` -> `4b. (Facade) Interactive Export Modal & Template Preview`
|
|
105
|
+
3. **ใน Living Spec (`spec.md`)**: ระบุ Archetype ในส่วนหัวของ Spec เพื่อให้ Agent ในขั้นตอน `/implement` ทราบความคาดหวังเรื่องระดับ UI และ Data Source อย่างชัดเจน
|
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
# Nexus-DevFlow 2.13.0 Comprehensive Usage Guide
|
|
2
|
-
|
|
3
|
-
This guide provides full operating instructions for **Nexus-DevFlow 2.13.0 (The 3-Pillars Workspace Architecture & Pure Task-Isolated Living Spec Model)** across Google Antigravity, OpenAI Codex, Claude Code, Cursor, GitHub Copilot, and related AI development environments.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 1. Core Architecture: The 3-Pillars Model
|
|
8
|
-
|
|
9
|
-
Nexus-DevFlow structures development history and active context into three distinct temporal pillars:
|
|
10
|
-
|
|
11
|
-
1. **🔮 Future (Backlog)**: [`devflow/ideas.md`](../ideas.md), [`devflow/project-plan.md`](../project-plan.md), [`devflow/build-plan.md`](../build-plan.md)
|
|
12
|
-
- Centralized Idea Inbox with AI feasibility, value scoring, and priority tagging (`[IDEA-xxx]`).
|
|
13
|
-
- Product vision and master build-plan sequencing.
|
|
14
|
-
- Quick idea capture via `/idea {description}`.
|
|
15
|
-
2. **⚡ Present (Active Context)**: `devflow/context/`
|
|
16
|
-
- Global Shared Source of Truth: `project-overview.md`, `coding-standards.md`, `ai-interaction.md`, `glossary.md`.
|
|
17
|
-
- **Task-Isolated Workspaces**: `devflow/context/{xxx-slug}/`
|
|
18
|
-
- `spec.md`: The Living Spec, task checklist, and empirical proof.
|
|
19
|
-
- `stage.md`: Stage pointer and transition state.
|
|
20
|
-
- `findings.md`: Dedicated quality, security, and Fowler smell findings ledger.
|
|
21
|
-
3. **📦 Past (History Archive)**: `devflow/history/`
|
|
22
|
-
- Categorized delivery archives: `features/`, `fixes/`, `rollbacks/`.
|
|
23
|
-
- Master Release Ledger: `HISTORY.md`.
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## 2. The Unified 4-Stage Living Spec Lifecycle
|
|
28
|
-
|
|
29
|
-
All development tasks execute through the progressive 4-stage task-isolated living spec lifecycle:
|
|
30
|
-
|
|
31
|
-
```text
|
|
32
|
-
/feature (or /fix) ──▶ /implement ──▶ /check ──▶ /complete
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
| Step | Command | Artifact | Description |
|
|
36
|
-
| :--- | :--- | :--- | :--- |
|
|
37
|
-
| **1. Spec** | `/feature {title}`<br>`/fix {bug}` | `context/{xxx-slug}/spec.md` | Allocates sequential ID (`xxx-slug`), initializes task workspace, writes living spec behind review gate. |
|
|
38
|
-
| **2. Build** | `/implement [id]` | `context/{xxx-slug}/spec.md` | Executes tasks incrementally with strict TDD discipline (Red-Green-Refactor) and evidence recording. |
|
|
39
|
-
| **3. Verify**| `/check [id]` | `context/{xxx-slug}/spec.md` | Dual-Axis review: empirical spec fidelity plus independent standards, architecture, and quality gates. |
|
|
40
|
-
| **4. Deliver** | `/complete [id]` | `history/{cat}/{xxx-slug}.md` | Final safety audit, records Release Digest, archives living spec, cleans active task folder, squash-merges branch. |
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## 3. Pre-Flight Discovery, SA & Architectural Alignment Suite
|
|
45
|
-
|
|
46
|
-
Before committing to delivery, use specialized companion skills:
|
|
47
|
-
|
|
48
|
-
```text
|
|
49
|
-
/analyze ──▶ /idea (Inbox) ──▶ /grill (Socratic ADR) ──▶ /discovery (Explore) ──▶ /feature (Deliver)
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
- **`/analyze`**: Multi-format requirement ingestion (PDF, Word, Excel, Images), Codebase Impact scan & Socratic Gap checklist.
|
|
53
|
-
- **`/idea`**: Capture raw ideas in `devflow/ideas.md` with instant AI feasibility scoring.
|
|
54
|
-
- **`/grill`** (or **`/align`**): Socratic alignment & domain modeling; records Architecture Decision Records (`devflow/decisions/ADR-xxx.md`).
|
|
55
|
-
- **`/brainstorm`**: Structured ideation with trade-off analysis.
|
|
56
|
-
- **`/discovery`**: Deep inception and exploratory discovery (`devflow/discoveries/DISC-xxx.md`).
|
|
57
|
-
|
|
58
|
-
---
|
|
59
|
-
|
|
60
|
-
## 4. Core Skills Inventory (33 Skills)
|
|
61
|
-
|
|
62
|
-
DevFlow ships **33 bundled Core Skills** from the ordered `core_skills` inventory
|
|
63
|
-
in `agent-bundle.manifest.json`, synchronized 1:1 across `.agents/skills/`
|
|
64
|
-
(Codex / Antigravity / Copilot) and `.claude/skills/` (Claude Code). Local or
|
|
65
|
-
Personal Skills may coexist in a workspace, but are excluded from the Core count
|
|
66
|
-
and package template until explicitly promoted.
|
|
67
|
-
|
|
68
|
-
### A. Lifecycle Delivery Skills (8 Skills)
|
|
69
|
-
- `feature`: Turn a build-plan item or new idea into a task-isolated living spec (`devflow/context/{xxx-slug}/spec.md`).
|
|
70
|
-
- `fix`: Document and spec an ad-hoc bug or issue into `devflow/context/{xxx-slug}/spec.md`.
|
|
71
|
-
- `implement`: Step-by-step TDD implementation behind review gates.
|
|
72
|
-
- `check`: Dual-Axis verification of observable spec behavior and independent architecture/standards quality.
|
|
73
|
-
- `complete`: Final safety audit, Conventional Commit, archiving, and branch delivery gate.
|
|
74
|
-
- `autopilot`: Bounded single-pass delivery loop with self-review and safe repair.
|
|
75
|
-
- `continuous`: Autonomous serial multi-feature delivery loop completing build-plan items with quality gates.
|
|
76
|
-
- `rollback`: Plan a safe reversal of a completed feature preserving history.
|
|
77
|
-
|
|
78
|
-
### B. Pre-Flight Discovery, SA & Alignment Skills (5 Skills)
|
|
79
|
-
- `analyze`: Multi-format requirement ingestion (PDF, Word, Excel, Images), Codebase Impact scan & Socratic Gap checklist.
|
|
80
|
-
- `discovery`: Inception exploration and deep multi-turn planning (`devflow/discoveries/`).
|
|
81
|
-
- `idea`: Quick idea capture and AI feasibility scoring (`devflow/ideas.md`).
|
|
82
|
-
- `grill` / `align`: Socratic alignment, domain modeling, and ADR recording (`devflow/decisions/`).
|
|
83
|
-
- `brainstorm`: Structured divergent & convergent ideation with trade-off matrices.
|
|
84
|
-
|
|
85
|
-
### C. Workspace & Governance Skills (20 Skills)
|
|
86
|
-
- `devflow`: Interactive workspace inspector and intent router.
|
|
87
|
-
- `doctor`: Read-only health check for setup, adapters, and workflow drift.
|
|
88
|
-
- `explore`: Fast read-only query answering and codebase orientation without writing files.
|
|
89
|
-
- `onboard`: Configure freshly scaffolded projects.
|
|
90
|
-
- `adopt`: Bootstrap DevFlow into existing brownfield codebases.
|
|
91
|
-
- `overview`: Compile living source of truth from planning docs.
|
|
92
|
-
- `brief`: Feature scope and dependency briefing before speccing.
|
|
93
|
-
- `audit`: Branch-aware or full-project code and security audit.
|
|
94
|
-
- `bughunter`: Offensive security orchestrator, 83 vulnerability patterns & CVE payloads.
|
|
95
|
-
- `ci`: Set up single Verify command and GitHub Actions.
|
|
96
|
-
- `test`: Test suite runner and coverage analyzer.
|
|
97
|
-
- `setup-tests`: Add or normalize unit test suite.
|
|
98
|
-
- `browser-tests`: Add or normalize Playwright browser test harness & connect with MCP browseros-neo.
|
|
99
|
-
- `release`: Cloud deployment readiness check (Render / Vercel).
|
|
100
|
-
- `prototype`: Static HTML/CSS prototype mockups.
|
|
101
|
-
- `status`: Progress summary and next action inspector.
|
|
102
|
-
- `try`: Manual review testing guide.
|
|
103
|
-
- `debug`: Scientific six-phase diagnosis built around a deterministic red-capable feedback loop.
|
|
104
|
-
- `report-html`: Generate interactive standalone HTML report dashboard.
|
|
105
|
-
- `convert-any-to-md`: Document conversion utility into markdown.
|
|
106
|
-
|
|
107
|
-
---
|
|
108
|
-
|
|
109
|
-
## 5. Quality, Governance & Authoring Contracts
|
|
110
|
-
|
|
111
|
-
- [Workflow surface map](workflow-surface-map.md): canonical command taxonomy and artifacts.
|
|
112
|
-
- [Skill selection policy](skill-selection-policy.md): choose the smallest suitable workflow surface.
|
|
113
|
-
- [Governance rules](governance-rules.md): public-surface and documentation placement rules.
|
|
114
|
-
- [Markdown metadata contract](markdown-metadata-contract.md): frontmatter and semantic heading requirements.
|
|
115
|
-
- [Manual review workflow](manual-review-workflow-spec.md): review gates from spec through delivery.
|
|
116
|
-
- [Living Spec examples](examples/living-spec/): reference specs, discoveries, ADRs, and ideas.
|
|
117
|
-
|
|
118
|
-
`/check` applies the Deep Modules standard independently from spec fidelity:
|
|
119
|
-
small public interfaces, hidden complexity, stable seams, and no speculative
|
|
120
|
-
abstraction. `/debug` diagnoses first and hands confirmed repairs to `/fix` or
|
|
121
|
-
`/implement`; it does not edit source during diagnosis.
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
### Debugging, TDD & Review Reference Guides
|
|
126
|
-
|
|
127
|
-
The `debug`, `implement`, and `audit` skills include five English reference guides.
|
|
128
|
-
They are supporting files read when needed, not additional commands. Both
|
|
129
|
-
`.agents/skills/` and `.claude/skills/` contain matching copies; no separate
|
|
130
|
-
Superpowers plugin installation is required.
|
|
131
|
-
|
|
132
|
-
| Situation | Entry point | Reference guide |
|
|
133
|
-
| :--- | :--- | :--- |
|
|
134
|
-
| Error deep in a call stack or unclear input origin | `/debug` Phase 4 | [Root-cause tracing](../../.agents/skills/debug/root-cause-tracing.md) |
|
|
135
|
-
| Confirmed root cause needs protective checks | `/debug` repair planning → `/fix` → `/implement` | [Defense-in-depth](../../.agents/skills/debug/defense-in-depth.md) |
|
|
136
|
-
| Flaky async tests or guessed sleep delays | `/debug` Phase 4 | [Condition-based waiting](../../.agents/skills/debug/condition-based-waiting.md) |
|
|
137
|
-
| Planning RED/GREEN or inspecting test quality | `/implement [id]` | [TDD anti-patterns](../../.agents/skills/implement/tdd-anti-patterns.md) |
|
|
138
|
-
| Preparing an independent review | `/audit independent current` | [Two-stage review template](../../.agents/skills/audit/two-stage-review-template.md) |
|
|
139
|
-
|
|
140
|
-
**Debugging:** Trace the trigger before planning a repair. Use validation layers
|
|
141
|
-
according to actual invariants and risks, and keep diagnostic output redacted.
|
|
142
|
-
The waiting example accepts synchronous predicates only; async I/O needs an
|
|
143
|
-
appropriate async helper with cancellation or timeout. `/debug` remains a
|
|
144
|
-
diagnostic stage. After three unsuccessful repair attempts in the supplied
|
|
145
|
-
history, stop and discuss the architecture before attempting another fix.
|
|
146
|
-
|
|
147
|
-
**Implementation:** Apply the Iron Law to behavior changes according to the
|
|
148
|
-
spec's test decision: observe the intended failing test before production code.
|
|
149
|
-
Confirm that RED reflects missing behavior rather than broken setup, implement
|
|
150
|
-
the minimum change for GREEN, then refactor with tests passing. Preserve existing
|
|
151
|
-
user work; verify documentation or configuration without logic as the spec directs.
|
|
152
|
-
|
|
153
|
-
**Review:** Check spec compliance first, then code quality only after Stage 1
|
|
154
|
-
passes. Use the template alongside the canonical
|
|
155
|
-
[independent-review contract](../../.agents/skills/audit/reference/independent-review.md).
|
|
156
|
-
The configured gate still determines whether review runs, and its request,
|
|
157
|
-
immutable checkpoint, reviewer identity, and receipt requirements remain in force.
|
|
158
|
-
Open or fixed P0/P1 findings continue to block completion.
|
|
159
|
-
|
|
160
|
-
Example prompts (use `$debug` and `$implement` in Codex where appropriate):
|
|
161
|
-
|
|
162
|
-
```text
|
|
163
|
-
/debug "This async test passes locally but times out in CI; inspect its waiting conditions"
|
|
164
|
-
/implement 085
|
|
165
|
-
/audit independent current
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
Replace `085` with your active task ID. For the review prompt, ask the reviewer
|
|
169
|
-
to use `audit/two-stage-review-template.md` with the canonical receipt contract;
|
|
170
|
-
the template does not launch a reviewer or authorize a checkpoint commit itself.
|
|
171
|
-
|
|
172
|
-
---
|
|
173
|
-
|
|
174
|
-
## 6. Web Dashboard & CLI Management
|
|
175
|
-
|
|
176
|
-
```bash
|
|
177
|
-
# Launch interactive Local Dashboard (0ms SSR Hydration & Git Cache)
|
|
178
|
-
npx @jakkrichm/create-nexus-devflow dashboard
|
|
179
|
-
|
|
180
|
-
# Check active project status across 3-Pillars
|
|
181
|
-
npx @jakkrichm/create-nexus-devflow status
|
|
182
|
-
|
|
183
|
-
# Automated Quality Gatekeeper
|
|
184
|
-
npx @jakkrichm/create-nexus-devflow gate [--strict]
|
|
185
|
-
|
|
186
|
-
# Model Context Protocol (MCP) Server Hub
|
|
187
|
-
npx @jakkrichm/create-nexus-devflow mcp
|
|
188
|
-
|
|
189
|
-
# Just-In-Time (JIT) Dynamic Context Slicing
|
|
190
|
-
npx @jakkrichm/create-nexus-devflow slice --stage implement
|
|
191
|
-
|
|
192
|
-
# Multi-Agent Swarm & Code Graph RAG
|
|
193
|
-
npx @jakkrichm/create-nexus-devflow swarm
|
|
194
|
-
npx @jakkrichm/create-nexus-devflow graph --file src/index.ts
|
|
195
|
-
```
|