correct-name

Detect mismatches between YAML frontmatter names and slugs in skill.meta.json.

113|9|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/ricoyudog/Coding_Corgi_flow --skill correct-name-ricoyudog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: correct-name
Source: https://github.com/ricoyudog/Coding_Corgi_flow/tree/main/tools/ds-skills/tests/fixtures/invalid-slug-mismatch
Command: npx skills add https://github.com/ricoyudog/Coding_Corgi_flow --skill correct-name-ricoyudog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill detects and reports inconsistencies between a skill's declared identifier (slug) in metadata and the human-facing name defined in SKILL.md, preventing broken discovery and installation behavior.

Core Features & Use Cases

  • Metadata consistency check: Ensures the slug in skill.meta.json matches the name in SKILL.md frontmatter to avoid mismatched skill registration.
  • Fixture-driven validation: Uses a known invalid fixture case to reproduce and verify the error condition reliably.
  • Use case: When publishing a new skill, run the validation to catch naming/slug mismatches early so your skill is discoverable and installable as intended.

Quick Start

Ask your AI pipeline to validate the skill directory tools/ds-skills/tests/fixtures/invalid-slug-mismatch and confirm it reports a slug/name mismatch.

Frequently Asked Questions about correct-name

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

FAQPage Schema
How do I validate skill metadata consistency before publishing?

To validate skill metadata consistency, run a check that compares the slug in skill.meta.json against the YAML frontmatter name in SKILL.md. This detects mismatches early, preventing broken skill discovery and installation behavior in your registry.

Why does my skill registry fail to discover a newly published skill?

Your skill registry fails discovery when the slug in skill.meta.json does not match the YAML frontmatter name in SKILL.md. Running a metadata consistency check surfaces an actionable validation error to fix this exact mismatch.

Can I use metadata validation in CI testing for skill packaging?

Yes, you can use metadata validation in CI testing for skill packaging. It applies to CI or local testing environments to enforce alignment requirements and catch naming inconsistencies before skills are published to a registry.

How do I test for slug and name mismatches in SKILL.md frontmatter?

To test for slug and name mismatches, validate your skill directory against a known invalid fixture case. This fixture-driven approach reliably reproduces and verifies the error condition during local testing or CI pipeline execution.

What happens when a skill's declared slug does not match its frontmatter name?

When a declared slug does not match its frontmatter name, the validation process surfaces an actionable validation error. This enforces strict identifier alignment for atom-like units and prevents inconsistent metadata fields from breaking registration.

Do I need to fix metadata mismatches before refactoring skill identifiers?

Yes, you need to fix metadata mismatches before refactoring skill identifiers. Validating strict identifier alignment ensures that both the human-facing name in SKILL.md and the slug in skill.meta.json remain synchronized during registry updates.