Sdlc domain boundary modeling

From BlueSkyXN/Codex-is-all-you-need · View interactive version

Sdlc domain boundary modeling is an AI agent skill from the GitHub repository BlueSkyXN/Codex-is-all-you-need. Use to model bounded contexts, capabilities, ownership, domain data/language, allowed interactions, and forbidden dependencies.

How to use this skill

Skill file

Domain Boundary Modeling

Use this skill to model business-domain boundaries for a modular system.

In the lightweight SDLC-ADS model, durable domain knowledge should usually land in local/sdlc/领域.md as ownership, data, allowed dependency, forbidden dependency, glossary, or open-question updates. A standalone Domain Boundary Map is still valid for larger work, but small direct-dev tasks should not be forced into full DDD artifacts.

Use when

Inputs

Workflow

  1. Extract business capabilities.
  2. Identify candidate domains and bounded contexts using business capability,

data ownership and invariants, shared language, ownership, and reasons to change.

  1. Use co-change only as corroborating evidence for a candidate seam; do not let

repository history alone decide a bounded context.

  1. Define each domain's responsibility.
  2. Define data ownership and the invariants each owner protects.
  3. Define exposed interfaces.
  4. Define allowed dependencies and forbidden access.
  5. Build a shared domain glossary.
  6. Identify ambiguous concepts that need owner decisions.
  7. Decide whether the output is a standalone boundary map, an incremental 领域.md update, or both.

Validation

Check:

of shared terms and invariants.

Output

Return:

  1. Domain boundary map
  2. Bounded context list
  3. Data ownership map
  4. Allowed dependency map
  5. Forbidden dependency list
  6. Domain glossary
  7. Module naming proposal
  8. Open questions

For lightweight ADS state, return or update:

# 领域

## 能力归属
- DOM-001:

## 数据归属
- DOM-002:

## 允许依赖
- DOM-003:

## 禁止依赖
- DOM-004:

## 术语
-

## 推断 / 未确认
- Q-001:

Boundaries

Handoff

Use sdlc-modular-monolith-architecture to map domains into repository structure, sdlc-hld-workflow for architecture, and sdlc-dev-handoff-planning for tasks.

Dev fallback: Dev can use SDLC / ADD / DDD / SDD materials when they exist, but dev can also continue without them when the task is clear, bounded, and testable from user request, issue, bug report, failing test, local diff, or repository evidence. Missing artifacts are risk/context, not automatic refusal.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.