configuring-wpf-dev-pack-languagelisted
Install: claude install-skill christian289/dotnet-with-claudecode
# Configuring wpf-dev-pack Language
This skill writes (or updates) a per-project preference file that tells
the wpf-dev-pack plugin which language to respond in. A SessionStart
hook (`hooks/LanguagePreferenceLoader.cs`) reads the file on every new
conversation and emits a directive into the system context, so the
preference takes effect automatically.
## When to use
- The default language of a response does not match what the user wants
(typical case: an English-speaking contributor in a project where
wpf-dev-pack was originally tuned for Korean responses, or vice versa).
- The user wants to switch language mid-project.
## When NOT to use
- The user only wants a one-off language switch for the next response —
just have them phrase the next message in the target language. Do not
write a file for a one-shot.
- The wpf-dev-pack plugin is not installed in the current project — the
SessionStart hook will not run without the plugin.
## Workflow
Copy this checklist and track progress:
```
Configure Progress:
- [ ] Step 1: Detect current state of .claude/wpf-dev-pack.local.md
- [ ] Step 2: Resolve target language (argument or AskUserQuestion)
- [ ] Step 3: Write or update .claude/wpf-dev-pack.local.md
- [ ] Step 4: Confirm and explain when the change takes effect
```
### Step 1 — Detect current state
Check whether `.claude/wpf-dev-pack.local.md` exists in the current
project root. If it does, read its YAML frontmatter and find any
existing `language:` value so the