Repository navigation
Document and enforce the em dash rule - #16
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.pyfails anydescription:containing an em dash. Verified by seeding one: exit 2 withdescription: contains an em dash -- use a comma, colon or period. All 683 skills pass as they stand.CONTRIBUTING.mdgains 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'sdescriptionline no longer models an em dash and points at the rule.Why the description is the hard no
scripts/sync_skills.pyin the docs repo copiesdescriptionverbatim 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.