V3 Core Implementation

Implements DDD domains and clean architecture TypeScript modules for claude-flow v3.

Updated Aug 18, 2026
One-click install
npx skills add https://github.com/wandreandrade2018-maker/claude-config --skill v3-core-implementation-wandreandrade2018-maker
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: V3 Core Implementation
Source: https://github.com/wandreandrade2018-maker/claude-config/tree/main/.claude/skills/v3-core-implementation
Command: npx skills add https://github.com/wandreandrade2018-maker/claude-config --skill v3-core-implementation-wandreandrade2018-maker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires inversify.

What problem does it solve? Building a modular TypeScript codebase with proper domain boundaries, dependency injection, and test coverage requires significant architectural boilerplate. This Skill provides ready-to-use patterns and code templates for implementing Domain-Driven Design domains, entities, value objects, repositories, and use cases for claude-flow v3. ## Core Features & Use Cases - DDD Domain Templates: Base classes for Entity, ValueObject, and AggregateRoot with domain event support, plus a complete task-management bounded context example. - Clean Architecture Layers: Repository interfaces with SQLite implementations, application use cases with command validation, and an Inversify-based dependency injection container. - Testing & Quality Patterns: Unit tests for domain entities, integration tests for repositories, strict TypeScript configuration, and entity caching for performance. - Use Case: When scaffolding the core modules of claude-flow v3, use this Skill to generate the task-management domain with entities, value objects, a SQLite repository, and an AssignTask use case wired through the DI container. ## Quick Start Ask the AI to implement the task management domain for claude-flow v3 with entities, value objects, repositories, and unit tests following DDD patterns.

Frequently Asked Questions about V3 Core Implementation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement DDD entities and value objects in TypeScript?▼

Create abstract base classes for Entity, ValueObject, and AggregateRoot with identity equality, immutable props, and domain event tracking. Concrete domains like task-management extend these bases with factory methods such as Task.create and TaskStatus.pending.

How to structure a clean architecture TypeScript project?▼

Organize code into core/domains for bounded contexts, core/shared for the shared kernel, and core/application for use cases. Use path aliases like @core and @domains in tsconfig, and wire dependencies through an Inversify container.

Does this approach support SQLite persistence for domain repositories?▼

Yes, repository interfaces like ITaskRepository are implemented by SqliteTaskRepository, which maps database rows back to reconstituted domain entities. The DI container binds the interface to the SQLite implementation as a singleton.

How are domain events handled in this DDD implementation?▼

Aggregates collect domain events via addDomainEvent when state changes, such as TaskAssignedEvent on assignment. Use cases publish uncommitted events through a DomainEventBus after persistence, then mark them as committed.

What test coverage does the core implementation include?▼

It includes unit tests for entity behavior like assignment rules and event emission, plus integration tests for the SQLite repository using an in-memory database. The target is over 90 percent coverage of domain logic.