Skills

Cspell Config

Create or update project cspell configuration by resolving the loaded config, active...

Install

npx skills add microsoft/hve-core --skill cspell-config -g -a claude-code -y
Repository
microsoft/hve-core1.6k
Category
Engineering
Updated
3d ago
License
MIT
Context cost
Mediumabout 2,874 tokens
Runs scripts
No, instructions only

What it does

Create or update project cspell configuration by resolving the loaded config, active dictionaries, curated words, ignore paths, and validation evidence. Use when spell-check configuration needs project words or ignores.

Update cspell Configuration with Project-Specific Words and Ignores

Context

  • Goal: Add commonly used project-specific words to the cspell configuration, alphabetize the words list, and add useful ignorePaths aligned with the project's ignore files.
  • cspell supports multiple config formats and file names. Detect which format the project uses rather than assuming any specific one.
  • Projects may also use custom dictionary files, such as .txt word lists, organized in a dedicated directory. Discover and respect existing dictionary structure.
  • Configuration authority is invocation-bound, not a fixed ranking of file locations. The command that runs cspell determines the base configuration, cspell's own per-file lookup determines overlays, and a custom dictionary participates only when an effective configuration defines and enables it. File enumeration order never establishes authority.

Required Steps

Step 1: Detect Project Context and the Authoritative Command

Read the whole SKILL.md on GitHub

More in Engineering