yaml-validator

Validates Hyper-Extract YAML templates for syntax and structural correctness.

3.3k|386|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/yifanfeng97/Hyper-Extract --skill yaml-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yaml-validator
Source: https://github.com/yifanfeng97/Hyper-Extract/tree/main/hyperextract-skills/yaml-validator
Command: npx skills add https://github.com/yifanfeng97/Hyper-Extract --skill yaml-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill checks Hyper-Extract YAML templates for syntax errors, missing required fields, incorrect types, and improper identifier configurations, preventing failed extractions and runtime issues.

Core Features & Use Cases

  • Syntax Checking: Ensures the YAML file is valid and parsable.
  • Structure Validation: Verifies required top‑level fields like language, name, type, tags, description, output, and guideline.
  • Type‑Specific Rules: Applies AutoType‑specific checks for models, lists, sets, graphs, hypergraphs, temporal and spatial graphs.
  • Identifier Verification: Confirms entity_id, relation_id, relation_members, and time/location fields are correctly defined.
  • Error Reporting: Generates clear validation results with error levels (ERROR, WARNING, INFO).

Quick Start

Ask the validator to check a template file and return a pass/fail summary.

Frequently Asked Questions about yaml-validator

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

FAQPage Schema
How do I validate Hyper-Extract YAML templates for syntax errors?

Validating Hyper-Extract YAML templates involves checking syntax, verifying required top-level fields like language and name, and applying AutoType-specific rules to ensure structural correctness and prevent failed extractions.

What fields are required in a Hyper-Extract YAML configuration?

Required top-level fields in a Hyper-Extract YAML configuration include language, name, type, tags, description, output, and guideline, ensuring the template has the necessary structure for proper extraction processing.

How do I check identifier configurations in a YAML extraction template?

Checking identifier configurations in a YAML extraction template requires verifying that entity_id, relation_id, relation_members, and time or location fields are correctly defined according to built-in validation rules.

Does the validator support all AutoType-specific rules for temporal and spatial graphs?

The validator supports AutoType-specific checks for models, lists, sets, graphs, hypergraphs, temporal graphs, and spatial graphs, applying distinct validation rules to each type to ensure correct template structure.

Why does my YAML template fail validation before extraction?

A YAML template fails validation before extraction due to syntax errors, missing required fields, incorrect types, or improper identifier configurations, which are detected and reported with clear error levels like ERROR or WARNING.

Can I get a detailed error report for a broken YAML template?

You can get a detailed error report for a broken YAML template that generates clear validation results with error levels categorized as ERROR, WARNING, and INFO, helping identify and fix specific structural or syntactic issues.