# Cspell Config

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

- Repository: https://github.com/microsoft/hve-core (1591 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add microsoft/hve-core --skill cspell-config -g -a claude-code -y`
Codex: `npx skills add microsoft/hve-core --skill cspell-config -g -a codex -y`
Cursor: `npx skills add microsoft/hve-core --skill cspell-config -g -a cursor -y`
Gemini CLI: `npx skills add microsoft/hve-core --skill cspell-config -g -a gemini-cli -y`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

The rest: https://github.com/microsoft/hve-core/blob/HEAD/.github/skills/experimental/cspell-config/SKILL.md
