Agent skill

Ddd Context Mapping

by revfactory in revfactory/harness-100

DDD(Domain-Driven Design)의 바운디드 컨텍스트 식별, 컨텍스트 맵 작성, 이벤트 스토밍 수행을 위한 상세 방법론.

Apache-2.0Auto-check passedDevelopment

Install Ddd Context Mapping

skills CLI
$ npx skills add revfactory/harness-100 --skill ddd-context-mapping -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install revfactory/harness-100 ddd-context-mapping --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ko/23-microservice-designer/.claude/skills/ddd-context-mapping .claude/skills/ddd-context-mapping && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ddd-context-mapping
GitHub stars
1.3k
Token cost
~777 tokens
SKILL.md length
225 words
Files
1
Skills in repo
464
Repo updated
First seen
Licence
Apache-2.0

At a glance

DDD(Domain-Driven Design)의 바운디드 컨텍스트 식별, 컨텍스트 맵 작성, 이벤트 스토밍 수행을 위한 상세 방법론.

  • Works in 4 steps: 도메인 이벤트 수집 → 커맨드 → 이벤트 매핑 → 애그리거트 식별 → …
  • Tasks that involve Domain-driven design
  • SKILL.md covers 이벤트 스토밍 수행 절차, 컨텍스트 맵 관계 유형, 애그리거트 설계 원칙 and 유비쿼터스 언어 사전 템플릿, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ddd Context Mapping is an agent skill from revfactory/harness-100. DDD(Domain-Driven Design)의 바운디드 컨텍스트 식별, 컨텍스트 맵 작성, 이벤트 스토밍 수행을 위한 상세 방법론. '바운디드 컨텍스트', 'DDD', '도메인 모델링', '이벤트 스토밍', '컨텍스트 맵', '애그리거트 설계', '유비쿼터스 언어' 등 도메인 분석 시 이 스킬을 사용한다. domain-analyst와 service-architect의 도메인 분석 역량을 강화한다. 단, 인프라 배포나 코드 구현은 이 스킬의 범위가 아니다.

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Domain-driven design. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Domain-driven design

Example prompts

  • “/ddd-context-mapping”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 도메인 이벤트 수집
  2. 커맨드 → 이벤트 매핑
  3. 애그리거트 식별
  4. 바운디드 컨텍스트 도출

What it can do on your machine

Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ddd Context Mapping loads about 777 tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 225 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~777

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 225 words, ~777 tokens.

Download SKILL.mdSave it as .claude/skills/ddd-context-mapping/SKILL.md (or your agent's skills folder).
name
ddd-context-mapping
description
DDD(Domain-Driven Design)의 바운디드 컨텍스트 식별, 컨텍스트 맵 작성, 이벤트 스토밍 수행을 위한 상세 방법론. '바운디드 컨텍스트', 'DDD', '도메인 모델링', '이벤트 스토밍', '컨텍스트 맵', '애그리거트 설계', '유비쿼터스 언어' 등 도메인 분석 시 이 스킬을 사용한다. domain-analyst와 service-architect의 도메인 분석 역량을 강화한다. 단, 인프라 배포나 코드 구현은 이 스킬의 범위가 아니다.

DDD Context Mapping — 도메인 주도 설계 컨텍스트 매핑 가이드

바운디드 컨텍스트 식별부터 컨텍스트 맵 작성까지의 체계적 방법론.

이벤트 스토밍 수행 절차

Phase 1: 도메인 이벤트 수집
규칙: 과거형 동사로 표현한다
예: "주문이 생성되었다", "결제가 승인되었다", "배송이 시작되었다"

수집 순서:
1. 핵심 비즈니스 흐름의 이벤트를 시간순으로 나열
2. 예외/실패 이벤트 추가
3. 외부 시스템 이벤트 추가
Phase 2: 커맨드 → 이벤트 매핑
[사용자/시스템] → {커맨드} → [애그리거트] → <<도메인 이벤트>>
[고객]         → {주문 생성} → [Order]    → <<주문이 생성되었다>>
[결제 시스템]   → {결제 승인} → [Payment]  → <<결제가 승인되었다>>
Phase 3: 애그리거트 식별
애그리거트 경계 판단 기준:
1. 트랜잭션 일관성 경계 — 함께 변경되어야 하는 객체 그룹
2. 불변식(Invariant) 보호 — 비즈니스 규칙을 보장하는 단위
3. 동시성 경계 — 동시 접근 시 충돌을 관리하는 단위
Phase 4: 바운디드 컨텍스트 도출
신호의미
같은 단어가 다른 의미컨텍스트 분리 필요 (예: "계정" = 사용자계정 vs 금융계정)
다른 팀이 소유조직 경계 = 컨텍스트 경계
다른 변경 주기독립 배포 필요 → 분리
다른 데이터 저장소기술적 경계 = 컨텍스트 경계

컨텍스트 맵 관계 유형

관계기호설명예시
Shared KernelSK공유 도메인 모델두 팀이 같은 Entity 사용
Customer-SupplierC/S상류/하류 관계주문(상류) → 배송(하류)
ConformistCF하류가 상류 모델을 그대로 수용외부 API 모델 수용
Anti-Corruption LayerACL모델 변환 계층 삽입레거시 시스템 연동
Open Host ServiceOHS공개 프로토콜 제공REST API 공개
Published LanguagePL공유 언어(스키마)Protobuf/Avro 스키마
Separate WaysSW독립 운영통합 불필요
PartnershipP대등한 협력두 팀 공동 개발
컨텍스트 맵 예시:

┌─────────────┐     OHS/PL      ┌───────────────┐
│   주문 관리   │ ──────────────→ │   결제 처리     │
│  (Order BC)  │                 │ (Payment BC)   │
└──────┬──────┘                  └───────┬───────┘
       │ C/S                             │ C/S
       ▼                                 ▼
┌─────────────┐     ACL          ┌───────────────┐
│   배송 관리   │ ←───────────── │  외부 PG 연동    │
│ (Shipping BC)│                 │ (3rd Party)    │
└─────────────┘                  └───────────────┘

애그리거트 설계 원칙

크기 결정 기준
작은 애그리거트 선호:
├── 트랜잭션 범위 최소화 → 동시성 충돌 감소
├── 메모리 사용량 감소
└── 변경 영향 범위 축소

예외 (큰 애그리거트 허용):
├── 불변식이 여러 엔티티에 걸침
├── 원자적 일관성이 반드시 필요
└── 최종 일관성으로 대체 불가
애그리거트 간 참조 규칙
✅ ID 참조: Order.customerId (Customer 애그리거트의 ID만 보관)
❌ 직접 참조: Order.customer (Customer 객체를 직접 보관)

이유:
1. 애그리거트 경계 존중
2. 트랜잭션 격리
3. 독립적 저장소 사용 가능

유비쿼터스 언어 사전 템플릿

markdown
| 용어 | 컨텍스트 | 정의 | 동의어 | 반의어/혼동 |
|------|---------|------|--------|-----------|
| 주문(Order) | 주문관리 | 고객의 상품 구매 요청 | 오더 | 장바구니(Cart)와 구분 |
| 계정(Account) | 사용자관리 | 로그인 가능한 사용자 단위 | 유저 | 금융계좌와 구분 |
| 계정(Account) | 정산관리 | 정산 대상 금융 계좌 | 계좌 | 사용자계정과 구분 |

서비스 분해 안티패턴

안티패턴증상해결
나노서비스서비스가 너무 작아 1-2개 API만 보유관련 서비스 병합
분산 모놀리스모든 서비스가 동기 호출 체인이벤트 기반 비동기 전환
CRUD 서비스도메인 로직 없이 DB 프록시 역할도메인 로직 내재화
God 서비스하나의 서비스에 과도한 책임바운디드 컨텍스트 기준 재분해
공유 DB여러 서비스가 같은 테이블 사용데이터 소유권 분리

© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in ko/23-microservice-designer/.claude/skills/ddd-context-mapping of revfactory/harness-100.

Open the folder on GitHubat commit 8e8d35c

Compare with similar skills

Ddd Context Mapping next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ddd Context Mapping compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ddd Context Mapping this skillrevfactory/harness-1001.3k—~777Automated safety check: PassApache-2.0
Domain Modelingfossasia/eventyay-interpretation1.6k29 repos~821Automated safety check: PassApache-2.0
Architecture Governancezai-org/ZCode7.5k—~1.2kAutomated safety check: PassApache-2.0
Evolutionary Modular Architecturetech-leads-club/agent-skills7k—~3.7kAutomated safety check: PassCC-BY-4.0
Domain Modelingbrim-borium/spotify_sdk1665 repos~806Automated safety check: PassApache-2.0
Domain Modeling and Glossarywindmill-labs/windmill18k—~622Automated safety check: PassCustom licence

Similar skills

  • Domain Modeling

    fossasia/eventyay-interpretation

    Build and sharpen a project's domain model. An agent skill from fossasia/eventyay-interpretation.

    1.6k GitHub starsUsed in 29 repos~821 tokens
    DevelopmentAuto-check passed
  • Apply the repository's architecture policy to code changes by generating a bounded context package, checking module and layer boundaries, and reporting baseline-aware violations.

    7.5k GitHub stars~1.2k tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • Evolutionary Modular Architecture

    tech-leads-club/agent-skills

    Guides design of modular-monolith platforms with DDD, flat-by-aggregate modules, anti-corruption layers, outbox events and resilience, plus an architecture document with SVG diagrams.

    7k GitHub stars~3.7k tokensUpdated 17 days ago
    DevelopmentAuto-check passed
  • Domain Modeling

    brim-borium/spotify_sdk

    Build and sharpen a project's domain model. An agent skill from brim-borium/spotify_sdk.

    166 GitHub starsUsed in 5 repos~806 tokens
    DevelopmentAuto-check passed
  • Domain Modeling and Glossary

    windmill-labs/windmill

    Actively challenges vague or conflicting terminology as you design, and keeps a living domain glossary file up to date in real time.

    18k GitHub stars~622 tokensUpdated today
    DevelopmentAuto-check passed
  • Ddd

    swamp-club/swamp

    Domain Driven Design guidance for TypeScript/Deno codebases.

    642 GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed

More from revfactory/harness-100

All 464 skills in this repo
  • Anti Bot Analyzer

    revfactory/harness-100

    A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.

    1.3k GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • API Error Design Patterns

    revfactory/harness-100

    Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed
  • API Security Checklist

    revfactory/harness-100

    Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.

    1.3k GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Arg Parser Generator

    revfactory/harness-100

    Methodology for systematically designing and generating CLI tool argument parser structures.

    1.3k GitHub stars~1.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Audience Segmentation

    revfactory/harness-100

    Audience segmentation skill used by the analyst and curator agents.

    1.3k GitHub stars~1.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Audio Storytelling

    revfactory/harness-100

    Audio storytelling skill used by the podcast scriptwriter and show note editor.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed

Categories

Questions about Ddd Context Mapping

What does Ddd Context Mapping do?

DDD(Domain-Driven Design)의 바운디드 컨텍스트 식별, 컨텍스트 맵 작성, 이벤트 스토밍 수행을 위한 상세 방법론. Ddd Context Mapping is an agent skill from revfactory/harness-100. DDD(Domain-Driven Design)의 바운디드 컨텍스트 식별, 컨텍스트 맵 작성, 이벤트 스토밍 수행을 위한 상세 방법론.

When should I use Ddd Context Mapping?

Ddd Context Mapping fits situations like: tasks that involve Domain-driven design.

How do I install Ddd Context Mapping in Claude Code?

Run `npx skills add revfactory/harness-100 --skill ddd-context-mapping -a claude-code`. Or copy the skill folder (ko/23-microservice-designer/.claude/skills/ddd-context-mapping in revfactory/harness-100) into .claude/skills/ddd-context-mapping in your project. Claude Code loads it when a task matches its description.

How do I install Ddd Context Mapping in Codex?

Run `npx skills add revfactory/harness-100 --skill ddd-context-mapping -a codex`. Or copy the skill folder (ko/23-microservice-designer/.claude/skills/ddd-context-mapping in revfactory/harness-100) into .agents/skills/ddd-context-mapping in your project. Codex loads it when a task matches its description.

Can I use Ddd Context Mapping in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill ddd-context-mapping -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ddd-context-mapping, .gemini/skills/ddd-context-mapping, .github/skills/ddd-context-mapping and .opencode/skills/ddd-context-mapping in your project.

What does Ddd Context Mapping need to run?

SKILL.md names no scripts, command-line tools or credentials: Ddd Context Mapping is instructions for the agent only.

Does Ddd Context Mapping access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ddd Context Mapping safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ddd Context Mapping use?

Ddd Context Mapping is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ddd Context Mapping use?

About 777 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ddd Context Mapping?

Skills that share tags, products or a category with Ddd Context Mapping: Domain Modeling (fossasia/eventyay-interpretation, 1.6k stars), Architecture Governance (zai-org/ZCode, 7.5k stars), Evolutionary Modular Architecture (tech-leads-club/agent-skills, 7k stars) and Domain Modeling (brim-borium/spotify_sdk, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ddd Context Mapping?

revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.

Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.