Skip to content

Commit, Push and Open PR

Commits your changes, pushes the branch, and opens or updates a GitHub pull request with a written description.

Stars
25,850
Licence
MIT
Files
10 files

What it does

When you ask an agent to ship your work as a pull request, this skill makes it follow a fixed routine: check the git and GitHub state, commit only the files it names, push the branch, then write a PR title and description following the skill's rules. It can also just draft or rewrite the description of an existing PR. It is designed to avoid common git mistakes such as committing unrelated files or creating duplicate PRs.

Great for

  • Developers who want an agent to handle the commit, push and PR steps of a finished change
  • Teams that want consistent PR titles and descriptions written from the actual diff
  • People who only need a PR description drafted or refreshed for an existing pull request

Skip it if

  • Repositories where pushing or opening PRs needs human review first, since the skill publishes commits to the remote (it can stop on missing project checks, but it is not a substitute for review)
  • Users who do not use Git or GitHub, because it depends on git and the gh CLI
  • Anyone wanting multi-PR stacks without asking for one; the skill is designed to refuse unnecessary stacks

Try asking

  • “Ship this change and open a PR against main”
  • “Write a PR description for https://github.com/owner/repo/pull/123”
  • “Rewrite the description of my open PR for this branch”
  • “Commit my changes and push them, then open a PR with a description”
Step-by-step guide: how to use Commit, Push and Open PRInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 10 original files, the MIT licence and an attribution note.

    ce-commit-push-pr.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip ce-commit-push-pr.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip ce-commit-push-pr.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Specify the base branch or PR number when you have one, so the agent does not have to guess
  • Review the PR preview before confirming; the skill is designed to show it before applying changes
  • Name the files to include if your working tree has unrelated changes, since the skill avoids committing everything

What's inside

  • references/apply-and-handoff.md
  • references/branch-creation.md
  • references/commit-and-push.md
  • references/compose.md
  • references/context.md
  • references/gh-stack-cli.md
  • references/pr-description-writing.md
  • references/stack-submit.md
  • references/visual-evidence.md
  • SKILL.md

Redistributed unmodified from EveryInc/compound-engineering-plugin under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.