Auto-generates standardized README documentation from SKILL.md files, validates consistency (frontmatter, descriptions, terminology), and creates usage examples...
Auto-generate high-quality README documentation for skills with built-in consistency validation and example generation.
This skill automates the creation of standardized README files for skills by analyzing SKILL.md files, extracting structure and examples, validating quality standards, and generating comprehensive documentation. It ensures consistency across skill documentation while providing actionable validation feedback.
Generate documentation for one skill:
Analyze the skill:
python scripts/analyze_skill.py <skill_directory>
Extracts metadata, sections, code blocks, and resources.
Validate consistency:
python scripts/validate_consistency.py <skill_directory> --verbose
Checks frontmatter, description quality, and terminology.
Generate README:
python scripts/generate_readme.py <skill_directory> [output_path]
Creates README.md with validation results.
Document multiple skills at once:
python scripts/document_directory.py <directory> [options]
Options:
--output <dir>: Specify output directory--no-recursive: Don't search subdirectories--no-index: Skip index file generation--no-validate: Skip validation checksExample:
# Document all user skills with validation
python scripts/document_directory.py /mnt/skills/user --output ./docs
# Quick pass without validation
python scripts/document_directory.py ./my-skills --no-validate
Parses SKILL.md and extracts structured information.
Usage: python scripts/analyze_skill.py <skill_directory>
Returns:
Validates skill quality against standards defined in references/consistency-rules.md.
Usage: python scripts/validate_consistency.py <skill_directory> [--verbose]
Checks:
Severity Levels:
Creates README.md from skill analysis.
Usage: python scripts/generate_readme.py <skill_directory> [output_path]
Generates:
Template: See references/readme-template.md for structure.
Batch processes multiple skills in a directory.
Usage: python scripts/document_directory.py <directory> [options]
Features:
Validation enforces these standards:
skill-name)See references/consistency-rules.md and references/terminology-standards.md for complete standards.
Standard README structure and best practices. Defines:
Detailed validation criteria. Covers:
Standard vocabulary and style guide. Includes:
# Analyze
python scripts/analyze_skill.py ./my-skill
# Validate
python scripts/validate_consistency.py ./my-skill --verbose
# Generate README
python scripts/generate_readme.py ./my-skill
# Document all skills in a directory
python scripts/document_directory.py /mnt/skills/user \
--output ./documentation \
--recursive
# Just validate without generating docs
python scripts/validate_consistency.py ./my-skill
New skill creation: Generate documentation as part of skill development Quality audits: Validate existing skills against standards Documentation updates: Regenerate READMEs after SKILL.md changes Batch operations: Document entire skill libraries CI/CD integration: Automated validation in deployment pipelines
--verbose flag to see INFO-level suggestions