home / skills / pproenca / dot-skills / invalid-name-consecutive-hyphens
This skill detects invalid skill names containing consecutive hyphens and enforces proper naming conventions to ensure robust repository validation.
npx playbooks add skill pproenca/dot-skills --skill invalid-name-consecutive-hyphensReview the files below or copy the command above to add this skill to your agents.
---
name: invalid--name
description: This skill has consecutive hyphens in the name which should fail validation.
---
# Invalid Name Skill
This skill has consecutive hyphens in the name.
This skill demonstrates a naming validation failure: its identifier contains consecutive hyphens. It is intentionally crafted to fail schema or registry checks that enforce name format rules. The skill exists to help test tooling and CI pipelines that validate agent skill metadata.
The skill metadata uses an invalid name with consecutive hyphens, which violates common name-format rules (e.g., allowed characters, no repeated separators). Validation tools will detect the malformed identifier and return an error or reject the package. It does not provide runtime logic beyond serving as a test artifact for name-validation flows.
Why does the name fail validation?
The name contains consecutive hyphens which most schemas treat as an invalid pattern or repeated separator; registries typically require single separators and restrict certain characters.
How do I fix this issue?
Rename the skill to remove consecutive hyphens (e.g., replace "invalid--name" with "invalid-name" or another valid identifier) and re-run validation.