agentleFS
ShipfoxHQShipfoxHQ/shipfox/.agents/skills/ship/SKILL.md

ship

Skill87 starsChanged 12 days agoMITView on GitHub

Ship a Linear issue end to end: implement it, open the pull request, then loop on merge conflicts, CI failures, and review comments until the pull request is green and every review thread is handled, and keep it rebased on main until it merges. Trigger on /ship, ship ENG-123, or take an issue all the way to a reviewed pull request.

  • Deletes or force-pushes
  • Commits and pushes

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

12 rules. 0 are common, 5 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 180 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 7

    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. Distinctive:

    Run the loop below until a stop condition holds.

    line 27
  2. Very specific:

    Run git fetch origin main and git rebase origin/main.

    line 44
  3. Very specific:

    Run the validation for the affected packages, as the commit skill selects it.

    line 48
  4. Distinctive:

    If a conflict needs a decision about the intent of the main change, abort the rebase with git rebase --abort and ask the user.

    line 52
  5. Very specific:

    If every check passes, continue to the review step.

    line 68
  6. Very specific:

    Run this step only when CI is green.

    line 73
  7. Distinctive:

    Stop the loop when the first of these holds:

    line 79
  8. Distinctive:

    Do not merge the pull request or mark the Linear issue done.

    line 86
  9. Very specific:

    Every --watch-minutes minutes, check the pull request:

    line 90
  10. Very specific:

    If state is MERGED or CLOSED, stop and print the final summary.

    line 96
  11. Very specific:

    If mergeable is CONFLICTING, or a review, comment, or unresolved review thread appeared since the last pass, run the loop again with a …

    line 97
  12. Distinctive:

    Run each wait in the background if the shell has a command timeout.

    line 101

“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 an issue

Take one Linear issue from implementation to a green, reviewed pull request.

Input

/ship <issue> [--max-iterations N] [--watch-minutes M]

  • <issue> is a Linear issue key, ID, or URL. If it is missing, ask for it and stop.
  • --max-iterations caps the review loop. The default is 10.
  • --watch-minutes sets how often the watch phase checks for conflicts and new comments. The default is 10.

Process

  1. Invoke the implement-issue skill with the issue. Follow it completely, including its pause when requirements conflict.
  2. Invoke the pr skill. It commits pending changes through the commit skill and opens the pull request.
  3. Record the pull request number with gh pr view --json number,url.
  4. Run the loop below until a stop condition holds.
  5. Print the summary whenever the loop stops. If it stopped with CI green and no open comment, enter the watch phase.

Loop

Each iteration runs these steps in order.

Sync with main

gh pr view <number> --json mergeable --jq .mergeable

GitHub reports UNKNOWN while it computes the result. Retry after a few seconds. If the result is CONFLICTING, rebase on main:

  1. Run git fetch origin main and git rebase origin/main.
  2. Resolve each conflict so both the branch change and the main change survive. Regenerate generated files, such as pnpm-lock.yaml and migration snapshots, instead of merging them by hand.
  3. Run the validation for the affected packages, as the commit skill selects it.
  4. Push with git push --force-with-lease.

If a conflict needs a decision about the intent of the main change, abort the rebase with git rebase --abort and ask the user.

Wait for CI

gh pr checks <number> --watch --fail-fast --interval 30

--fail-fast returns on the first failure so the fix starts while other checks still run.

CI can outlast a shell command timeout. Run the command in the background, or run it again until it exits. Right after a push, checks may not be registered yet. If the command reports no checks, wait a minute and retry.

If every check passes, continue to the review step. If a check fails, invoke the fix-ci skill with the pull request number, then start the next iteration.

Address review comments

Run this step only when CI is green. Invoke the address-pr-comments skill with the pull request number. If it pushed commits, start the next iteration so CI runs again.

Stop conditions

Stop the loop when the first of these holds:

  • CI is green and address-pr-comments found no open comment.
  • The loop reached --max-iterations.
  • The same check fails twice for the same reason after your fix.
  • A rebase conflict or a review comment needs a decision from the user.

Do not merge the pull request or mark the Linear issue done.

Watch phase

Every --watch-minutes minutes, check the pull request:

gh pr view <number> --json state,mergeable,reviews,comments
  • If state is MERGED or CLOSED, stop and print the final summary.
  • If mergeable is CONFLICTING, or a review, comment, or unresolved review thread appeared since the last pass, run the loop again with a fresh iteration count. Review bots often post after CI turns green.

Run each wait in the background if the shell has a command timeout.

Summary

Print:

  • The pull request URL and the stop reason.
  • The iterations used out of the maximum.
  • The final state of each check, and any rerun flaky check.
  • The commits pushed during the loop, and each rebase on main.
  • Comments fixed, declined, deferred, and still open, with links. Include any Linear issues created.

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.