Pushes local branches, creates/updates PRs, and links them to Linear issues.

Install

mkdir -p .claude/skills/push-robinbeier && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12793" && unzip -o skill.zip -d .claude/skills/push-robinbeier && rm skill.zip

Installs to .claude/skills/push-robinbeier

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Push the current issue branch, create or update the GitHub pull request, link
77 charsno explicit “when” trigger
Beginner

Key capabilities

  • Push the current branch to origin safely
  • Create a new GitHub pull request if missing
  • Update an existing GitHub pull request
  • Attach the PR to the Linear issue tracker
  • Move the Linear issue to 'In Review' or 'Ready to Merge' state
  • Fill PR body using a repository template

How it works

The skill automates the process of pushing a branch, creating or updating a GitHub pull request, and linking it to a Linear issue while updating its status.

Inputs & outputs

You give it
A ready branch for publishing or review fixes for an existing PR
You get back
A pushed branch, a created/updated GitHub PR, and an updated Linear issue status

When to use push

  • Push branch and create PR
  • Update PR body
  • Link PR to issue

About this skill

Push

Use this skill when the current branch is ready to publish or when review fixes must be pushed to an existing PR.

Goals

  • Push the branch to origin safely.
  • Create or update the PR with the repo template.
  • Attach the PR to the Linear issue and move the issue to the correct next Linear state.

Steps

  1. Identify the current branch and confirm the worktree is clean.
  2. Run the required local validation for the current scope.
    • Before marking the PR ready, prefer:
      • PRE_PR_RUN_COVERAGE=1 bash ./scripts/ci/pre_pr_full.sh
    • If that has already been run for the current diff, do not rerun it gratuitously.
  3. Push with upstream tracking if needed:
    • git push -u origin HEAD
  4. If the push is rejected because the branch is stale or non-fast-forward, resolve it with $pull and push again.
  5. Ensure a PR exists for the branch.
    • Create one if missing.
    • Update title/body if the scope changed.
    • If the branch is tied to a closed or merged PR, create a fresh branch and reopen from there.
  6. Use .github/pull_request_template.md as the PR body source. Fill every section with concrete content.
    • Before gh pr create or gh pr edit, review the final body against the template and remove placeholders.
  7. After the PR exists:
    • attach it to the Linear issue with $linear
    • move the issue to In Review by default
    • move it directly to Ready to Merge instead when the PR should stay fully agent-owned through the review/merge loop
    • update the ## Codex Workpad comment with compact validation status, merge/review posture, and next expected action
  8. Reply with the PR URL.

Commands

branch=$(git branch --show-current)
git push -u origin HEAD
gh pr view --json state,url,number 2>/dev/null || true

Notes

  • Use --force-with-lease only if history was intentionally rewritten.
  • If push fails for auth or permissions, stop and surface the exact error.
  • After creating or updating the PR, the Linear issue should not stay in In Progress; move it to In Review or Ready to Merge.
  • Keep the PR linked on the Linear issue itself; do not duplicate the PR URL in the workpad.
  • If the correct diff is already present and validated, stop exploring and publish it instead of reopening analysis.

When not to use it

  • When the worktree is not clean before pushing
  • When the branch is tied to a closed or merged PR and needs to be reopened
  • When push fails for authentication or permissions issues

Limitations

  • The skill requires a clean worktree before pushing.
  • It assumes the existence of a `.github/pull_request_template.md` for PR body generation.
  • It does not handle authentication or permission failures for Git push.

How it compares

This skill simplify the PR creation and Linear issue management workflow, automating multiple steps that would otherwise require manual execution and coordination between Git, GitHub, and Linear.

Compared to similar skills

push side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
push (this skill)03moReviewBeginner
pr01moReviewIntermediate
proof-of-work16moNo flagsIntermediate
resolve-conflicts818moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

pr

meshtastic

Push the current branch and open a draft PR for Meshtastic-Android the repo way — baseline verified first, body drafted per .github/copilot-pull-request-instructions.md (WHY-first, categorized changes), screenshots embedded via commit-pinned raw URLs. Use whenever work is ready to go up as a PR.

00

proof-of-work

MadAppGang

Proof artifact generation patterns for task validation. Covers screenshots, test results, deployments, and confidence scoring.

10

resolve-conflicts

antinomyhq

Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.

81334

dependency-upgrade

wshobson

Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.

26240

git-commits

bonny

Create well-structured git commits in logical chunks following best practices

21109

git-advanced-workflows

wshobson

Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.

1197

Search skills

Search the agent skills registry