Skip to content

Playbook triển khai

Cách an toàn nhất là chọn một primary workflow và dùng framework khác như supporting layer.

Để xem pattern kết hợp chi tiết, đọc Kết hợp framework. Để xem tình huống end-to-end cụ thể, đọc Use case thực tế.

Nguyên tắc 1: chỉ một source of truth

Mẫu xấu:

text
specs/             # nói A
aidlc-docs/        # nói B
.planning/         # nói C
docs/superpowers/  # nói D
code               # implement E

Mẫu tốt:

text
Primary source of truth: specs/
Supporting:
- Superpowers cho TDD và review
- GSD chỉ cho phase execution notes
- AI-DLC chỉ cho high-risk work

Combo hợp lý

ComboKhi nào dùngChia trách nhiệm
Spec Kit + SuperpowersFeature cần rõ và code quality quan trọngSpec Kit giữ spec/plan/tasks; Superpowers giữ TDD/review
AWS AI-DLC + SuperpowersEnterprise delivery cần implementation disciplineAI-DLC giữ gates/audit; Superpowers giữ coding loop
GSD + SuperpowersStartup ship nhanh nhưng không muốn ẩuGSD giữ phases/subagents; Superpowers giữ tests/review
AWS AI-DLC + ý tưởng Spec KitEnterprise muốn spec quality tốt hơnAI-DLC primary; mượn constitution/checklist thinking
Spec Kit + GSDFeature lớn cần clarity và executionSpec Kit giữ source spec; GSD execute phases

Rollout theo risk

PhaseHành động
Tuần 1Chọn một pilot feature và một primary framework
Tuần 2Chạy workflow end-to-end và ghi friction
Tuần 3Thêm quality gate: tests, review hoặc approval
Tuần 4Quyết định artifact nào authoritative
Tháng 2Scale sang team khác chỉ sau khi templates ổn định

Playbook A: product feature

Khuyến nghị: Spec Kit + Superpowers.

mermaid
flowchart LR
    A[Feature idea] --> B[Spec Kit specify]
    B --> C[Clarify]
    C --> D[Plan and tasks]
    D --> E[Superpowers TDD]
    E --> F[Review]
    F --> G[PR]

Playbook B: enterprise modernization

Khuyến nghị: AWS AI-DLC primary, Superpowers làm implementation discipline.

mermaid
flowchart LR
    A[Modernization intent] --> B[AI-DLC reverse engineering]
    B --> C[Requirements and NFRs]
    C --> D[Architecture approval]
    D --> E[Units of work]
    E --> F[Implementation with TDD]
    F --> G[Audit and release readiness]

Playbook C: solo MVP

Khuyến nghị: GSD primary, chỉ dùng Spec Kit cho feature phức tạp.

mermaid
flowchart LR
    A[MVP idea] --> B[GSD new project]
    B --> C[Roadmap and phases]
    C --> D[Phase execution]
    D --> E[Verify]
    E --> F[Ship]
    C --> S[Spec Kit for complex features]

Definition of done

Dù chọn workflow nào, hãy định nghĩa done bằng evidence:

  1. Requirement hoặc intent rõ.
  2. Câu hỏi quan trọng đã trả lời.
  3. Implementation được scope rõ.
  4. Relevant tests pass.
  5. Review issues resolved.
  6. Source-of-truth artifact được update.
  7. Release hoặc next-step state được ghi lại.

Rollout 30/60/90 ngày

Dùng phần này khi đưa workflow vào team thật.

30 ngày đầu: chứng minh loop chạy được

Mục tiêu: một workflow chạy end-to-end.

  1. Chọn một primary framework.
  2. Chọn một feature vừa phải.
  3. Định nghĩa source-of-truth location.
  4. Bắt buộc test evidence.
  5. Retrospective một lần sau khi ship.

Pilot đề xuất:

Team contextPilot
Product team có requirement mơ hồSpec Kit
Brownfield product team cần change specs nhẹOpenSpec
Enterprise architecture teamAWS AI-DLC
Solo builder hoặc startup teamGSD
Repo hiện hữu nhiều bugs/refactorsSuperpowers

Ngày 31-60: chuẩn hóa artifact hữu ích

Mục tiêu: giữ thứ có ích, bỏ ceremony.

  1. Tạo templates từ pilot artifacts tốt nhất.
  2. Định nghĩa khi nào được skip workflow.
  3. Thêm review checklists.
  4. Gắn CI verification vào process.
  5. Quyết định artifact map với issue tracker và PR thế nào.

Ngày 61-90: scale cẩn thận

Mục tiêu: mở rộng mà không tạo process debt.

  1. Train thêm engineer hoặc team khác.
  2. Tạo examples của spec, plan, review và audit entry tốt.
  3. Chỉ thêm automation ở nơi review đáng tin.
  4. Theo dõi cycle time, rework rate, escaped defects và review effort.
  5. Review lại source-of-truth decision.

Trách nhiệm theo vai trò

RoleTrách nhiệm
Product ownerUser outcome, acceptance criteria, non-goals
Tech leadImplementation plan, task slicing, code review
Solution architectArchitecture trade-offs, NFRs, integration boundaries
Security ownerThreat model, abuse cases, privacy, secrets, permissions
QA/quality engineerTest strategy, regression risk, evidence
Operations ownerDeployment, monitoring, runbooks, incident feedback

Production readiness checklist

Dùng checklist này trước khi merge AI-generated work vào production systems:

AreaEvidence cần có
RequirementSource-of-truth artifact tồn tại và khớp implementation
TestsRelevant automated tests pass
ReviewHuman review hoàn thành
SecurityAuth, authorization, secrets, privacy và abuse cases đã check
DataMigration, rollback, retention và compatibility đã review
OperationsLogs, metrics, alerts và rollback path rõ
DocumentationUser-facing hoặc operator-facing docs được update khi cần

Metrics nên theo dõi

MetricVì sao quan trọng
Rework rateCho biết specs/plans có đủ rõ không
Review findings per PRCho biết quality của agent output
Escaped defectsCho biết verification quality
Cycle timeCho biết workflow có quá nặng không
Artifact drift incidentsCho biết source of truth có được giữ không
Human approval latencyCho biết gates có thực tế không

Built as a static bilingual AI engineering stack guide.