validate-skill

Validate skill directories against the AgentSkills specification for required frontmatter and naming conventions.

6|1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/plaited/agent-eval-harness --skill validate-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-skill
Source: https://github.com/plaited/agent-eval-harness/tree/main/.plaited/skills/validate-skill%40plaited_development-skills
Command: npx skills add https://github.com/plaited/agent-eval-harness --skill validate-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill ensures skill directories conform to the AgentSkills specification, preventing PR or publishing issues by validating required frontmatter and naming conventions.

Core Features & Use Cases

  • Frontmatter validation: checks for required fields (name, description) and proper formatting.
  • Naming compliance: enforces lowercase, hyphenated names and ensures the directory name matches the skill name.
  • PR quality checks: reports errors or warnings to accelerate reviews and publishing.

Quick Start

Examples:

  • bunx @plaited/development-skills validate-skill .claude/skills
  • bunx @plaited/development-skills validate-skill .cursor/skills
  • bunx @plaited/development-skills validate-skill .claude/skills/typescript-lsp --json

Frequently Asked Questions about validate-skill

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

FAQPage Schema
How do I validate skill frontmatter and naming conventions before publishing?

Validate skill frontmatter by running a check against the AgentSkills specification to ensure required fields like name and description exist, and enforce lowercase hyphenated directory names that match the skill name before publishing.

What is skill directory validation and when do I need it?

Skill directory validation is the process of checking skill folders against the AgentSkills specification to enforce required frontmatter and naming conventions, needed during PR reviews or pre-publish checks to prevent malformed skills from entering production.

Can I validate skills stored in .claude or .cursor repository directories?

Yes, you can validate skills stored in repository directories like .claude/skills or .cursor/skills by passing the directory path to the validation script, which checks each skill folder against the AgentSkills specification.

How do I get JSON output when validating skill directories?

Get JSON output when validating skill directories by passing the --json flag along with the target skill path, which reports validation results including errors and warnings in structured JSON format instead of human-readable text.

What are the required frontmatter fields for an AgentSkills compliant skill?

The required frontmatter fields for an AgentSkills compliant skill are name and description, and the directory name must match the skill name using lowercase and hyphenated naming conventions to pass validation.

Why does my skill fail validation during a PR review?

Your skill fails validation during a PR review if it is missing required frontmatter fields like name or description, or if the directory name does not match the skill name using lowercase hyphenated conventions specified by AgentSkills.

Related Skills