Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bjornmelin avatar

Ship Branch

  • 5 installs
  • 5 repo stars
  • Updated August 5, 2026
  • bjornmelin/dev-skills

Ship Branch is a Claude Code skill that stages task-related files, splits work into conventional-commit commits, pushes the branch, and opens a PR into main.

About

Ship Branch finalizes a git branch by staging only the files related to the current task and splitting the work into separate conventional-commit commits. It then pushes the branch and opens a pull request into main with a conventional-commits title and reviewer-ready body. A developer uses it when they want to commit, push, and open a PR in one guided flow. It can also scaffold missing repo PR and release-default files when asked.

  • Splits mixed work into separate conventional-commit commits ordered by reviewer value
  • Opens a PR into main with gh pr create using a conventional-commits title and reviewer-ready body
  • Leaves unrelated dirty files untouched and can scaffold missing repo PR/release defaults on request

Ship Branch by the numbers

  • 5 all-time installs (skills.sh)
  • Ranked #474 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

ship-branch capabilities & compatibility

Capabilities
commit splitting · open pull request · conventional commits · branch push
Works with
github
Use cases
code review
From the docs

What ship-branch says it does

Group changes by semantic purpose and split mixed work into separate commits when needed.
SKILL.md
Open a PR into `main` with `gh pr create`.
SKILL.md
Do not stage unrelated files or use `git add .` unless the whole task is one coherent change.
SKILL.md
npx skills add https://github.com/bjornmelin/dev-skills --skill ship-branch

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs5
repo stars5
Last updatedAugust 5, 2026
Repositorybjornmelin/dev-skills

What it does

Stage only task-related files, split work into semantic conventional commits, push, and open a PR into main.

Who is it for?

Turning a finished branch into clean semantic commits and a reviewer-ready PR into main.

Skip if: Committing an unrelated, mixed working tree where changes cannot be separated cleanly.

When should I use this skill?

The user asks to commit, push, and open a PR, or to scaffold missing repo PR/release defaults.

What you get

A pushed branch with semantic conventional commits and an open PR into main with a reviewer-ready body.

  • semantic conventional-commit commits
  • pushed branch
  • pull request into main

By the numbers

  • 9-step ship workflow

Files

SKILL.mdMarkdownGitHub ↗

Ship Branch

Workflow

1. Inspect git status --short first. 2. Leave unrelated dirty files untouched. 3. Group changes by semantic purpose and split mixed work into separate commits when needed. 4. Use short scoped Conventional Commit messages that match the change. 5. If the current branch is main, create a working branch first; otherwise stay on the current branch. 6. Commit all intended changes before pushing. 7. Push the branch to the remote. 8. Open a PR into main with gh pr create. 9. Use a Conventional Commits PR title and a reviewer-ready PR body built from repo-defaults.md.

Commit Rules

  • Prefer one commit per semantic change.
  • Keep commit order aligned to reviewer value: feat, fix, test, docs, refactor, chore.
  • Do not stage unrelated files or use git add . unless the whole task is one coherent change.
  • Stop if the tree is too mixed to separate cleanly or ownership is ambiguous.

Repo Defaults On Request

  • If the user explicitly asks to create missing repo defaults, scaffold the files from repo-defaults.md.
  • Otherwise, do not add repo-level template or Release Please files.

Related skills

FAQ

Does it commit unrelated files?

No. It leaves unrelated dirty files untouched and avoids git add . unless the whole task is one coherent change.

What if the current branch is main?

It creates a working branch first, otherwise it stays on the current branch before committing and pushing.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.