@ngocsangairvds/vsaf 3.0.12 → 3.1.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.
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: vsaf-ship
3
- description: Review 2 lớp, ship code, và ghi lại knowledge vào bộ nhớ. Dùng sau /vsaf-build khi code + tests đã pass. Bước cuối cùng của mọi feature.
3
+ description: Review 2 lớp, ship code. Dùng sau /vsaf-build khi code + tests đã pass. Bước cuối cùng của mọi feature.
4
4
  ---
5
5
 
6
6
  # VSAF Ship
7
7
 
8
8
  ## Mục tiêu
9
- Đảm bảo code chất lượng, đóng gói feature, và ghi lại toàn bộ knowledge để các session sau kế thừa được.
9
+ Đảm bảo code chất lượng, đóng gói feature, và push PR.
10
10
 
11
11
  ## Điều kiện tiên quyết
12
12
  - Đã chạy `/vsaf-build` với SRS + testcase
@@ -41,12 +41,7 @@ description: Review 2 lớp, ship code, và ghi lại knowledge vào bộ nhớ.
41
41
  - **Nếu có Superpowers**: dùng `superpowers:finishing-a-development-branch` — chạy pre-PR checklist tự động
42
42
  - **Nếu không**: kiểm tra thủ công: tests pass, no uncommitted changes, branch up-to-date
43
43
 
44
- ### Bước 5 — Ghi nhớ vào MemPalace
45
- - Gọi `mcp__mempalace__mempalace_add_drawer` để lưu decisions quan trọng từ feature này
46
- - Gọi `mcp__mempalace__mempalace_diary_write` để ghi lại session summary
47
- - Bao gồm: adversarial findings, lessons learned, follow-up tasks
48
-
49
- ### Bước 6 — Push PR
44
+ ### Bước 5 — Push PR
50
45
  ```bash
51
46
  git push origin feature/<name>
52
47
  ```
@@ -55,14 +50,13 @@ PR description phải bao gồm:
55
50
  - Test results summary
56
51
  - Adversarial review summary (MUST FIX: 0, SHOULD FIX: N)
57
52
 
58
- ### Bước 7 — Retrospective (sau mỗi epic hoặc khi user yêu cầu)
53
+ ### Bước 6 — Retrospective (sau mỗi epic hoặc khi user yêu cầu)
59
54
  - **Nếu đây là feature cuối cùng của epic**: dùng skill `bmad-retrospective`
60
55
  - Review: gì đã tốt? gì cần cải thiện? surprise nào?
61
- - Output: lessons learned → lưu vào MemPalace
62
56
  - Cập nhật workflow nếu cần
63
57
  - **Nếu không phải cuối epic**: skip, nhắc user chạy retro sau khi epic hoàn thành
64
58
 
65
- ### Bước 8 — Output cho user
59
+ ### Bước 7 — Output cho user
66
60
  ```
67
61
  ## Ship Complete: [feature]
68
62
 
@@ -72,20 +66,13 @@ PR description phải bao gồm:
72
66
  - Layer 2 (Graph sync): PASS
73
67
  - Pre-PR checklist: PASS
74
68
 
75
- ### Knowledge saved
76
- - Diary entry: ✓
77
- - Decisions: [X entries]
78
- - Follow-up tasks: [N items]
79
-
80
69
  ### PR
81
70
  - Branch: feature/[name]
82
71
  - PR: [link]
83
72
 
84
73
  Workflow hoàn tất. Chạy /vsaf-plan <next-feature> cho task tiếp theo.
85
- [Nếu cuối epic]: Retrospective đã chạy — lessons saved to MemPalace.
86
74
  ```
87
75
 
88
76
  ## Lưu ý
89
77
  - Không ship nếu bất kỳ layer review nào fail hoặc còn MUST FIX
90
- - `vsaf mine` — chạy weekly, không phải mỗi feature
91
78
  - Retrospective: chạy sau mỗi epic (3-5 features), không phải mỗi feature
@@ -23,27 +23,19 @@ Quản lý backlog và sprint cho dự án — từ PRD/SRS chia thành stories,
23
23
 
24
24
  ### Mode: `plan` — Lập sprint plan mới
25
25
 
26
- #### Bước 1 — Search MemPalace
27
- - Gọi `mcp__mempalace__mempalace_search` với "sprint", "velocity", "capacity"
28
- - Kiểm tra: sprint cũ có lessons learned gì? Velocity ước lượng bao nhiêu?
29
-
30
- #### Bước 2 — Break thành Epics + Stories
26
+ #### Bước 1 — Break thành Epics + Stories
31
27
  - Dùng skill `bmad-create-epics-and-stories` với PRD/SRS làm input
32
28
  - Output: danh sách epics, mỗi epic chứa user stories
33
29
  - Mỗi story có: description, acceptance criteria, estimated complexity (S/M/L/XL)
34
30
 
35
- #### Bước 3 — Sprint Planning
31
+ #### Bước 2 — Sprint Planning
36
32
  - Dùng skill `bmad-sprint-planning` để:
37
33
  - Ưu tiên stories (MoSCoW hoặc WSJF)
38
34
  - Assign stories vào sprint dựa trên capacity
39
35
  - Identify dependencies giữa stories
40
36
  - Lưu sprint plan vào `docs/project/planning-artifacts/sprint-plan.md`
41
37
 
42
- #### Bước 4Lưu vào MemPalace
43
- - Gọi `mcp__mempalace__mempalace_add_drawer` để lưu sprint decisions
44
- - Nội dung: priorities, trade-offs, deferred items
45
-
46
- #### Bước 5 — Output
38
+ #### Bước 3Output
47
39
  ```
48
40
  ## Sprint Plan: [sprint name/number]
49
41
 
@@ -117,4 +109,3 @@ Chạy /vsaf-plan <story description> để plan implementation
117
109
  - Sprint plan là living document — cập nhật khi có thay đổi
118
110
  - Re-run `/vsaf-sprint status` hàng ngày hoặc sau mỗi `/vsaf-ship`
119
111
  - Nếu sprint bị delay >20%: dùng `bmad-correct-course` để điều chỉnh scope
120
-