pr-staging

Create a release branch, bump version to RC, and open a PR to staging.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/lety-ai/lety-skill-hub --skill pr-staging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-staging
Source: https://github.com/lety-ai/lety-skill-hub/tree/main/plugins/pr-staging/skills/pr-staging
Command: npx skills add https://github.com/lety-ai/lety-skill-hub --skill pr-staging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the release preparation by creating a dedicated release branch from develop, bumping the version to an RC, and generating a PR to staging following GitFlow and semantic versioning.

Core Features & Use Cases

  • Enforces execution on the develop branch and blocks progress if there are uncommitted changes.
  • Detects commits since the last release to determine the RC bump and creates a release branch.
  • Opens a PR to staging with a structured summary and prevents duplicate PRs.

Quick Start

Run this skill from develop and follow the prompts to cut a release branch, bump the version to RC, and open a PR to staging.

Frequently Asked Questions about pr-staging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate cutting a release candidate from develop to staging?

To automate cutting a release candidate, this skill creates a release/vX.Y.Z branch from develop, bumps the version to RC, and opens a PR to staging. It requires a clean git workspace and semantic versioning conventions.

How does semantic versioning determine the next RC release bump?

Semantic versioning for an RC release evaluates commits since the last release to determine the version bump. The workflow automatically creates a dedicated release branch with the calculated vX.Y.Z RC identifier.

Do I need a clean git workspace to create a release branch?

Yes, creating a release branch requires a clean git workspace on the develop branch. The automation blocks progress if there are uncommitted changes to ensure release integrity before opening the staging PR.

Can I use GitHub CLI to open a PR to staging automatically?

Yes, you can open a PR to staging automatically using GitHub CLI authentication. The workflow checks for gh authentication to generate a structured PR summary and prevents duplicate PRs to staging.

What are the limitations of GitFlow RC release automation?

Limitations of GitFlow RC release automation include requiring execution specifically on the develop branch with access to the remote origin. It blocks progress if uncommitted changes exist or if a duplicate staging PR is detected.

Does GitFlow release management work across multiple programming languages?

GitFlow release management works across multiple programming languages by analyzing commit history rather than language-specific files. It determines the RC version bump from commits since the last release and applies it to the release branch.