agentleFS
ShakhzodbekBabakulovShakhzodbekBabakulov/worktree-guard/skills/ship/SKILL.md

ship

Skill1 starsChanged 3 months agoMITView on GitHub

Prepare unpublished work when needed, merge the tested pull request safely, and verify configured deployments. Use on the user's /ship request. Cleanup is /done.

179 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cso, setup-deploy 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.
  • ayudaySkill

    cso

    Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".

    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 10 projects that use this

  • AICreator-WindSkill

    document-release

    技术作家工具。更新项目文档。

    Also in 10 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 11 projects that use this

  • AICreator-WindSkill

    freeze

    文件编辑锁定工具。限制文件编辑范围。

    Also in 14 projects that use this

  • CodeWithBehnamSkill

    setup-browser-cookies

    Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages.

    Also in 9 projects that use this

  • +2 more from AICreator-Wind
  • +1 more from ayuday
  • Other versions179 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 179

    1. rtk-ai/rtk★ 82ksame name
    2. ShenSeanChen/waku-agent★ 1.9ksame name
    3. suboss87/FDEOps★ 950same name
    4. bex-co/bex★ 569same name
    5. nudgebee/nudgebee★ 398same name
    6. nightly-labs/openbot★ 350same name
    7. ucsandman/marketing-studio★ 249same name
    8. garagon/nanostack★ 207same name
    9. awslabs/loom★ 190same name
    10. genkovich/sdd★ 170same name

    169 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 162 edited versions we read keep these.

  • 1

    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
  1. Very specific:

    If needs_push: true (missing PR, unsaved/unuploaded work, or a different review head), execute the shared push stage fully and then …

    line 12
  2. Distinctive:

    Wait for older blocking PRs at 60-second intervals for at most 30 minutes.

    line 14
  3. Very specific:

    Run this standalone command with the tool working directory set to the target repository (no cd && prefix or repository override):

    line 17
  4. Very specific:

    Follow the project's merge method if different.

    line 23

“Common” is measured: kept by at least 6 in 10 of the 162 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 — prepare if needed, merge, verify

Host: {{WG_HOST}}. /ship includes the push stage when needed. Respect project instructions and host permissions; do not publish or merge without the user's request.

  1. Inspect the task workspace and branch. Name an isolated unnamed native worktree as described in the shared push stage. Stop on the protected default branch. Run {{WG_HELPERS}}/workflow-status. Stop on errors or CLOSED. On MERGED, report whether newer work remains; suggest /done only for finished work.
  2. If needs_push: true (missing PR, unsaved/unuploaded work, or a different review head), execute the shared push stage fully and then continue shipping. Do not stop at the preview link. Re-read status afterwards. Never recurse from /push into /ship.
  3. Fetch origin. Run {{WG_HELPERS}}/codex-session-conflict-check --pr <number> (a compatibility name shared by both hosts). Read gh_ok, warnings and each blocking field. Unknown is not all-clear. Overlapping unsubmitted local work, including later edits behind an existing PR, stops shipping and identifies the workspace. Older overlapping PRs go first; newer submitted PRs do not block this one.
  4. Wait for older blocking PRs at 60-second intervals for at most 30 minutes. Remain responsive and report meaningful changes/elapsed time. Do not schedule recurring automations, message others, or wait indefinitely. If still blocked, report and stop. Fetch and check again after waiting.
  5. Merge the current remote review base into this feature branch. Stop for nontrivial unresolved conflicts. Run documented fast checks (lint, type checks, unit tests) if code changed. Reuse prior evidence only when recorded for the exact unchanged head; otherwise check now. Failures stop merging. Push updated feature work explicitly. Confirm local HEAD, remote feature tip and PR head match; recheck if work changes.
  6. Inspect hosted checks. Failed, pending or unknown results stop merging. If no hosted checks exist, disclose that and rely on verified project checks. Run the conflict checker again immediately before merging.
  7. Run this standalone command with the tool working directory set to the target repository (no cd && prefix or repository override):

    gh pr merge <number> --squash --match-head-commit <tested-commit>

    Follow the project's merge method if different. Do not use --delete-branch; cleanup belongs to /done. If blocked, re-evaluate the blocker. If queued, verify actual MERGED state before claiming success.

  8. Verify MERGED state and resulting base commit. For affected configured deployments, use provider/check evidence tied to that commit plus the documented application check. An old page responding is not deployment proof. Report failed/pending/unavailable deployment checks separately from a successful merge. If no deployment is configured, say so.
  9. Report review URL, checks, merge commit, deployment evidence/limitations and waiting. Next: /done. Do not remove branches/workspaces here.

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.