ruvnet avatar

Ddd Context

Scaffolds a complete DDD bounded context directory structure under src/ with all the standard folders you'd expect: domain layer with entities, value objects, events, services, and repository interfaces, plus application and infrastructure directories. Pass it a kebab-case name and it generates the folder tree along with barrel exports at every level, keeping infrastructure out of the public API. It also wires things into a domain model graph using memory storage tools. Saves you from manually creating the same boilerplate every time you carve out a new bounded context. If you're actually doing DDD in TypeScript and want consistent structure across contexts, this handles the tedious setup work.

skills.sh installs
739
GitHub stars
81.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add ruvnet/ruflo --skill ddd-context --agent claude-code

Installs into .claude/skills of the current project.

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

  1. Validate name: Ensure the context name is kebab-case and does not already exist under src/.

  2. Create directory structure:

    src/<context-name>/
      domain/
        entities/
        value-objects/
        events/
        services/
        repositories/
      application/
      infrastructure/
    

Sponsors

Details

Repository
github.com/ruvnet/ruflo
Categories
Frontend Development, Cloud & Infrastructure
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236
1voltagent avatarvoltagent-best-practicesvoltagent/skillsVoltAgent architectural patterns and conventions. Covers agents vs workflows, project layout, memory, servers, and observability.739skills.sh installs
2posit-dev avatarr-cli-appposit-dev/skillsBuild command-line apps in R using the Rapp package. Use when creating a CLI tool in R, adding argument parsing to an R script, turning an R script into a comma736skills.sh installs
3joellewis avatarforward-riskjoellewis/finance_skillsEstimate potential future losses using VaR, Expected Shortfall, Monte Carlo simulation, and stress testing. Use when the user asks about Value-at-Risk, CVaR, Ex733skills.sh installs
4aedev-tools avatarafter-effectsaedev-tools/adobe-agent-skillsAutomate Adobe After Effects via ExtendScript. Use when the user asks to create, modify, or query anything in an After Effects project — layers, keyframes, expr731skills.sh installs
5ruvnet avatarvector-clusterruvnet/rufloCluster code by graph community detection via npx ruvector@0.2.25 hooks graph-cluster (spectral / Louvain)729skills.sh installs
6diodeinc avataridiomatic-zenerdiodeinc/pcbStyle rules and idioms for writing high-quality Zener HDL code. Use when writing, reviewing, or refactoring `.zen` files — modules, reference designs, or board 724skills.sh installs