agentleFS
palpenpalpen/claude-skills/shipit/SKILL.md

shipit

Skill0 starsChanged 7 months agoMITView on GitHub

Commit, push, and create a PR in one command. Stages changed files, generates a conventional commit message from the diff, pushes to the current feature branch, and opens a PR to main. Use when asked to "ship it", "commit and push", "commit push and PR", "create a PR", or "send it".

  • Reads credentials
  • Commits and pushes

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. freelawproject/courtlistener★ 1.1ksame name
    2. nazmulnahid-git/Ai-Stack★ 4same name
    3. AmosChenZixuan/Agentic-working-contract★ 2same name
    4. fire17/shipit★ 1same name

    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 repository10 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the full commit-push-PR pipeline in one shot.

    line 19
  2. Distinctive:

    If you skip any files, mention which ones and why.

    line 31
  3. Very specific:

    Use the format: type: short description (feat, fix, test, chore, docs, refactor)

    line 34
  4. Distinctive:

    Keep the subject line under 72 characters

    line 35
  5. Distinctive:

    Add a body paragraph if the change is non-trivial (more than ~20 lines changed or multiple concerns)

    line 36
  6. Distinctive:

    Use a HEREDOC to pass the message to git commit -m

    line 38
  7. Very specific:

    If no PR exists, create one with gh pr create:

    line 43
  8. Distinctive:

    If a PR already exists and is open, just push (the PR updates automatically).

    line 56
  9. Distinctive:

    Never commit directly to main.

    line 62
  10. Distinctive:

    If a pre-commit hook fails, fix the issue, re-stage, and create a NEW commit (do not amend).

    line 65
  11. Distinctive:

    Always confirm the PR URL at the end so the user can click it.

    line 66

“Common” is measured: kept by at least 6 in 10 of the 4 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 It — Commit, Push, and PR

Run the full commit-push-PR pipeline in one shot. No interactive prompts.

Steps

  1. Orient — run git branch --show-current and git status. If on main, stop and warn.
  2. Diff — run git diff and git diff --cached to see all changes (staged + unstaged). Also run git status to find untracked files. If there are no changes at all, stop and say "Nothing to ship."
  3. Stage — add all relevant changed and untracked files. Do NOT stage:
    • .env* files
    • Files that look like they contain secrets (credentials, tokens, keys)
    • node_modules/, .next/, dist/, build/ If you skip any files, mention which ones and why.
  4. Commit — generate a conventional commit message from the staged diff:
    • Use the format: type: short description (feat, fix, test, chore, docs, refactor)
    • Keep the subject line under 72 characters
    • Add a body paragraph if the change is non-trivial (more than ~20 lines changed or multiple concerns)
    • End with: Co-Authored-By: Claude <noreply@anthropic.com>
    • Use a HEREDOC to pass the message to git commit -m
  5. Push — run git push -u origin <branch>. If the push fails due to SSH/auth, retry once with sandbox disabled.
  6. PR — check if a PR already exists for this branch (gh pr view --json state 2>/dev/null).
    • If no PR exists, create one with gh pr create:
      • Title: the commit subject line (or a summary if multiple commits)
      • Body format:
        ## Summary
        <bullet points summarizing ALL commits on the branch vs main>
        
        ## Test plan
        <checklist of things to verify>
        
        🤖 Generated with [Claude Code](https://claude.com/claude-code)
      • To get the full picture, run git log main..HEAD --oneline and git diff main...HEAD --stat
    • If a PR already exists and is open, just push (the PR updates automatically). Say "PR already open: <url>".
  7. Report — print the PR URL (or the existing PR URL) and a one-line summary.

Rules

  • Never commit directly to main. If on main, refuse and suggest creating a branch.
  • Never force-push.
  • Never use --no-verify.
  • If a pre-commit hook fails, fix the issue, re-stage, and create a NEW commit (do not amend).
  • Always confirm the PR URL at the end so the user can click it.

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.