Plugin version-control ยท 9 skills, 3 commands
git
Version-control skills for the whole branch lifecycle: committing, worktrees, merge conflicts, undo/recovery, PR descriptions, changelogs, releases, and branch cleanup.
gitcommitsworktreesreleasespull-requests
Install
Add the marketplace once, then install the bundle. Claude Code namespaces its commands (/git:name), wires any hooks, and updates it with /plugin marketplace update dotclaude.
/plugin marketplace add KhaledSaeed18/dotclaude/plugin install git@dotclaudeWhat you get
Skills (9)
- changelogGenerate a changelog or release notes from Git history, grouped by change type, written in user-facing language, with issue/PR links and breaking changes...
- finish-branchWrap up a completed development branch by verifying tests pass, detecting the workspace state, then presenting clear merge / PR / keep / discard options...
- git-commitCommit work the right way by gathering full repo state, respecting the project's commitlint/pre-commit/branch rules, staging only understood files, and...
- git-undoRecover safely from Git mistakes such as discard, unstage, amend, reset, revert, restore lost commits via reflog, recover deleted branches, and fix bad...
- git-worktreesSet up an isolated workspace for feature work so the current branch and working tree stay untouched, detecting existing isolation first, preferring the...
- gitignoreGenerate or repair a .gitignore tailored to the project's actual stacks, frameworks, OS, and editors, and untrack files that are already committed but...
- merge-conflictResolve Git merge, rebase, cherry-pick, revert, and stash conflicts safely by understanding both sides and the operation in progress before integrating...
- pr-descriptionGenerate a clear, reviewer-friendly pull-request description from a diff, covering what changed, why, risk, and how it was tested. Use when opening a pull...
- release-tagCut a release by determining the SemVer bump from history, updating version files across any stack, refreshing the changelog, creating an annotated...
Commands (3)
- clean-branchesList local Git branches that are fully merged or stale and delete them safely after showing what would be removed, protecting main, master, develop, and...
- commitCreate one well-formed commit from the current changes using the git-commit skill's rules: inspect the diff, honour the repo's commitlint and hooks, stage...
- prTake the current branch from uncommitted work to an open pull request: commit outstanding changes with the git-commit rules if asked, push with upstream...