Skip to content
Skill

Commit push PR

Takes jj commits through description, bookmarks, push, and stacked GitHub PRs

Commit push PR is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
12
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Commit push PR

This skill walks an agent through shipping a Jujutsu (jj) stack to GitHub. It works in three stages: writing commit descriptions for undescribed changes, creating one bookmark per commit tracked against origin, and pushing before opening a pull request for each bookmark. Each PR is based on the previous bookmark in the stack, or on trunk for the first one, and is opened as ready for review rather than as a draft.

The skill relies on the GitHub CLI (gh) and jj commands such as jj status, jj log, jj bookmark and jj git push. It first checks the GitHub login, remotes, working-copy state and open PRs, and it reuses existing bookmarks and PRs instead of duplicating them. If the repository has a PR template at .github/PULL_REQUEST_TEMPLATE.md, the body follows that template; otherwise it writes a short body without a test plan section. It is designed to avoid adding AI attribution or co-author lines to commits and PRs.

It is meant for the whole jj-to-PR flow. Plain commits and rebasing are handled by other skills in the same collection, and the skill asks how to proceed when a push or PR step fails.

When your agent uses it

Run the full jj-to-PR workflow — describe changes, create per-commit bookmarks, push to origin, and open stacked pull requests with sensible defaults. This skill should be used when the user wants to "commit and open a PR", "push and create PRs", or ship a jj stack. Fills out a repo PR template (.github/PULL_REQUEST_TEMPLATE.md) when present; never adds Claude attribution or a Test plan section unless the template asks for it. Not for plain commits (use jj:commit) or rebasing (use jj:rebase).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the jj plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add jeffh/claude-plugins
/plugin install jj@jeffh-claude-plugins

Or copy only this skill to ~/.claude/skills/commit-push-pr:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jeffh/claude-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/commit-push-pr &&
cp -R "$tmp/jj/skills/commit-push-pr" ~/.claude/skills/commit-push-pr &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/commit-push-pr inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/commit-push-pr to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jeffh/claude-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/commit-push-pr &&
cp -R "$tmp/jj/skills/commit-push-pr" ~/.agents/skills/commit-push-pr &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/commit-push-pr inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/commit-push-pr to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jeffh/claude-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/commit-push-pr &&
cp -R "$tmp/jj/skills/commit-push-pr" ~/.cursor/skills/commit-push-pr &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/commit-push-pr inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/jeffh/claude-plugins.git --path jj/skills/commit-push-pr

Or copy the folder to ~/.gemini/skills/commit-push-pr yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/commit-push-pr:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jeffh/claude-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/commit-push-pr &&
cp -R "$tmp/jj/skills/commit-push-pr" ~/.copilot/skills/commit-push-pr &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/commit-push-pr inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/jeffh/claude-plugins.git

Then copy claude-plugins/jj/skills/commit-push-pr into your agent's skills folder as commit-push-pr. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Commit description writing
Adds descriptions to undescribed commits in the working stack before any bookmarks are made.
Per-commit bookmark creation
Creates one tracked bookmark per commit, named after the commit with a GitHub username prefix.
Stacked pull requests
Opens one PR per bookmark, each based on its parent bookmark or trunk.
PR template support
Fills in the repository's pull request template sections when one exists.
Existing state checks
Reviews remotes, status, the stack log and open PRs so existing work is reused.

Good for

  • Open pull requests for my jj stack of commits
  • Push my changes to origin and create stacked PRs
  • Create bookmarks for each commit in my current stack
  • Fill out the PR template for my changes and publish it

Commit push PR FAQ

Which tools does Commit push PR need?

It uses the jj command line tool for version control and the GitHub CLI (gh) to read the login and open or create pull requests.

Does Commit push PR add Claude attribution to commits or PRs?

No. The skill's rules forbid co-author information and Claude attribution.

Does Commit push PR add a test plan section to PRs?

Only if the repository's PR template asks for one. Without a template it leaves the test plan section out.

Are PRs opened as drafts?

No, by default they are published and not drafts, pushed to the origin remote.

How do I install Commit push PR in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/commit-push-pr to use it in all your projects, or to .claude/skills/commit-push-pr in one project. Or install the jj plugin, which includes it: /plugin marketplace add jeffh/claude-plugins, then /plugin install jj@jeffh-claude-plugins.

Does Commit push PR run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Commit push PR?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Commit push PR?

The closest alternatives to Commit push PR are Make PR easy to review, GitHub workflow, Commit, Gh stack and PR.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from jeffh/claude-plugins

  1. Lets Claude hand desktop and browser UI tasks to a Codex agent that drives apps

    • Open source
    • 12 GitHub stars
    • Browser automation
  2. Hands a coding task to a Codex subagent that edits files in the working directory

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Gets a read-only second code review from a Codex subagent via codex exec

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Sets up an isolated git or jj worktree with dependencies ready for a feature or fix

    • Open source
    • 12 GitHub stars
    • Developer tools
  5. Collects timestamp and git or jj repo metadata for research and handoff documents

    • Open source
    • 12 GitHub stars
    • Developer tools
  6. Writes conventional commit messages for jj changes, without Claude attribution

    • Open source
    • 12 GitHub stars
    • Developer tools