What problem does it solve?
Em dashes (U+2014) and en dashes (U+2013) frequently appear in AI-generated text and pasted content, but they do not belong in source code, code comments, or machine-readable files. This Skill enforces a consistent punctuation policy by replacing these Unicode dashes with the standard hyphen-minus character.
Core Features & Use Cases
- Dash Detection and Replacement: Identifies em dashes and en dashes in code files and comments and replaces them with the hyphen (-) character.
- Punctuation Reference: Provides a detailed guide to punctuation characters, marking which are keyboard characters and which appear in programming language syntax.
- Shell Replacement Commands: Includes ready-to-use sed and perl one-liners for stripping Unicode dashes and replacement characters (U+FFFD) from text.
- Use Case: When an AI agent writes or edits code comments, use this Skill to ensure no em dashes slip into the codebase, keeping files ASCII-safe and consistent.
Quick Start
Review my code comments and replace any em dashes or en dashes with hyphens.