ronnythedev/dotnet-clean-architecture-skills/02-dotnet-cqrs-command-generator
Claude Code and agent skill by ronnythedev/dotnet-clean-architecture-skills
- community
Checking that the SKILL.md file is still in the repository.
Generates CQRS Commands with Handlers, Validators, and Request DTOs following Clean Architecture patterns. Commands represent actions that modify state and return Result types for proper error handling.
Install
npx vskill@latest install ronnythedev/dotnet-clean-architecture-skills/02-dotnet-cqrs-command-generatorSKILL.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) |
Command Structure
Template: Command with Return Value (Create)
Use for operations that return data (typically entity ID after creation).
Template: Command without Return Value (Update)
Use for operations that don't return data.
Template: Delete Command
Template: Command with Complex Request Object
For commands with many parameters, use a nested request object.
Validation Rules Reference
Common Validators
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/02-dotnet-cqrs-command-generator/SKILL.md
Popularity
- Repository stars
- 64
- Repository forks
- 11
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ronnythedev/dotnet-clean-architecture-skills/02-dotnet-cqrs-command-generator)