Skills Prompts

Popular categories

Agent skill · gstack

/ship Take a branch from finished code to an open PR

Ship runs the release path for a feature branch in one command. It merges the base first, runs tests and coverage checks, reruns the review and an adversarial pass, bumps the version and changelog, audits docs, commits in bisectable chunks, verifies the frozen content again, then pushes and opens the PR. Routine choices are automatic; conflicts and risky findings stop for you.

Works with

  • Claude Code
  • Codex, Cursor, OpenCode, Gemini CLI and other agents

Used forDeployment and git

When to use it

  • A feature is done and you want tests, review and release notes handled together.
  • You want the version bump and changelog chosen consistently from the diff.
  • You need a final check that nothing changed after tests and review passed.

How it works

  1. 1
    Pre-flight and merge

    The agent refuses to ship from the base branch, fetches it and merges it in before any tests run.

  2. 2
    Test and review

    It runs the test suites, audits coverage and plan completion, then runs the pre-landing and adversarial reviews.

  3. 3
    Prepare the release

    It picks the version bump, updates CHANGELOG and TODOS, audits docs and commits in bisectable pieces.

  4. 4
    Verify frozen content

    No completion claim is allowed without fresh evidence; any later code change sends it back through tests and review.

  5. 5
    Push and publish

    It pushes the branch, opens or updates the PR and records ship metrics.

What it steers the agent away from

  • Claiming success without fresh verification evidence.
  • Duplicate version bumps, pushes or PRs on reruns.
  • Committing generated tests that fail.

Install this skill

It installs with the gstack pack.

Claude CodeThe README wraps this command in a prompt you paste into Claude Code, which also adds a short gstack section to CLAUDE.md.
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup
Claude Code (team mode for a shared repo)Run inside your repo; it commits a bootstrap so teammates get gstack with auto-updates, and needs Node.js for the required hook.
(cd ~/.claude/skills/gstack && ./setup --team) && ~/.claude/skills/gstack/bin/gstack-team-init required && git add .claude/ CLAUDE.md && git commit -m "require gstack for AI-assisted work"
Codex, Cursor, OpenCode, Gemini CLI and other agentsUse --host auto for every detected agent or name one host; non-Claude hosts are listed as experimental.
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/gstack
cd ~/gstack && ./setup --host auto # or: ./setup --host codex
./setup --status # one row per install: host, tier, scope, version, path

Commands come from the author’s README; check it for changes before you run them.

Questions

Does it ask before every step?

No. Routine work such as including uncommitted changes, small version bumps and changelog drafts proceeds without asking; complex conflicts and blocking findings stop for your answer.

What happens if I change code after review?

The verification stage detects the change and routes back through tests and review before anything is pushed.

More guides from gstack

Also in this pack

All 30 skills →

Summary by trendhub. The skill itself lives in garrytan/gstack/ship by Garry Tan (MIT); read the full, current text there.