Ddd Model Review logo

Ddd Model Review

Organization
ForceInjection
ddd-model-review

全局模型质量评估:一致性、完整性、耦合分析与反馈闭环触发。

Overview

PublisherForceInjection
Repositorydomain-driven-design-skills
Skill nameddd-model-review
Stars
99
Forks
16
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ForceInjection on GitHub. Read the source before you install it.

Installation

Install the Ddd Model Review AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ForceInjection/domain-driven-design-skills/tree/main/skills/ddd-model-review
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ForceInjection/domain-driven-design-skills.git /tmp/domain-driven-design-skills
mkdir -p .claude/skills
cp -r /tmp/domain-driven-design-skills/skills/ddd-model-review .claude/skills/ddd-model-review
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ddd Model Review in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ddd Model Review on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ddd Model Review is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

DDD Model Review

🌐 English version: English

使用时机

  • 战术建模完成后,需要对整体模型做质量门禁检查。
  • 已有建模工件需要全面评估(可作为独立入口使用)。
  • 定期模型健康检查:团队希望量化模型质量并识别退化趋势。

输入要求

  • 必需:至少需要以下工件中的 3 项以上:
    • 上下文目录与词汇表(来自 ddd-contexts)
    • 上下文关系矩阵(来自 ddd-context-map)
    • 聚合目录与不变量表(来自 ddd-aggregates)
    • 领域事件目录与服务定义(来自 ddd-domain-interactions)
  • 可选:子域分类(来自 ddd-subdomains)、事件流(来自 ddd-discover)、scope 定义(来自 ddd-scope)。

流程

  1. 术语一致性检查:扫描所有工件中的术语使用,检测跨工件的命名冲突、定义漂移、同名不同义。
    • 行业对标(可选但推荐):若业务域存在成熟的开源参考实现(如物流域 Cargo、电商域 Broadleaf、B2B 域 Pyramid),应将其作为第 9 维比对参考。逐条列出:本模型对参考的 语义融合/拆分偏离;参考 已知局限的主动识别(例如 Activity/Status/Event 重叠);未建模但应考虑的未来域(例如 Billing/Customer/Carrier)。
  2. 边界一致性检查:验证聚合边界是否与上下文边界一致——不变量不应跨越上下文。
  3. 完整性检查:核对事件流中的每个事件是否在事件目录中有正式定义;每个命令是否有对应聚合处理。
  4. 耦合分析:评估上下文间耦合度——依赖方向、共享数据量、同步调用数。
  5. 评分:对以下维度 0-10 评分:术语一致性、边界合理性、不变量表达率、事件完整性、耦合度;若启用了行业对标,追加 "对标偏离" 维度。
  6. 问题清单与回溯触发:输出发现的问题、影响、证据、建议修复方案,并按触发条件生成回溯指令。

输出

工件结构要求
评分总览表格:维度(术语一致性、边界合理性、不变量表达率、事件完整性、耦合度)、得分(0-10)、主要扣分原因
问题清单表格:问题、影响、证据(引用具体工件)、建议修复、优先级
行业对标报告(仅当启用)表格:对比项、参考实现做法、本模型做法、是融合/拆分/遗漏、是否可接受、建议
回溯触发清单表格:触发条件、回溯目标 Skill、说明
实施就绪判定结论:Ready / Not Ready + 阻塞项列表

校验清单

  • 每个扣分项都提供可复核的证据(引用具体工件与条目)
  • 回溯触发条件明确且可执行
  • 评分可重复(相同输入得到相同分数)
  • 实施就绪判定有明确的通过/不通过标准
  • 若业务域存在公认的开源参考实现,已至少做过一轮对标;对标结论已沉淀到问题清单

回溯触发

本 Skill 是反馈闭环的核心触发器。根据评估结果触发以下回溯:

触发条件回溯至说明
聚合边界与上下文边界矛盾ddd-contexts上下文需重新划分以容纳一致性需求
术语冲突率 > 20%ddd-contexts通用语言定义不充分
不变量表达率 < 60%ddd-aggregates聚合可能为数据容器而非行为边界
集成模式与上下文映射不一致ddd-context-map战术层发现了新的集成需求
事件完整性 < 70%ddd-domain-interactions事件目录缺失或未覆盖关键流程

防止无限循环:同一回溯路径最多执行 3 次。若第 3 次仍触发,标记为"需人工介入的架构决策"。

示例

text
@ddd-model-review
请对以下建模工件做全局质量评估:
- 上下文目录:[粘贴]
- 聚合目录:[粘贴]
- 领域事件目录:[粘贴]
- 上下文关系矩阵:[粘贴]
请输出分维度评分、问题清单与回溯建议。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ddd Model Review AI skill do?

全局模型质量评估:一致性、完整性、耦合分析与反馈闭环触发。

Why use Ddd Model Review on TypingMind?

Because you install it once and use it with any model. Ddd Model Review is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ddd Model Review in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ForceInjection/domain-driven-design-skills/tree/main/skills/ddd-model-review. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ddd Model Review?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ddd Model Review?

As many as you like. As long as a model supports skills, you can use Ddd Model Review with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ddd Model Review AI skill free?

Yes. It is published on GitHub by ForceInjection under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇