implement-cqrs-handler
Installation
SKILL.md
Works with Python handlers in application/commands/ and application/queries/.
Implement CQRS Handler
Purpose
Create command or query handlers following the project's CQRS pattern with proper separation of write (command) and read (query) operations, ServiceResult pattern, and dependency injection.
When to Use
Use this skill when:
- Implementing new use cases - Creating new application layer operations
- Adding features - Building new functionality that modifies or queries data
- Creating API endpoints - Wiring business logic to interface layer
- Building application layer logic - Orchestrating domain services and repositories
Trigger phrases:
- "Create a command handler for X"
- "Implement a query to retrieve Y"
- "Add a new use case for Z"
- "Build handler for feature X"
Related skills