ddd-strategic-design

ddd-strategic-design is a skill for Claude Code from konglong87/methodology-skills. It costs 99 tokens per session (3,230 once invoked), scanned A, original, MIT.

A way to design software around business domains by defining clear boundaries called bounded contexts. Each bounded context owns a particular model and meaning, while context mapping describes how those areas relate to one another.

In plain words
What is it for?
Use it when starting or redesigning a system, identifying business areas, planning microservices, mapping relationships between contexts, or refactoring architecture.
Why use it?
It helps teams set system boundaries, reduce conflicting business meanings, and decide how parts of a system or organization should interact.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Good fit Use it when starting or redesigning a system, identifying business areas, planning microservices, mapping relationships between contexts, or refactoring architecture.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/konglong87/methodology-skills/ddd-strategic-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add konglong87/methodology-skills --skill ddd-strategic-design
Clone the repo
git clone --depth 1 https://github.com/konglong87/methodology-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ddd-strategic-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/konglong87/methodology-skills/ddd-strategic-design/github.svg)](https://agentmods.dev/skills/konglong87/methodology-skills/ddd-strategic-design)
Your own site
<a href="https://agentmods.dev/skills/konglong87/methodology-skills/ddd-strategic-design"><img src="https://agentmods.dev/badge/skills/konglong87/methodology-skills/ddd-strategic-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ddd-strategic-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/konglong87/methodology-skills/ddd-strategic-design"><img src="https://agentmods.dev/badge/skills/konglong87/methodology-skills/ddd-strategic-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,230 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.03230
Opus 5 $0.00049 $0.01615
Sonnet 5 $0.00020 $0.00646
Haiku 4.5 $0.00010 $0.00323

Measured 11d ago against content hash cb5cc0bddbfb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ddd-strategic-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ddd-strategic-design/SKILL.md · 415 lines

How it starts

The opening of the file, as written. The whole thing — 415 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Domain-Driven Design: Strategic Design

前置协议

环境检测

# 检测当前项目信息
PROJECT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || echo "unknown")
BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")
COMMIT=$(git rev-parse --short HEAD 2>/dev/null || echo "unknown")

echo "PROJECT: $PROJECT_ROOT"
echo "BRANCH: $BRANCH"
echo "COMMIT: $COMMIT"

前置技能检查

benefits-from 检查(推荐但非必须):

# 检查 goal-oriented 工件
GOAL_ARTIFACT="memory/artifacts/goal-oriented/latest.json"

if [ -f "$GOAL_ARTIFACT" ]; then
  echo "FOUND: goal-oriented artifact"
  # 提取目标信息,确保设计符合目标
fi

# 检查 first-principles 工件
FP_ARTIFACT="memory/artifacts/first-principles/latest.json"

if [ -f "$FP_ARTIFACT" ]; then
  echo "FOUND: first-principles artifact"
  # 提取第一性原理分析结果,用于指导设计
fi

工件目录初始化

# 确保工件目录存在
mkdir -p memory/artifacts/ddd-strategic

用户意图确认

根据用户消息判断:

检查点

  • 是否需要设计新系统或重构现有系统
  • 是否涉及多个业务领域或团队
  • 是否需要识别系统边界和上下文关系

意图分类

  1. 新系统设计:从零开始设计系统架构
  2. 系统重构:将单体拆分为微服务
  3. 架构优化:重新梳理上下文边界
  4. 业务建模:梳理业务领域

Overview

Strategic design focuses on defining bounded contexts and their relationships. A bounded context is a boundary within which a domain model is defined and applicable. Inside the boundary, all terms, rules, and logic have a specific, consistent meaning. Different contexts may use the same terms with different meanings.

Why it matters: Without clear boundaries, teams talk past each other. "Customer" means something different to Sales vs Support vs Billing. Strategic design makes these boundaries explicit.

Core principle: Language consistency within a boundary, explicit translation between boundaries.

Tactical design happens within each bounded context. See ddd-tactical-design skill for implementation details.

When to Use

Applicable:

  • Starting a new project or system
  • Decomposing a monolith into microservices
  • Multiple teams working on the same domain
  • Domain logic is complex and domain experts are available
  • Language confusion across teams (same term, different meanings)

Read the full file on GitHub · 415 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 415 lines · 99 tokens per session scan A cb5cc0bddbfb

Subscribe to this mod's changes

ddd-strategic-design is a skill published in the GitHub repository konglong87/methodology-skills (5 stars, last pushed 1mo ago), licensed MIT. It adds 99 tokens to every session and 3,230 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.