Skip to content

Document and enforce the em dash rule - #16

Merged
bryan-getthread merged 1 commit into
mainfrom
skills/punctuation-rule
Sep 10, 2026
Merged

bryan-getthread merged 1 commit into
mainfrom
skills/punctuation-rule

Conversation

@bryan-getthread

Copy link
Copy Markdown
Collaborator

Summary

Completes #15, which swept 1,060 em dashes out of skill prose but shipped without the rule that keeps them out. A git checkout . while redoing the description pass reverted these three files before the commit, so the library ended up with clean descriptions and nothing preventing the next one.

Changes

  • tools/validate.py fails any description: containing an em dash. Verified by seeding one: exit 2 with description: contains an em dash -- use a comma, colon or period. All 683 skills pass as they stand.
  • CONTRIBUTING.md gains Punctuation: em dashes sparingly: what replaces a dash (comma for an aside, colon before an explanation or list, period for a standalone clause, parentheses for a parenthetical), the measured before and after, and the prompt-block exemption.
  • TEMPLATE.md's description line no longer models an em dash and points at the rule.

Why the description is the hard no

scripts/sync_skills.py in the docs repo copies description verbatim into each page's meta description, so a dash there ships into search results. It is also a single trigger sentence, which never needs the break. Body prose keeps the softer sparingly rule, and prompt blocks stay exempt: they are the runnable artifact a partner pastes into Super Magic.

The sweep in #15 landed the prose changes but not the rule behind them: a
`git checkout .` while redoing the description pass reverted these three
files before the commit, so descriptions were clean with nothing stopping
the next one.

tools/validate.py now fails a `description` containing an em dash
(verified: exit 2 on a seeded one), CONTRIBUTING.md carries the rule and
the prompt-block exemption, and TEMPLATE.md no longer models a dash in the
line an author copies.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@bryan-getthread
bryan-getthread merged commit 343357b into main Sep 10, 2026
1 check passed
@bryan-getthread
bryan-getthread deleted the skills/punctuation-rule branch September 10, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant