ddd-context-mapping – skill Khác cho agent AI
Ánh xạ mối quan hệ giữa các bounded context và định nghĩa hợp đồng tích hợp bằng các mẫu context mapping của DDD.
Cài skill ddd-context-mapping bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/ddd-context-mapping-ea81c.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /ddd-context-mapping – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/ddd-context-mapping-ea81c.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $ddd-context-mapping – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/ddd-context-mapping-ea81c.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /ddd-context-mapping – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/ddd-context-mapping-ea81c.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /ddd-context-mapping – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
DDD Context Mapping
Use this skill when
- Defining integration patterns between bounded contexts.
- Preventing domain leakage across service boundaries.
- Planning anti-corruption layers during migration.
- Clarifying upstream and downstream ownership for contracts.
Do not use this skill when
- You have a single-context system with no integrations.
- You only need internal class design.
- You are selecting cloud infrastructure tooling.
Instructions
1. List all context pairs and dependency direction.
2. Choose relationship patterns per pair.
3. Define translation rules and ownership boundaries.
4. Add failure modes, fallback behavior, and versioning policy.
If detailed mapping structures are needed, open references/context-map-patterns.md.
Output requirements
- Relationship map for all context pairs
- Contract ownership matrix
- Translation and anti-corruption decisions
- Known coupling risks and mitigation plan
Examples
Use @ddd-context-mapping to define how Checkout integrates with Billing,
Inventory, and Fraud contexts, including ACL and contract ownership.Limitations
- This skill does not replace API-level schema design.
- It does not guarantee organizational alignment by itself.
- It should be revisited when team ownership changes.
Skill liên quan
- decision-navigator – Hướng dẫn người dùng đang bế tắc hoặc quá tải qua các câu hỏi rẽ nhánh có mục tiêu cho…
- deed-page – Xuất bản file HTML hoặc thư mục tĩnh lên URL https://<slug>.deed.page/ công khai, vĩnh…
- defi-protocol-templates – Triển khai các giao thức DeFi với template mang tính giáo dục cho staking, AMM…
- defi-yield-strategy-allocator – Sổ đăng ký phân bổ chiến lược yield đa vault tự động: mốc chuẩn APY, các mức rủi ro…
- scikit-survival – Xây dựng, đánh giá và kiểm toán các quy trình phân tích sống sót với dữ liệu bị kiểm…
- dei-dashboard – Bảng điều khiển đa dạng, công bằng và hòa nhập: chỉ số theo phòng ban và giai đoạn, giá…
- shop – Tìm kiếm danh mục sản phẩm, thanh toán, theo dõi đơn hàng, đổi trả.
- shopify – Truy vấn Shopify Admin/Storefront GraphQL API qua curl.