Invalid_Name

Validate and sanitize skill names against repository naming rules.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prototype demonstrates how to identify and handle Skill units with invalid naming characters, ensuring consistent naming across the repository.

Core Features & Use Cases

  • Validate skill names against allowed characters and enforce naming rules.
  • Offer auto-sanitization and normalization of names to conform to policy.
  • Use case: when importing new skills, automatically reject or sanitize names that include spaces, uppercase, or underscores.

Quick Start

Run a validation check on the skill directory to ensure the SKILL.md name field matches repository naming standards.

Frequently Asked Questions about Invalid_Name

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

FAQPage Schema
How do I validate skill names in SKILL.md frontmatter for CI pipelines?▼

To validate skill names in SKILL.md frontmatter, this tool checks the 'name' field against repository naming rules during CI validation, detecting invalid characters like underscores or uppercase letters and producing a violation report for remediation.

What characters are not allowed when naming a skill?▼

Invalid characters for skill naming include spaces, uppercase letters, and underscores. The validator enforces an allowed character set to ensure compliance with repository naming standards during skill import.

Can I auto-normalize invalid skill names during import?▼

Yes, you can auto-normalize invalid skill names during import. The tool offers auto-sanitization to automatically adjust non-compliant names to conform to repository naming policy where possible.

How do I fix yaml frontmatter name violations in my repository?▼

To fix yaml frontmatter name violations, run a validation check on the skill directory to identify mismatches against naming standards, then apply auto-sanitization or manually remediate the reported violations.

Why does CI validation fail on skill names with underscores?▼

CI validation fails on skill names with underscores because they violate repository naming rules. The validator enforces strict character sets and flags non-compliant names to maintain consistent repository standards.