Ddd Context
Scaffolds a DDD bounded context directory with domain, application, and infrastructure layers for a new module.
- CCM score
- 59 of 100
- skills.sh installs
- 739
- GitHub stars
- 82.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers creating
src/<context-name>/with domain subfolders for entities, value objects, events, services, and repositories - Generates barrel
index.tsfiles for each domain submodule plus a public API that exposes domain and application but not infrastructure - Validates the context name as kebab-case and refuses to overwrite a context that already exists under
src/ - Designed for splitting a monolith into bounded contexts or starting a new subdomain, and records the context in a domain model graph
Install
$ npx -y skills add ruvnet/ruflo --skill ddd-context -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Create a bounded context directory structure for the given context name.
Parse $ARGUMENTS as the context name (kebab-case). If empty, list existing contexts.
Steps
-
Validate name: Ensure the context name is kebab-case and does not already exist under
src/. -
Create directory structure:
src/<context-name>/ domain/ entities/ value-objects/ events/ services/ repositories/ application/ infrastructure/
Details
- Repository
- github.com/ruvnet/ruflo
- Categories
- Backend & APIs, Skill & Plugin Building
- First seen
- Jun 3, 2026
Questions
What does the ddd-context skill do?
ddd-context creates a bounded context directory structure under src with domain, application and infrastructure layers. It also generates barrel index files and records the new context in the domain model graph.
When should I use ddd-context?
Use ddd-context when starting a new subdomain, splitting a monolith into bounded contexts, or scaffolding the domain, application and infrastructure layout for a fresh module. Its public index file re-exports only domain and application, keeping infrastructure private.
How do I install the ddd-context skill?
Run npx -y skills add ruvnet/ruflo --skill ddd-context -y in a project to install it. Once installed, ddd-context lets the agent scaffold a named bounded context on demand.
Where does ddd-context stand in the Backend and APIs category?
ddd-context is listed in the Backend and APIs category next to entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. It differs from them by focusing on generating DDD bounded context folders and index files.
More from ruvnet/ruflo
All 236- Market Pattern739
- Adr Index738
- Trader Train738
- Ddd Validate737
- Iot Register737
- Sparc Implement735
- Observe Metrics734
- Observe Trace733
- Sparc Spec733
- Trader Regime733
- Trader Risk732
- Vector Embed732
- Federation Status731
- Iot Anomalies731
- Kg Extract731
- Browser Login730
- Cost Report730
- Federation Audit730
- Federation Init730
- Migrate Create730
- Sparc Refine730
- Iot Witness Verify729
- Migrate Validate729
- Vector Cluster729
Similar to Ddd Context
More Backend & APIsddd-aggregateSkillruvnet/ruflo751 installsScaffolds an aggregate root with entity, value objects, repository interface, domain events, and tests.
ruflo-dddPluginruvnet/ruflo82.4K starsDomain-Driven Design scaffolding — bounded contexts, aggregate roots, domain events, and anti-corruption layers
astro-developerSkillwithastro/astro615 installsContext-loading guide for developing in the Astro monorepo, routing tasks to architecture, debugging, testing, and constraints docs.
domain-driven-designSkillwondelai/skills8.1K installsDomain modeling framework that aligns code with business language, bounded contexts, aggregates, and domain events.
domain-modelingSkillmattpocock/skills1.1M installsStructured guide for sharpening a project's domain model: resolve terms, record decisions, and keep GLOSSARY.md current.
domain-contextSkillcustomware-ai/skills2.8K installsLiving domain knowledge base that accumulates terminology, entities, and business rules across sessions, with progressive disclosure.