Yaml Validator
Validates YAML files against specified schemas, ensuring structural correctness and data integrity for reliable deployments.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add yaml-validator npx -- -y @trustedskills/yaml-validator
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"yaml-validator": {
"command": "npx",
"args": [
"-y",
"@trustedskills/yaml-validator"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill validates YAML files against a specified schema. It checks for syntax errors and ensures the structure conforms to the provided rules, providing detailed error messages when issues are found. The validator is built using Rust and offers reliable and accurate validation results.
When to use it
- Configuration File Validation: Ensure your application's configuration files (e.g., Kubernetes manifests, Ansible playbooks) are correctly formatted before deployment.
- Data Pipeline Integrity: Validate YAML data ingested into a pipeline to prevent errors downstream.
- Automated Testing: Integrate validation checks into automated testing workflows for infrastructure as code or other YAML-based systems.
- Schema Enforcement: Guarantee that YAML files adhere to specific schemas, maintaining consistency across projects.
Key capabilities
- YAML syntax validation
- Schema enforcement against provided rules
- Detailed error reporting
- Rust implementation for reliability
Example prompts
- "Validate this YAML file: [paste YAML content here]"
- "Check if this YAML is valid according to the schema: [paste schema here] and validate: [paste YAML content here]"
- βIs this YAML valid? [paste YAML content here]β
Tips & gotchas
The skill requires a correctly formatted YAML file or schema as input. Incorrectly formatted inputs will result in validation errors.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
π Community
Passed automated security scans.