promote-release

promote-release is a skill for Claude Code from dryvist/claude-code-plugins. It costs 71 tokens per session (1,619 once invoked), scanned A, original, Apache-2.0.

A Git-flow release workflow that opens and merges a pull request from the develop branch into main using a merge commit.

In plain words
What is it for?
Use it to promote the ordinary develop-to-main release in Git-flow repositories after validation and passing automated checks.
Why use it?
It provides the approved path for moving tested changes into a protected release branch and leaves versioning and release notes to release-please.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the github-workflows plugin — 18 skills shipped together

Good fit Use it to promote the ordinary develop-to-main release in Git-flow repositories after validation and passing automated checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dryvist/claude-code-plugins/promote-release
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dryvist/claude-code-plugins --skill promote-release
Clone the repo
git clone --depth 1 https://github.com/dryvist/claude-code-plugins

Made for: Claude Code.

Or install github-workflows, the plugin that ships this one along with the rest of its 18 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for promote-release

README.md
[![agentmods](https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/promote-release/github.svg)](https://agentmods.dev/skills/dryvist/claude-code-plugins/promote-release)
Your own site
<a href="https://agentmods.dev/skills/dryvist/claude-code-plugins/promote-release"><img src="https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/promote-release/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for promote-release

Your own site · 80×15
<a href="https://agentmods.dev/skills/dryvist/claude-code-plugins/promote-release"><img src="https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/promote-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,619 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.01619
Opus 5.5 $0.00028 $0.00648
Sonnet 5.5 $0.00014 $0.00324
Haiku 4.5 $0.00007 $0.00162

Measured 6d ago against content hash c90e668c16ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

promote-release scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

github-workflows/skills/promote-release/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Promote Release

On pushes to develop, release-please keeps one release-please--* PR open against develop for the version, CHANGELOG, and release notes; it does not tag at that point. That PR is set to auto-merge and merges itself when its checks pass. This skill confirms it merged, validates develop, then promotes develop to main with a merge commit. Release-please tags and releases the release commit after promotion to main.

State warning: PR status, CI, and branch state change between invocations. Re-run every git/gh command from Step 0.

Critical Rules

  • Merge commit only for develop → main. Never squash or rebase the promotion PR — main's ruleset bans both. See /gh-cli-patterns Canonical Default-Branch Detection.
  • This skill does not run on trunk repos. Step 0 refuses immediately if the repo's default branch is main.
  • Never invent a version, write CHANGELOG entries, create a release PR, or tag by hand. Release-please prepares the release on develop and tags the promoted commit on main.
  • release/* stabilization branches are out of scope for this workflow.

Step 0: Confirm Git-Flow Repo

DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')

If DEFAULT_BRANCH != develop, abort:

"This repo's default branch is {DEFAULT_BRANCH}, not develop — it is not on the git-flow model. There is no develop → main promotion step here; use /merge-pr for ordinary PRs into {DEFAULT_BRANCH}."

Step 1: Sync Develop

git fetch origin --force develop main
git log --oneline origin/main..origin/develop   # commits this promotion will carry

If the list is empty, stop and report: "develop has no commits ahead of main — nothing to promote."

Step 2: Merge In-Flight Develop PRs

Drive in-flight PRs targeting develop to merged before starting the freeze. Use /finalize-pr <PR_NUMBER> followed by /merge-pr <PR_NUMBER>; use /pr-sweep when there are many. Do not start the freeze while PRs owned by this session are mid-flight.

Read the full file on GitHub · 152 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · +27 lines c90e668c16ab
  2. 8d ago Changed adf9fbe75204
  3. 13d ago Changed · -2 lines be095c084f01
  4. 26d ago Changed 3dced74a4eeb
  5. 1mo ago Changed · -34 lines 46596323b32e
  6. 1mo ago First seen · 161 lines · 71 tokens per session scan A b512a876d3fd

Subscribe to this mod's changes

promote-release is a skill published in the GitHub repository dryvist/claude-code-plugins (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 71 tokens to every session and 1,619 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

github-ops

GitHub remote operations and README authoring: repo creation, metadata, releases, issue/PR management with preview-before-send, README as a landing page (badge row, features-as-benefits, screenshots, Recent Updates), and read-only security auditing. Triggers on: write a README, improve the README, README badges…

0xDarkMatter/claude-mods · 105 tokens

ci-cd-ops

CI/CD pipeline patterns with GitHub Actions, release automation, and testing strategies. Use for: github actions, workflow, CI, CD, pipeline, deploy, release, semantic release, changesets, goreleaser, matrix, cache, secrets, environment, artifact, reusable workflow, composite action.

0xDarkMatter/claude-mods · 66 tokens

github-project-management

GitHub project management with issue tracking, project-board automation, and sprint planning. Use when triaging or organizing issues, automating a project board, planning a sprint, or running release/roadmap coordination on GitHub.

frankxai/claude-skills-library · 49 tokens

release-and-changelog

Use when cutting a release, bumping a version, or writing release notes. Activate for keywords like "release", "version bump", "changelog", "release notes", "tag", "publish", "ship a release", "v1.x", "v2.x". Enforces version hygiene: SemVer respect, changelog discipline, atomic commits, tagged release. Always reflect…

duthaho/claudekit · 99 tokens

releasekit

Cut a release from the Conventional Commits a repo already writes: derive the semver bump and a changelog from the commit range, bump the manifest, tag it, and publish a GitHub release, all behind a mandatory preview. Use when the user says "cut a release", "tag a version", "release this", "what's the next version"…

mimukit/skills · 106 tokens

git-ops

Git + worktree orchestrator: status survey, per-worktree triage, commits, PRs, branches, releases, rebases — reads inline, writes to a background agent. Triggers on: git status, anything to commit, anything to push, commit, push, create PR, rebase, release, tag, changelog, worktree, land worktrees.

0xDarkMatter/claude-mods · 80 tokens