skill-validator

Validate Claude Code skills for YAML frontmatter, structure, scripts, and markdown.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/TECHKNOWMAD-LABS/cortex-research-suite --skill skill-validator-techknowmad-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-validator
Source: https://github.com/TECHKNOWMAD-LABS/cortex-research-suite/tree/main/skills/skill-validator
Command: npx skills add https://github.com/TECHKNOWMAD-LABS/cortex-research-suite --skill skill-validator-techknowmad-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill prevents errors and ensures consistency by performing thorough pre-flight checks on your Claude Code skills before they are packaged or deployed.

Core Features & Use Cases

  • Frontmatter Validation: Checks for correct YAML schema, required fields (name, description), and flags unknown fields.
  • Directory Structure Verification: Ensures the correct files and folders (SKILL.md, scripts/, references/) are present and organized properly.
  • Script Integrity: Validates Python syntax, checks shell script shebangs, and enforces file size limits.
  • Markdown Quality: Assesses heading structure, code block integrity, and link validity within SKILL.md.
  • Use Case: Before you create a .skill file for a new skill, run the validator to catch common mistakes like missing required fields in SKILL.md or syntax errors in your Python scripts.

Quick Start

Validate the skill located in the '/path/to/my-new-skill' directory.

Frequently Asked Questions about skill-validator

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

FAQPage Schema
How do I validate YAML frontmatter before packaging a Claude Code skill?

To validate YAML frontmatter, run a pre-flight check on your skill directory to verify the schema, confirm required fields like name and description are present, and flag unknown fields before deployment.

What's the best way to check Python script syntax in a skill directory?

Checking Python script syntax involves using py_compile to detect errors and validate integrity, while also verifying shell script shebangs and enforcing file size limits to ensure script compliance.

How do I verify directory structure for a production-ready skill package?

Verifying directory structure ensures the correct files and folders, such as SKILL.md, scripts, and references, are present and properly organized to meet packaging requirements before creating a .skill file.

Can I check markdown quality and heading structure in SKILL.md automatically?

You can check markdown quality automatically by using regex to assess heading structure, verify code block integrity, and validate links within SKILL.md, ensuring documentation consistency before deployment.

Why do I need a pre-flight check for skill packaging errors?

A pre-flight check prevents deployment errors and ensures consistency by catching common mistakes like missing required fields in SKILL.md or syntax errors in your Python scripts before you package the skill.

Does the skill validator work without external dependencies?

The skill validator works without external dependencies, relying solely on built-in tools like Python's py_compile for syntax checks and regex for markdown validation to perform comprehensive pre-flight checks.