foundation-devices/envoy/branch-policy

Claude Code and agent skill by foundation-devices/envoy

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Check that all commits from release branches have been forward-ported, and open PRs for missing ones

Install

npx vskill@latest install foundation-devices/envoy/branch-policy

SKILL.md

Branch Policy Check

Run the branch policy check, summarize the results, and open cherry-pick PRs for any missing commits.

Policy

Commits must flow forward through the release branches:

  1. 2.2.x → 2.3 and main: All non-trivial commits from 2.2.x branches (>= 2.2.13, including future 2.2.14, 2.2.15, etc.) must land in both 2.3 and main (currently version 2.4).
  2. 2.3 → main: All non-trivial commits on 2.3 must also land in main.

Ignore these commits:

  • Version bumps (chore: bump build number, Bump version, Fix version)
  • Merge commits

Steps

1. Discover missing commits
  1. Run git fetch --all --quiet to get latest state.
  1. Check 2.2.x → 2.3 and main. For each origin/2.2.N branch where N >= 13, run:

`` git cherry origin/main origin/2.2.N git cherry origin/2.3 origin/2.2.N ` Lines starting with +` are commits NOT present in the target branch.

  1. Check 2.3 → main. Run:

`` git cherry origin/main origin/2.3 ` Lines starting with + are commits on 2.3 NOT present in main`.

  1. For each missing commit (marked with +), check if it's a merge commit (skip those) or matches an ignore pattern (skip those too). For the remaining ones, get the subject with git log --format='%s' -1 <sha> and the diffstat with git show --stat --format="" <sha>.
  1. Present a clear natural language summary:
  • Which branches were checked and against which targets
  • How many real commits are missing from each target
  • For each missing commit: its short SHA, subject line, and which files it touches (from diffstat)
  • If everything is clean, say so
2. Create cherry-pick PRs

If there are missing commits, create a PR for each (source, target) pair that has missing commits. The pairs to check are:

  • 2.2.N → 2.3
  • 2.2.N → main
  • 2.3 → main

For each pair with missing commits:

  1. Create a branch from the target:

`` git checkout -b cherry-pick/<source>-to-<target> origin/<target> ` Use the highest 2.2.N branch number if multiple 2.2.x branches exist. If the branch already exists remotely, append a date suffix (e.g., cherry-pick/2.2.13-to-main-20260324`).

  1. Cherry-pick each missing commit (in the order they appear on the source branch):

`` git cherry-pick <sha> ``

  • If a cherry-pick conflicts, abort (git cherry-pick --abort), skip that commit, and note it in the PR body as needing manual resolution.
  • Continue with the remaining commits.
  1. Push the branch:

`` git push -u origin <branch-name> ``

  1. Create a PR using gh pr create:
  • Title: cherry-pick: <source> commits into <target>
  • Base: the target branch
  • Body: use a HEREDOC and include:
  • A list of all cherry-picked commits (short SHA + subject)
  • A list of any skipped commits (conflicts) with instructions to resolve manually
  • The source branch
  1. Return to the original branch after creating all PRs:

`` git checkout - ``

  1. Print the PR URL(s) at the end.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
56
Repository forks
13
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/foundation-devices/envoy/branch-policy/badge)](https://verified-skill.com/skills/foundation-devices/envoy/branch-policy)

Something wrong with this skill or its page? Tell us.