com um clique
check-spelling
Check and fix spelling in project source files using cSpell
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Check and fix spelling in project source files using cSpell
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
| name | check-spelling |
| description | Check and fix spelling in project source files using cSpell |
Run npm install from the repository root to install cspell from devDependencies in the root package.json. Then run npx cspell <command> to use the locally installed version.
The cSpell configuration is in .cspell.json at the repository root. When running any cspell command, pass --config .cspell.json.
The configuration has the following structure:
words: array of accepted words applied repo-wide.overrides: array of per-glob overrides, each with a filename glob and its own words array. For example, **/tsconfig.json has its own word list.ignorePaths: array of paths excluded from spell checking.Run npx cspell lint --config .cspell.json . to check spelling across the repository.
Show a summary of the misspelling to the user. Prompt the user for which words should be replaced with another word.
Add remaining words to .cspell.json:
filename glob, add it to that override's words array.words array.Seldom used words can be ignored within the file they are used by adding an appropriate comment e.g.:
// cspell:ignore <word>
Run the same command again used to check spelling. All misspellings should be fixed.