Skip to content
Back to skills

Ship

ASecurity

Use when committing changes, writing a commit message, opening a pull request, or finishing a development branch. Covers branch naming, commit hygiene, PR descriptions, and the pre-merge checklist.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentstestingcode-reviewgit

Security analysis

A100/100

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

Scanned November 6, 2026

npx -y skills add PeanutGT/NutsSkills --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/peanutgt-ship/badge)](https://www.skillsdirectory.com/skills/peanutgt-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
description: "Use when committing changes, writing a commit message, opening a pull request, or finishing a development branch. Covers branch naming, commit hygiene, PR descriptions, and the pre-merge checklist."
license: Apache-2.0
metadata:
  version: "1.1.0"
  author: PeanutGT
  suite: nuts-engineering
  repository: https://github.com/PeanutGT/NutsSkills
---

# Ship

**Core rule:** Nothing leaves your machine without passing `verify`.

## Branches
- Never commit directly to the default branch. Create `type/short-description` (e.g. `feat/csv-export`, `fix/login-timeout`).
- One branch, one purpose.

## Commits
- Each commit is one coherent change that builds and passes tests.
- Stage specific files; review `git diff --staged` before committing. Never commit secrets, build output, or local config.
- Message format:
  ```
  <type>: <what changed, imperative, ≤ 72 chars>

  <why: the problem and the reason for this approach>
  ```
  Types: `feat`, `fix`, `refactor`, `test`, `docs`, `chore`, `perf`.
- The subject says *what*; the body says *why*. The diff already shows *how*.
- For a bug fix, the body names the root cause found with `debug`, so the next person learns from it.

## Pull requests
Template:
```markdown
## What
One or two sentences.

## Why
The problem or ticket link.

## How
Key decisions and trade-offs; anything surprising.

## Testing
Commands run and results. Manual steps if any.

## Risk
What could break; rollback plan if relevant.
```
- Keep PRs small enough to review in one sitting (rough guide: < 400 changed lines).
- Separate refactors from behavior changes.

## Pre-merge checklist
- [ ] Tests, lint, type-check, build pass (output seen)
- [ ] Diff contains only intended changes
- [ ] No debug logs, TODOs without tickets, or commented-out code
- [ ] Docs / changelog updated if behavior changed
- [ ] Migrations reversible; feature flags in place for risky changes

## Finishing a branch
After merge: delete the branch, close related tickets, and note follow-ups.

## Rules
- Ask before pushing, force-pushing, or merging unless the user already said to.
- Never skip hooks (`--no-verify`) to make a commit pass. Fix the cause.

Related: `verify`, `code-review`.

Files in this skill

  • CHANGELOG.md155 B
  • SKILL.md2.2 KB
  • evals/behavior/case.yaml177 B
  • evals/behavior/graders/01-expected-behavior.md232 B
  • evals/behavior/prompt.md178 B
  • evals/triggers.json257 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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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