Chuyển đến nội dung
Skillpedia
Lập trình chung48k · #5205

microservices-patterns

Skill này làm gì

Skill này giúp bạn hiểu cách chia một hệ thống lớn thành các phần nhỏ, độc lập (microservices). Nó hướng dẫn các cách tốt nhất để các phần này giao tiếp, quản lý dữ liệu và đảm bảo mọi thứ vẫn hoạt động ngay cả khi có sự cố.

Khi nào nên dùng

  • ✓Khi bạn lên kế hoạch chia một hệ thống lớn thành các phần nhỏ hơn.
  • ✓Khi bạn quyết định các phần khác nhau của hệ thống sẽ giao tiếp thế nào.
  • ✓Khi bạn nghĩ về cách làm cho hệ thống chống chịu tốt hơn trước lỗi.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/microservices-patterns/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/microservices-patterns/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

“Làm sao để chia ứng dụng thương mại điện tử của tôi thành các microservices?”

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

Cách hoạt động

AI dùng thông tin về các mẫu microservices để đề xuất cách tổ chức hệ thống của bạn. Nó xem xét cách tách các phần, cách chúng trao đổi thông tin và cách đảm bảo hệ thống đáng tin cậy.

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.

Microservices Patterns

Master microservices architecture patterns including service boundaries, inter-service communication, data management, and resilience patterns for building distributed systems.

Use this skill when

  • Decomposing monoliths into microservices
  • Designing service boundaries and contracts
  • Implementing inter-service communication
  • Managing distributed data and transactions
  • Building resilient distributed systems
  • Implementing service discovery and load balancing
  • Designing event-driven architectures

Do not use this skill when

  • The system is small enough for a modular monolith
  • You need a quick prototype without distributed complexity
  • There is no operational support for distributed systems

Instructions

  1. Identify domain boundaries and ownership for each service.
  2. Define contracts, data ownership, and communication patterns.
  3. Plan resilience, observability, and deployment strategy.
  4. Provide migration steps and operational guardrails.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Câu hỏi thường gặp

Microservices là gì?

Đó là các phần nhỏ, độc lập của một hệ thống lớn hơn, mỗi phần chịu trách nhiệm cho một chức năng cụ thể.

Vì sao dùng microservices?

Để giúp hệ thống lớn dễ quản lý, mở rộng và cập nhật hơn, đồng thời tăng khả năng chống chịu.

Khi nào KHÔNG nên dùng microservices?

Nếu hệ thống nhỏ, nếu bạn cần một bản mẫu nhanh mà không muốn thêm phức tạp, hoặc nếu không có năng lực quản lý hệ thống phân tán.

Chi tiết

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

Master microservices architecture patterns including service boundaries, inter-service communication, data management, and resilience patterns for building distributed systems.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5205
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ự