ronnythedev/dotnet-clean-architecture-skills/11-dotnet-fluent-validation
Claude Code and agent skill by ronnythedev/dotnet-clean-architecture-skills
- community
Checking that the SKILL.md file is still in the repository.
Generates FluentValidation validators for commands and queries. Includes common validation rules, custom validators, async validation, and integration with MediatR pipeline behaviors.
Install
npx vskill@latest install ronnythedev/dotnet-clean-architecture-skills/11-dotnet-fluent-validationSKILL.md
FluentValidation Rules Generator
Overview
FluentValidation provides a fluent interface for building strongly-typed validation rules:
- Declarative rules - Readable, maintainable validation logic
- Separation of concerns - Validation separate from domain
- Integration with MediatR - Automatic validation via pipeline behavior
- Custom validators - Reusable validation components
Quick Reference
| Validator Type | Purpose | Example | |
|---|---|---|---|
| Built-in | Common validations | NotEmpty(), MaximumLength() | |
| Custom | Reusable rules | Must(BeValidEmail) | |
| Async | Database checks | MustAsync(BeUniqueEmail) | |
| Child | Nested objects | SetValidator(new AddressValidator()) | |
| Collection | List items | RuleForEach(x => x.Items) |
Validator Structure
Template: Basic Command Validator
Template: Inline Validator (Preferred Pattern)
Template: Async Validator with Database Check
Note: Prefer doing existence checks in the Handler rather than Validator for better separation of concerns and testability. Use async validation sparingly.
Template: Reusable Custom Validator
Using Custom Validator
Template: Nested Object Validator
Template: Collection Validator
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/11-dotnet-fluent-validation/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/11-dotnet-fluent-validation)