ddd-context-mapping
映射限界上下文集成
团队常常难以看清限界上下文之间的所有权、依赖关系和转换需求。此技能会指导 Claude、Codex 或 Claude Code 生成上下文映射、契约所有权、ACL 决策和耦合风险。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "ddd-context-mapping" from https://skillstore.io/skills/sickn33-ddd-context-mapping.md and its manifest at https://skillstore.io/api/skills/sickn33-ddd-context-mapping/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“ddd-context-mapping”。 映射 Checkout、Billing、Inventory 和 Fraud 上下文。
预期结果:
- 关系映射显示 Billing 是支付契约的上游,Inventory 是库存可用性的上游。
- Checkout 拥有本地客户意图,并在其边界处转换 Billing 和 Inventory 术语。
- Fraud 被建模为 Customer-Supplier,并具有明确的决策契约所有权。
正在使用“ddd-context-mapping”。 为向新 Checkout 提供数据的遗留 Billing 规划防腐层。
预期结果:
- 遗留 Billing 模型不应直接进入 Checkout 领域服务。
- ACL 将发票、支付状态和信用条款转换为 Checkout 语言。
- 契约测试应在迁移期间保护已映射的行为。
正在使用“ddd-context-mapping”。 审查上下文映射中的耦合风险。
预期结果:
- 该映射将共享数据库访问标记为高耦合风险。
- 它建议为稳定事件使用 Published Language,并为破坏性变更明确所有权。
- 针对不可用的上游上下文记录了回退行为。
安全审计
安全Both static findings are false positives caused by Markdown backticks in SKILL.md. The reviewed files contain guidance only, with no executable commands or prompt injection.
风险因素
⚙️ 外部命令 (2)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/sickn33-ddd-context-mapping/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/sickn33-ddd-context-mapping?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/sickn33-ddd-context-mapping?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-ddd-context-mapping/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/sickn33-ddd-context-mapping.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
sickn33. (2026). ddd-context-mapping security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-ddd-context-mapping/audits/5BibTeX 引用
@techreport{sickn33-sickn33-ddd-context-mapping-2026,
author = {sickn33},
title = {ddd-context-mapping security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/sickn33-ddd-context-mapping/audits/5},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "ddd-context-mapping security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "sickn33"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/sickn33-ddd-context-mapping/audits/5"
identifiers:
- type: other
value: "skillstore:sickn33-ddd-context-mapping:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
规划服务边界
在团队确定所有权和契约边界之前,映射服务之间的依赖关系。
设计迁移 ACL
当新的限界上下文必须消费遗留模型或事件时,规划防腐层。
明确契约所有权
为共享 API、事件和发布语言分配上游和下游责任。
试试这些提示
映射这些限界上下文:Checkout、Billing、Inventory 和 Fraud。展示依赖方向、关系模式、契约所有者和转换需求。
审查此集成列表,并识别需要防腐层的位置:[paste contexts and APIs]。包括耦合风险和缓解措施。
为从单体迁移到服务创建上下文映射。包括上游所有权、下游所有权、回退方案和版本控制策略。
以 DDD 审查者身份审查此架构提案。质疑每个上下文关系,识别薄弱的所有权假设,并推荐更安全的契约模式。
最佳实践
- 提供上下文名称、所有者、依赖方向和当前集成机制。
- 将领域转换选择与传输或基础设施决策分离。
- 当团队所有权、契约或发布节奏发生变化时,重新审视映射。
避免
- 使用上下文映射来选择云服务或部署工具。
- 因为集成已经存在就跳过契约所有权。
- 将 Shared Kernel 作为不相关团队的默认模式。
常见问题
此技能会生成什么?
它能设计 API schema 吗?
它支持防腐层吗?
我应该提供哪些信息?
它能评估现有架构吗?
这只适用于微服务吗?
开发者详情
作者
sickn33许可证
MIT
Skillstore 修订
r2
版本提示
作者未声明版本。
引用
f9e2c34b4f19c7f3e6b0a1e93227b5f77cc12526
维护新鲜度
2026/7/26
使用量
8 次下载 · 135 次浏览
文件结构