rule-validation

Validate SKILL.md frontmatter and sections, logging syntax errors to skills_check_log.md.

10|7|Updated Sep 24, 2025
One-click install
npx skills add https://github.com/matsuni-kk/agent_template_public --skill rule-validation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rule-validation
Source: https://github.com/matsuni-kk/agent_template_public/tree/main/.cursor/skills/rule-validation
Command: npx skills add https://github.com/matsuni-kk/agent_template_public --skill rule-validation

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps ensure all Skill units are well-formed by validating the SKILL.md frontmatter and structure, and logs issues for remediation across Skills/Agents/Commands.

Core Features & Use Cases

  • Validate the presence of SKILL.md and required frontmatter (name, description).
  • Check for required sections (Instructions, Resources, Next Action) and the assets directory, ensuring the Skill meets gating rules.
  • Generate and update a consolidated skills_check_log.md and prepare remediation notes for QC.

Quick Start

Run the rule-validation workflow to validate all Skill units and generate the skills_check_log.md.

Frequently Asked Questions about rule-validation

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

FAQPage Schema
How do I validate SKILL.md frontmatter and structure automatically?

To validate SKILL.md frontmatter and structure automatically, run the validation workflow to execute validate_skills.py. It checks all Skills, Agents, and Commands directories for required name, description, and mandatory sections.

What does a skills check log include for QC remediation?

A skills check log includes syntax errors, missing frontmatter, and missing required sections like Instructions, Resources, and Next Action. It generates consolidated results and remediation notes in skills_check_log.md.

Can I use this workflow to check for required sections and assets directory?

Yes, you can use this workflow to check for required sections and the assets directory. It enforces gating rules by verifying the presence of Instructions, Resources, Next Action sections, and the assets folder in SKILL.md files.

How do I log syntax errors across Skills, Agents, and Commands?

To log syntax errors across Skills, Agents, and Commands, execute the validation script. It scans all SKILL.md files within these directories and writes the identified syntax issues directly to a consolidated skills_check_log.md file.

Why are my Skill units failing gating rules during validation?

Skill units fail gating rules during validation when required frontmatter like name or description is missing, or when mandatory sections including Instructions, Resources, and Next Action are absent from the SKILL.md file.