create-command
Installation
SKILL.md
Command Generator
Generate CQRS-compliant Commands and Command Handlers with tests.
Command Characteristics
- Immutable:
final readonly class - Imperative naming: Verb + noun (CreateOrder, ConfirmPayment)
- Self-validating: Validates invariants in constructor
- Intent-revealing: Name describes what should happen
- Returns void or ID: Never returns data
Generation Process
Step 1: Generate Command
Path: src/Application/{BoundedContext}/Command/