[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-401d3056-79a3-480d-aff7-91c96c83af9b":3,"$fUHGDckStYi8ixT5J4xZDtElGgIJe5YUmV2ZRSR8r4AM":42},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":33},"401d3056-79a3-480d-aff7-91c96c83af9b","ddd-context-mapping","使用DDD上下文映射模式在边界上下文之间建立关系并定义集成契约。","cat_coding_backend","mod_coding","sickn33,coding","---\nname: ddd-context-mapping\ndescription: \"Map relationships between bounded contexts and define integration contracts using DDD context mapping patterns.\"\nrisk: safe\nsource: self\ntags: \"[ddd, context-map, anti-corruption-layer, integration]\"\ndate_added: \"2026-02-27\"\n---\n\n# DDD Context Mapping\n\n## Use this skill when\n\n- Defining integration patterns between bounded contexts.\n- Preventing domain leakage across service boundaries.\n- Planning anti-corruption layers during migration.\n- Clarifying upstream and downstream ownership for contracts.\n\n## Do not use this skill when\n\n- You have a single-context system with no integrations.\n- You only need internal class design.\n- You are selecting cloud infrastructure tooling.\n\n## Instructions\n\n1. List all context pairs and dependency direction.\n2. Choose relationship patterns per pair.\n3. Define translation rules and ownership boundaries.\n4. Add failure modes, fallback behavior, and versioning policy.\n\nIf detailed mapping structures are needed, open `references\u002Fcontext-map-patterns.md`.\n\n## Output requirements\n\n- Relationship map for all context pairs\n- Contract ownership matrix\n- Translation and anti-corruption decisions\n- Known coupling risks and mitigation plan\n\n## Examples\n\n```text\nUse @ddd-context-mapping to define how Checkout integrates with Billing,\nInventory, and Fraud contexts, including ACL and contract ownership.\n```\n\n## Limitations\n\n- This skill does not replace API-level schema design.\n- It does not guarantee organizational alignment by itself.\n- It should be revisited when team ownership changes.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,218,1569,"2026-05-16 13:14:35",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":25,"skillCount":32,"createdAt":26},"后端开发","backend","mdi-server","API、数据库、服务端架构",296,[34],{"id":35,"skillId":4,"version":36,"fileName":37,"fileSize":38,"filePath":39,"fileHash":40,"manifest":41,"createdAt":19},"e782a7bf-e94f-4d8f-aa15-05b49187f7c9","1.0.0","ddd-context-mapping.zip",1401,"uploads\u002Fskills\u002F401d3056-79a3-480d-aff7-91c96c83af9b\u002Fddd-context-mapping.zip","04b4ee7d56503b7f5348ce0eb19d1038a39ee637fa350c86984015233afe6806","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":1578},{\"path\":\"references\u002Fcontext-map-patterns.md\",\"isDirectory\":false,\"size\":673}]",{"code":43,"message":44,"data":45},200,"success",{"items":46,"stats":47,"page":50},[],{"averageRating":48,"totalRatings":48,"ratingCounts":49},0,[48,48,48,48,48],{"limit":51,"offset":48,"hasMore":52,"nextOffset":51,"ratedOnly":16},15,false]