
Git Plugin
- Updated January 29, 2026
- vkkotha/claude-skills
git-plugin is a git worktree skill that creates isolated worktrees for PRs, branches, tags, or commits. It lets developers spin up separate working directories so parallel work does not collide with the main checkout. Useful for anyone juggling multiple branches or agent sessions at once.
Key points
- Git worktree creation
- Isolated workspaces
- For PRs, branches, tags, commits
- Keeps main checkout clean
Git Plugin by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add vkkotha/claude-skills/plugin install git-plugin@cdskit-marketplaceAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Last updated | January 29, 2026 |
|---|---|
| Repository | vkkotha/claude-skills ↗ |
What it does
Create isolated git worktrees for PRs, branches, tags, or commits so work stays separated from the main checkout.
README.md
Claude Developer Skills Kit
A collection of developer productivity skills for Claude Code including GitHub, Bitbucket PR review and git worktree management.
Available Plugins
| Plugin | Description |
|---|---|
| git-plugin | Create isolated git worktrees for PRs, branches, tags, or commits |
| bitbucket-plugin | PR operations for Bitbucket Cloud (bitbucket.org) |
| bitbucket-datacenter-plugin | PR operations for self-hosted Bitbucket Server/Data Center |
| github-plugin | PR operations for GitHub |
Installation
Quick Install (Recommended)
# Add the marketplace
/plugin marketplace add https://github.com/vkkotha/claude-skills
# Install individual plugins
/plugin install git-plugin@cdskit-marketplace
/plugin install bitbucket-plugin@cdskit-marketplace
/plugin install bitbucket-datacenter-plugin@cdskit-marketplace
/plugin install github-plugin@cdskit-marketplace
Development Mode
For testing or development, load a plugin directly without installing:
# Clone the repository
git clone https://github.com/vkkotha/claude-skills.git
# Run Claude Code with a specific plugin
claude --plugin-dir ./claude-skills/git-plugin
claude --plugin-dir ./claude-skills/bitbucket-plugin
claude --plugin-dir ./claude-skills/bitbucket-datacenter-plugin
claude --plugin-dir ./claude-skills/github-plugin
Plugins
git-plugin
Git utility for creating isolated worktrees. Features:
- Supports PRs, branches, tags, and commits
- Cross-platform (macOS, Linux, Windows via Git Bash/WSL)
- Auto-detects IDE context (VS Code, JetBrains, Claude Code CLI)
- Bitbucket and GitHub PR refs support
- Worktree auto-cleanup with confirmation
Prerequisites: Git 2.5+ and Bash.
Usage:
"Create a worktree for PR 456"
"Help me inspect branch feature/login"
bitbucket-plugin
Pull request operations for Bitbucket Cloud (bitbucket.org). Features:
- List PRs in table format with status icons
- Fetch PR details and diffs via MCP
- AI-powered code review for bugs, security, performance issues
- Post inline comments and suggestions
- Approve, request changes, or merge PRs
Prerequisites: Requires the Bitbucket Cloud MCP server.
export BITBUCKET_USERNAME="your-username"
export BITBUCKET_APP_PASSWORD="your-app-password"
Usage:
"Review PR 123"
"List open PRs"
"Approve PR 456"
bitbucket-datacenter-plugin
Pull request operations for self-hosted Bitbucket Server/Data Center. Features:
- List PRs in table format with status icons
- Fetch PR details and diffs via MCP
- AI-powered code review for bugs, security, performance issues
- Post inline comments and suggestions
- Approve, request changes, or merge PRs
Prerequisites: Requires the Bitbucket Data Center MCP server.
export BITBUCKET_USERNAME="your.email@company.com"
export BITBUCKET_TOKEN="your-http-access-token"
export BITBUCKET_BASE_URL="https://bitbucket.yourcompany.com"
Usage:
"Review PR 123"
"List open PRs"
"Approve PR 456"
github-plugin
Pull request operations for GitHub. Features:
- List PRs in table format with status icons
- Fetch PR details and diffs via MCP
- AI-powered code review for bugs, security, performance issues
- Post inline comments and suggestions
- Approve, request changes, or merge PRs
Prerequisites: Requires the GitHub MCP server.
export GITHUB_PERSONAL_ACCESS_TOKEN="your-token"
Creating a GitHub Personal Access Token:
- Go to https://github.com/settings/tokens
- Click "Generate new token" (classic or fine-grained)
- For classic tokens, select scopes:
repo,read:org,read:user - For fine-grained tokens, grant access to the repositories you need
- Copy the generated token
Usage:
"Review PR 123"
"List open PRs"
"Approve PR 456"
Development
Testing a Plugin
# Load plugin for development/testing
claude --plugin-dir ./claude-skills/git-plugin
# Load multiple plugins
claude --plugin-dir ./claude-skills/git-plugin --plugin-dir ./claude-skills/github-plugin
Plugin Environment Variables
In hooks, MCP servers, and skill scripts, use ${CLAUDE_PLUGIN_ROOT} to reference the plugin directory:
"${CLAUDE_PLUGIN_ROOT}/skills/git-worktree/setup-worktree.sh" --pr 558
Contributing
Contributions are welcome! To add a new skill:
- Fork this repository
- Create a new folder named
<your-skill-name> - Add
.claude-plugin/plugin.jsonwith plugin metadata - Add
skills/<skill-name>/SKILL.mdwith YAML frontmatter and instructions - Update
marketplace.jsonwith the new plugin - Update
README.mdwith skill documentation - Submit a pull request
Skill Template
Create folder structure:
my-skill/
├── .claude-plugin/
│ └── plugin.json
└── skills/
└── my-skill/
└── SKILL.md
plugin.json:
{
"name": "my-skill",
"version": "1.0.0",
"description": "Short description of the skill",
"author": { "name": "your-name" },
"repository": "https://github.com/your-repo",
"license": "MIT",
"skills": ["./skills/"]
}
SKILL.md:
---
name: "my-skill"
description: Short description for skill matching. Use when user wants to...
---
# My Skill
Detailed instructions for the skill...
## Prerequisites
List any requirements...
## Instructions
Step-by-step instructions for Claude to follow...
License
MIT License - See LICENSE for details.