原始内容
pi-spell-check
Spell-check extension for pi coding agent.
Press Ctrl+Shift+S to fix spelling and grammar in the editor. Uses the current model via a tool call for reliable structured extraction.
Install
pi install npm:pi-spell-check
How it works
- Reads the current editor text
- Sends it as JSON (
{ "text": "..." }) to the active model with a spell-correction tool - Extracts the corrected text from the tool call response
- Replaces the editor content
Works with any editor, including custom editors like vim mode extensions.
License
MIT