Skip to content
Back to skills

Ship

ASecurity

Commit and push changes in one step with safety checks.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsgit

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 2, 2026

npx -y skills add bravros/bravros --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/bravros-ship/badge)](https://www.skillsdirectory.com/skills/bravros-ship)

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
core: true
description: Commit and push changes in one step with safety checks.
---

# ship

INTENT: `/commit` then `/push`, with one branch gate first. Never creates a PR.

HARD CONSTRAINTS:
- Refuse on `main`/`master` **in a PR-gated repo** — there those branches move only via PR (`homolog → main`).
  Every other branch, including `homolog`, is shippable directly.
- **Direct-main repos ship on `main` by design.** `.bravros/config.json` with `police.direct_main: true` (`bravros police direct-main on`, or a `/git-this` personal repo) has no staging branch — commit and push `main` there without ceremony. The gate is a pure binary: `bravros config get police.direct_main` prints `true` → direct-main, ship allowed; anything else (empty, an error, an older CLI reporting an unknown key) → PR-gated, refuse and point to a PR. `staging_branch` is never the discriminator — `config get staging_branch` never prints empty.
- `/commit`'s rules apply in full: emoji format, no secrets staged, no AI signatures (no `Co-Authored-By` trailer). A `Invalid commit message format … Required format: <emoji> <type>: <description>` rejection of a valid scoped message means a stale repo hook → tell the operator and suggest `/update-hooks`; never drop the scope silently to get past it.

Run `/commit`, then `Skill({skill: "push"})` — `/push` is the canonical push primitive.

Report one line — `✅ <emoji> <type>: <subject> — pushed to origin/<branch>` — or the relevant error.

Files in this skill

  • SKILL.md646 B
  • skill.yaml946 B

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.

Comments

Loading comments…

Newsletter

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