different-name

Detect mismatches between SKILL.md frontmatter names and parent directory names.

23.2k|2.2k|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/can1357/oh-my-pi --skill different-name
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: different-name
Source: https://github.com/can1357/oh-my-pi/tree/main/packages/coding-agent/test/fixtures/skills/name-mismatch
Command: npx skills add https://github.com/can1357/oh-my-pi --skill different-name

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill detects when the declared skill name in SKILL.md does not match its parent directory, enabling consistent naming and reliable discovery across the skill library.

Core Features & Use Cases

  • Name-directory mismatch detection to catch inconsistencies during skill creation or review.
  • Guidance for remediation to align the directory name with the frontmatter value.
  • Can be integrated into CI checks to prevent future mismatches.

Quick Start

Run the mismatch validator on the skill directory to verify alignment between the directory name and the SKILL.md frontmatter.

Frequently Asked Questions about different-name

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

FAQPage Schema
How do I validate that a SKILL.md frontmatter name matches its directory?

To validate frontmatter name alignment, parse the YAML frontmatter 'name' field and compare it against the parent directory name to detect and flag any mismatches in your skill repository.

Why does skill name validation matter for repository maintenance?

Skill name validation prevents naming drift between the SKILL.md frontmatter and directory names, ensuring consistent discovery, reliable maintenance, and proper governance across the skill library.

Can I integrate skill name mismatch checks into CI pipelines?

Yes, name-directory mismatch detection can be integrated into CI checks to automatically prevent future naming inconsistencies and enforce conventions during skill creation and review processes.

What's the best way to fix a YAML frontmatter name and directory mismatch?

The best way to fix a mismatch is to align the directory name with the declared SKILL.md frontmatter 'name' value, using the validator's guidance for remediation to restore proper naming alignment.

When do I need to parse YAML frontmatter for directory structure validation?

You need to parse YAML frontmatter during skill creation, code review, and CI checks to validate that the declared 'name' field matches the parent directory structure before repository integration.