bad--name

Detect identifiers containing consecutive hyphens in names and slugs.

484|76|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/bastani-inc/atomic --skill bad-name-bastani-inc
Or copy as Structured Prompt for Agentā–¼
Please help me install this Agent Skill.
Skill: bad--name
Source: https://github.com/bastani-inc/atomic/tree/main/packages/coding-agent/test/fixtures/skills/consecutive-hyphens
Command: npx skills add https://github.com/bastani-inc/atomic --skill bad-name-bastani-inc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you recognize and handle names or identifiers that contain consecutive hyphens, preventing edge-case errors in validation and tooling.

Core Features & Use Cases

  • Name validation: Check whether a value like a skill name, slug, or identifier contains repeated hyphens.
  • Edge-case testing: Use it to confirm parsers, linters, and fixtures correctly handle malformed hyphen patterns.
  • Review support: Flag suspicious naming conventions before they cause downstream confusion.

Quick Start

Ask the AI to review the provided names and identify any entries that contain consecutive hyphens.

Frequently Asked Questions about bad--name

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

FAQPage Schema
How do I check if an identifier contains consecutive hyphens?ā–¼

You can validate identifiers by scanning them for consecutive hyphens, which flags malformed names that might break downstream parsing, linting, or fixture testing in tooling that expects strict hyphen placement.

Why does consecutive hyphen validation matter for slug and name parsing?ā–¼

Consecutive hyphen validation matters because malformed names with repeated hyphens often cause edge-case parsing errors, configuration validation failures, and inconsistent behavior in downstream tooling that processes hyphenated identifiers.

Can I use this to test edge cases in linting and fixture validation?ā–¼

Yes, you can use it for edge-case testing to confirm that your linters, parsers, and test fixtures correctly recognize and handle malformed hyphen patterns during naming audits and configuration validation.

What's the best way to flag suspicious naming conventions before they cause parsing errors?ā–¼

The best way to flag suspicious naming conventions is to perform a dedicated naming audit that checks identifiers for consecutive hyphens, ensuring strict recognition of hyphen placement and consistent reporting of malformed names.

How do I validate configuration files for invalid hyphenated names?ā–¼

You validate configuration files by running a validation check against the provided names or identifiers to identify any entries containing consecutive hyphens, preventing edge-case errors before they affect your tooling.