agentleFS
amanjotxamanjotx/Agent-Skills/skills/ship/SKILL.md

ship

Skill0 starsChanged 54 days agoMITView on GitHub

Prepare a clean branch from latest main, commit with conventional prefixes, push, and open a GitHub PR with a detailed body including diagrams. Use when the user says /ship, ship, commit and PR, or asks to push and raise a pull request for the current work.

  • 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

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. 0 are common, 15 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 180 edited versions we read keep these.

  • 15

    Distinctive

    This author's own choices. Worth a look.

  • 4

    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:

    Commit current work, push, and open a pull request.

    line 13
  2. Distinctive:

    Follow the user's git safety protocol: never change git config.

    line 18
  3. Very specific:

    Never commit secrets (.env, credentials, private keys, tokens).

    line 21
  4. Distinctive:

    Use HEREDOC for commit messages and PR bodies.

    line 26
  5. Distinctive:

    Keep this workflow project-agnostic.

    line 27
  6. Distinctive:

    Use production-grade Conventional Commits.

    line 33
  7. Distinctive:

    Default base branch (main preferred, else master or repo default)

    line 67
  8. Distinctive:

    If there is nothing to commit and no unpushed commits relevant to this work, stop.

    line 70
  9. Distinctive:

    No if on main/master/default, a mismatched topic branch, a stale unrelated branch, or a detached HEAD.

    line 81
  10. Distinctive:

    If the current branch is not meant for these changes:

    line 84
  11. Distinctive:

    If the working tree is dirty, stash with a clear message (default.

    line 85
  12. Very specific:

    Create and check out a new descriptive branch, e.g.

    line 89
  13. Distinctive:

    If the current branch is meant for these changes:

    line 93
  14. Distinctive:

    Before committing, update from base when needed (rebase or merge from latest base per repo norms.

    line 95
  15. Distinctive:

    Never build a PR directly from the default branch.

    line 99
  16. Distinctive:

    Prefer one coherent commit unless the user asked for a split.

    line 103
  17. Distinctive:

    After commit, run git status to confirm the expected state.

    line 106
  18. Distinctive:

    If a hook fails: fix the issue and create a new commit.

    line 107
  19. Very specific:

    Create with gh pr create and a HEREDOC body.

    line 162

“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

Commit current work, push, and open a pull request. Invoking this skill is explicit permission to create/switch branches, commit, push, and run gh pr create.

Hard rules

  • Follow the user's git safety protocol: never change git config; never skip hooks; never force-push to main/master; amend only when their amend rules are fully satisfied.
  • Never commit secrets (.env, credentials, private keys, tokens). Warn and exclude them if present.
  • Stage only files that belong to this change. Do not use blanket git add . / git add -A unless the tree is clearly intentional and clean of junk.
  • Use HEREDOC for commit messages and PR bodies.
  • Keep this workflow project-agnostic. Infer verify commands and layout from the repo; do not hardcode app or package names.
  • Return the PR URL when finished.

Conventional commit prefixes

Use production-grade Conventional Commits. Pick one primary type:

PrefixWhen
featNew user-facing capability
fixBug fix
refactorInternal restructure with no intended behavior change
perfPerformance improvement
choreMaintenance, tooling, deps, housekeeping
docsDocumentation only
testTests only
ciCI configuration / pipelines
buildBuild system or bundler changes
styleFormatting / lint-driven churn with no logic change
revertRevert a previous commit

Format:

type(optional-scope): imperative summary

Optional body: why this change exists (1–2 sentences).

Examples: feat(auth): add refresh token rotation, fix: prevent double-submit on checkout, chore: bump lint config.

Workflow

1. Inspect (run in parallel)

  • git status
  • git diff and git diff --staged
  • git branch -vv (current branch + tracking)
  • git log -8 --oneline (message style)
  • Default base branch (main preferred, else master or repo default)
  • Remote sync state (git status -sb, unpushed commits)

If there is nothing to commit and no unpushed commits relevant to this work, stop. Do not open an empty PR.

2. Ensure the correct branch

Goal: land work on a dedicated feature branch based on latest base.

  1. Determine whether the current branch is meant for these changes:
    • Yes if it is already a descriptive topic branch for this work (feat/…, fix/…, chore/…, or clearly matching the change intent) and it is not the default branch.
    • No if on main/master/default, a mismatched topic branch, a stale unrelated branch, or a detached HEAD.
  2. If the current branch is not meant for these changes:
    • If the working tree is dirty, stash with a clear message (default; do not ask unless stash is impossible).
    • git checkout <base>
    • git pull --ff-only (or equivalent fast-forward update from tracking remote)
    • Create and check out a new descriptive branch, e.g. feat/short-topic, fix/short-topic, chore/short-topic
    • git stash pop onto the new branch; resolve conflicts if any.
  3. If the current branch is meant for these changes:
    • Stay on it.
    • Before committing, update from base when needed (rebase or merge from latest base per repo norms; prefer non-destructive options; do not force-push unless the user explicitly asks).

Never build a PR directly from the default branch.

3. Commit

  • Prefer one coherent commit unless the user asked for a split.
  • Message uses a proper conventional prefix and an imperative summary.
  • Body (optional): focus on why, not a file list.
  • After commit, run git status to confirm the expected state.
  • If a hook fails: fix the issue and create a new commit. Do not amend unless amend rules are fully met.

4. Push

git push -u origin HEAD

Request required permissions when sandbox/network/gh blocks the operation.

5. Open the PR

Analyze all commits that will merge into base (not only the latest).

Title: same spirit as the commit summary — clear, specific, conventional when it helps. No vague titles.

Body template (required):

## Summary

- 2–5 bullets on what ships and why it matters

## Why

- Problem, motivation, or trigger for this change

## What changed

- Bullets grouped by concern (behavior, API/contracts, data, UI, infra, tests, docs)
- Explicitly call out breaking changes, migrations, or auth/session behavior shifts

## Architecture / flow

Include at least one:

1. Mermaid diagram (sequence, flowchart, or state) for the primary path
2. ASCII diagram for structure, layering, or before → after

Use Mermaid for control flow; ASCII for trees or layer maps.
Diagrams must match the actual diff — do not invent architecture.

## Risk / rollback

- Likely failure modes
- Safe revert / mitigation notes

## Test plan

- [ ] Concrete steps a reviewer can run
- [ ] Repo-appropriate verification commands discovered from the project

Create with gh pr create and a HEREDOC body. Set --base explicitly when needed.

6. Report back

Keep it short:

  • branch name
  • commit summary
  • PR title
  • PR URL
  • any intentionally uncommitted files

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.