invalid-yaml

Identifies and flags skills with syntactically incorrect YAML frontmatter in SKILL.md files.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/XiongJingzhi/agent-learn --skill invalid-yaml
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: invalid-yaml
Source: https://github.com/XiongJingzhi/agent-learn/tree/main/app/pi-mono/packages/coding-agent/test/fixtures/skills/invalid-yaml
Command: npx skills add https://github.com/XiongJingzhi/agent-learn --skill invalid-yaml

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill is intended to demonstrate a skill with invalid YAML frontmatter.

Core Features & Use Cases

  • Invalid YAML: The SKILL.md file contains malformed YAML, preventing proper parsing.
  • Use Case: Used in testing scenarios to ensure robustness against malformed skill definitions.

Quick Start

This skill cannot be used due to its invalid YAML.

Frequently Asked Questions about invalid-yaml

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

FAQPage Schema
How do I validate YAML frontmatter syntax in SKILL.md files?

To validate YAML frontmatter, you need a strict YAML parser to detect syntax errors like unclosed brackets or incorrect indentation in SKILL.md files. This flags malformed skill definitions during automated validation.

What happens when a skill definition has invalid YAML?

Invalid YAML prevents proper parsing of the skill definition, which breaks automated skill validation and CI/CD pipelines for agent development by halting the loading of the malformed SKILL.md file.

How do I test CI/CD pipeline robustness against malformed YAML?

You test CI/CD robustness by introducing a skill with invalid YAML frontmatter into the testing scenario. This ensures your automated validation logic properly detects and flags syntactically incorrect SKILL.md files.

What types of YAML syntax errors should skill validation detect?

YAML validation for skill definitions should detect syntax errors such as unclosed brackets and incorrect indentation. Strict parsing is required to accurately flag these formatting issues in SKILL.md frontmatter.

Can I use a skill with malformed YAML frontmatter in production?

No, you cannot use a skill with malformed YAML in production because the invalid frontmatter prevents proper parsing. It is strictly for testing scenarios to ensure robustness against malformed skill definitions.