skill-validator

Validate SKILL.md frontmatter, references, and directory structure for skill repositories.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/danielsimonjr/claude-skills --skill skill-validator-danielsimonjr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-validator
Source: https://github.com/danielsimonjr/claude-skills/tree/main/skill-validator
Command: npx skills add https://github.com/danielsimonjr/claude-skills --skill skill-validator-danielsimonjr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill validator ensures skill directories conform to the repository's standards by checking for valid YAML frontmatter, resolving internal references, and enforcing proper directory structure to prevent broken skills.

Core Features & Use Cases

  • Validates presence and correctness of SKILL.md frontmatter (name and description) across all skills.
  • Verifies internal references in SKILL.md resolve to existing files.
  • Checks directory structure and ensures no duplicate skill names within the repo.
  • Optional guidance for maintaining high-quality Skill Units as the repository grows.

Quick Start

Validate a skill directory by running the validator on its path. Example: run the validator on skill-validator to confirm its own structure and to check surrounding skills.

Frequently Asked Questions about skill-validator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate SKILL.md frontmatter and directory structure in a repository?

To validate SKILL.md frontmatter and directory structure, you can run the skill validator on a specific path to detect missing YAML fields, check directory conventions, and ensure unique skill names across the repository.

What does YAML frontmatter validation check for in skill directories?

YAML frontmatter validation checks for the presence and correctness of required name and description fields in SKILL.md files, ensuring skill directories conform to repository standards and preventing broken skills.

How do I resolve internal file references in SKILL.md?

To resolve internal references in SKILL.md, run the validator to automatically verify that all linked paths point to existing files within the skill directory, preventing broken references.

Can I check an entire repository for duplicate skill names at once?

Yes, you can check an entire repository for duplicate skill names by running the skill validator across the full skill set, enforcing unique names and reporting structural issues globally.

What is the best way to enforce repository quality for skill directories?

The best way to enforce repository quality is to automate validation of frontmatter correctness, reference resolution, and directory conventions across all skill directories to prevent structural issues.

Why does my skill validation fail when checking directory conventions?

Skill validation fails when directory conventions are not followed, such as missing required frontmatter fields in SKILL.md, unresolved internal file references, or duplicate skill names within the repository.