Skip to content
Back to skills

Ship

ASecurity

<!-- BSV — Brief Skill View | поиск: BSV Скил : ship TL;DR : Релиз: версия, changelog, PR, тег — всё сразу Вызов : `/ship`, 'выпусти релиз', 'release' НЕ для : Hotfix без релиза -->

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsgobashgit

Works with

  • claude code

Security analysis

A100/100

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

Scanned September 2, 2026

npx -y skills add sergeeey/Claude-cod-top-2026 --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/sergeeey-ship/badge)](https://www.skillsdirectory.com/skills/sergeeey-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
<!-- BSV — Brief Skill View | поиск: BSV
Скил   : ship
TL;DR  : Релиз: версия, changelog, PR, тег — всё сразу
Вызов  : `/ship`, 'выпусти релиз', 'release'
НЕ для : Hotfix без релиза
-->

---
name: ship
description: >
  USE when ready to release: bump version, update CHANGELOG, create PR.
  ALWAYS run tests first, then version bump, then PR.
  Triggers: /ship, ship:, готов к релизу, release, bump version, create PR.
  [STATUS: review] [CONFIDENCE: high] [REVIEWED: 2026-04-13]
effort: medium
tokens: ~600
---

# /ship — Release Workflow

## When to Use

Ready to merge a feature branch to main. Automates the mechanical release steps:
tests → version bump → CHANGELOG entry → commit → PR.

## Pre-conditions

- You are on a feature branch (NOT main/master)
- All changes are committed
- Tests pass locally

## Workflow

### Step 1 — Verify branch

```bash
git branch --show-current
git status
```

Must be on a feature branch. If on main → STOP, tell user to create branch first.

### Step 2 — Run tests

```bash
pytest tests/ -x -q 2>&1 | tail -20
```

If tests fail → STOP. Report failures. Do NOT proceed to version bump.

### Step 3 — Determine version bump

Ask user (or infer from commits):
- `patch` (x.x.X) — bug fixes, docs, chores
- `minor` (x.X.0) — new features, additive changes
- `major` (X.0.0) — breaking changes

Read current version from `activeContext.md` → `## Project State` → `**Version:**`.

### Step 4 — Bump version in activeContext.md

```bash
grep -n "Version:" .claude/memory/activeContext.md | head -3
```

Update `**Version:** X.Y.Z` → new version.

### Step 5 — Update CHANGELOG.md

Add new entry at the top (after the `# Changelog` header):

```markdown
## [X.Y.Z] - YYYY-MM-DD

### Added
- ...

### Fixed
- ...
```

Populate from `git log --oneline origin/main..HEAD` — actual commits only, [VERIFIED].

### Step 6 — Commit version bump

```bash
git add .claude/memory/activeContext.md CHANGELOG.md
git commit -m "chore: bump version to X.Y.Z"
```

### Step 7 — Create PR

```bash
gh pr create \
  --title "feat: <branch description>" \
  --body "$(cat <<'EOF'
## Summary
- <bullet 1>
- <bullet 2>

## Version
X.Y.Z (patch/minor/major bump)

## Test plan
- [ ] pytest passes
- [ ] ruff check passes
- [ ] CI green

🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
```

## Gotchas

- NEVER bump version on main — branch must exist
- NEVER fabricate commits in CHANGELOG — use `git log` [VERIFIED]
- If CHANGELOG.md does not exist → create it with `# Changelog\n\n` header first
- Version in activeContext.md is the source of truth for this project
- Do not commit to main directly — branch required

## Integration

After `/ship`:
- CI runs automatically (GitHub Actions)
- Merge PR → triggers `pattern_extractor.py` on any `fix:` commits
- Update `activeContext.md ## Current Focus` with next task

Files in this skill

  • SKILL.md2.9 KB
  • plugin.json166 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.