Ddd Subdomains logo

Ddd Subdomains

Organization
ForceInjection
ddd-subdomains

识别业务能力并分类子域(Core/Supporting/Generic),产出核心域声明与所有权建议。

Overview

PublisherForceInjection
Repositorydomain-driven-design-skills
Skill nameddd-subdomains
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 Subdomains 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-subdomains
  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-subdomains .claude/skills/ddd-subdomains
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ddd Subdomains 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 Subdomains 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 Subdomains 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 Subdomains

🌐 English version: English

使用时机

  • 已完成领域发现(事件流与命令/事件候选已就绪),需要将领域切分为子域。
  • 需要明确"什么是核心竞争力、什么可以外购/复用"的战略决策。
  • ddd-context-map 报告"上帝上下文"或子域误分时,作为回溯目标重新执行。

输入要求

  • 必需:事件流、命令/事件候选、边界线索(来自 ddd-discover)。
  • 可选:当前系统能力清单或模块清单、业务差异化假设、竞争优势描述(来自 ddd-scope)。

流程

  1. 提取能力集:从事件流中抽取业务能力(Capability),去重合并同义能力。
  2. 属性标注:为每个能力标注业务价值、复杂度、变更频率、外部依赖程度。
  3. 分类:按 DDD 子域类型分类——Core(核心差异化)、Supporting(必要但非差异化)、Generic(通用可复用)。
  4. 核心域声明:形成核心域声明文档——为什么它是核心、衡量指标、长期演进方向。
  5. 所有权建议:建议团队归属,对齐语言边界与一致性边界;标注跨团队协作点。
  6. 输出边界候选:为 ddd-contexts 提供子域到上下文的初步映射建议。

输出

工件结构要求
能力清单表格:能力、说明、关联事件、上下游依赖
子域分类表表格:能力/能力组、子域类型(Core/Supporting/Generic)、分类理由、建议投入
核心域声明1 页以内:价值、边界、衡量指标、风险、演进方向
所有权建议表格:能力/子域、建议团队、依赖方、协作方式
边界候选列表:子域到上下文的初步映射建议

校验清单

  • 每个能力有分类理由,业务方与技术方均可接受
  • 核心域声明包含可衡量的业务指标
  • 至少识别 3 个跨团队协作点并给出协作建议
  • Core 子域数量 ≤ 总子域的 1/3(核心域不应过多)
  • 边界候选可被 ddd-contexts 直接消费

回溯触发

  • 无法区分 Core 与 Supporting(所有能力看起来同等重要) → 回溯至 ddd-scope,业务价值主张需重新澄清。
  • 被 ddd-context-map 触发回溯:循环依赖或"上帝上下文"暗示子域划分有误。

示例

text
@ddd-subdomains
基于以下事件流和边界线索,帮我识别子域并分类:
[粘贴 ddd-discover 的事件流表与边界线索]
请输出能力清单、子域分类表、核心域声明与所有权建议。

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 Subdomains AI skill do?

识别业务能力并分类子域(Core/Supporting/Generic),产出核心域声明与所有权建议。

Why use Ddd Subdomains on TypingMind?

Because you install it once and use it with any model. Ddd Subdomains 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 Subdomains in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ForceInjection/domain-driven-design-skills/tree/main/skills/ddd-subdomains. 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 Subdomains?

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 Subdomains?

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

Is the Ddd Subdomains 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 👇