Full — /qa-full:full
Chạy QA toàn diện cho toàn bộ project. 6 bước từ strategy đến report cuối cùng.
Cú pháp
Quy tắc bắt buộc
- TUẦN TỰ — không skip bước, không gộp bước
- MỖI BƯỚC CÓ OUTPUT trước khi sang bước tiếp
- GỌI SKILL BẰNG SKILL TOOL khi instruction nói “Invoke Skill”
6 Bước
Bước 1: Strategy
Đọc
CLAUDE.md, package.json → detect tech stack + test framework.Scan source files vs test files → tỷ lệ coverage.Output: Strategy summary (tech stack, framework, target).Bước 2: Test Plan
Đọc
docs/prd/ nếu có → trích requirements.Gọi skill ck:scenario với feature description để tạo edge cases 12 chiều.Liệt kê test cases cần có (unit, integration, E2E).Output: Test plan summary + scenario count.Bước 3: Generate Tests (skip nếu --skip-gen)
Generate tests cho files thiếu — dựa trên requirements + scenarios từ Bước 2.Delegate cho
qa-engineer agent nếu nhiều modules.Output: New test files created.Bước 4: Execute
Chạy tests theo thứ tự:
Output: Results + coverage metrics.
| Bước | Skill | Mô tả |
|---|---|---|
| 4a | ck:test | Pre-flight (typecheck + lint) + unit/integration + coverage |
| 4b | ck:web-testing e2e | E2E tests (skip nếu --skip-e2e) |
| 4c | ck:security | STRIDE + OWASP (skip nếu --skip-security) |
| 4d | design:accessibility-review | A11y (skip nếu --skip-a11y) |
Bước 5: Fix Loop (nếu có failures)
Gọi skill
ck:debug để chẩn đoán root cause.Gọi skill fix:test để auto fix → re-test.Loop tối đa 3 lần.Output: Fixes applied.Khi nào dùng
- Trước deploy staging/production
- Cuối sprint trước demo
- Sau refactor lớn
- Khi cần báo cáo tổng thể cho PM/Lead
So sánh các mode
| Đặc điểm | /qa-full:full | /qa-full:check | /qa-full:audit |
|---|---|---|---|
| Tạo tests mới | Có | Có | Không |
| Chạy tests | Có | Có | Có |
| Fix tự động | Có | Có | Không |
| E2E | Có | Không | Không |
| Security scan | Có | Không | Có (nhẹ) |
| A11y | Có | Không | Không |
| Thời gian | 15-30 phút | 10-20 phút | 3-5 phút |