agentleFS
e-reitbauere-reitbauer/habits/skills/ship/SKILL.md

ship

Skill1 starsChanged 6 days agoMITView on GitHub

Ships finished work end to end: checks, commits (via the commit skill), versioning, push, pull request (via the pr skill), CI pipeline watching, release and publish verification. Use when the user says "ship it", "ship this", "push and watch CI", "release", "cut a release", "publish", "bump the version", "anything uncommitted/unpushed?", "did the release run?", or invokes /ship.

  • Reads credentials
  • 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

8 rules. 0 are common, 5 are distinctive, and 3 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.

  • 3

    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:

    Never force-push, skip hooks (--no-verify), or edit CI secrets.

    line 23
  2. Distinctive:

    Don't bump a version that release tooling bumps itself.

    line 24
  3. Very specific:

    Read .github/workflows/* to learn what runs on push, PR, tag and merge, and which commands CI runs (tests, lint, build).

    line 54
  4. Distinctive:

    No release setup and no version file: skip versioning unless the user asks for it.

    line 57
  5. Distinctive:

    Commit with the commit skill.

    line 72
  6. Very specific:

    release-please: after the push to the default branch, find the release PR (gh pr list --label "autorelease: pending"), show its version and …

    line 89
  7. Distinctive:

    Tag-driven: after the user confirms, push the tag, then watch the tag workflow.

    line 92
  8. Distinctive:

    If a release workflow didn't run or didn't publish, find out why (missing trigger, failed job, skipped step, version already published) …

    line 98

“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 Skill

Take finished work from the working tree to a verified release, using the project's own release setup. Each step builds on the one before; stop and report when a step fails.

Ground rules

  • Commits go through the commit skill, PRs through the pr skill. Never run git commit or gh pr create directly.
  • Invoking this skill approves the commit + push for the current work. Merges, tags, publishing, and deploys to production still need the user's explicit OK, asked with AskUserQuestion.
  • Never force-push, skip hooks (--no-verify), or edit CI secrets.
  • Don't bump a version that release tooling bumps itself.

1. Preflight

Run in parallel:

  • git status --short, git branch --show-current, git log @{u}..HEAD --oneline (unpushed), git fetch then git log HEAD..@{u} --oneline (behind)
  • git remote get-url origin and gh auth status
  • git log $(git describe --tags --abbrev=0 2>/dev/null)..HEAD --oneline (since last tag)

Check:

  • GitHub account: remotes may use SSH host aliases (for example github.com-work). Make sure gh is logged in as the account that owns the repo; if not, tell the user to run gh auth switch.
  • Behind the remote: pull/rebase first if the branch is behind.
  • Secrets: scan the diff for tokens, keys, .env files, and credentials before anything is committed. Stop and report if found.

2. Detect the release setup

FoundRelease mechanismVersion bump
release-please-config.json / release-please actionRelease PR from Conventional Commits; merging it tags, releases, publishesNever manual
.changeset/ChangesetsAdd a changeset (npx changeset), don't edit versions
semantic-release configFully automatic on pushNever manual
Workflow on tags:Pushing a tag triggers the release (Docker images, binaries)Bump manifest if it holds the version, then tag vX.Y.Z
package.json + npm publish without toolingManualnpm version <x> --no-git-tag-version
Cargo.toml / pyproject.toml / gradle.properties / build.gradle(.kts)Manual or tag-drivenEdit the version field
Xcode projectApp Store / TestFlightMARKETING_VERSION (+ CURRENT_PROJECT_VERSION build number)
Pages / deploy on push onlyNo versionsNothing to bump

Read .github/workflows/* to learn what runs on push, PR, tag and merge, and which commands CI runs (tests, lint, build).

No release setup and no version file: skip versioning unless the user asks for it.

3. Pick the version (only when bumping manually)

Load the versioning skill: it detects the project's versioning scheme and decides the next version. Include the proposed version in the plan for approval.

4. Plan, then local checks

Show one short plan: commits to make, version (if any), push target, PR or not, what CI and release will do. Then run the same checks CI runs (tests, lint, typecheck, build) locally. Fix failures before committing; report anything you can't fix.

5. Commit and push

  1. Commit with the commit skill.
  2. Pick the target branch with the branching skill: it detects the project's branching strategy and says whether this work goes on a feature branch with a PR (opened with the pr skill) or straight to the default branch.
  3. Push with git push -u origin <branch>. If a tag triggers the release, push the tag only after the user confirms.

6. Watch the pipelines

  • Find the runs: gh run list --branch <branch> --limit 5 (and gh pr checks <pr> for PRs).
  • Watch them with gh run watch <id> --exit-status as a background command; don't poll in a loop.
  • On failure: gh run view <id> --log-failed, find the cause, fix it, commit with the commit skill, push, and watch again. Report flaky or unrelated failures instead of retrying blindly.

7. Release and verify

  • release-please: after the push to the default branch, find the release PR (gh pr list --label "autorelease: pending"), show its version and changelog, and ask the user before merging. After the merge, watch the release workflow.
  • Tag-driven: after the user confirms, push the tag, then watch the tag workflow.
  • Verify the artifact actually exists:
    • npm: npm view <pkg>@<version> version
    • GitHub release: gh release view <tag>
    • Docker: the image tag in the registry (workflow output or docker manifest inspect)
    • Pages / deploy: the deploy run succeeded and the URL returns 200 (curl -sI)
  • If a release workflow didn't run or didn't publish, find out why (missing trigger, failed job, skipped step, version already published) before suggesting a re-run.

8. Loose ends

  • Open Dependabot PRs: list them with their check status (gh pr list --author app/dependabot). Merge only when the user says so.
  • Leftover uncommitted or unpushed work: list it.

9. Report

End with what shipped: commits, version, PR link, workflow run results, release / package / deploy links, and anything still pending (release PR waiting, review pending, failed checks).

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.