spencermarx avatar

V3 DDD Architecture

This breaks down monolithic orchestrator code into proper domain boundaries using DDD patterns. You'd use this when refactoring claude-flow v3 projects that have grown into god objects, especially if you're dealing with something like a 1,440-line orchestrator file that mixes task management, session handling, and health monitoring. It implements a microkernel pattern where each domain (task management, session management, health monitoring) gets its own entities, value objects, and repositories, all wired together through a domain event bus. The plugin architecture is clean, you can bolt on things like swarm coordination without touching core domains. Good fit if you're serious about making your Claude automation code maintainable at scale rather than just hacking features onto a growing mess.

GitHub stars
240
last updated
Jun 11, 2026

Install

$ npx -y skills add spencermarx/open-code-review --skill 'V3 DDD Architecture' --agent claude-code

Installs into .claude/skills of the current project.

Files

V3 DDD Architecture

What This Skill Does

Designs and implements Domain-Driven Design (DDD) architecture for claude-flow v3, decomposing god objects into bounded contexts, implementing clean architecture patterns, and enabling modular, testable code structure.

Quick Start

# Initialize DDD architecture analysis
Task("Architecture analysis", "Analyze current architecture and design DDD boundaries", "core-architect")

# Domain modeling (parallel)
Task("Domain decomposition", "Break down orchestrator god object into domains", "core-architect")
Task("Context mapping", "Map bounded contexts and relationships", "core-architect")
Task("Interface design", "Design clean domain interfaces", "core-architect")

DDD Implementation Strategy

Sponsors

Details

Repository
github.com/spencermarx/open-code-review
Categories
Git & Pull Requests, Code Review & Quality, Design & UI/UX
License
Apache-2.0
First seen
Jun 11, 2026

More from spencermarx/open-code-review

All 31
1spencermarx avatarV3 Deep Integrationspencermarx/open-code-reviewDeep agentic-flow@alpha integration implementing ADR-001. Eliminates 10,000+ duplicate lines by building claude-flow as specialized extension rather than parall0skills.sh installs
2spencermarx avatarV3 MCP Optimizationspencermarx/open-code-reviewMCP server optimization and transport layer enhancement for claude-flow v3. Implements connection pooling, load balancing, tool registry optimization, and perfo0skills.sh installs
3spencermarx avatarV3 Memory Unificationspencermarx/open-code-reviewUnify 6+ memory systems into AgentDB with HNSW indexing for 150x-12,500x search improvements. Implements ADR-006 (Unified Memory Service) and ADR-009 (Hybrid Me0skills.sh installs
4spencermarx avatarV3 Performance Optimizationspencermarx/open-code-reviewAchieve aggressive v3 performance targets: 2.49x-7.47x Flash Attention speedup, 150x-12,500x search improvements, 50-75% memory reduction. Comprehensive benchma0skills.sh installs
5spencermarx avatarV3 Security Overhaulspencermarx/open-code-reviewComplete security architecture overhaul for claude-flow v3. Addresses critical CVEs (CVE-1, CVE-2, CVE-3) and implements secure-by-default patterns. Use for sec0skills.sh installs
6spencermarx avatarV3 Swarm Coordinationspencermarx/open-code-review15-agent hierarchical mesh coordination for v3 implementation. Orchestrates parallel execution across security, core, and integration domains following 10 ADRs 0skills.sh installs