Cherry pick

From berkcangumusisik/claude-code-practices · View interactive version

Cherry pick is an AI agent skill from the GitHub repository berkcangumusisik/claude-code-practices. Finds a commit by description and cherry-picks it to the current branch

How to use this skill

Skill file

Cherry-pick Commit

Looking for: $ARGUMENTS

  1. Search for the commit:
git log --all --oneline | grep -i "$ARGUMENTS" | head -10
  1. Show the matching commits and ask which one to cherry-pick (if multiple).
  1. Show the diff of the selected commit:
git show <hash> --stat
  1. Confirm with user, then:
git cherry-pick <hash>
  1. If conflicts arise, list them and ask how to proceed.
  1. Report success: which commit was applied and what changed.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.