Skip to content

Add cherry-pick-commit Copilot skill - #7582

Merged
nkolev92 merged 1 commit into
devfrom
dev-nkolev92-cherryPickSkill
Jul 21, 2026
Merged

nkolev92 merged 1 commit into
devfrom
dev-nkolev92-cherryPickSkill

Conversation

@nkolev92

Copy link
Copy Markdown
Member

Bug

Fixes:

Description

Adds a cherry-pick-commit Copilot skill (.copilot/skills/cherry-pick-commit) that captures the repo's release-branch backport workflow, so backporting a fix from dev to a release branch is fast and safe.

The skill resolves the source commit and target branch, creates the working branch off the remote target (avoiding the stale-local-branch trap), runs git cherry-pick -x to preserve the original commit message and (#NNNN) link, and — the key safety property — aborts and reports on conflict instead of guessing at a resolution. Push and PR creation are delegated to the existing create-pr skill rather than re-implemented, keeping a single source of truth for PR conventions.

Engineering change (tooling only), so no linked issue.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

Captures the repo's release-branch backport workflow: resolve source/target,
branch off the remote target, cherry-pick -x preserving the original commit
message, and abort-and-report on conflict instead of guessing. Delegates PR
creation to the existing create-pr skill so backport PRs stay consistent.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: beda70f3-bb59-4e48-b2a7-b0a1bf784467
@nkolev92 nkolev92 added the Engineering Changes related to the build infrastructure of the repo and that do not change product code label Jul 21, 2026
@nkolev92
nkolev92 marked this pull request as ready for review July 21, 2026 19:30
@nkolev92
nkolev92 requested a review from a team as a code owner July 21, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Engineering Changes related to the build infrastructure of the repo and that do not change product code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants