stage

Force-push origin/staging to a detected release candidate branch.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/smallorbit/smallorbit-plugins --skill stage-smallorbit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stage
Source: https://github.com/smallorbit/smallorbit-plugins/tree/main/plugins/flowkit/skills/stage
Command: npx skills add https://github.com/smallorbit/smallorbit-plugins --skill stage-smallorbit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Force-reset the remote staging branch to point at a release candidate, with a graceful no-op if origin/staging does not exist.

Core Features & Use Cases

  • Detects the RC branch from an explicit argument, from the current rc/* branch, or by querying origin.
  • Gracefully handles the absence of origin/staging by performing a no-op instead of failing.
  • Force-pushes origin/staging to the identified RC while ensuring the RC branch itself is never modified and results are reported.

Quick Start

Run with an explicit RC name such as rc/2026-04-16.1 to force-stage origin/staging to that RC.

Frequently Asked Questions about stage

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

FAQPage Schema
How do I force-push a remote staging branch to a release candidate?

To force-push a remote staging branch to a release candidate, the Skill identifies the RC via an explicit argument or the current rc/* branch, then uses Git to force-push origin/staging to that RC without modifying the RC branch itself.

What happens if origin/staging does not exist when aligning to an RC branch?

If origin/staging does not exist when aligning to an RC branch, the process performs a graceful no-op instead of failing, ensuring the Git command safely exits without pushing or modifying any branches.

How does RC branch detection work when force-aligning staging?

RC branch detection for force-aligning staging works by checking an explicit argument first, then looking at the current rc/* branch, and finally querying origin to find the target release candidate automatically.

Can I force-align staging to a release candidate without modifying the RC branch?

Yes, you can force-align staging to a release candidate without modifying the RC branch, as the Git force-push targets origin/staging exclusively and explicitly ensures the source RC branch remains untouched.

Do I need any dependencies or components to force-reset staging to an RC?

You do not need any dependencies or components to force-reset staging to an RC, as the Skill operates independently using standard Git commands to verify the RC and push to origin/staging.