Skip to content

Commit 4429c77

Browse files
ChipWolfclaude
andcommitted
fix: add missing chezmoiignore entries and document Zed MCP target
- Ignore komorebi and whkdrc on non-Windows (Windows-only paths) - Ignore .config/zed on Windows (Zed reads from AppData there) - Document Zed render templates and target in update-mcp-servers skill - Add YASB comment to opaque winget store product ID Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3785100 commit 4429c77

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

.agents/skills/update-mcp-servers/SKILL.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Use this skill when changing MCP server configuration in this repo.
1515
- mcpproxy render template: `home/private_dot_mcpproxy/modify_mcp_config.json`
1616
- pi render template: `home/dot_pi/agent/mcp.json.tmpl`
1717
- Claude Code render template: `home/modify_dot_claude.json` (merges `mcpServers` into `~/.claude.json`)
18+
- Claude Desktop render template: `home/AppData/Roaming/Claude/modify_claude_desktop_config.json`
19+
- Zed render template (Unix): `home/dot_config/zed/settings.json.tmpl` (via `home/.chezmoitemplates/zed-context-servers.tmpl`)
20+
- Zed render template (Windows): `home/AppData/Roaming/Zed/modify_settings.json.tmpl`
1821

1922
Treat `home/.chezmoidata/mcps/*.yaml` as the single source of truth.
2023

@@ -30,6 +33,7 @@ Each entry in `mcp.serversById.<id>` should follow this shape:
3033
- optional `targets.pi.enabled` (defaults to **`false`** — opt-in)
3134
- optional `targets.claudeDesktop.enabled` (defaults to **`false`** — opt-in; Windows Claude desktop app)
3235
- optional `targets.claudeCode.enabled` (defaults to **`false`** — opt-in; Claude Code CLI `~/.claude.json`)
36+
- optional `targets.zed.enabled` (defaults to **`false`** — opt-in; Zed context servers)
3337

3438
Every server must explicitly list each target it should render to. Targets not listed render to nothing for that server. This avoids hidden defaults and makes intent obvious in the YAML.
3539

@@ -65,8 +69,11 @@ After MCP changes:
6569
3. Render `home/private_dot_mcpproxy/modify_mcp_config.json` with current chezmoi data.
6670
4. Render `home/dot_pi/agent/mcp.json.tmpl` with current chezmoi data.
6771
5. Render `home/modify_dot_claude.json` with stdin `{}` and current chezmoi data (merged JSON must parse).
68-
6. Validate the rendered Cursor, mcpproxy, pi, and Claude Code outputs are valid JSON.
69-
7. Confirm expected server entries and args in rendered output, including `$data.*` interpolation.
72+
6. Render `home/AppData/Roaming/Claude/modify_claude_desktop_config.json` with stdin `{}` and current chezmoi data.
73+
7. Render `home/dot_config/zed/settings.json.tmpl` with current chezmoi data.
74+
8. Render `home/AppData/Roaming/Zed/modify_settings.json.tmpl` with stdin `{}` and current chezmoi data.
75+
9. Validate the rendered Cursor, mcpproxy, pi, Claude Code, Claude Desktop, and Zed outputs are valid JSON.
76+
10. Confirm expected server entries and args in rendered output, including `$data.*` interpolation.
7077

7178
Note: sprig `hasPrefix` signature is `hasPrefix prefix str`. The `$data.<key>` interpolation must be written as `hasPrefix "$data." $arg`, not the reverse.
7279

home/.chezmoidata/winget/00-base.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ winget:
55
base:
66
packages:
77
- Anthropic.Claude
8-
- 9PLM9XGG6VKS
8+
- 9PLM9XGG6VKS # YASB (Yet Another Status Bar)
99
- Wakatime.CLIWakatime
1010
- Wakatime.DesktopWakatime
1111
- WinSCP.WinSCP

home/.chezmoiignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,15 @@ Chocofile.ignore
1313
.local/share/opencode-shims
1414
{{ end }}
1515

16+
{{ if eq .chezmoi.os "windows" }}
17+
# Unix/macOS Zed config path — Windows Zed reads from AppData
18+
.config/zed
19+
{{ end }}
20+
1621
{{ if ne .chezmoi.os "windows" }}
1722
# Windows-only targets — not applicable on Unix
23+
.config/komorebi
24+
.config/whkdrc
1825
.config/wezterm
1926
.config/yasb
2027
.config/oh-my-posh

0 commit comments

Comments
 (0)