domain-driven-design
DDD planning and review workflow for greenfield systems and brownfield codebases.
Skill by shrivatsas
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/shrivatsas-domain-driven-design
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/domain-driven-design
What's inside
- Skill name
domain-driven-design- Description
- DDD planning and review workflow for greenfield systems and brownfield codebases. Use when shaping bounded contexts, ubiquitous language, aggregates, invariants, integration boundaries, or reviewing an existing model for DDD fit.
- License
- MIT
- Instructions
- 54 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- openai.yaml · agents/
- brownfield.md · references/
- greenfield.md · references/
- templates.md · references/
SKILL.md (first lines)
# DDD Grill Use this when the user wants to design a domain model from scratch or review an existing codebase through a DDD lens. ## First Move - Pick the mode (below) before anything else. - If the project is greenfield, load [references/greenfield.md](references/greenfield.md). - If the project is brownfield, load [references/brownfield.md](references/brownfield.md). - If the repo already has docs, check `CONTEXT.md`, `CONTEXT-MAP.md`, and `docs/adr/` before asking broad questions. - If the code answers the question, inspect the code first. ## Pick The Mode - **Grill mode** — the user is present and shaping decisions interactively. Ask one question at a time, walk one branch at a time. - **Report mode** — a one-shot or autonomous review where nobody can answer mid-task. Do not ask questions. Convert every would-be question into either a stated assumption (named as such) or an explicit open question in the output. - Default to report mode when the request is "analyse / review / audit X"; default to grill mode when the request is "help me design / decide". ## Working Style - Prefer concrete scenarios over abstract prompts. - Call out term drift immediately when language is fuzzy or overloaded. - Keep the output sharp: short findings, clear decisions, no filler. - If a term is ambiguous, stop and resolve it before moving on. - If the code contradicts the stated model, surface it immediately. - Every finding cites evidence (`file:line`). Verify each red flag in the source before reporting it — exploration summaries lie. Negative findings (missing invariant, missing atomicity, missing validation) especially must be re-checked against the actual code. - Grill mode only: ask one question at a time, give a recommended answer when asking, keep circling the same branch until the decision is clear. ## Core Lens - Identify the real domain concepts, not just technical modules. - Separate language, boundaries, and invariants from implementation detail. - Distinguish ownership, integration, and transaction scope. - Treat hard-to-reverse boundary or integration choices as ADR-worthy. - Use the glossary as the source of truth for terminology. If no glossary exists, emitting a starter glossary is itself a deliverable. - Keep the model honest by checking examples and edge cases. ## Outputs To Maintain Formats and skeletons for all of these live in [references/templates.md](references/templates.md). - A tight glossary of domain terms. - A context map when there is more than one bounded context. - ADRs for meaningful architectural trade-offs. - Brownfield review notes that name drift, leaks, and refactor targets — triaged by severity (see brownfield reference). - Update context docs as terms are resolved. ## When To Open The References - Open [references/greenfield.md](references/greenfield.md) for planning prompts and decision order. - Open [references/brownfield.md](references/brownfield.md) for review heuristics, red flags, cross-repo contract checks, and the severity triage. - Open [references/templates.md](references/templates.md) when producing a glossary, context map, or review notes.
From shrivatsas/dev-setup, MIT.
More from shrivatsas/dev-setup
- 0.512score
architecture-docs
shrivatsas
Generate or update architecture documentation from repositories, product docs, infrastructure files, and code.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
codex
shrivatsas
Use OpenAI Codex CLI for complex debugging, code analysis, or when stuck on difficult problems.
SkillCFreshness: C★ 2Claude Code +9 - 0.503score
sync-dev-skills
shrivatsas
Copy the skills collection from /Users/shrivatsa/Documents/dev-setup/skills into the current repository, another repository, or an explicit skills directory.
SkillCFreshness: C★ 2Claude Code +9 - 0.493score
Condition-Based Waiting
shrivatsas
Replace arbitrary timeouts with condition polling for reliable async tests
SkillCFreshness: C★ 2Claude Code +9 - 0.493score
Gardening Skills Wiki
shrivatsas
Maintain skills wiki health - check links, naming, cross-references, and coverage
SkillCFreshness: C★ 2Claude Code +9 - 0.477score
grill-me
shrivatsas
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 12, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/shrivatsas/dev-setup
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from shrivatsas
- 0.512score
architecture-docs
shrivatsas
Generate or update architecture documentation from repositories, product docs, infrastructure files, and code.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
codex
shrivatsas
Use OpenAI Codex CLI for complex debugging, code analysis, or when stuck on difficult problems.
SkillCFreshness: C★ 2Claude Code +9 - 0.503score
sync-dev-skills
shrivatsas
Copy the skills collection from /Users/shrivatsa/Documents/dev-setup/skills into the current repository, another repository, or an explicit skills directory.
SkillCFreshness: C★ 2Claude Code +9 - 0.493score
Condition-Based Waiting
shrivatsas
Replace arbitrary timeouts with condition polling for reliable async tests
SkillCFreshness: C★ 2Claude Code +9 - 0.493score
Gardening Skills Wiki
shrivatsas
Maintain skills wiki health - check links, naming, cross-references, and coverage
SkillCFreshness: C★ 2Claude Code +9 - 0.477score
grill-me
shrivatsas
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 2Claude Code +9
Cite this page
domain-driven-design skill. Agent Mart. https://agentmart.dev/skills/shrivatsas-domain-driven-design (last updated 2026-10-24)