agentleFS
therapystherapys/dotagents/skills/ship/SKILL.md

ship

Skill8 starsChanged 3 months agoMITView on GitHub

Take the current changes from a dirty tree to an open pull request — branch, commit, push, and open the PR. Use when the user says any of: 'create a pr to main/dev', 'open a pr', 'push to main', 'commit and push', 'push this to git', 'ship it', 'push to the linear branch and open a draft PR', or asks to do the same across multiple repos ('push to each repo except infra').

  • 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

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

  • 0

    Common

    Most of the 162 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 5

    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:

    Base branch is main: Only target dev when the user explicitly says "to dev".

    line 12
  2. Very specific:

    Never target or push directly onto main/dev for feature work — always go through a branch + PR, even when the user says "push to main" …

    line 17
  3. Very specific:

    Branch: if currently on main/dev, create the correctly-named branch (see conventions) and switch to it.

    line 22
  4. Very specific:

    Commit: follow the commit skill for the message (Conventional Commits subject).

    line 23
  5. Distinctive:

    Run steps 1–5 per repo that has changes.

    line 34
  6. Very specific:

    If there are unrelated/ambiguous staged files, ask which to include before committing (per the commit skill).

    line 39
  7. Distinctive:

    Don't force-push. Don't amend or rebase shared history unless asked.

    line 40
  8. Distinctive:

    If a Linear issue id was given, after opening the PR, offer to move the issue to "In Review" / link the PR via the Linear MCP — do it only …

    line 41

“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

One flow from working changes to an open PR. Delegates the commit message to the commit skill; owns everything around it (branch, push, PR).

Conventions

  • Base branch is main. Only target dev when the user explicitly says "to dev".
  • Branch naming:
    • Linear issue given (e.g. ABC-123): name the branch <id>/<slug> (lowercase id + short kebab slug from the issue title), matching Linear's copy-branch format. Use the Linear MCP to fetch the issue title for the slug when available.
    • Otherwise: feat/<slug> for features, fix/<slug> for bug fixes (mirrors existing branches).
  • PR is a normal PR by default. Open a draft only when the user says "draft".
  • Never target or push directly onto main/dev for feature work — always go through a branch + PR, even when the user says "push to main" (that means "get it onto main via a PR").

Steps

  1. git status / git diff to understand the changes and the current branch.
  2. Branch: if currently on main/dev, create the correctly-named branch (see conventions) and switch to it. If already on a suitable feature branch, stay.
  3. Commit: follow the commit skill for the message (Conventional Commits subject). Honor any file scoping or guidance in the user's prompt.
  4. Push: git push -u origin <branch>.
  5. Open PR: gh pr create --base <main|dev> --title "<subject>" --body "<short summary>" (add --draft only if requested). Prefer --fill when the commit subject/body already say enough.
  6. Return the PR URL. If CI matters, hand off to fix-ci.

Multi-repo mode

Trigger: "on each of the repos", "all repos except infra", "push to git on each repo".

  • Target set = the sibling git repos under a shared parent dir.
  • Honor any excludes the user names (e.g. "except infra").
  • Run steps 1–5 per repo that has changes. Skip clean repos and report them as skipped.
  • Summarize at the end: one line per repo → branch + PR URL (or "no changes").

Guardrails

  • If there are unrelated/ambiguous staged files, ask which to include before committing (per the commit skill).
  • Don't force-push. Don't amend or rebase shared history unless asked.
  • If a Linear issue id was given, after opening the PR, offer to move the issue to "In Review" / link the PR via the Linear MCP — do it only if the user confirms.

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.