Backport — Git skill for Claude Code
Backport a feature or fix to a release branch with dependency adaptation.
How to install Backport
Installs to ~/.claude/commands/openshift-monitoring-plugin-backport.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/openshift/monitoring-plugin/HEAD/.claude/commands/backport.md -o ~/.claude/commands/openshift-monitoring-plugin-backport.md Restart Claude Code, or start a new session, for it to be picked up.
What Backport does
allowed-tools: Bash(git:*), Read, Write, Edit argument-hint: [commit-hash] description: Backport a feature or fix to a release branch with dependency adaptation
Backport Feature to Release Branch
Context
- Current branch: !
git branch --show-current - Target branch: $1
- Commit to backport: $2 (or HEAD if not specified)
- Latest commit info: !
git log -1 --format="%H %s" - Changed files: !
git show --name-only HEAD | tail -n +7
Dependency Version Difference
Alternatives in Git
- Git Worktree Docs Issue: Dependency Installation — GitHub — Community feedback on official docs with full worktree lifecycle walkthrough 81.1k ★
- Merge Dependabot PRs — @description Evaluate and merge dependabot PRs with parallel builds, dependency-aware batching, and transitive 1.6k ★
- Push And Release — Git pull, resolve conflicts, push, fix hook errors, then release 1.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Agentline
Zero-dependency Claude Code statusline: cost, context %, rate limits, git branch, MCP servers, system health.
GitHub Workflow Adaptation Plan
Project: Claude Code Skills Factory Blueprint Source: /Users/rezarezvani/projects/claudecode-github-bluprint D
Finalize Feature
Finalize the feature "$ARGUMENTS" — create branch, commit, and open PR.
Currentfeature
Archive the current feature and start a new branch.
Quick Push
Git add all, commit with Claude, and push to current/new feature branch
Merge
Merge a feature branch into current branch
Related Agents
DevOps Release Engineer
Use this agent for build tooling, CI/CD pipelines, branch and worktree hygiene, dependency management, contain
Release Notes Writer
Generates CHANGELOG entries and PR descriptions from a branch's commit history. Groups commits by type (feat /
Git Flow Manager
Git Flow workflow manager. Use PROACTIVELY for Git Flow operations including branch creation, merging, validat