bad-skill

Detect malformed YAML frontmatter syntax errors in SKILL.md files.

7|4|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/MadAppGang/magus --skill bad-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bad-skill
Source: https://github.com/MadAppGang/magus/tree/main/tools/claudeup-core/src/__tests__/fixtures/invalid-plugin/bad-frontmatter/skills/bad-skill
Command: npx skills add https://github.com/MadAppGang/magus --skill bad-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill is intended to demonstrate how malformed YAML frontmatter is handled.

Core Features & Use Cases

  • YAML Parsing Failure: The primary function is to fail during the YAML parsing stage due to syntax errors.
  • Demonstration: Used in testing to ensure that invalid YAML prevents a skill from being loaded.

Quick Start

This skill is not intended for direct use due to its invalid configuration.

Frequently Asked Questions about bad-skill

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

FAQPage Schema
Why does YAML parsing fail when loading a SKILL.md file?

Malformed YAML frontmatter causes parsing failures during skill loading by targeting syntax errors like unclosed array brackets and incorrect type assignments for prerequisites, which prevents the invalid skill from loading.

How do I identify malformed YAML frontmatter in a skill unit?

You can identify malformed YAML frontmatter by checking for syntax errors within a SKILL.md file, specifically targeting unclosed array brackets and incorrect type assignments for prerequisite fields to ensure robust error handling during loading.

What happens when a SKILL.md file has invalid YAML syntax?

When a SKILL.md file has invalid YAML syntax, the skill loading process fails during the parsing stage. This behavior is used in testing to demonstrate that syntax errors successfully prevent invalid skills from being loaded.

Does incorrect type assignment for prerequisites break skill loading?

Yes, incorrect type assignments for prerequisites break skill loading. The parsing stage specifically targets these syntax errors within the YAML frontmatter to ensure robust error handling and stop the invalid skill from loading.

Can I use this skill for testing error handling during skill loading?

Yes, this skill is intended for testing error handling during skill loading. It demonstrates how malformed YAML frontmatter, such as unclosed array brackets, causes a parsing failure to prevent invalid configurations from loading.