Set Repo Branch
Sets the git branch the WpfDevPackMcp server tracks for WPF knowledge, in ~/.wpf-dev-pack-mcp/config.json (preserving repoPath). Use when the knowledge topics…
by christian289★ 42 GitHub stars
Install Set Repo Branch in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Set WpfDevPackMcp Branch
Sets the branch field in ~/.wpf-dev-pack-mcp/config.json — the branch the MCP
server fetches/serves WPF knowledge from — leaving repoPath unchanged.
If $0 is empty, use AskUserQuestion to ask which branch to track (e.g.,main). Do NOT proceed until a branch is provided.
dotnet "${CLAUDE_PLUGIN_ROOT}/scripts/SetWpfDevPackBranch.cs" "$0"
Surface the output verbatim, including any ! warning (e.g. repoPath not set
yet → run /wpf-dev-pack:set-repo-path first). The new branch takes effect on
the next WpfDevPackMcp refresh.
When
Managed=true(see/wpf-dev-pack:set-repo-managed), refresh
hard-resets the clone toorigin/<branch>, so the branch must exist on the
remote. View the current branch with/wpf-dev-pack:show-wpf-dev-pack-config.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the Set Repo Branch skill do?
Sets the git branch the WpfDevPackMcp server tracks for WPF knowledge, in ~/.wpf-dev-pack-mcp/config.json (preserving repoPath). Use when the knowledge topics you need live on a branch other than main, or to point the MCP back at main. Companion to /wpf-dev-pack:set-repo-path.
How do I install the Set Repo Branch skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Set Repo Branch skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…