Hasty Briefsbeta

Bilingual

Catching Typos on My Website with Browser Testing

a day ago
  • #Bombadil
  • #spell-checking
  • #web-testing
  • Bombadil's specification language uses TypeScript and can access NPM packages.
  • A specification was written to spell-check a website using nspell with American/British English dictionaries and a personal word list.
  • Bombadil randomly walks the website, collects misspelled words as violations, and is fast and strict.
  • Claude Code with a spell-checking skill is used for a slow, loose triage loop, flagging words in many posts.
  • The hybrid approach fixed 13 typos and added 130+ words to a personal dictionary over 10 years.
  • Spell-checking rendered output externally avoids issues with syntax and templating in source-level tools.
  • The custom dictionary is shared between Bombadil and Neovim, using a single source of truth.
  • Using NPM packages like nspell and tlds extends Bombadil's utility beyond property-based testing of web apps.
  • A nightly job setup is suggested for large websites, with human involvement and domain-specific dictionary building.