Highlight and fix spelling and grammar mistakes in user-provided text. Use this skill whenever the user asks to proofread, spellcheck, find typos, correct grammar, or review writing for errors — even if they phrase it casually (e.g. "check this", "any mistakes?", "clean this up"). Do NOT rewrite or paraphrase content; only surface and fix errors.
Proofread user-provided text for spelling and grammar mistakes, then present the corrected text with only the corrected words bolded, followed by a table of changes.
Present the corrected text with each corrected word wrapped in shown in ITALIC BOLD RED so only the changed words stand out in italic bold red while other text are just normal text (non-bold and terminal colored). Below the corrected text, list each correction in a table showing the original and corrected word.
Output will use formatting options like "<span style="color:red">xyzzy</span>" to indicate output formatting and color, please show them in the terminal directly with the styling choices applied.
Input text:
She recieved the the packege yesturday and was very suprised.
Output:
She <span style="color:red">received</span> <span style="color:red">the</span> package <span style="color:red">yesterday</span> and was very <span style="color:red">surprised</span>.
| Original | Corrected | Reason |
|---|---|---|
| recieved | received | Misspelling |
| the the | the | Duplicate word |
| packege | package | Misspelling |
| yesturday | yesterday | Misspelling |
| suprised | surprised | Misspelling |
If the text contains no spelling or grammar mistakes, say so clearly and do not produce a diff.
If something looks like a possible error but could be intentional (e.g. a brand name, a dialect word, or unconventional punctuation for stylistic effect), add a short note below the diff rather than changing it:
⚠️ Note: "colour" — kept as-is (British English spelling, likely intentional).
After presenting the corrections:
Use the AskUserQuestion tool to present an interactive selection (the user navigates with arrow keys and confirms with Enter):
Apply every correction to the source file using the Edit tool, then confirm:
"Done — X corrections applied."
For each correction, use the AskUserQuestion tool to ask:
Correction X/Y: "original" → "corrected". Apply this fix?After all corrections are reviewed, apply the accepted ones and confirm:
"Done — X of Y corrections applied."
Say "No changes made." and stop.