bad-enum-scope

Validate Skill frontmatter scope against the allowed enum set.

8|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/usurobor/cnos --skill bad-enum-scope
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bad-enum-scope
Source: https://github.com/usurobor/cnos/tree/main/schemas/fixtures/skill-frontmatter/invalid/bad-enum-scope
Command: npx skills add https://github.com/usurobor/cnos --skill bad-enum-scope

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures that the scope in YAML frontmatter of Skill units adheres to the defined enum, preventing invalid configurations.

Core Features & Use Cases

  • Enum validation: checks the scope field against the allowed set.
  • Fixture testing: helps catch misconfigured fixtures in test Data.
  • Validation feedback: reports the specific invalid values to guide corrections.

Quick Start

Validate a Skill YAML frontmatter by checking that the scope value matches the allowed enum.

Frequently Asked Questions about bad-enum-scope

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

FAQPage Schema
How do I validate a YAML frontmatter scope field against an enum?

To validate a YAML frontmatter scope field, check the scope value against an allowed enum set to ensure it matches. This process enforces the scope field's presence and restricts it to defined values, preventing invalid configurations.

What happens when a scope field in a YAML fixture has an invalid enum value?

When a scope field in a YAML fixture has an invalid enum value, validation feedback reports the specific invalid values to guide corrections. This catches misconfigured fixtures during Skill discovery and validation.

Do I need scope enum validation for testing Skill frontmatter fixtures?

Yes, you need scope enum validation for testing Skill frontmatter fixtures to catch misconfigured test data. It ensures the scope field is present and restricts it to the defined enum set during Skill discovery.

Why does my YAML frontmatter fail validation during Skill discovery?

Your YAML frontmatter fails validation during Skill discovery if the scope field is missing or contains a value not in the allowed enum. Validating against the defined enum set catches these invalid scope values.