Typo Hunter

Catch typos, homophones, and near-miss misspellings across code, docs, and markdown, in a commit, your staged changes, a file, or a whole directory.

Install
cmdop skills install agensi-typo-hunter

Advanced Typo Detection for Developers

Typo Hunter is a professional-grade spelling and linguistic analysis tool designed for integration into CI/CD pipelines and local development environments. It goes beyond simple regex-based spellcheckers by utilizing system-level dictionaries and phonetic algorithms to provide high-accuracy corrections for codebases and documentation.

What it does

The skill scans your repository at multiple levels—whether it's the last commit, staged changes, or specific directories. It extracts user-facing text while intelligently ignoring minified files, lockfiles, and code identifiers to reduce noise.

  • Multi-layered Detection: Combines Aspell/Enchant dictionaries with Levenshtein edit distance (limit 2) and Soundex phonetic matching.
  • Context-Aware Homonyms: Uses linguistic rules to catch "their/there/they're" and "its/it's" errors that standard spellcheckers miss.
  • Smart Filtering: Automatically excludes URLs, hashes, and binary data to ensure reports remain actionable.
  • Confidence Scoring: Each finding is ranked (High/Medium/Low) based on phonetic similarity and dictionary coverage.

Why use this skill

Automating typo detection prevents embarrassing mistakes in user-facing UI, documentation, and commit messages. Unlike manual prompting, this skill uses deterministic Python scripts and system-level tools to ensure 100% coverage of your diffs with zero hallucinations.