malformed-compozy

Provides a test fixture with malformed compozy metadata for skill loader validation.

2.7k|171|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/compozy/compozy --skill malformed-compozy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: malformed-compozy
Source: https://github.com/compozy/compozy/tree/main/internal/skills/testdata/loader/malformed-compozy
Command: npx skills add https://github.com/compozy/compozy --skill malformed-compozy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill serves as a test fixture for the Compozy skill loader, providing a deliberately malformed compozy metadata field to verify that the loader correctly detects and rejects invalid skill definitions.

Core Features & Use Cases

  • Malformed Metadata Fixture: Contains a compozy metadata value that is a string instead of the expected map structure.
  • Loader Validation Testing: Used in the skill loader's test suite to confirm error handling for invalid frontmatter.
  • Use Case: A developer working on the Compozy skill loader runs the test suite, and this fixture ensures the loader returns a proper error when encountering non-map compozy metadata.

Quick Start

Run the skill loader test suite against the testdata directory to verify that malformed compozy metadata is rejected with an appropriate error.

Frequently Asked Questions about malformed-compozy

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

FAQPage Schema
What is the malformed-compozy skill used for?

It is a test fixture in the Compozy repository used to verify that the skill loader correctly rejects skills whose compozy metadata is not a map. It contains intentionally invalid frontmatter and is not a functional skill.

How do I test skill loader error handling in Compozy?

Run the Go test suite covering internal/skills/loader, which loads fixtures from the testdata directory. Fixtures like malformed-compozy assert that invalid metadata structures produce the expected parse errors.

Why does skill loading fail with malformed compozy metadata?

Loading fails because the compozy metadata field must be a map structure, but this fixture defines it as the string 'definitely-not-a-map'. The loader's type validation detects the mismatch and returns an error.

Can I use malformed-compozy as a working skill?

No, it exists only as negative test data for the loader. Its body contains no operational instructions, and its metadata is intentionally invalid, so it should never be loaded as a real skill.