# Spell-check docs and code comments with source-aware filters using pyspelling

> Run filtered spell checks over Markdown, Sphinx, HTML, or code comments without flattening everything into one noisy text stream.

- Skill: `agentskillexchange/spell-check-docs-and-code-comments-with-source-aware-filters` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/spell-check-docs-and-code-comments-with-source-aware-filters`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/spell-check-docs-and-code-comments-with-source-aware-filters/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/spell-check-docs-and-code-comments-with-source-aware-filters

---


# Spell-check docs and code comments with source-aware filters using pyspelling

Run filtered spell checks over Markdown, Sphinx, HTML, or code comments without flattening everything into one noisy text stream.

## Prerequisites

Python, pyspelling, and an installed dictionary backend such as Aspell or Hunspell.

## Installation

Requirements and caveats from upstream:
- [![PyPI - Python Version][python-image]][pypi-link]
- names, PySpelling can do it. If you want to scan Python files for docstrings, but also avoid specific content within the
- Python modules, you can easily write your own.

- Source: https://github.com/facelessuser/pyspelling
- Extracted from upstream docs: https://raw.githubusercontent.com/facelessuser/pyspelling/HEAD/README.md

## Documentation

- https://facelessuser.github.io/pyspelling/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/spell-check-docs-and-code-comments-with-source-aware-filters-using-pyspelling/)

