بنقرة واحدة
check-spelling
Check and fix spelling in project source files using cSpell
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Check and fix spelling in project source files using cSpell
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف 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.