@ngocsangairvds/vsaf 5.1.5 → 5.1.6

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 (217) hide show
  1. package/package.json +1 -1
  2. package/packages/cli/dist/adapters/antigravity.d.ts.map +1 -1
  3. package/packages/cli/dist/adapters/antigravity.js +7 -2
  4. package/packages/cli/dist/adapters/antigravity.js.map +1 -1
  5. package/packages/cli/dist/adapters/codex.js +1 -1
  6. package/packages/cli/dist/adapters/codex.js.map +1 -1
  7. package/packages/cli/dist/adapters/cursor.js +1 -1
  8. package/packages/cli/dist/adapters/cursor.js.map +1 -1
  9. package/packages/cli/dist/commands/install.d.ts.map +1 -1
  10. package/packages/cli/dist/commands/install.js +21 -1
  11. package/packages/cli/dist/commands/install.js.map +1 -1
  12. package/packages/cli/dist/commands/skill.d.ts.map +1 -1
  13. package/packages/cli/dist/commands/skill.js +5 -2
  14. package/packages/cli/dist/commands/skill.js.map +1 -1
  15. package/skills/sdlc/architecture/current-state/SKILL.md +10 -0
  16. package/skills/sdlc/architecture/current-state/step.md +13 -0
  17. package/skills/sdlc/architecture/decision/SKILL.md +10 -0
  18. package/skills/sdlc/architecture/decision/step.md +21 -0
  19. package/skills/sdlc/architecture/epics/SKILL.md +10 -0
  20. package/skills/sdlc/architecture/epics/step.md +34 -0
  21. package/skills/sdlc/architecture/grill/SKILL.md +10 -0
  22. package/skills/sdlc/architecture/grill/step.md +26 -0
  23. package/skills/sdlc/architecture/prereq/SKILL.md +10 -0
  24. package/skills/sdlc/architecture/prereq/step.md +16 -0
  25. package/skills/sdlc/architecture/readiness/SKILL.md +10 -0
  26. package/skills/sdlc/architecture/readiness/step.md +76 -0
  27. package/skills/sdlc/complete/context/SKILL.md +10 -0
  28. package/skills/sdlc/complete/context/step.md +14 -0
  29. package/skills/sdlc/complete/knowledge/SKILL.md +10 -0
  30. package/skills/sdlc/complete/knowledge/step.md +22 -0
  31. package/skills/sdlc/complete/prereq/SKILL.md +10 -0
  32. package/skills/sdlc/complete/prereq/step.md +16 -0
  33. package/skills/sdlc/complete/reindex/SKILL.md +10 -0
  34. package/skills/sdlc/complete/reindex/step.md +24 -0
  35. package/skills/sdlc/complete/status/SKILL.md +10 -0
  36. package/skills/sdlc/complete/status/step.md +52 -0
  37. package/skills/sdlc/discovery/brainstorm/SKILL.md +10 -0
  38. package/skills/sdlc/discovery/brainstorm/step.md +27 -0
  39. package/skills/sdlc/discovery/domain/SKILL.md +10 -0
  40. package/skills/sdlc/discovery/domain/step.md +13 -0
  41. package/skills/sdlc/discovery/grill/SKILL.md +10 -0
  42. package/skills/sdlc/discovery/grill/step.md +22 -0
  43. package/skills/sdlc/discovery/prereq/SKILL.md +10 -0
  44. package/skills/sdlc/discovery/prereq/step.md +16 -0
  45. package/skills/sdlc/discovery/prfaq/SKILL.md +10 -0
  46. package/skills/sdlc/discovery/prfaq/step.md +68 -0
  47. package/skills/sdlc/discovery/system/SKILL.md +10 -0
  48. package/skills/sdlc/discovery/system/step.md +19 -0
  49. package/skills/sdlc/hotfix/analyze/entry/SKILL.md +10 -0
  50. package/skills/sdlc/hotfix/analyze/entry/step.md +15 -0
  51. package/skills/sdlc/hotfix/analyze/exit/SKILL.md +10 -0
  52. package/skills/sdlc/hotfix/analyze/exit/step.md +19 -0
  53. package/skills/sdlc/hotfix/analyze/fix-strategy/SKILL.md +10 -0
  54. package/skills/sdlc/hotfix/analyze/fix-strategy/step.md +15 -0
  55. package/skills/sdlc/hotfix/analyze/gitnexus/SKILL.md +10 -0
  56. package/skills/sdlc/hotfix/analyze/gitnexus/step.md +17 -0
  57. package/skills/sdlc/hotfix/analyze/grill/SKILL.md +10 -0
  58. package/skills/sdlc/hotfix/analyze/grill/step.md +23 -0
  59. package/skills/sdlc/hotfix/analyze/reasoning/SKILL.md +10 -0
  60. package/skills/sdlc/hotfix/analyze/reasoning/step.md +29 -0
  61. package/skills/sdlc/hotfix/analyze/write/SKILL.md +10 -0
  62. package/skills/sdlc/hotfix/analyze/write/step.md +45 -0
  63. package/skills/sdlc/hotfix/implement/branch/SKILL.md +10 -0
  64. package/skills/sdlc/hotfix/implement/branch/step.md +15 -0
  65. package/skills/sdlc/hotfix/implement/entry/SKILL.md +10 -0
  66. package/skills/sdlc/hotfix/implement/entry/step.md +20 -0
  67. package/skills/sdlc/hotfix/implement/gate/SKILL.md +10 -0
  68. package/skills/sdlc/hotfix/implement/gate/step.md +104 -0
  69. package/skills/sdlc/hotfix/implement/impact/SKILL.md +10 -0
  70. package/skills/sdlc/hotfix/implement/impact/step.md +15 -0
  71. package/skills/sdlc/hotfix/implement/sonar/SKILL.md +10 -0
  72. package/skills/sdlc/hotfix/implement/sonar/step.md +27 -0
  73. package/skills/sdlc/hotfix/implement/tdd/SKILL.md +10 -0
  74. package/skills/sdlc/hotfix/implement/tdd/step.md +33 -0
  75. package/skills/sdlc/hotfix/implement/verify/SKILL.md +10 -0
  76. package/skills/sdlc/hotfix/implement/verify/step.md +27 -0
  77. package/skills/sdlc/hotfix/prd/entry/SKILL.md +10 -0
  78. package/skills/sdlc/hotfix/prd/entry/step.md +20 -0
  79. package/skills/sdlc/hotfix/prd/gate/SKILL.md +10 -0
  80. package/skills/sdlc/hotfix/prd/gate/step.md +32 -0
  81. package/skills/sdlc/hotfix/prd/requirements/SKILL.md +10 -0
  82. package/skills/sdlc/hotfix/prd/requirements/step.md +19 -0
  83. package/skills/sdlc/hotfix/prd/validate/SKILL.md +10 -0
  84. package/skills/sdlc/hotfix/prd/validate/step.md +19 -0
  85. package/skills/sdlc/hotfix/prd/write/SKILL.md +10 -0
  86. package/skills/sdlc/hotfix/prd/write/step.md +38 -0
  87. package/skills/sdlc/hotfix/review/entry/SKILL.md +10 -0
  88. package/skills/sdlc/hotfix/review/entry/step.md +13 -0
  89. package/skills/sdlc/hotfix/review/gate/SKILL.md +10 -0
  90. package/skills/sdlc/hotfix/review/gate/step.md +51 -0
  91. package/skills/sdlc/hotfix/review/impact/SKILL.md +10 -0
  92. package/skills/sdlc/hotfix/review/impact/step.md +22 -0
  93. package/skills/sdlc/hotfix/review/minimality/SKILL.md +10 -0
  94. package/skills/sdlc/hotfix/review/minimality/step.md +18 -0
  95. package/skills/sdlc/hotfix/review/test-quality/SKILL.md +10 -0
  96. package/skills/sdlc/hotfix/review/test-quality/step.md +16 -0
  97. package/skills/sdlc/hotfix/ship/commit-pr/SKILL.md +10 -0
  98. package/skills/sdlc/hotfix/ship/commit-pr/step.md +58 -0
  99. package/skills/sdlc/hotfix/ship/entry/SKILL.md +10 -0
  100. package/skills/sdlc/hotfix/ship/entry/step.md +20 -0
  101. package/skills/sdlc/hotfix/ship/exit/SKILL.md +10 -0
  102. package/skills/sdlc/hotfix/ship/exit/step.md +31 -0
  103. package/skills/sdlc/hotfix/ship/gitignore/SKILL.md +10 -0
  104. package/skills/sdlc/hotfix/ship/gitignore/step.md +22 -0
  105. package/skills/sdlc/hotfix/ship/report/SKILL.md +10 -0
  106. package/skills/sdlc/hotfix/ship/report/step.md +47 -0
  107. package/skills/sdlc/hotfix/ship/test-gate/SKILL.md +10 -0
  108. package/skills/sdlc/hotfix/ship/test-gate/step.md +17 -0
  109. package/skills/sdlc/implement/build-run/SKILL.md +10 -0
  110. package/skills/sdlc/implement/build-run/step.md +85 -0
  111. package/skills/sdlc/implement/checkpoint/SKILL.md +10 -0
  112. package/skills/sdlc/implement/checkpoint/step.md +20 -0
  113. package/skills/sdlc/implement/debug/SKILL.md +10 -0
  114. package/skills/sdlc/implement/debug/step.md +25 -0
  115. package/skills/sdlc/implement/impact/SKILL.md +10 -0
  116. package/skills/sdlc/implement/impact/step.md +12 -0
  117. package/skills/sdlc/implement/plan/SKILL.md +10 -0
  118. package/skills/sdlc/implement/plan/step.md +13 -0
  119. package/skills/sdlc/implement/prereq/SKILL.md +10 -0
  120. package/skills/sdlc/implement/prereq/step.md +21 -0
  121. package/skills/sdlc/implement/subagents/SKILL.md +10 -0
  122. package/skills/sdlc/implement/subagents/step.md +38 -0
  123. package/skills/sdlc/implement/tdd/SKILL.md +10 -0
  124. package/skills/sdlc/implement/tdd/step.md +24 -0
  125. package/skills/sdlc/init/SKILL.md +7 -0
  126. package/skills/sdlc/onboard-code/SKILL.md +7 -0
  127. package/skills/sdlc/onboard-docs/SKILL.md +7 -0
  128. package/skills/sdlc/pack.yaml +83 -16
  129. package/skills/sdlc/prd/blast-radius/SKILL.md +10 -0
  130. package/skills/sdlc/prd/blast-radius/step.md +76 -0
  131. package/skills/sdlc/prd/create/SKILL.md +10 -0
  132. package/skills/sdlc/prd/create/step.md +21 -0
  133. package/skills/sdlc/prd/elicitation/SKILL.md +10 -0
  134. package/skills/sdlc/prd/elicitation/step.md +12 -0
  135. package/skills/sdlc/prd/prereq/SKILL.md +10 -0
  136. package/skills/sdlc/prd/prereq/step.md +16 -0
  137. package/skills/sdlc/prd/validate/SKILL.md +10 -0
  138. package/skills/sdlc/prd/validate/step.md +24 -0
  139. package/skills/sdlc/review/code/SKILL.md +10 -0
  140. package/skills/sdlc/review/code/step.md +45 -0
  141. package/skills/sdlc/review/debate/SKILL.md +10 -0
  142. package/skills/sdlc/review/debate/step.md +84 -0
  143. package/skills/sdlc/review/impact/SKILL.md +10 -0
  144. package/skills/sdlc/review/impact/step.md +14 -0
  145. package/skills/sdlc/review/prereq/SKILL.md +10 -0
  146. package/skills/sdlc/review/prereq/step.md +18 -0
  147. package/skills/sdlc/review/verification/SKILL.md +10 -0
  148. package/skills/sdlc/review/verification/step.md +16 -0
  149. package/skills/sdlc/ship/commit/SKILL.md +10 -0
  150. package/skills/sdlc/ship/commit/step.md +23 -0
  151. package/skills/sdlc/ship/gitignore/SKILL.md +10 -0
  152. package/skills/sdlc/ship/gitignore/step.md +22 -0
  153. package/skills/sdlc/ship/pr/SKILL.md +10 -0
  154. package/skills/sdlc/ship/pr/step.md +34 -0
  155. package/skills/sdlc/ship/prereq/SKILL.md +10 -0
  156. package/skills/sdlc/ship/prereq/step.md +16 -0
  157. package/skills/sdlc/ship/report/SKILL.md +10 -0
  158. package/skills/sdlc/ship/report/step.md +74 -0
  159. package/skills/sdlc/srs/interface/SKILL.md +10 -0
  160. package/skills/sdlc/srs/interface/step.md +44 -0
  161. package/skills/sdlc/srs/prereq/SKILL.md +10 -0
  162. package/skills/sdlc/srs/prereq/step.md +19 -0
  163. package/skills/sdlc/srs/validate/SKILL.md +10 -0
  164. package/skills/sdlc/srs/validate/step.md +23 -0
  165. package/skills/sdlc/srs/write/SKILL.md +10 -0
  166. package/skills/sdlc/srs/write/step.md +19 -0
  167. package/skills/sdlc/test-design/boundary/SKILL.md +10 -0
  168. package/skills/sdlc/test-design/boundary/step.md +12 -0
  169. package/skills/sdlc/test-design/cases/SKILL.md +10 -0
  170. package/skills/sdlc/test-design/cases/step.md +22 -0
  171. package/skills/sdlc/test-design/coverage/SKILL.md +10 -0
  172. package/skills/sdlc/test-design/coverage/step.md +63 -0
  173. package/skills/sdlc/test-design/prereq/SKILL.md +10 -0
  174. package/skills/sdlc/test-design/prereq/step.md +15 -0
  175. package/{skills/sdlc/workflows → workflows/sdlc}/hotfix-tdd.yaml +2 -1
  176. package/{skills/sdlc/workflows → workflows/sdlc}/hotfix.yaml +8 -4
  177. package/workflows/sdlc/master-sdlc.yaml +64 -0
  178. package/workflows/sdlc/sdlc-architecture.yaml +43 -0
  179. package/workflows/sdlc/sdlc-build.yaml +51 -0
  180. package/workflows/sdlc/sdlc-design.yaml +61 -0
  181. package/workflows/sdlc/sdlc-discovery.yaml +43 -0
  182. package/workflows/sdlc/sdlc-feature-complete.yaml +36 -0
  183. package/workflows/sdlc/sdlc-hotfix-analyze.yaml +43 -0
  184. package/workflows/sdlc/sdlc-hotfix-implement.yaml +43 -0
  185. package/workflows/sdlc/sdlc-hotfix-prd.yaml +31 -0
  186. package/workflows/sdlc/sdlc-hotfix-review.yaml +31 -0
  187. package/workflows/sdlc/sdlc-hotfix-ship.yaml +37 -0
  188. package/workflows/sdlc/sdlc-implement.yaml +60 -0
  189. package/workflows/sdlc/sdlc-prd.yaml +36 -0
  190. package/workflows/sdlc/sdlc-qa.yaml +91 -0
  191. package/workflows/sdlc/sdlc-review.yaml +36 -0
  192. package/workflows/sdlc/sdlc-ship.yaml +36 -0
  193. package/workflows/sdlc/sdlc-srs.yaml +29 -0
  194. package/workflows/sdlc/sdlc-test-design.yaml +29 -0
  195. package/workflows/sdlc/sdlc-testcase.yaml +25 -0
  196. package/workflows/sdlc/sdlc-thinking.yaml +67 -0
  197. package/skills/sdlc/architecture/SKILL.md +0 -218
  198. package/skills/sdlc/discovery/SKILL.md +0 -197
  199. package/skills/sdlc/feature-complete/SKILL.md +0 -159
  200. package/skills/sdlc/hotfix-analyze/SKILL.md +0 -198
  201. package/skills/sdlc/hotfix-implement/SKILL.md +0 -272
  202. package/skills/sdlc/hotfix-prd/SKILL.md +0 -161
  203. package/skills/sdlc/hotfix-review/SKILL.md +0 -153
  204. package/skills/sdlc/hotfix-ship/SKILL.md +0 -221
  205. package/skills/sdlc/implement/SKILL.md +0 -264
  206. package/skills/sdlc/prd/SKILL.md +0 -182
  207. package/skills/sdlc/review/SKILL.md +0 -210
  208. package/skills/sdlc/ship/SKILL.md +0 -194
  209. package/skills/sdlc/srs/SKILL.md +0 -148
  210. package/skills/sdlc/test-design/SKILL.md +0 -132
  211. package/skills/sdlc/workflows/master-sdlc.yaml +0 -35
  212. package/skills/sdlc/workflows/sdlc-build.yaml +0 -18
  213. package/skills/sdlc/workflows/sdlc-design.yaml +0 -14
  214. package/skills/sdlc/workflows/sdlc-qa.yaml +0 -20
  215. package/skills/sdlc/workflows/sdlc-testcase.yaml +0 -8
  216. package/skills/sdlc/workflows/sdlc-thinking.yaml +0 -12
  217. /package/{skills/sdlc/workflows → workflows/sdlc}/onboarding.yaml +0 -0
@@ -0,0 +1,36 @@
1
+ name: sdlc-review
2
+ description: 'Phase workflow: Review step-level execution'
3
+ nodes:
4
+ - id: review-prereq
5
+ description: Review 1/5 — prerequisites
6
+ model: gpt-5.5
7
+ workspace: false
8
+ command: sdlc-review-prereq
9
+ - id: review-verification
10
+ description: Review 2/5 — system verification
11
+ model: gpt-5.5
12
+ depends_on:
13
+ - review-prereq
14
+ workspace: false
15
+ command: sdlc-review-verification
16
+ - id: review-code
17
+ description: Review 3/5 — code review + quality gate
18
+ model: gpt-5.5
19
+ depends_on:
20
+ - review-verification
21
+ workspace: false
22
+ command: sdlc-review-code
23
+ - id: review-impact
24
+ description: Review 4/5 — impact assessment
25
+ model: gpt-5.5
26
+ depends_on:
27
+ - review-code
28
+ workspace: false
29
+ command: sdlc-review-impact
30
+ - id: review-debate
31
+ description: Review 5/5 — debate + gate
32
+ model: gemini-3.5-flash
33
+ depends_on:
34
+ - review-impact
35
+ workspace: false
36
+ command: sdlc-review-debate
@@ -0,0 +1,36 @@
1
+ name: sdlc-ship
2
+ description: 'Phase workflow: Ship step-level execution'
3
+ nodes:
4
+ - id: ship-prereq
5
+ description: Ship 1/5 — prerequisites
6
+ model: gpt-5.5
7
+ workspace: false
8
+ command: sdlc-ship-prereq
9
+ - id: ship-gitignore
10
+ description: Ship 2/5 — .gitignore enforcement
11
+ model: gpt-5.5
12
+ depends_on:
13
+ - ship-prereq
14
+ workspace: false
15
+ command: sdlc-ship-gitignore
16
+ - id: ship-commit
17
+ description: Ship 3/5 — merge strategy + commit
18
+ model: gpt-5.5
19
+ depends_on:
20
+ - ship-gitignore
21
+ workspace: false
22
+ command: sdlc-ship-commit
23
+ - id: ship-pr
24
+ description: Ship 4/5 — push + PR
25
+ model: gpt-5.5
26
+ depends_on:
27
+ - ship-commit
28
+ workspace: false
29
+ command: sdlc-ship-pr
30
+ - id: ship-report
31
+ description: Ship 5/5 — ship report
32
+ model: gemini-3.5-flash
33
+ depends_on:
34
+ - ship-pr
35
+ workspace: false
36
+ command: sdlc-ship-report
@@ -0,0 +1,29 @@
1
+ name: sdlc-srs
2
+ description: 'Phase workflow: SRS step-level execution'
3
+ nodes:
4
+ - id: srs-prereq
5
+ description: SRS 1/4 — input artifacts
6
+ model: gpt-5.5
7
+ workspace: false
8
+ command: sdlc-srs-prereq
9
+ - id: srs-write
10
+ description: SRS 2/4 — write SRS
11
+ model: gemini-3.5-flash
12
+ depends_on:
13
+ - srs-prereq
14
+ workspace: false
15
+ command: sdlc-srs-write
16
+ - id: srs-validate
17
+ description: SRS 3/4 — validate SRS
18
+ model: gemini-3.5-flash
19
+ depends_on:
20
+ - srs-write
21
+ workspace: false
22
+ command: sdlc-srs-validate
23
+ - id: srs-interface
24
+ description: SRS 4/4 — interface verification + gate
25
+ model: gemini-3.5-flash
26
+ depends_on:
27
+ - srs-validate
28
+ workspace: false
29
+ command: sdlc-srs-interface
@@ -0,0 +1,29 @@
1
+ name: sdlc-test-design
2
+ description: 'Phase workflow: Test Design step-level execution'
3
+ nodes:
4
+ - id: test-design-prereq
5
+ description: Test Design 1/4 — input artifacts
6
+ model: gpt-5.5
7
+ workspace: false
8
+ command: sdlc-test-design-prereq
9
+ - id: test-design-cases
10
+ description: Test Design 2/4 — generate test cases
11
+ model: gpt-5.5
12
+ depends_on:
13
+ - test-design-prereq
14
+ workspace: false
15
+ command: sdlc-test-design-cases
16
+ - id: test-design-boundary
17
+ description: Test Design 3/4 — boundary tests
18
+ model: gpt-5.5
19
+ depends_on:
20
+ - test-design-cases
21
+ workspace: false
22
+ command: sdlc-test-design-boundary
23
+ - id: test-design-coverage
24
+ description: Test Design 4/4 — coverage map + output
25
+ model: gemini-3.5-flash
26
+ depends_on:
27
+ - test-design-boundary
28
+ workspace: false
29
+ command: sdlc-test-design-coverage
@@ -0,0 +1,25 @@
1
+ name: sdlc-testcase
2
+ description: 'Sub-flow: step-level Test Design'
3
+ nodes:
4
+ - id: test-design-prereq
5
+ description: Test Design 1/4 — input artifacts
6
+ workspace: false
7
+ command: sdlc-test-design-prereq
8
+ - id: test-design-cases
9
+ description: Test Design 2/4 — generate test cases
10
+ depends_on:
11
+ - test-design-prereq
12
+ workspace: false
13
+ command: sdlc-test-design-cases
14
+ - id: test-design-boundary
15
+ description: Test Design 3/4 — boundary tests
16
+ depends_on:
17
+ - test-design-cases
18
+ workspace: false
19
+ command: sdlc-test-design-boundary
20
+ - id: test-design-coverage
21
+ description: Test Design 4/4 — coverage map + output
22
+ depends_on:
23
+ - test-design-boundary
24
+ workspace: false
25
+ command: sdlc-test-design-coverage
@@ -0,0 +1,67 @@
1
+ name: sdlc-thinking
2
+ description: 'Sub-flow: step-level Discovery → PRD'
3
+ nodes:
4
+ - id: discovery-prereq
5
+ description: Discovery 1/6 — prerequisites
6
+ workspace: false
7
+ command: sdlc-discovery-prereq
8
+ - id: discovery-system
9
+ description: Discovery 2/6 — existing system
10
+ depends_on:
11
+ - discovery-prereq
12
+ workspace: false
13
+ command: sdlc-discovery-system
14
+ - id: discovery-grill
15
+ description: Discovery 3/6 — grill session
16
+ depends_on:
17
+ - discovery-system
18
+ workspace: false
19
+ command: sdlc-discovery-grill
20
+ - id: discovery-brainstorm
21
+ description: Discovery 4/6 — dual brainstorming
22
+ depends_on:
23
+ - discovery-grill
24
+ workspace: false
25
+ command: sdlc-discovery-brainstorm
26
+ - id: discovery-domain
27
+ description: Discovery 5/6 — domain research + code scan
28
+ depends_on:
29
+ - discovery-brainstorm
30
+ workspace: false
31
+ command: sdlc-discovery-domain
32
+ - id: discovery-prfaq
33
+ description: Discovery 6/6 — PRFAQ + discovery output
34
+ depends_on:
35
+ - discovery-domain
36
+ workspace: false
37
+ command: sdlc-discovery-prfaq
38
+ - id: prd-prereq
39
+ description: PRD 1/5 — prerequisites
40
+ workspace: false
41
+ command: sdlc-prd-prereq
42
+ depends_on:
43
+ - discovery-prfaq
44
+ - id: prd-elicitation
45
+ description: PRD 2/5 — elicitation
46
+ depends_on:
47
+ - prd-prereq
48
+ workspace: false
49
+ command: sdlc-prd-elicitation
50
+ - id: prd-create
51
+ description: PRD 3/5 — create PRD
52
+ depends_on:
53
+ - prd-elicitation
54
+ workspace: false
55
+ command: sdlc-prd-create
56
+ - id: prd-validate
57
+ description: PRD 4/5 — validate + adversarial review
58
+ depends_on:
59
+ - prd-create
60
+ workspace: false
61
+ command: sdlc-prd-validate
62
+ - id: prd-blast-radius
63
+ description: PRD 5/5 — blast radius + gate
64
+ depends_on:
65
+ - prd-validate
66
+ workspace: false
67
+ command: sdlc-prd-blast-radius
@@ -1,218 +0,0 @@
1
- ---
2
- name: sdlc-architecture
3
- description: Phase 3 — Architecture + Epics via GitNexus analysis + grill session + BMAD architecture + conflict mapping
4
- version: 1.0.0
5
- author: "@ngocsangairvds/vsaf"
6
- ---
7
-
8
- # Phase 3: Architecture + Epics
9
-
10
- You are a Solution Architect. Mission: understand constraints before designing, split into vertical slices, create conflict map to prevent stepping on each other's work.
11
-
12
- **IMPORTANT:** This phase MUST ask architecture questions BEFORE designing. Do NOT design before understanding constraints from the user.
13
-
14
- ## Progress Protocol
15
-
16
- Print progress at each step in this format:
17
- ```
18
- [ARCHITECTURE] [step/6] description... ⏳
19
- [ARCHITECTURE] [step/6] description... ✅
20
- ```
21
-
22
- ## Index Protection
23
-
24
- ⛔ Do NOT modify `graphify-out/` or `.gitnexus/` in this phase.
25
-
26
- ## Phase Entry Protocol
27
-
28
- ```
29
- [ARCHITECTURE] [1/6] Checking prerequisites... ⏳
30
- ```
31
-
32
- 1. Input: `.vsaf/docs/features/{feature-name}/02-prd.md`
33
- 2. Check if file exists + **check for Gate: APPROVED**
34
- - No Gate → Stop: "PRD has not been approved"
35
- 3. Read `.vsaf/docs/STATUS.md`
36
- 4. Read `CONTEXT.md`
37
- 5. Query `graph.json` for code structure + business mapping
38
-
39
- ```
40
- [ARCHITECTURE] [1/6] Checking prerequisites... ✅
41
- ```
42
-
43
- ## Tasks
44
-
45
- ### Step 2: Current State Analysis
46
-
47
- ```
48
- [ARCHITECTURE] [2/6] Analyzing current state via GitNexus... ⏳
49
- ```
50
-
51
- Use GitNexus `context` — 360° view of all affected symbols (from PRD §Blast Radius).
52
- Use GitNexus `api_impact` — API route pre-change analysis (if project has API).
53
- Record results internally to prepare questions for Step 3.
54
-
55
- ```
56
- [ARCHITECTURE] [2/6] Analyzing current state via GitNexus... ✅
57
- ```
58
-
59
- ### Step 3: GRILL Session — ASK architecture questions BEFORE designing
60
-
61
- ```
62
- [ARCHITECTURE] [3/6] Grill session — asking architecture questions... ⏳
63
- ```
64
-
65
- Use `/bmad-advanced-elicitation` — grill architecture-specific questions BASED ON current state analysis from Step 2.
66
-
67
- **STRICT RULES:**
68
- - ⛔ Do NOT make architecture decisions before asking
69
- - ⛔ Do NOT say "I recommend using pattern X"
70
- - ✅ ONLY ask questions
71
- - ✅ Questions MUST cover the following areas:
72
-
73
- **Mandatory questions:**
74
- 1. **Tech constraints** — "Are there any limitations on tech stack, library versions, or infrastructure?"
75
- 2. **Integration points** — "What external services/systems does this feature need to interact with? What protocol?"
76
- 3. **Performance requirements** — "What is the expected load? Latency budget? Throughput target?"
77
- 4. **Deployment model** — "Deploy within the existing service or separate? Blue-green, canary, or rolling?"
78
- 5. **Data model concerns** — "Is acceptable downtime for schema migration OK? Data volume estimate?"
79
-
80
- **WAIT** for the user to respond BEFORE continuing to Step 4.
81
-
82
- ```
83
- [ARCHITECTURE] [3/6] Grill session — asking architecture questions... ✅
84
- ```
85
-
86
- ### Step 4: Architecture Decision
87
-
88
- ```
89
- [ARCHITECTURE] [4/6] Designing architecture based on grill answers... ⏳
90
- ```
91
-
92
- Use `/bmad-create-architecture` — design architecture based on grill answers from Step 3.
93
-
94
- Ensure the output covers:
95
-
96
- 1. **Component diagram** — identify bounded contexts and their interfaces
97
- 2. **Deep Module validation** — each component: small public interface, complex logic inside
98
- 3. **Data model** — entity relationships, schema changes, migration strategy
99
- 4. **Integration points** — APIs, message queues, external services
100
- 5. **Trade-offs** — explicitly state: "Based on answer '{user answer}' → chose '{approach}' because '{reasoning}'"
101
-
102
- Write to `03-adr.md` §Current State + §Grill Session + §Decision.
103
-
104
- ```
105
- [ARCHITECTURE] [4/6] Designing architecture based on grill answers... ✅
106
- ```
107
-
108
- ### Step 5: Epic Breakdown
109
-
110
- ```
111
- [ARCHITECTURE] [5/6] Splitting epics + conflict map... ⏳
112
- ```
113
-
114
- Use `/bmad-create-epics-and-stories` — split PRD into vertical slices (DB→API→UI per epic, NOT horizontal layers):
115
-
116
- 1. Group related FRs into epics — each epic deliverable independently
117
- 2. Each story MUST be a vertical slice with clear acceptance criteria
118
- 3. Create Conflict Map — which file belongs to which epic
119
-
120
- Write to `04-epics.md`:
121
-
122
- ```markdown
123
- ## Epic 1: {name} [Owner: {ai/person}] [Branch: feat/{feature}/epic-1]
124
- - Scope: {folders/files belonging to this epic}
125
- - Stories: ...
126
-
127
- ## Epic 2: {name} [Owner: {ai/person}] [Branch: feat/{feature}/epic-2]
128
- - Scope: {folders/files belonging to this epic}
129
- - Stories: ...
130
-
131
- ## Conflict Map
132
- - src/user/user.service.ts → Epic 1 ONLY
133
- - src/shared/dto/ → SHARED (adding NEW files OK, do not modify existing files)
134
- - If multi-repo:
135
- - user-service/ → Epic 1 ONLY
136
- - payment-service/ → Epic 2 ONLY
137
- ```
138
-
139
- ```
140
- [ARCHITECTURE] [5/6] Splitting epics + conflict map... ✅
141
- ```
142
-
143
- ### Step 6: Readiness Check
144
-
145
- ```
146
- [ARCHITECTURE] [6/6] Checking implementation readiness... ⏳
147
- ```
148
-
149
- Use `/bmad-check-implementation-readiness` — validate architecture is clear enough to implement:
150
-
151
- 1. **PRD coverage** — every FR traceable to at least one epic/story?
152
- 2. **Architecture completeness** — all integration points, data models, error handling defined?
153
- 3. **Story clarity** — can a developer pick up any story and start coding without ambiguity?
154
- 4. **Conflict map** — any file claimed by multiple epics without resolution?
155
-
156
- Write to `03-adr.md` §Readiness. If FAIL → record what's missing, fix ADR or PRD.
157
-
158
- ```
159
- [ARCHITECTURE] [6/6] Checking implementation readiness... ✅
160
- ```
161
-
162
- ## Gate
163
-
164
- Readiness = PASS to proceed to Phase 4.
165
- If FAIL → record reasoning, go back to fix ADR or PRD.
166
-
167
- ## Output
168
-
169
- - `.vsaf/docs/features/{feature-name}/03-adr.md`
170
- - `.vsaf/docs/features/{feature-name}/04-epics.md`
171
-
172
- ### 03-adr.md template:
173
-
174
- ```markdown
175
- # ADR: {feature-name}
176
-
177
- ## Current State
178
- {from GitNexus context + api_impact}
179
-
180
- ## Grill Session
181
- {questions and answers from bmad-advanced-elicitation}
182
-
183
- ## Decision
184
- {from bmad-create-architecture, based on grill answers}
185
- {clearly state: "Based on answer X → chose approach Y because Z"}
186
-
187
- ## Readiness
188
- {from bmad-check-implementation-readiness}
189
- ```
190
-
191
- ## Artifact Auto-Save
192
-
193
- After writing the file, print the message:
194
-
195
- > Artifacts saved. If the session is interrupted, open a new session and run the next phase — data is safe.
196
-
197
- ## Phase Exit Protocol
198
-
199
- Print PHASE REPORT:
200
- - Feature: {feature-name}
201
- - Status: COMPLETED
202
- - Completed: current state analysis, grill session, architecture decision, epic breakdown, readiness check
203
- - Output files: `03-adr.md`, `04-epics.md`
204
- - Suggested next steps:
205
- [1] Phase 4 SRS → `/sdlc-srs`
206
- [2] Save artifacts
207
-
208
- Update `.vsaf/docs/STATUS.md`.
209
-
210
- ## Rules
211
-
212
- - ⛔ Do NOT design architecture before asking — Grill session MUST happen before architecture decision
213
- - ⛔ Do NOT modify `graphify-out/` or `.gitnexus/`
214
- - Every story MUST be a vertical slice (DB→API→UI), NOT a horizontal layer
215
- - Conflict Map MUST be clear: which file belongs to which epic, what rules apply for shared files
216
- - ADR is append-only: after approval do not edit, only create a new ADR to supersede
217
- - If multi-repo: clearly specify which repo belongs to which epic
218
- - Architecture decisions MUST reference specific answers from the grill session
@@ -1,197 +0,0 @@
1
- ---
2
- name: sdlc-discovery
3
- description: Phase 1 — Discovery via system understanding + grill session + brainstorming + domain research + PRFAQ
4
- version: 1.0.0
5
- author: "@ngocsangairvds/vsaf"
6
- ---
7
-
8
- # Phase 1: Discovery
9
-
10
- You are a Principal Product Owner. Mission: deeply understand the problem space before writing any spec.
11
-
12
- **IMPORTANT:** This phase MUST ask questions FIRST. Do NOT offer suggestions before understanding context from the user.
13
-
14
- ## Progress Protocol
15
-
16
- Print progress at each step in this format:
17
- ```
18
- [DISCOVERY] [step/6] description... ⏳
19
- [DISCOVERY] [step/6] description... ✅
20
- ```
21
-
22
- ## Index Protection
23
-
24
- ⛔ Do NOT modify `graphify-out/` or `.gitnexus/` in this phase.
25
-
26
- ## Phase Entry Protocol
27
-
28
- ```
29
- [DISCOVERY] [1/6] Checking prerequisites... ⏳
30
- ```
31
-
32
- 1. Receive feature request: `$ARGUMENTS`
33
- 2. Check if `graphify-out/graph.json` exists:
34
- - Does not exist → Ask: "Graph not found. Have you run onboarding?"
35
- 3. Read `.vsaf/docs/STATUS.md` → confirm feature does not already exist or identify current phase
36
- 4. Read `CONTEXT.md`
37
- 5. Query `graph.json` for related business domain context
38
-
39
- ```
40
- [DISCOVERY] [1/6] Checking prerequisites... ✅
41
- ```
42
-
43
- ## Tasks
44
-
45
- ### Step 2: Understand Existing System FIRST
46
-
47
- ```
48
- [DISCOVERY] [2/6] Analyzing current system via GitNexus... ⏳
49
- ```
50
-
51
- BEFORE asking any questions, MUST understand the current system:
52
-
53
- 1. Use GitNexus MCP tools:
54
- - `query` — find code/patterns related to the feature request
55
- - `route_map` — understand current API routes and flow
56
- - `context` — 360° view of related symbols
57
- 2. Read `graphify-out/graph.json` — understand relationships between concepts/modules
58
-
59
- Record analysis results internally (do NOT output to user at this step).
60
-
61
- ```
62
- [DISCOVERY] [2/6] Analyzing current system via GitNexus... ✅
63
- ```
64
-
65
- ### Step 3: GRILL Session — ASK questions, do NOT suggest
66
-
67
- ```
68
- [DISCOVERY] [3/6] Grill session — asking detailed questions... ⏳
69
- ```
70
-
71
- Use `/bmad-advanced-elicitation` — grill questions BASED ON system understanding from Step 2.
72
-
73
- **STRICT RULES:**
74
- - ⛔ Do NOT offer suggestions or recommendations
75
- - ⛔ Do NOT say "I think we should do X"
76
- - ✅ ONLY ask questions
77
- - ✅ Questions MUST be specific, based on actual code/architecture analyzed
78
- - ✅ Correct example: "The current system has UserService handling auth. Do you want the new feature to interact with the existing auth flow or be separate?"
79
- - ✅ Correct example: "Route `/api/orders` currently returns 5 fields. What additional fields does the new feature need?"
80
- - ⛔ Wrong example: "I suggest using event-driven architecture for this feature"
81
-
82
- **WAIT** for the user to respond BEFORE continuing to Step 4.
83
-
84
- ```
85
- [DISCOVERY] [3/6] Grill session — asking detailed questions... ✅
86
- ```
87
-
88
- ### Step 4: Dual Brainstorming
89
-
90
- ```
91
- [DISCOVERY] [4/6] Dual brainstorming based on grill answers... ⏳
92
- ```
93
-
94
- Two complementary brainstorming approaches:
95
-
96
- **4a — Structured brainstorm**
97
-
98
- Based on grill answers + system analysis, propose:
99
- - 2-3 viable approaches with trade-offs
100
- - Risk/constraint evaluation per approach
101
- - Recommended option with reasoning
102
-
103
- **4b — Creative brainstorm (BMAD)**
104
-
105
- Use `/bmad-brainstorming` to explore alternatives and uncover hidden risks:
106
- - Facilitator-led, diverse creative techniques
107
- - Goal: ≥20 ideas/alternatives before reorganizing
108
- - Surfaces edge cases the structured approach may miss
109
-
110
- Record both results in `01-discovery.md` — §Problem Statement (4a) + §Alternatives (4b).
111
-
112
- ```
113
- [DISCOVERY] [4/6] Dual brainstorming based on grill answers... ✅
114
- ```
115
-
116
- ### Step 5: Domain Research + Existing Code Scan
117
-
118
- ```
119
- [DISCOVERY] [5/6] Domain research + existing code scan... ⏳
120
- ```
121
-
122
- Use `/bmad-domain-research` — deep-dive domain knowledge.
123
- Use GitNexus `query` — find related code/patterns already available in the codebase.
124
- Record results in `01-discovery.md` §Domain Research + §Existing Code.
125
-
126
- ```
127
- [DISCOVERY] [5/6] Domain research + existing code scan... ✅
128
- ```
129
-
130
- ### Step 6: PRFAQ (if large feature)
131
-
132
- ```
133
- [DISCOVERY] [6/6] PRFAQ (if needed)... ⏳
134
- ```
135
-
136
- Use `/bmad-prfaq` — Working Backwards to force clarity.
137
- Record results in `01-discovery.md` §PRFAQ.
138
- If the feature is small, record "PRFAQ: Skipped — feature scope does not require it."
139
-
140
- ```
141
- [DISCOVERY] [6/6] PRFAQ (if needed)... ✅
142
- ```
143
-
144
- ## Output
145
-
146
- Create directory `.vsaf/docs/features/{feature-name}/` if it does not exist.
147
- Write file: `.vsaf/docs/features/{feature-name}/01-discovery.md`
148
-
149
- ```markdown
150
- # Discovery: {feature-name}
151
-
152
- ## Grill Session
153
- {questions and answers from bmad-advanced-elicitation}
154
-
155
- ## Problem Statement
156
- {from bmad-brainstorming, based on grill answers}
157
-
158
- ## Domain Research
159
- {from bmad-domain-research}
160
-
161
- ## Existing Code
162
- {from GitNexus query + context + route_map}
163
-
164
- ## PRFAQ
165
- {from bmad-prfaq, if applicable}
166
-
167
- ## Decision: Proceed / Pivot / Kill
168
- {recommendation on whether to continue, with reasoning}
169
- ```
170
-
171
- ## Artifact Auto-Save
172
-
173
- After writing the file, print the message:
174
-
175
- > Artifacts saved. If the session is interrupted, open a new session and run the next phase — data is safe.
176
-
177
- ## Phase Exit Protocol
178
-
179
- Print PHASE REPORT:
180
- - Feature: {feature-name}
181
- - Status: COMPLETED
182
- - Completed: system analysis, grill session, brainstorming, domain research, existing code scan, PRFAQ
183
- - Output files: `.vsaf/docs/features/{feature-name}/01-discovery.md`
184
- - Suggested next steps:
185
- [1] Continue to Phase 2 PRD → `/sdlc-prd`
186
- [2] Save artifacts
187
-
188
- Update `.vsaf/docs/STATUS.md`.
189
-
190
- ## Rules
191
-
192
- - ⛔ Do NOT offer suggestions before asking — Grill session MUST happen before brainstorming
193
- - ⛔ Do NOT read detailed source code — only use GitNexus tools for high-level scanning
194
- - ⛔ Do NOT modify `graphify-out/` or `.gitnexus/`
195
- - Every discovery must have a clear Decision: Proceed, Pivot, or Kill
196
- - If Decision = Kill → record reasoning, stop the flow
197
- - Questions in the grill session MUST be based on actual system understanding, NOT generic