validate-agent-files

Validate agent, skill, prompt, and instruction files across providers.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/Reign-software/hyforged --skill validate-agent-files-reign-software
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-agent-files
Source: https://github.com/Reign-software/hyforged/tree/main/.github/skills/validate-agent-files
Command: npx skills add https://github.com/Reign-software/hyforged --skill validate-agent-files-reign-software

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validates that agent, skill, prompt, and instruction files follow the correct format and structure.

Core Features & Use Cases

  • Cross-provider validation for agent, skill, prompt, and instruction files.
  • Detects missing frontmatter, wrong naming conventions, and invalid body content.
  • Provides guidelines to fix issues before committing changes.

Quick Start

Validate all customization files across providers to ensure correct frontmatter, naming, and body content before committing changes.

Frequently Asked Questions about validate-agent-files

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

FAQPage Schema
How do I validate agent files and YAML frontmatter before committing?

You can validate agent files by checking YAML frontmatter for required name and description fields in SKILL.md. This validation catches missing frontmatter, wrong naming conventions, and invalid body content across provider folders during pre-commit checks.

What is the correct format for skill and prompt files across different providers?

The correct format requires YAML frontmatter containing name and description properties, proper file naming conventions, and non-empty body content. Validation applies to agent, skill, prompt, and instruction files across multiple provider folders.

Can I lint customization files in .github, .claude, and .codex folders?

Yes, cross-provider validation supports customization files in .github, .claude, .codex, and .config/opencode folders. It detects misconfigurations in file types, naming conventions, and frontmatter structure across these provider directories.

What's the best way to catch missing frontmatter in SKILL.md files?

The best way to catch missing frontmatter is running validation audits during code reviews. This enforces YAML frontmatter presence of name and description for SKILL.md and provides guidelines to fix issues before committing changes.

Why does my prompt file validation fail during pre-commit checks?

Prompt file validation fails when files have missing frontmatter, incorrect naming conventions, or empty bodies. The validator checks for required YAML frontmatter fields and enforces non-empty content across all agent, skill, and instruction files.

Do I need any dependencies to validate agent files and instructions?

No dependencies are required to validate agent files and instructions. The validation works directly on provider folders to check YAML frontmatter, file types, naming conventions, and body content without external packages.