local-to-staging
Installation
SKILL.md
local-to-staging
local-to-staging moves what is already on origin/local onto origin/staging for every project that has both branches, through one PR per repo, and reports merge, handoff and Actions evidence separately. It ships no new code: it never commits, pushes, or edits files, so it needs no worktree.
Inputs
- Projects — the rows of the workspace Project Matrix (
rules/projects.md, or inline in an olderAGENTS.md), or the repos the user names. No matrix and no names → stop and ask. - Branches — source
local, targetstaging, unless the user or workspaceAGENTS.mdnames others. A repo qualifies only whengit ls-remote --heads origin <source> <target>returns both; the rest are listed as skipped with the missing branch. - Merge method — merge commit (
--merge).localandstagingare long-lived, and a squash or rebase leavesstagingwith commitslocaldoes not contain, so the next promotion re-proposes or conflicts on work already shipped. A repo that disallows merge commits is reported and skipped; never switch methods silently.