Skip to content
Back to skills

Ship

ASecurity

Run pre-flight checks, push the branch, and open a draft PR with a structured body.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
ai-agentstestinggit

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add samuel-stidham/smithy --skill ship --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ship?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ship
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/samuel-stidham-ship-smithy/badge)](https://www.skillsdirectory.com/skills/samuel-stidham-ship-smithy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ship
description: Run pre-flight checks, push the branch, and open a draft PR with a structured body.
argument-hint: "[optional notes for the PR description]"
disable-model-invocation: true
---

# /forge:ship

Take the current branch's committed work to a draft PR. Run only on
explicit user invocation, never as a side effect of another command.

Extra context for the PR body, if any: $ARGUMENTS

## Pre-flight

Stop and report on any failure. Never force past one.

1. Not on the repo's default branch (detect it, never assume) nor any
   branch the remote marks protected.
2. No uncommitted changes, untracked files included. Ask what to do
   with them before committing anything on the user's behalf.
3. The base branch has not moved ahead. Flag a needed rebase instead
   of rewriting history yourself.
4. The repo's own tests pass.

## Push and PR

Push with `git push -u origin <branch>`, skipping when already tracked
and current. With an authenticated `gh`, open a draft PR against the
repo's default branch. When the user supplies a prepared title and
body (do-work's report produces one), use them after verifying against
the actual commits. Otherwise build the body from the branch's real
commits and diff, structured as **What**, **Why**, **How**,
**Testing**. Title per the `conventional-commits` skill, prose per the
`writing-style` skill. Report the PR URL.

Without `gh`, still push once pre-flight passes. Print a copy-ready
title, body, and compare URL, and say plainly why you fell back.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.