Skip to content

Pushes the current branch to origin and creates or updates its pull request safely.

CCM score
64 of 100
skills.sh installs
525
GitHub stars
82
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full publish flow: local validation, push, PR creation or update, and PR body validation
  • Runs make -C elixir all before pushing and checks the PR body with mix pr_body.check
  • Blocks force pushes except --force-with-lease after a local history rewrite, and stops on auth errors
  • Hands non-fast-forward or stale-branch rejections to the pull skill before retrying the push

Install

$ npx -y skills add odysseus0/symphony --skill push -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Push

Prerequisites

  • gh CLI is installed and available in PATH.
  • gh auth status succeeds for GitHub operations in this repo.

Goals

  • Push current branch changes to origin safely.
  • Create a PR if none exists for the branch, otherwise update the existing PR.
  • Keep branch history clean when remote has moved.

Related Skills

  • pull: use this when push is rejected or sync is not clean (non-fast-forward, merge conflict risk, or stale branch).

Steps

  1. Identify current branch and confirm remote state.
  2. Run local validation (make -C elixir all) before pushing.
  3. Push branch to origin with upstream tracking if needed, using whatever remote URL is already configured.
  4. If push is not clean/rejected:
    • If the failure is a non-fast-forward or sync problem, run the pull skill to merge origin/main, resolve conflicts, and rerun validation.
    • Push again; use --force-with-lease only when history was rewritten.
    • If the failure is due to auth, permissions, or workflow restrictions on the configured remote, stop and surface the exact error instead of rewriting remotes or switching protocols as a workaround.

Details

Repository
github.com/odysseus0/symphony
Category
Git & Releases
First seen
Jun 3, 2026

Questions

What does the push skill do?

The push skill pushes the current branch changes to origin and creates or updates the matching pull request. It also reconsiders the PR title and body so they match the latest scope of the branch. If the push is rejected because the remote has moved, it hands off to the pull skill to sync the branch first.

How do I install the push skill?

Run npx -y skills add odysseus0/symphony --skill push -y inside your project. Once installed, the agent can push your branch and open or update its pull request when you ask it to publish updates.

What does the push skill need before it runs?

It needs the gh CLI installed and available in PATH, and gh auth status must succeed for the repository. It also runs make -C elixir all as a local validation step before pushing, and checks the PR body with mix pr_body.check.

Where does the push skill sit in the Git and Releases category?

The push skill is in the Git and Releases category on Claude Marketplaces, alongside triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr. It stands out by covering the full path from validation through push to a PR body that matches the total branch scope.

More from odysseus0/symphony

All 7

Similar to Push

More Git & Releases