@ngocsangairvds/vsaf 3.0.9 → 3.0.10

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.
Files changed (2) hide show
  1. package/README.md +77 -21
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,7 +11,7 @@ every decision. $20/month total.
11
11
  ```
12
12
  ┌──────────────────────────────────────────────────────────────────────┐
13
13
  │ PLANNING BMAD (agents) │
14
- │ Analyst, PM, Architect, Product Owner
14
+ │ Analyst · Architect · Brainstorming · QA
15
15
  ├──────────────────────────────────────────────────────────────────────┤
16
16
  │ CODE INTEL GitNexus (MCP backbone) │
17
17
  │ call-graph, impact analysis, blast radius │
@@ -20,7 +20,7 @@ every decision. $20/month total.
20
20
  │ architecture decisions, temporal KG │
21
21
  ├──────────────────────────────────────────────────────────────────────┤
22
22
  │ IMPLEMENTATION Claude Code + Superpowers │
23
- brainstorm, TDD execution, code review
23
+ │ TDD execution, code review
24
24
  └──────────────────────────────────────────────────────────────────────┘
25
25
  ```
26
26
 
@@ -96,7 +96,8 @@ Run `npx @ngocsangairvds/vsaf@latest --help` for the full list. Highlights:
96
96
  Main skill commands inside Claude Code:
97
97
 
98
98
  - `/vsaf-onboard`
99
- - `/vsaf-plan` + `/vsaf-doc`
99
+ - `/vsaf-plan <feature>`
100
+ - `/vsaf-doc`
100
101
  - `/vsaf-test <path/to/srs>`
101
102
  - `/vsaf-build <path/to/srs> <path/to/testcases>`
102
103
  - `/vsaf-ship`
@@ -105,29 +106,84 @@ Main skill commands inside Claude Code:
105
106
 
106
107
  Every feature follows an **SRS-first cycle**:
107
108
 
108
- 1. `/vsaf-onboard` — understand project context (code graph + decisions)
109
- 2. `/vsaf-plan` + `/vsaf-doc` turn requirement into approved SRS
110
- 3. `/vsaf-test <path/to/srs>` — generate testcase docs from SRS
111
- 4. `gitnexus_impact` + `mempalace_search` — mandatory impact/rationale gate
112
- 5. `/vsaf-build <path/to/srs> <path/to/testcases>` — implement with TDD guardrails
113
- 6. `/superpowers:code-review` + `vsaf index` + `/vsaf-ship` — review, sync graph, ship
109
+ ```
110
+ /vsaf-onboard → /vsaf-plan /vsaf-doc /vsaf-test /vsaf-build /vsaf-ship
111
+ ```
114
112
 
115
113
  Bug fixes (Quick Flow) may use mini-SRS + mini-testcases, but still require
116
114
  `gitnexus_impact` before editing symbols and `gitnexus_detect_changes` before commit.
117
115
 
118
- Generated docs path convention:
119
-
120
- - SRS: `docs/project/srs/<feature>.md`
121
- - Testcases: `docs/project/testcases/<feature>.md`
122
- - Planning artifacts: `docs/project/planning-artifacts/`
123
- - Implementation artifacts: `docs/project/implementation-artifacts/`
116
+ ### Flow breakdown
117
+
118
+ #### `/vsaf-onboard` Understand the codebase
119
+ | Step | Tool | Does |
120
+ |------|------|------|
121
+ | 1 | **GitNexus** `mcp__gitnexus__query` + `group_list` | Maps modules, clusters, entry points, hot symbols |
122
+ | 2 | **MemPalace** `mempalace_search` × 3 | Surfaces past architecture decisions, patterns, rationale |
123
+ | → | Output | Project overview: architecture, patterns, key decisions, risk areas |
124
+
125
+ #### `/vsaf-plan <feature>` — Analyse and plan
126
+ | Step | Tool | Does |
127
+ |------|------|------|
128
+ | 1 | **MemPalace** `mempalace_search` | Checks for prior decisions that affect this feature |
129
+ | 2 | **BMAD** `bmad-agent-analyst` (Mary) | Elicits FRs, NFRs, edge cases, scope boundaries |
130
+ | 3 | **GitNexus** `mcp__gitnexus__impact` + `query` | Blast radius — how many modules touched, risk level |
131
+ | 4 | **Graphify** `/graphify path A B` *(if needed)* | Traces dependency path between two services |
132
+ | 5 | **BMAD** `bmad-agent-architect` (Winston) | Proposes architecture approach, compares alternatives |
133
+ | 6 | **BMAD** `bmad-brainstorming` | Creative exploration — min. 20 alternatives / risk angles |
134
+ | → | Output | Scope, impact report, chosen approach, rejected alternatives |
135
+
136
+ #### `/vsaf-doc` — Write the SRS
137
+ | Step | Tool | Does |
138
+ |------|------|------|
139
+ | 1 | **MemPalace** `mempalace_search` | Checks for old decisions to reference in SRS |
140
+ | 2 | *(Claude)* | Writes SRS with FRs/NFRs/acceptance criteria + traceability IDs → `docs/project/srs/` |
141
+ | 3 | *(Claude)* | Writes implement notes: affected modules, technical constraints |
142
+ | 4 | **MemPalace** `mempalace_add_drawer` | Persists chosen approach + rejected alternatives |
143
+ | → | Output | `docs/project/srs/[feature].md` ready for testcase generation |
144
+
145
+ #### `/vsaf-test <path/to/srs>` — Generate testcases
146
+ | Step | Tool | Does |
147
+ |------|------|------|
148
+ | 1 | **BMAD** `bmad-qa-generate-e2e-tests` | Derives unit / integration / edge-case tests from SRS FRs/NFRs |
149
+ | 2 | *(Claude)* | Validates every FR/NFR has ≥ 1 test, records gaps |
150
+ | 3 | *(Claude)* | Builds FR/NFR → Testcase ID traceability matrix |
151
+ | 4 | *(Claude)* | Saves to `docs/project/testcases/[feature].md` |
152
+ | → | Output | Testcase contract — used as implementation guardrails |
153
+
154
+ #### `/vsaf-build <path/to/srs> <path/to/testcases>` — Implement with TDD
155
+ | Step | Tool | Does |
156
+ |------|------|------|
157
+ | 1 | **MemPalace** `mempalace_search` | Last check — no old decisions conflict with implementation |
158
+ | 2 | *(Claude)* | Reads SRS + testcases, confirms FR/NFR → testcase mapping |
159
+ | 3 | **Claude Code** (TDD loop) | RED → GREEN → REFACTOR per testcase group |
160
+ | 3b | **GitNexus** `mcp__gitnexus__detect_changes` | Verifies only intended files changed before each commit |
161
+ | → | Output | Working code, all tests passing, 1 commit per task |
162
+
163
+ #### `/vsaf-ship` — Review, sync, and record
164
+ | Step | Tool | Does |
165
+ |------|------|------|
166
+ | 1 | **Superpowers** `superpowers:code-review` | Layer 1 — structure, naming, SOLID, patterns |
167
+ | 2 | **GitNexus** `gitnexus analyze` / `vsaf index` | Layer 2 — updates call graph to reflect new code |
168
+ | 3 | **MemPalace** `mempalace_add_drawer` + `diary_write` | Saves decisions + session summary for future sessions |
169
+ | 4 | *(git)* | Push branch, open PR with impact summary + test results |
170
+ | → | Output | Shipped feature, updated graph, persistent knowledge |
171
+
172
+ ### Generated docs path convention
173
+
174
+ | Artifact | Path |
175
+ |----------|------|
176
+ | SRS | `docs/project/srs/<feature>.md` |
177
+ | Testcases | `docs/project/testcases/<feature>.md` |
178
+ | Planning artifacts | `docs/project/planning-artifacts/` |
179
+ | Implementation artifacts | `docs/project/implementation-artifacts/` |
124
180
 
125
181
  ### Command naming map
126
182
 
127
- - `/vsaf-onboarding` -> `vsaf-onboard`
128
- - `/vsaf-planning + requirement` -> `vsaf-plan` + `vsaf-doc`
129
- - `/vsaf-testcase + path/to/srs` -> `vsaf-test <path/to/srs>`
130
- - `/vsaf-implement + path/to/srs + path/to/test_case` -> `vsaf-build <srs> <testcases>`
183
+ - `/vsaf-onboarding` `vsaf-onboard`
184
+ - `/vsaf-planning <requirement>` `vsaf-plan` + `vsaf-doc`
185
+ - `/vsaf-testcase <path/to/srs>` `vsaf-test <path/to/srs>`
186
+ - `/vsaf-implement <srs> <testcases>` `vsaf-build <srs> <testcases>`
131
187
 
132
188
  See [1-setup-guide.md § Your First Project](docs/onboarding/1-setup-guide.md#5-your-first-project--a-walkthrough)
133
189
  for a walkthrough, or [2-workflow-guide.md § JWT Demo](docs/onboarding/2-workflow-guide.md#4-full-sdlc-demo)
@@ -138,8 +194,8 @@ for a full command-by-command example.
138
194
  | Tool | What It Does | Cost |
139
195
  |---|---|---|
140
196
  | **Claude Code** | AI coding agent — everything else plugs into it | $20/mo |
141
- | **BMAD Method** | AI agents for planning: Analyst, PM, Architect, Product Owner | Free |
142
- | **Superpowers** | Methodology engine: brainstorm, plan, TDD execution, code review | Free |
197
+ | **BMAD Method** | AI agents for planning: Analyst, Architect, Brainstorming, QA | Free |
198
+ | **Superpowers** | Methodology engine: code review | Free |
143
199
  | **GitNexus** | Code knowledge graph via MCP — impact analysis, dependency queries | Free |
144
200
  | **MemPalace** | Knowledge base — verbatim storage of decisions, temporal knowledge graph | Free |
145
201
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngocsangairvds/vsaf",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
4
4
  "description": "VSAF — Agentic AI SDLC Framework. 4 integrated tools: BMAD, GitNexus, Superpowers, MemPalace. 2-layer review.",
5
5
  "keywords": ["claude", "claude-code", "ai", "sdlc", "framework", "bmad", "gitnexus", "mempalace"],
6
6
  "bin": {