Skip to content

Tổng quan Workflow

One-Toolkit hỗ trợ quy trình phát triển phần mềm theo 5 giai đoạn.

Sơ đồ quy trình

┌─────────────┐    ┌──────────┐    ┌───────────┐    ┌────────────────┐    ┌───────────┐
│ Requirements│───→│  Design  │───→│  Planning │───→│ Implementation │───→│  Testing  │
└─────────────┘    └──────────┘    └───────────┘    └────────────────┘    └───────────┘
       │                │                │                  │                   │
       ▼                ▼                ▼                  ▼                   ▼
   feature-         feature-        feature-           feature-           feature-
   {name}.md        {name}.md       {name}.md          {name}.md          {name}.md

Chi tiết từng giai đoạn

1. Requirements (Yêu cầu)

Mục đích: Thu thập và làm rõ yêu cầu

Slash command: /new-requirement

Output: docs/agent/requirements/feature-{name}.md

Nội dung:

  • Mô tả vấn đề
  • User stories
  • Tiêu chí thành công
  • Ràng buộc

2. Design (Thiết kế)

Mục đích: Thiết kế kiến trúc và API

Slash command: /review-design

Output: docs/agent/design/feature-{name}.md

Nội dung:

  • Sơ đồ kiến trúc (Mermaid)
  • Data models
  • API endpoints
  • Quyết định thiết kế

3. Planning (Lập kế hoạch)

Mục đích: Phân chia tasks và timeline

Slash command: /update-planning

Output: docs/agent/planning/feature-{name}.md

Nội dung:

  • Milestones
  • Phân chia tasks
  • Dependencies
  • Ước lượng effort

4. Implementation (Triển khai)

Mục đích: Hướng dẫn triển khai code

Slash command: /execute-plan

Output: docs/agent/implementation/feature-{name}.md

Nội dung:

  • Ghi chú triển khai
  • Code patterns
  • Xử lý lỗi

5. Testing (Kiểm thử)

Mục đích: Chiến lược và kết quả kiểm thử

Slash command: /writing-test

Output: docs/agent/testing/feature-{name}.md

Nội dung:

  • Unit tests
  • Integration tests
  • Manual testing checklist
  • Coverage targets

Quy trình làm việc

bash
# 1. Bắt đầu feature mới
/new-requirement

# 2. Review yêu cầu
/review-requirements

# 3. Thiết kế
/review-design

# 4. Lập kế hoạch và thực thi
/execute-plan

# 5. Viết tests
/writing-test

# 6. Code review
/code-review

Tiếp theo

Tìm hiểu chi tiết từng giai đoạn:

Internal Use Only