Claude Skill Validator
This skill provides comprehensive validation for Claude Skills, ensuring all files follow official Anthropic standards and best practices. It checks structure, formatting, naming conventions, and compliance requirements.
Capabilities
- File Structure Validation: Validates presence and organization of all required skill files (SKILL.md, HOW_TO_USE.md, Python files, sample data)
- YAML Frontmatter Validation: Checks SKILL.md YAML frontmatter for correct format, kebab-case naming, and required fields
- Python Code Validation: Validates Python file imports, structure, error handling, and best practices
- Naming Convention Validation: Ensures kebab-case for skill names, snake_case for Python files, proper file extensions
- Compliance Validation: Checks against official Claude documentation standards
- Batch Processing: Validates multiple skills at once with summary reporting
- Auto-Fix Suggestions: Provides automatic fixes for common issues (renaming files, fixing YAML, etc.)
Input Requirements
Single skill validation:
- Skill folder path (local directory containing skill files)
- Optional: Specific validation focus (structure, yaml, python, naming, all)
Batch validation:
- Directory containing multiple skill folders
- Optional: Validation report format (JSON, CSV, text)
Direct file input:
- SKILL.md file path for YAML validation
- Python file path for code validation
- JSON configuration for custom validation rules
Output Formats
- Validation Report: Structured JSON with detailed findings
- Error Details: Specific error messages with file paths and line numbers
- Severity Levels: Critical, Warning, Info classifications
- Auto-Fix Suggestions: Specific commands to fix common issues
- Summary Statistics: Pass/fail counts, error distribution
- Multiple Formats: JSON, CSV, text, and markdown reports
How to Use
"Validate this skill folder for compliance with Claude standards"
"Check the YAML frontmatter in this SKILL.md file"
"Batch validate all skills in the skills directory and output a CSV report"
"Fix the naming conventions in this skill automatically"
Scripts
validate_skill.py: Main validation orchestrator and batch processor
validate_yaml.py: YAML frontmatter validation and auto-fixing
validate_python.py: Python code structure and import validation
validate_naming.py: Naming convention validation and auto-renaming
Best Practices
- Validate Early: Run validation during skill development, not just before deployment
- Batch Processing: Validate entire skill catalogs regularly to maintain consistency
- Auto-Fix First: Use auto-fix suggestions for common issues before manual intervention
- Documentation Reference: Always cross-check with official Claude documentation
- Version Control: Integrate validation into CI/CD pipelines for automated quality checks
Limitations
- Cannot validate subjective quality (content relevance, usefulness)
- Limited to structural and formatting standards
- Auto-fix may not handle complex refactoring scenarios
- Requires local file system access (cannot validate remote URLs directly)
- Python validation is syntax/import focused, not functional testing
Compliance Standards
This validator checks against:
- Official Claude Skills documentation
- YAML frontmatter specifications
- Python import and structure best practices
- File naming conventions (kebab-case, snake_case)
- Required file presence and organization
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: skill-validator-33description: Validates Claude skill files for correct structure, YAML frontmatter, Python imports, naming conventions, and compliance with official documentation4---56# Claude Skill Validator78This skill provides comprehensive validation for Claude Skills, ensuring all files follow official Anthropic standards and best practices. It checks structure, formatting, naming conventions, and compliance requirements.910## Capabilities1112- **File Structure Validation**: Validates presence and organization of all required skill files (SKILL.md, HOW_TO_USE.md, Python files, sample data)13- **YAML Frontmatter Validation**: Checks SKILL.md YAML frontmatter for correct format, kebab-case naming, and required fields14- **Python Code Validation**: Validates Python file imports, structure, error handling, and best practices15- **Naming Convention Validation**: Ensures kebab-case for skill names, snake_case for Python files, proper file extensions16- **Compliance Validation**: Checks against official Claude documentation standards17- **Batch Processing**: Validates multiple skills at once with summary reporting18- **Auto-Fix Suggestions**: Provides automatic fixes for common issues (renaming files, fixing YAML, etc.)1920## Input Requirements2122**Single skill validation:**23- Skill folder path (local directory containing skill files)24- Optional: Specific validation focus (structure, yaml, python, naming, all)2526**Batch validation:**27- Directory containing multiple skill folders28- Optional: Validation report format (JSON, CSV, text)2930**Direct file input:**31- SKILL.md file path for YAML validation32- Python file path for code validation33- JSON configuration for custom validation rules3435## Output Formats3637- **Validation Report**: Structured JSON with detailed findings38- **Error Details**: Specific error messages with file paths and line numbers39- **Severity Levels**: Critical, Warning, Info classifications40- **Auto-Fix Suggestions**: Specific commands to fix common issues41- **Summary Statistics**: Pass/fail counts, error distribution42- **Multiple Formats**: JSON, CSV, text, and markdown reports4344## How to Use4546"Validate this skill folder for compliance with Claude standards"47"Check the YAML frontmatter in this SKILL.md file"48"Batch validate all skills in the skills directory and output a CSV report"49"Fix the naming conventions in this skill automatically"5051## Scripts5253- `validate_skill.py`: Main validation orchestrator and batch processor54- `validate_yaml.py`: YAML frontmatter validation and auto-fixing55- `validate_python.py`: Python code structure and import validation56- `validate_naming.py`: Naming convention validation and auto-renaming5758## Best Practices59601. **Validate Early**: Run validation during skill development, not just before deployment612. **Batch Processing**: Validate entire skill catalogs regularly to maintain consistency623. **Auto-Fix First**: Use auto-fix suggestions for common issues before manual intervention634. **Documentation Reference**: Always cross-check with official Claude documentation645. **Version Control**: Integrate validation into CI/CD pipelines for automated quality checks6566## Limitations6768- Cannot validate subjective quality (content relevance, usefulness)69- Limited to structural and formatting standards70- Auto-fix may not handle complex refactoring scenarios71- Requires local file system access (cannot validate remote URLs directly)72- Python validation is syntax/import focused, not functional testing7374## Compliance Standards7576This validator checks against:77- Official Claude Skills documentation78- YAML frontmatter specifications79- Python import and structure best practices80- File naming conventions (kebab-case, snake_case)81- Required file presence and organization8283---84> Converted and distributed by [TomeVault](https://tomevault.io/claim/chaorenex1) — claim your Tome and manage your conversions.85<!-- tomevault:4.0:skill_md:2026-04-13 -->