Set WpfDevPackMcp Repository Path
Records the on-disk location of a local clone of
christian289/dotnet-with-claudecode so the WpfDevPackMcp MCP server can
serve WPF knowledge topics from knowledge/ (at the repo root).
If $0 is empty, use AskUserQuestion to ask for the absolute path to the
local clone (e.g., C:/Users/<you>/src/dotnet-with-claudecode). Do NOT
proceed until a path is provided. Optionally accept a branch as $1
(default main).
Run the file-based app to validate and persist the path:
dotnet "${CLAUDE_PLUGIN_ROOT}/scripts/SetWpfDevPackRepoPath.cs" "$0" "$1"
Surface the app's output verbatim, including any ! warnings (path missing,
no .git, etc.). After it succeeds, tell the user the WpfDevPackMcp tools
are now usable and that the server will clone/pull the repo as needed.
Companion skills
/wpf-dev-pack:show-wpf-dev-pack-config— view the current config.json / state.json paths and values (and anyWPFDEVPACK_REPO_PATHenv override)./wpf-dev-pack:set-repo-branch <branch>— change the tracked branch (preserves repoPath)./wpf-dev-pack:set-repo-managed <true|false>— control whether refresh hard-resets the clone. Setfalseif you ever pointrepoPathat your own working repo, so a refresh cannotgit reset --hardyour working tree.