# V3 DDD Architecture

> V3 DDD Architecture is an open-source agent skill for developer tools. Guides an agent through splitting a large claude-flow v3 codebase into bounded contexts. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ruvnet/RuView/tree/main/.claude/skills/v3-ddd-architecture
- **Repository:** https://github.com/ruvnet/ruview
- **GitHub stars:** 106,018
- **License:** MIT
- **Skill name:** V3 DDD Architecture
- **Collection:** https://github.com/ruvnet/RuView
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill walks an agent through redesigning the claude-flow v3 codebase around Domain-Driven Design. It frames a large orchestrator module as a god object and proposes splitting it into domains such as task management, session management and health monitoring, with shared interfaces, value objects and domain events kept in a common core folder.

The guidance covers a microkernel layout where domains load into a central kernel and optional plugins extend it, plus a layered view separating presentation, application, domain and infrastructure code. It includes example TypeScript patterns for entities, repositories, use cases, event handlers and module configuration, along with a phased migration plan and a London-school testing approach for domain logic.

The skill is written in TypeScript terms and targets the claude-flow codebase. It also refers to sibling v3 skills for core implementation, memory unification, swarm coordination and performance work, and it ships no scripts of its own.

## When your agent uses it

> Domain-Driven Design architecture for claude-flow v3. Implements modular, bounded context architecture with clean separation of concerns and microkernel pattern.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ruvnet/RuView/tree/HEAD/.claude/skills/v3-ddd-architecture)
- [License: MIT](https://github.com/ruvnet/RuView/tree/HEAD/.claude/skills/v3-ddd-architecture)

## Features

- **Bounded context decomposition:** Guidance for splitting a monolithic orchestrator into focused domains with clear boundaries.
- **Microkernel and plugins:** Patterns for loading domains into a kernel and adding optional plugin modules.
- **Clean architecture layers:** A layered structure separating presentation, application, domain and infrastructure code.
- **Domain events:** Event base classes and handlers for loose coupling between domains.
- **Phased migration plan:** A staged approach for extracting services and wiring in clean interfaces.
- **Domain testing approach:** Unit test patterns for entities and domain logic using mocks.

## Good for

- Break a large orchestrator class into domain modules
- Design bounded contexts for a TypeScript agent codebase
- Set up a microkernel with optional plugin modules
- Plan a staged refactor toward clean architecture
- Add domain events between task and session logic

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/v3-ddd-architecture` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/v3-ddd-architecture &&
cp -R "$tmp/.claude/skills/v3-ddd-architecture" ~/.claude/skills/v3-ddd-architecture &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/v3-ddd-architecture` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/v3-ddd-architecture` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/v3-ddd-architecture &&
cp -R "$tmp/.claude/skills/v3-ddd-architecture" ~/.agents/skills/v3-ddd-architecture &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/v3-ddd-architecture` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/v3-ddd-architecture` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/v3-ddd-architecture &&
cp -R "$tmp/.claude/skills/v3-ddd-architecture" ~/.cursor/skills/v3-ddd-architecture &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/v3-ddd-architecture` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ruvnet/RuView.git --path .claude/skills/v3-ddd-architecture
```

Or copy the folder to `~/.gemini/skills/v3-ddd-architecture` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/v3-ddd-architecture`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/v3-ddd-architecture &&
cp -R "$tmp/.claude/skills/v3-ddd-architecture" ~/.copilot/skills/v3-ddd-architecture &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/v3-ddd-architecture` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ruvnet/RuView.git
```

Then copy `RuView/.claude/skills/v3-ddd-architecture` into your agent's skills folder as `v3-ddd-architecture`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does V3 DDD Architecture need to run?

It has no scripts or allowed tools set. It is guidance in SKILL.md and the examples are written in TypeScript for the claude-flow v3 codebase.

### Does V3 DDD Architecture change files on its own?

No scripts are bundled. The skill instructs the agent on how to design and implement the architecture, with example code and a migration plan.

### Which parts of the codebase does V3 DDD Architecture target?

It targets the claude-flow v3 codebase, using examples such as core/orchestrator.ts split into task, session, health and lifecycle domains.

### How do I install V3 DDD Architecture in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/v3-ddd-architecture to use it in all your projects, or to .claude/skills/v3-ddd-architecture in one project.

### Does V3 DDD Architecture run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use V3 DDD Architecture?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to V3 DDD Architecture?

The closest alternatives to V3 DDD Architecture are V3 Core Implementation, V3 CLI Modernization, V3 Deep Integration, V3 Swarm Coordination and TDD.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [V3 Core Implementation](https://ai-powered.com/skills/v3-core-implementation): V3 Core Implementation is an open-source agent skill for developer tools.
- [V3 CLI Modernization](https://ai-powered.com/skills/v3-cli-modernization): V3 CLI Modernization is an open-source agent skill for developer tools.
- [V3 Deep Integration](https://ai-powered.com/skills/v3-deep-integration): V3 Deep Integration is an open-source agent skill for developer tools.
- [V3 Swarm Coordination](https://ai-powered.com/skills/v3-swarm-coordination): V3 Swarm Coordination is an open-source agent skill for developer tools.
- [TDD](https://ai-powered.com/skills/tdd): TDD is an open-source agent skill for developer tools.
- [Hexagonal architecture](https://ai-powered.com/skills/hexagonal-architecture-zerotechdebt): Hexagonal architecture is an open-source agent skill for developer tools.
- [Oracle domain modelling](https://ai-powered.com/skills/oracle-domain-modelling): Oracle domain modelling is an open-source agent skill for developer tools.
- [Ask matt](https://ai-powered.com/skills/ask-matt): Ask matt is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/v3-ddd-architecture
