Agent skill

argument-validator-generator

Generate argument validation logic with type coercion, constraints, custom validators, and helpful error messages for CLI applications.

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill argument-validator-generator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Allowed tools: ReadWriteEditBashGlobGrep
Path: library/specializations/cli-mcp-development/skills/argument-validator-generator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Argument Validator Generator Generate comprehensive argument validation logic for CLI applications with type coercion and constraint checking. ## Capabilities - Generate type coercion functions for arguments - Create custom validators with constraint checking - Set up validation error messages - Implement value normalization - Configure mutually exclusive validation - Generate validation schemas ## Usage Invoke this skill when you need to: - Add type validation to CLI arguments - Create custom argument validators - Implement complex constraint checking - Generate helpful validation error messages ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | language | string | Yes | Target language (typescript, python, go, rust) | | validators | array | Yes | List of validators to generate | | outputPath | string | No | Output path for generated files | ### Validator Structure ```json { "validators": [ { "name": "port", "type": "number", "constraints": { "min": 1, "max": 65535 }, "errorMessage": "Port must be between 1 and 65535" }, { "name": "email", "type": "string", "pattern": "^[\\w.-]+@[\\w.-]+\\.\\w+$", "errorMessage": "Invalid emai

What's inside
Steps it walks through
  1. Capabilities
  2. Usage
  3. Inputs
  4. Validator Structure
  5. Generated Code Patterns
  6. TypeScript Validators
  7. Python Validators
  8. Go Validators
  9. Validation Patterns
  10. Composite Validators
  11. Dependent Validation
  12. Workflow
  13. Best Practices Applied
  14. Target Processes
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
What does the argument-validator-generator skill do?

Generate argument validation logic with type coercion, constraints, custom validators, and helpful error messages for CLI applications.

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill argument-validator-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going