agentleFS
oopsla5xxoopsla5xx/oops-skills/.claude/skills/ship/SKILL.md

ship

Skill4 starsChanged 4 months agoMITView on GitHub

Final ship step — push branch, open PR on GitHub, update status.md, clean up task files. Run after review-pr APPROVE and create-pr-description.

  • Commits and pushes

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

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 162 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If there are still unstaged changes → commit or stash first.

    line 23
  2. Distinctive:

    If the branch already exists on remote: git push.

    line 31
  3. Very specific:

    Use the description prepared by /create-pr-description.

    line 45

“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

Final step: push branch, create the actual PR on GitHub, clean up task files.

Precondition: /review-pr has given a ✅ APPROVE verdict and /create-pr-description has been run.


Run

Step 1 — Confirm state

git status          # no unstaged changes
git log main...HEAD --oneline   # the right commits to ship

If there are still unstaged changes → commit or stash first.

Step 2 — Push branch

git push -u origin HEAD

If the branch already exists on remote: git push.

Step 3 — Create PR

If gh CLI is available:

gh pr create \
  --title "<type>: <task name>" \
  --body "$(cat <<'EOF'
<description from create-pr-description>
EOF
)"

Use the description prepared by /create-pr-description.

If gh is not available:

  1. Open GitHub in a browser
  2. GitHub will detect the new branch and show a "Compare & pull request" banner
  3. Paste the prepared description into the body

Step 4 — Cleanup

# Find the task name from the spec file in .ai/tasks/
ls .ai/tasks/*.md | grep -v TEMPLATE | grep -v -- '-manual-tests\.md$'

After confirming the PR was created successfully:

1. Update `.ai/status.md` — move task from "In Progress" to "Recently Completed":

Recently Completed

  • <task-name> — done: <today's date> — PR: <PR URL>

2. Delete task files:
```bash
rm .ai/tasks/<task-name>.md
rm .ai/tasks/<task-name>-manual-tests.md 2>/dev/null || true

Step 5 — Report

✅ Shipped: <PR URL>
   Branch: <branch-name>
   Cleaned up: .ai/tasks/<task-name>.md

Gotchas

Do not push directly to main. If the current branch is main or master → stop and ask the user.

Protected branch: If push is rejected due to branch protection → guide the user to create a feature branch first: git checkout -b <task-name>.

PR already exists: gh pr create will error if a PR already exists for this branch. Check with gh pr view — if one already exists, just update the description instead.

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.