Install
$ agentstack add skill-pradnyeshp-claude-skills-cherry-pick ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Branch & commit context
!git status --short 2>/dev/null
!git branch --show-current 2>/dev/null
!git log --oneline -10 2>/dev/null
Instructions
Apply the commit(s) in $ARGUMENTS onto the current branch with git cherry-pick. Cherry-picking copies commits and can conflict or duplicate work — confirm the target commits and the destination branch before starting, and stop to let the user resolve conflicts rather than guessing.
Method
- Require a clean working tree. If there are uncommitted changes, stop and tell the user to commit or stash first (see the
stashskill) — cherry-pick refuses to run mid-mess and a dirty tree risks losing work. - Confirm what and where. Verify you're on the intended destination branch and identify the exact commit(s): a single SHA, a list, or a range (
A..BexcludesA;A^..Bincludes it). Showgit show --statfor each so the user confirms these are the right changes before applying. - Check it isn't already there. Look for the change on the target (
git log --oneline --grepor compare patches) — cherry-picking something already merged creates a duplicate/empty commit. If the same content is present, say so instead of re-applying. - Apply deliberately:
- Single or several commits:
git cherry-pick [...](applies oldest-first). - Preserve provenance for backports with
-x, which appends a "cherry picked from commit " line so the origin is traceable. - Use
-n/--no-committo stage without committing when the user wants to review or combine before committing.
- Handle conflicts as a checkpoint. On conflict, do not force a resolution — show the conflicted files, explain both sides, and resolve like a merge (see
resolve-conflicts). Continue withgit cherry-pick --continue, or back out cleanly withgit cherry-pick --abort(or--skipfor an already-applied commit). Never leave the repo mid-cherry-pick silently. - Verify and report. After applying, confirm the result builds/tests pass where relevant, show the new
git log --oneline, and note that cherry-picked commits have new SHAs — so the branches will show the change twice if they're later merged.
Rules
- Never start with a dirty tree or without confirming both the source commit(s) and the destination branch.
- Check whether the change is already present before applying — avoid duplicate or empty commits; surface it if it's already there.
- On conflict, stop and let the user resolve; never guess a resolution. Always offer
--continue/--abortand never abandon the repo in a half-applied state. - Use
-xfor backports so the origin commit is recorded, and prefer cherry-picking the minimal set — for many commits across branches, consider whether a merge or rebase is the right tool instead. - End with the resulting history, confirmation tests pass, and a note that the commits are copies with new SHAs.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Pradnyeshp
- Source: Pradnyeshp/Claude-Skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.