soma spell
spellinggrammardocscanadian-englishwriting
soma install script soma-spell Run in a Soma session to add to your project.
curl -sO https://raw.githubusercontent.com/meetsoma/community/main/scripts/soma-spell.md Download and copy to .soma/scripts/soma-spell.md — or view on GitHub ↗
Details
soma-spell
Canadian English spelling checker and auto-fixer. Catches American spellings (color → colour, analyze → analyse) and offers automatic fixes. Supports a project-level dictionary for custom terms.
Commands
| Command | What it does |
|---|---|
check <file-or-dir> |
Scan for American spellings |
fix <file-or-dir> |
Auto-fix American → Canadian |
rules |
Show all spelling rules |
Usage
# Check a docs directory
soma-spell.sh check docs/
# Fix all blog posts
soma-spell.sh fix src/content/blog/
# Check everything
soma-spell.sh check --all
# See the rules
soma-spell.sh rules
Project Dictionary
Add project-specific terms to .soma/dictionary.txt (one word per line) to suppress false positives on brand names, technical terms, or intentional American spellings.
Install
cp soma-spell.sh ~/.soma/amps/scripts/soma-spell.sh
chmod +x ~/.soma/amps/scripts/soma-spell.sh