This skill helps you manage cspell unknown word warnings by guiding config bootstrap, text adjustments, and scoped directives.
npx playbooks add skill vdustr/vp-claude-code-marketplace --skill cspell
Prioritized strategy for handling cspell unknown word warnings. Classify each flagged word, pick the narrowest fix, and optionally bootstrap cspell config for projects that don't have it yet.
> Documentation: Fetch cspell syntax and config details via Context7 (/streetsidesoftware/cspell) at runtime; never rely on hardcoded syntax.
When NOT to use: For non-cspell spell checkers (typo, codespell, Vale, textlint). For other linting tools (ESLint, markdownlint), use their respective strategies.
package.json (cspell field), .cspell.json, cspell.json, cspell.config.{json,mjs,js,cjs,yaml,yml,toml}, cspell.{yaml,yml}, and their ./.config/ prefixed variants (e.g., .cspell.config.yaml, .config/cspell.json). Also check .vscode/cspell.json. If none found: notify user, do NOT auto-fix, offer to bootstrap (see below). Note: cspell.* settings in .vscode/settings.json are IDE-local and do not count as project config.| Priority | Strategy | When to Use |
|----------|----------|-------------|
| 1 | Adjust text | Compound word cspell doesn't recognize; restructuring is safe (hyphenate, camelCase). See [decision-tree.md](references/decision-tree.md) for the full exception list |
| 2 | Project dictionary | Word appears in 2+ files or is expected to recur project-wide |
| 3 | Inline directive | One-off word in a single file/location. See [decision-tree.md](references/decision-tree.md) for directive selection and placement |
When a repo has no cspell config and the user wants to add one, guide through an interactive Q&A flow.
See [config-bootstrapping.md](references/config-bootstrapping.md) for the full interactive setup flow.
cspell:words at file top for discoverabilitycspell:disable to suppress large sections when individual words can be handled| Error | Action |
|-------|--------|
| No write permission to config | Notify user, suggest manual edit path |
| Excessive cspell . output | Scope to source directory, configure ignorePaths first |
| Context7 unavailable | Fall back to [cspell.org](https://cspell.org/configuration/) or cspell init --help |
> For bootstrapping-specific errors (cspell CLI not installed, cspell init fails), see [config-bootstrapping.md](references/config-bootstrapping.md).
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.