factory-assembler-expert

Community

Automate DTO conversions, keeping your application layer clean.

Authorryu-qqq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill standardizes DTO conversions within the Application Layer, ensuring a clean separation of concerns (CQRS) and preventing business logic from creeping into transformation components. It automates boilerplate, making your application layer more maintainable and testable.

Core Features & Use Cases

  • CQRS-Driven Conversion: Generates CommandFactory (for Command to Domain transformations) and QueryFactory (for Query to Criteria transformations) to handle inbound data conversion.
  • Domain-to-Response Assembly: Creates Assembler components specifically for outbound transformations, converting Domain objects into Response DTOs.
  • Bundle DTOs: Provides PersistBundle and QueryBundle records to group related objects for persistence or query results, maintaining immutability and simplifying data flow.
  • Zero-Tolerance Rules: Enforces strict rules like "No business logic," "No Lombok," and specific naming conventions, ensuring high code quality and architectural adherence.
  • Use Case: When implementing a new UseCase, use this skill to generate the necessary Factory and Assembler components. This ensures DTO transformations are consistent, testable, and free of business logic, allowing developers to focus on core application logic.

Quick Start

Generate Factory and Assembler components for an 'Order' feature, handling Command to Domain and Domain to Response conversions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: factory-assembler-expert
Download link: https://github.com/ryu-qqq/AuthHub/archive/main.zip#factory-assembler-expert

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository