Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)48k · #4488

domain-driven-design

Skill này làm gì

Giúp lên kế hoạch và tổ chức công việc Domain-Driven Design, từ chiến lược ban đầu đến triển khai thực tế, đặc biệt cho các hệ thống phức tạp.

Khi nào nên dùng

  • ✓Khi nghiệp vụ phức tạp và thay đổi nhanh.
  • ✓Khi nhiều nhóm cần làm việc cùng nhau mà không xung đột.
  • ✓Để kết nối các quyết định lập kế hoạch với cách mã sẽ được viết.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/domain-driven-design/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/domain-driven-design/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Đánh giá xem chúng tôi có nên dùng Domain-Driven Design cho nền tảng thanh toán của mình không và các bước tiếp theo là gì.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Đầu tiên, công cụ kiểm tra xem DDD có phù hợp với vấn đề của bạn không. Sau đó, nó giúp xác định các phần nghiệp vụ và cách chúng giao tiếp, hướng dẫn bạn đến các công cụ phù hợp cho từng giai đoạn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Domain-Driven Design

Use this skill when

  • You need to model a complex business domain with explicit boundaries.
  • You want to decide whether full DDD is worth the added complexity.
  • You need to connect strategic design decisions to implementation patterns.
  • You are planning CQRS, event sourcing, sagas, or projections from domain needs.

Do not use this skill when

  • The problem is simple CRUD with low business complexity.
  • You only need localized bug fixes.
  • There is no access to domain knowledge and no proxy product expert.

Instructions

  1. Run a viability check before committing to full DDD.
  2. Produce strategic artifacts first: subdomains, bounded contexts, language glossary.
  3. Route to specialized skills based on current task.
  4. Define success criteria and evidence for each stage.

Viability check

Use full DDD only when at least two of these are true:

  • Business rules are complex or fast-changing.
  • Multiple teams are causing model collisions.
  • Integration contracts are unstable.
  • Auditability and explicit invariants are critical.

Routing map

  • Strategic model and boundaries: @ddd-strategic-design
  • Cross-context integrations and translation: @ddd-context-mapping
  • Tactical code modeling: @ddd-tactical-patterns
  • Read/write separation: @cqrs-implementation
  • Event history as source of truth: @event-sourcing-architect and @event-store-design
  • Long-running workflows: @saga-orchestration
  • Read models: @projection-patterns
  • Decision log: @architecture-decision-records

If templates are needed, open references/ddd-deliverables.md.

Output requirements

Always return:

  • Scope and assumptions
  • Current stage (strategic, tactical, or evented)
  • Explicit artifacts produced
  • Open risks and next step recommendation

Examples

Use @domain-driven-design to assess if this billing platform should adopt full DDD.
Then route to the right next skill and list artifacts we must produce this week.

Limitations

  • This skill does not replace direct workshops with domain experts.
  • It does not provide framework-specific code generation.
  • It should not be used as a justification to over-engineer simple systems.
Câu hỏi thường gặp

Domain-Driven Design (DDD) là gì?

Đó là cách tổ chức phát triển phần mềm bằng cách tập trung vào việc hiểu sâu “domain” (vấn đề nghiệp vụ) và cách nó vận hành, đặc biệt trong các hệ thống phức tạp.

Khi nào DDD thực sự cần thiết?

Nó hữu ích nhất khi quy tắc nghiệp vụ phức tạp, thay đổi thường xuyên, hoặc khi nhiều nhóm cần cộng tác trên một hệ thống lớn và tích hợp.

Công cụ này có viết mã cho tôi không?

Không, nó giúp lên kế hoạch và tổ chức công việc nhưng không tạo mã trực tiếp, cũng không thay thế việc trao đổi với chuyên gia nghiệp vụ.

Chi tiết

Mô tả gốc của tác giả

Plan and route Domain-Driven Design work from strategic modeling to tactical implementation and evented architecture patterns.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4488
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự