validator-conventions

validator-conventions is a skill for Claude Code from makigjuro/cloudstack-ai-plugins. It costs 28 tokens per session (270 once invoked), scanned A, original, MIT.

A set of conventions for validating .NET commands and requests with FluentValidation. It defines where validation rules go, how validators are registered, and how errors are named and shown.

In plain words
What is it for?
Use it when creating validators for commands or API requests. It covers required fields, length limits, custom checks, registration, user-facing messages, and error codes.
Why use it?
It keeps input checks at the application boundary instead of scattering them through business code. Consistent messages and error codes make invalid requests easier for clients and developers to handle.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the dotnet-architect plugin — 14 skills, 1 agent shipped together

Good fit Use it when creating validators for commands or API requests. It covers required fields, length limits, custom checks, registration, user-facing messages, and error codes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/makigjuro/cloudstack-ai-plugins/validator-conventions
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add makigjuro/cloudstack-ai-plugins --skill validator-conventions
Clone the repo
git clone --depth 1 https://github.com/makigjuro/cloudstack-ai-plugins

Made for: Claude Code.

Or install dotnet-architect, the plugin that ships this one along with the rest of its 14 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for validator-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/validator-conventions/github.svg)](https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/validator-conventions)
Your own site
<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/validator-conventions"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/validator-conventions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for validator-conventions

Your own site · 80×15
<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/validator-conventions"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/validator-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 270 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00270
Opus 5.5 $0.00011 $0.00108
Sonnet 5.5 $0.00006 $0.00054
Haiku 4.5 $0.00003 $0.00027

Measured 1mo ago against content hash 87fc6eab13b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

validator-conventions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dotnet-architect/skills/validator-conventions/SKILL.md · 37 lines

What it actually says

Validator Rules (FluentValidation)

Structure

  • Inherit from AbstractValidator<TCommand> or AbstractValidator<TRequest>
  • Rules defined in constructor
  • One validator per command/request

Registration

  • Register all validators from assembly: services.AddValidatorsFromAssemblyContaining<TValidator>()
  • Validators injected into handlers or run via middleware

Conventions

  • Use .NotEmpty(), .MaximumLength(), .Must() for rules
  • Provide .WithMessage() for user-facing messages
  • Provide .WithErrorCode() using SCREAMING_SNAKE_CASE codes matching domain error codes
  • Validate at application boundary (commands/requests), not deep in domain

Example

public class CreateOrderValidator : AbstractValidator<CreateOrderCommand>
{
    public CreateOrderValidator()
    {
        RuleFor(x => x.TenantId).NotEmpty().WithErrorCode("TENANT_ID_REQUIRED");
        RuleFor(x => x.Description).NotEmpty().MaximumLength(500).WithErrorCode("INVALID_DESCRIPTION");
    }
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 37 lines · 28 tokens per session scan A 87fc6eab13b0

Subscribe to this mod's changes

validator-conventions is a skill published in the GitHub repository makigjuro/cloudstack-ai-plugins (1 stars, last pushed 29d ago), licensed MIT. It adds 28 tokens to every session and 270 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-21.

Related

validator-conventions compared with skills from other repositories

validator-conventions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
validator-conventionsmakigjuro/cloudstack-ai-pluginsSkill129d agoMITA28Claude Code
gateway-apinitinjain999/platform-skillsSkill742d agoApache-2.0A168Claude Code
python-servicesiliaal/whetstoneSkill37todayMITA48Claude Code, Codex
nodejs-backendiliaal/whetstoneSkill37todayMITA50Claude Code, Codex
documentnitinjain999/platform-skillsSkill742d agoApache-2.0A31Claude Code
mcpnitinjain999/platform-skillsSkill742d agoApache-2.0B33Claude Code
ia-php-laraveliliaal/whetstoneSkill37todayMITA67Claude Code