---
title: "Spell-check docs and code comments with source-aware filters using pyspelling"
description: "Run filtered spell checks over Markdown, Sphinx, HTML, or code comments without flattening everything into one noisy text stream."
verification: "listed"
source: "https://github.com/facelessuser/pyspelling"
author: "facelessuser"
publisher_type: "individual"
category:
  - "Code Quality & Review"
framework:
  - "Multi-Framework"
tool_ecosystem:
  github_repo: "facelessuser/pyspelling"
  github_stars: 94
---

# 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

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
<p>Install the Python package with <code>pip install pyspelling</code>, install a supported backend such as Aspell or Hunspell, define spelling tasks in the project configuration, then run <code>pyspelling</code> in the repository or CI job.</p>
```

## 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/)
