argument-validator-generator
Generate argument validation logic with type coercion, constraints, custom validators, and helpful error messages for CLI applications.
npx skills add a5c-ai/babysitter --skill argument-validator-generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Capabilities
- Usage
- Inputs
- Validator Structure
- Generated Code Patterns
- TypeScript Validators
- Python Validators
- Go Validators
- Validation Patterns
- Composite Validators
- Dependent Validation
- Workflow
- Best Practices Applied
- Target Processes
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.
