| name | grammar-check |
| description | Scan content files for prohibited punctuation (hyphens as dashes, endashes, emdashes) and rewrite using preferred alternatives |
| user_invocable | true |
Grammar and Punctuation Check
Role: implementation. This skill modifies content files to fix
prohibited dash punctuation.
Scan content files for prohibited dash-like punctuation and rewrite sentences to use preferred grammar marks instead.
Constraints
- Minimal changes. Only rewrite sentences containing prohibited punctuation. Do not reformat or improve surrounding content.
- Be concise. Output the change summary. No preambles.
- Preserve meaning. Rewrites must preserve the original meaning of every sentence.
- Validate after changes. Re-scan the file after edits to confirm no violations remain.
Prohibited Characters
These characters must NEVER appear as grammatical punctuation in content files:
| Character | Name | Example of violation |
|---|
- | Hyphen used as a dash | The team ships - when ready |
-- | Double hyphen | The team ships -- when ready |
– | Endash (U+2013) | The team ships – when ready |
— |