agentleFS
haiggohhaiggoh/run-to-completion/skills/ship/SKILL.md

ship

Skill1 starsChanged 12 days agoMITView on GitHub

Use when the user wants to ship ONE branch of ONE repo right now — "/ship", "ship this worktree", "ship the branch I am on". Infers the worktree and branch from the current session (AskUserQuestion only when sitting on the default branch with unmerged branches, or outside any repo), derives the version and release title, then runs that repo''s bin/rtc-ship.sh end to end — gates, merge to the default branch, tag, release, refresh of the plugin, dogfood — and relays every phase verdict. For a whole queue unattended use autopilot; for editing a repo''s rtc-ship.json use ship-config.

194 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ios-sync, open-gstack-browser and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Saqlain-811Skill

    ios-sync

    Regenerate the iOS debug bridge against the latest upstream gstack templates. (gstack)

    Also in 6 projects that use this

  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 10 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 19 projects that use this

  • ShreyRaviSkill

    landing-report

    Read-only queue dashboard for workspace-aware ship. Shows which VERSION slots are currently claimed by open PRs, which sibling Conductor workspaces have WIP work likely to ship soon, and what slot /ship would pick next. No mutations — just a snapshot. Use when asked to "landing report", "what's in the queue", "show me open PRs", or "which version do I claim next". (gstack)

    Also in 9 projects that use this

  • zebbernSkill

    debug-fix

    Find and fix a bug or issue — from any source (GitHub issue, error message, user report, or observed behavior)

    Also in 4 projects that use this

  • ramybarsoumSkill

    document-release

    Post-ship documentation update. Reads all project docs, cross-references the diff, updates README/ARCHITECTURE/CONTRIBUTING/CLAUDE.md to match what shipped, polishes CHANGELOG voice, cleans up TODOS, and optionally bumps VERSION. Use when asked to "update the docs", "sync documentation", or "post-ship docs". Proactively suggest after a PR is merged or code is shipped.

    Also in 23 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 180 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Not inside any repo at all → AskUserQuestion for the repo path (header "Repo", free-text Other), then pick the worktree from git -C <path> …

    line 21
  2. Very specific:

    Version and title — derived, not asked: Read the target repo's declared manifest (rtc-ship.json manifest, default …

    line 25
  3. Distinctive:

    Never force-push; a published tag that is wrong moves only with the user's explicit approval (delete + recreate), otherwise fix forward in …

    line 52
  4. Distinctive:

    Ask the depth question every time — an earlier "you may push" does not cover merge, tag or release.

    line 54
  5. Distinctive:

    When you begin working under this skill, lead your first substantive reply with "🏃 ship:" so the user can see which plugin just became …

    line 67

“Common” is measured: kept by at least 6 in 10 of the 180 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ship — one branch, one repo, shipped all the way out

rtc-ship.sh owns the loop; this skill owns the conversation around it: infer what can be inferred from the session, ask only what genuinely needs a human, run the loop, relay the verdicts. It does not re-implement any loop step.

The flow

  1. Which worktree/branch — inferred first, asked only when ambiguous. Resolve the session's own location: git rev-parse --show-toplevel and git branch --show-current.
    • Inside a repo on a NON-default branch → that worktree and branch are the ship target. State them ("shipping <branch> in <toplevel>") and move on — no question.
    • Inside a repo ON the default branch → list the unmerged branches (git branch --no-merged <default> plus git worktree list) and AskUserQuestion which one to ship (header "Branch", option labels <branch> — <worktree path>).
    • Not inside any repo at all → AskUserQuestion for the repo path (header "Repo", free-text Other), then pick the worktree from git -C <path> worktree list. The default branch is resolved, never assumed (bin/rtc-ship.sh --which-config), and a worktree is the only safe ship target — never the canonical checkout.
  2. Version and title — derived, not asked. Read the target repo's declared manifest (rtc-ship.json manifest, default .claude-plugin/plugin.json) and its top CHANGELOG entry: version = X.Y.(Z+1); title = the CHANGELOG entry's text after the date, else the first line of git log <default>..HEAD. Print both. AskUserQuestion only when the derivation is genuinely ambiguous (header "Version/title", first option "use the derived <version> / <title>").
  3. How far may it go — always asked once. AskUserQuestion, header "Depth", with the full loop as the first option: gates → merge to the default branch → tag → release → refresh → dogfood. Other options: "through the merge only" and "gates only (--test-only)". A ship that stops short of the default branch is not yet obtainable by installers — say so when the user picks a shorter depth.
  4. Run it. From the target repo's root: bash bin/rtc-ship.sh <worktree-dir> <version> "<title>" (append --no-reap only if the user asks to keep the worktree). Stream the phase output to the user as it goes. On a non-zero exit, report the failing phase and the tail the script already printed, and STOP — do not retry blindly; say what has to be fixed first (a red gate, a dirty canonical checkout, a version-surface split).
  5. Inspection modes first, when asked: --which-config (what the repo resolves today), --versions-only / --check-versions (the gate alone, writes nothing), --bump-versions <dir> <version> (rewrite only the declared surfaces). Offer these as a first AskUserQuestion choice when the user says "check" rather than "ship".

Rules that still apply

  • The canonical checkout must be clean on the default branch when the config sets require_default_branch_checkout — back up any foreign dirt byte-identically, never discard it.
  • Never force-push; a published tag that is wrong moves only with the user's explicit approval (delete + recreate), otherwise fix forward in the next version.
  • Ask the depth question every time — an earlier "you may push" does not cover merge, tag or release.

When NOT to use

  • A whole standing queue to clear unattended — that is autopilot.
  • Editing or inspecting a repo's rtc-ship.json — that is ship-config.
  • A repo with no bin/rtc-ship.sh — say so and stop; do not improvise a loop by hand.
  • The user only wants to read state (no ship intended) — use the inspection modes in step 5 and stop there.

Branding (🏃)

When you begin working under this skill, lead your first substantive reply with "🏃 ship:" so the user can see which plugin just became active.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.