Validate custom skill definition for correctness
Validates custom skill definitions for correct structure, format, and content requirements.
/plugin marketplace add physics91/claude-vibe/plugin install claude-vibe@physics91-pluginsValidate a custom skill's SKILL.md file for correct structure and format.
/validate-skill <skill-name|path>
skill-name: Name of skill in skills/ directorypath: Direct path to SKILL.md file--- markers)name fielddescription field# [Skill Name] Skill heading## Purpose section## When to Use section## Workflow sectionValid Skill:
## Skill Validation: my-custom-skill
**Status**: ✓ VALID
### Frontmatter
- [x] Valid YAML syntax
- [x] name: my-custom-skill
- [x] description: WHEN/WHAT/WHEN NOT format ✓
### Required Sections
- [x] Purpose
- [x] When to Use
- [x] Workflow
- [x] Detection Rules
### Content Quality
- [x] Code examples present
- [x] Response template defined
- [x] Integration references
**Result**: Skill is ready for use.
Invalid Skill:
## Skill Validation: my-custom-skill
**Status**: ✗ INVALID
### Errors (3)
1. **Missing WHEN NOT in description**
Line 3: description field should include "WHEN NOT:" clause
```yaml
description: |
WHEN: ...
WHAT: ...
WHEN NOT: ... # Missing!
Missing Workflow section
Expected ## Workflow heading not found
No code examples Skill should include code examples in detection rules
Result: Fix 3 errors before using this skill.
## Example Validations
### Validate by Name
/validate-skill fastapi-reviewer
### Validate by Path
/validate-skill ./my-skills/custom-reviewer/SKILL.md
### Validate All Skills
/validate-skill --all
## Creating Valid Skills
### Minimum Valid Structure
```markdown
---
name: my-skill
description: |
WHEN: Trigger conditions
WHAT: Capabilities
WHEN NOT: Exclusions
---
# My Skill
## Purpose
Brief description of what this skill does.
## When to Use
- Condition 1
- Condition 2
## Workflow
### Step 1: Analyze
Description of first step.
## Detection Rules
| Check | Recommendation | Severity |
|-------|----------------|----------|
| Issue | Fix | HIGH |
## Response Template
...
## Integration
- Related skill 1
- Related skill 2
--verbose for detailed syntax checking