Agent skill · Data & Analytics

em-dash

Expert on the history, origin, and correct use of the em dash. Use when writing or reviewing code, comments, or data files to avoid em and en dashes, defaulting to never using them and replacing any found with a hyphen (-). Includes strong knowledge of punctuation marks and the proper usage of punctuation characters when writing comments.

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill em-dash --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 1
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/em-dash/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# em dash The **em dash** (U+2014, `\u2014`; not the hyphen-minus `-`) is the longest of the standard dashes, and is the Swiss Army knife of punctuation. Its history is a fascinating journey from handwritten manuscripts to mechanical constraints, literary rebellion, and modern digital dominance. Here is a breakdown of how the em dash evolved: ## History of the em dash ### Early Beginnings (15th-18th Century) - The First Dashes: Early appearances of the dash in English literature date back to 1580 in private letters and 1588 in English drama. They were often used to indicate pauses, self-interruption, or an unfinished thought - Gutenberg and Early Printing: The em dash officially emerged as a standardized typesetting mark during the 15th-century printing revolution #### The Etymology - The "M" Width: The em dash is named because its standard length is equal to the width of the capital letter "M" in the specific typeface being used (Similarly, the slightly shorter en dash is the width of the letter "N") ### Literary Popularity (17th-19th Century) - The Author's Tool: By the 17th and 18th centuries, it became a beloved tool for writers mimicking the natural lurches, stutters, and rhyt

What's inside
Steps it walks through
  1. History of the em dash
  2. Early Beginnings (15th-18th Century)
  3. Literary Popularity (17th-19th Century)
  4. The Typewriter Era (19th-20th Century)
  5. The Digital Age (Present Day)
  6. Analysis of em dash History
  7. When to use em or en dashes
  8. In Code Files
  9. In Raw Data and/or Text Files
  10. Other Punctuation Characters
  11. End-of-Sentence Marks
  12. Pauses and Clause Connectors
  13. Words, Quotations, and Possessions
  14. Dashes and Slashes
Commands it runs
For en dash and em dash
echo - | sed "s/-/-/g"
Replace Unicode en dash (U+2013) and em dash (U+2014) with hyphen-minus (-)
perl -CS -pe 's/\x{2013}|\x{2014}/-/g'
For encoded characters
echo � | sed "s/�/ /g"
perl -CS -pe 's/\x{FFFD}/ /g'
More from awesome-copilot
All skills →
About this skill
What does the em-dash skill do?

Expert on the history, origin, and correct use of the em dash. Use when writing or reviewing code, comments, or data files to avoid em and en dashes, defaulting to never using them and replacing any found with a hyphen (-). Includes strong knowledge of punctuation marks and the proper usage of punctuation characters when writing comments.

How do I install it?

Run `npx skills add github/awesome-copilot --skill em-dash --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going