# Skill Validator

> Validate skill file structure Use when this capability is needed.

- Skill: `tomevault-io/skill-validator-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/skill-validator-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/skill-validator-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/skill-validator-2

---


# Skill Validator

Anthropic公式ガイドに基づくスキル品質検証ツール。

## Quick Validation

```bash
python scripts/validate_skill.py <skill-path>
```

## Validation Checklist

### 1. Structure Check
- [ ] `SKILL.md` exists (exact case)
- [ ] Folder name is kebab-case
- [ ] No README.md inside skill folder
- [ ] Optional: scripts/, references/, assets/

### 2. Frontmatter Check
- [ ] `---` delimiters present
- [ ] `name` field: kebab-case, no spaces, no capitals
- [ ] `description` field: non-empty, under 1024 chars
- [ ] No XML tags (< or >) in frontmatter
- [ ] No "claude" or "anthropic" in name

### 3. Description Quality
- [ ] Contains WHAT the skill does
- [ ] Contains WHEN to use (trigger conditions)
- [ ] Contains trigger phrases users would say
- [ ] Mentions relevant file types if applicable
- [ ] Under 1024 characters

### 4. Content Quality
- [ ] Under 5,000 words (or references/ used)
- [ ] Clear step-by-step instructions
- [ ] Code examples for key operations
- [ ] Error handling included
- [ ] Troubleshooting section present

### 5. Progressive Disclosure
- [ ] Core instructions in SKILL.md
- [ ] Detailed docs in references/ (if needed)
- [ ] Large content split to separate files
- [ ] Clear links to reference files

## Scoring System

| Score | Rating | Meaning |
|-------|--------|---------|
| 90-100 | Excellent | Production-ready |
| 80-89 | Good | Minor improvements needed |
| 70-79 | Fair | Several issues to fix |
| 60-69 | Poor | Major revision needed |
| <60 | Critical | Rewrite required |

## Common Issues & Fixes

### Issue: Skill doesn't trigger
**Cause**: Description too vague
**Fix**: Add specific trigger phrases

```yaml
# Before
description: Helps with projects

# After
description: |
  Manages Linear project workflows. Use when user says
  "plan sprint", "create Linear tasks", or "project planning".
```

### Issue: Over-triggering
**Cause**: Description too broad
**Fix**: Add negative triggers

```yaml
description: |
  ...existing description...
  Do NOT use for: simple data exploration (use data-viz instead).
```

### Issue: Instructions not followed
**Cause**: Content too verbose
**Fix**: Move details to references/

### Issue: Large context usage
**Cause**: All content in SKILL.md
**Fix**: Use progressive disclosure

## Usage Examples

### Validate Single Skill
```bash
/skill-validator .claude/skills/taiyo-style
```

### Validate All Skills
```bash
/skill-validator .claude/skills --all
```

### Generate Improvement Report
```bash
/skill-validator .claude/skills/mega-research --report
```

## Integration with TAISUN

This skill is part of the TAISUN quality assurance system:
- Runs automatically on `PostToolUse` for skill creation
- Blocks merging skills with score < 70
- Generates improvement suggestions

See [references/anthropic-guide-summary.md](references/anthropic-guide-summary.md) for full best practices.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/taiyousan15) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

