cqrs-command-generator

Installation
SKILL.md

CQRS Command Generator

Overview

This skill generates Commands following the CQRS (Command Query Responsibility Segregation) pattern. Commands represent intentions to change system state. Each command has:

  • Command Record - Immutable data structure with request parameters
  • Validator - FluentValidation rules for input validation
  • Handler - Business logic implementation returning Result
  • Request DTO (optional) - API layer request model

Quick Reference

Command Type Returns Use Case
ICommand Result Operations without return value (Update, Delete)
ICommand<T> Result<T> Operations returning data (Create returns Id)

Related skills
Installs
12
GitHub Stars
52
First Seen
Mar 1, 2026