regression-fixture

Detect missing trigger phrases in SKILL.md frontmatter for regression tests.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/charleshall888/cortex-command --skill regression-fixture
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: regression-fixture
Source: https://github.com/charleshall888/cortex-command/tree/main/tests/fixtures/skill_design/skills/regression-fixture
Command: npx skills add https://github.com/charleshall888/cortex-command --skill regression-fixture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This synthetic skill unit provides a deterministic fixture for regression tests, enabling reliable detection of missing trigger phrases and other frontmatter validation logic.

Core Features & Use Cases

  • Self-contained frontmatter with a name and description to simulate real skills in test suites.
  • Used in unit tests to validate that the failure-detection path triggers when a declared trigger phrase is absent.
  • Useful for validating parser robustness and error messaging in the skill discovery pipeline.

Quick Start

Run the test that asserts the parser flags a missing trigger phrase in the SKILL.md frontmatter.

Frequently Asked Questions about regression-fixture

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

FAQPage Schema
How do I test that my YAML frontmatter parser rejects missing trigger phrases?▼

You can use a synthetic regression fixture to simulate an invalid SKILL.md file, allowing your unit tests to assert that the parser correctly triggers a failure when a required trigger phrase is absent from the YAML frontmatter.

What is a regression fixture for frontmatter validation?▼

A regression fixture for frontmatter validation is a minimal, self-contained skill unit with deliberately incomplete YAML metadata, used to exercise and verify the error-detection paths in a skill discovery pipeline.

How do I validate error messaging in a skill discovery pipeline?▼

To validate error messaging in a skill discovery pipeline, run unit tests against a deterministic fixture that defines invalid frontmatter, ensuring the parser accurately flags and reports missing trigger phrases during skill discovery.

Can I use a synthetic skill unit to simulate real skills in test suites?▼

Yes, you can use a synthetic skill unit as a deterministic fixture in test suites to simulate real skills, specifically validating parser robustness and failure-detection logic without needing actual production skill files.

Why does my skill parser fail to detect missing trigger phrases in frontmatter?▼

Your skill parser may lack adequate regression test coverage for invalid frontmatter, meaning you need a self-contained fixture to exercise the error path and ensure missing trigger phrases trigger a rejection.