skill-checklisted
Install: claude install-skill claude-world/director-mode-lite
# Skill File Validator
Validate skill files for correct format.
---
## Validation Target
- With argument: validate specific file
- Without: validate all `.claude/skills/*/SKILL.md`
---
## Required Frontmatter
```yaml
---
name: skill-name # Required: lowercase, hyphenated
description: What it does # Required: shown in / menu
version: 0.1.0 # Optional: semantic version
user-invocable: true # Optional: default true
model: sonnet # Optional: inherit, haiku, sonnet, opus, best, sonnet[1m], opus[1m], opusplan
allowed-tools: # Optional: restrict tools (YAML list)
- Read
- Write
- Bash
context: fork # Optional: isolated context
agent: agent-name # Optional: run as specific agent
argument-hint: "<hint>" # Optional: hint for arguments
when_to_use: Description of when this skill should be used # Optional: underscore format
arguments: # Optional: structured argument definitions
- name: arg-name
description: What the argument does
required: true
disable-model-invocation: false # Optional: prevent programmatic invocation
hooks: # Optional: lifecycle hooks (same format as settings.json)
PreToolUse:
- matcher: Write
hooks:
- type: command
command: ./scripts/validate.sh
PostToolUse:
- matcher: Bash
hooks:
- type: command
command: ./scripts/log.sh
Stop:
- hooks: