Description
Lint SKILL.md and README.md files for required sections. Validates documentation completeness and compliance with standards.
Inputs
{
"skill_path": "Path to skill directory"
}
Outputs
{
"ok": true,
"data": {
"valid": true,
"issues": [],
"warnings": []
}
}
Usage
Demo Mode
python scripts/main.py --demo
Lint Skill Docs
echo '{"skill_path":"./my-skill"}' | python3 scripts/main.py
Examples
Example 1: Check Documentation
$ echo '{"skill_path":"dao-proposal-starter"}' | python3 scripts/main.py
{
"ok": true,
"data": {
"valid": true,
"issues": [],
"warnings": ["Missing example in SKILL.md"]
}
}
Error Handling
When an error occurs, the skill returns:
{
"ok": false,
"error": "Error description",
"details": {
"skill_path": "Directory not found"
}
}