V3 Core Implementation

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

1|1|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/33may/robotics --skill v3-core-implementation-33may
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: V3 Core Implementation
Source: https://github.com/33may/robotics/tree/main/humanoid/.claude/skills/v3-core-implementation
Command: npx skills add https://github.com/33may/robotics --skill v3-core-implementation-33may

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 decisions and boilerplate. This Skill provides the patterns and code templates to implement claude-flow v3 core modules following Domain-Driven Design and clean architecture principles. ## Core Features & Use Cases - DDD Domain Implementation: Provides base classes for entities, value objects, and aggregate roots, plus complete bounded contexts like task management, session management, and health monitoring. - Clean Architecture Layers: Includes application-layer use cases, repository interfaces with SQLite implementations, and an Inversify-based dependency injection container. - Comprehensive Testing: Supplies unit test patterns for domain entities and integration tests for repositories using in-memory SQLite databases. - Use Case: When implementing the task management domain for claude-flow v3, use this Skill to generate the Task aggregate root, TaskId and Priority value objects, the scheduling service, and the AssignTaskUseCase with domain event publishing. ## Quick Start Ask the AI to implement the claude-flow v3 core domains with DDD patterns, dependency injection, and comprehensive unit and integration tests.

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 and ValueObject with equality comparison and domain event support. Entities use identity-based equality while value objects compare their frozen props, and aggregate roots extend entities to track versioned domain events.

How to structure a clean architecture TypeScript project?

Organize code into core domains with bounded contexts, a shared kernel for base classes and infrastructure, and an application layer for use cases. Use path aliases like @core and @domains in tsconfig to enforce clean dependency boundaries.

How do I set up dependency injection with Inversify in TypeScript?

Create an Inversify Container and bind interfaces to implementations using symbols as service identifiers, typically in singleton scope. Enable experimentalDecorators and emitDecoratorMetadata in tsconfig so @Injectable and @Inject decorators work correctly.

Does this DDD approach work with SQLite repositories?

Yes, repository interfaces are implemented with SQLite classes that map database rows back to reconstituted domain aggregates. Integration tests use in-memory SQLite databases so repository behavior can be verified without external infrastructure.

What are the limitations of in-memory domain event buses?

In-memory event buses do not persist events, so events are lost on process restart and cannot span multiple services. For distributed scenarios, replace the in-memory bus with a persistent message broker while keeping the same publish interface.