bad--name

Validate SKILL.md frontmatter names to reject consecutive hyphens.

1.0k|92|Updated May 22, 2026
One-click install
npx skills add https://github.com/open-gsd/gsd-pi --skill bad-name-open-gsd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bad--name
Source: https://github.com/open-gsd/gsd-pi/tree/main/packages/pi-coding-agent/test/fixtures/skills/consecutive-hyphens
Command: npx skills add https://github.com/open-gsd/gsd-pi --skill bad-name-open-gsd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents creating skill units with invalid names that contain consecutive hyphens, ensuring reliable discovery and tooling.

Core Features & Use Cases

  • Enforces a valid name format at skill definition time.
  • Provides immediate feedback when a name violates the hyphen rule.
  • Supports remediation by suggesting or auto-sanitizing the problematic segment.

Quick Start

Update the SKILL.md frontmatter name to remove consecutive hyphens and re-run the validator.

Frequently Asked Questions about bad--name

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

FAQPage Schema
How do I validate skill unit names to prevent consecutive hyphens in YAML frontmatter?

To validate skill unit names, check the YAML frontmatter name field for consecutive hyphens and normalize or reject the invalid sequence. This validation ensures stable identifiers for reliable unit discovery and tooling workflows.

Why does my skill unit discovery fail when the SKILL.md name contains consecutive hyphens?

Skill unit discovery fails because consecutive hyphens create invalid naming patterns that break tooling workflows relying on stable, hyphen-separated identifiers. The validator rejects these names to maintain reliable unit discovery and prevent tooling errors.

What is the correct YAML frontmatter format for skill unit naming?

The correct YAML frontmatter format requires a simple name field and description without consecutive hyphens. You must use single hyphens to separate words in the skill unit name, ensuring the identifier remains stable for discovery and tooling workflows.

How do I fix invalid skill names with consecutive hyphens during validation?

To fix invalid skill names, update the SKILL.md frontmatter name field to remove consecutive hyphens and re-run the validator. The validator suggests or auto-sanitizes the problematic segment to ensure the name meets the hyphen-separated identifier rule.

Do I need any dependencies to validate hyphens in SKILL.md frontmatter?

No dependencies are required to validate hyphens in SKILL.md frontmatter. The validator operates directly on the simple name field and description within the YAML frontmatter, performing a normalization step to remove or reject invalid hyphen sequences.