agentleFS
EternallLightEternallLight/tgc-skills/skills/ship/SKILL.md

ship

Skill9 starsChanged 5 months agoMITView on GitHub

Use when implementation on a branch is done and the user wants it taken through review — "ship", "ship it", "run the pipeline", or any ask to get the current changes polished, pushed, PR'd, and reviewed.

  • 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

4 rules. 0 are common, 2 are distinctive, and 2 are 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.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Polish: Run tgc-skills:polish on the diff (correctness + simplification + over-engineering lenses.

    line 24
  2. Distinctive:

    Gate: Run the repo's documented local or pre-push gate.

    line 27
  3. Distinctive:

    Commit: Follow the repo's commit convention, falling back to a conventional message.

    line 31
  4. Very specific:

    PR.: If none exists, gh pr create with a concise body: what changed, why, how it was verified.

    line 39

“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 — polish → gate → push → PR → review loop

Runs the standard pre-merge pipeline on the current branch. It ends at a reviewed PR.

HARD RULE: this skill NEVER merges. Not on clean approval, not on green CI, not "to save a step". Merging is the human's move, always. The terminal state is a reviewed PR plus a report.

Arguments

  • Optional PR title / extra instructions. If a PR already exists for the branch, reuse it.

Steps

  1. Preflight. Resolve the GitHub default branch, confirm the current branch is not it, verify git status is coherent, and ensure the intended work is in the diff.
  2. Polish. Run tgc-skills:polish on the diff (correctness + simplification + over-engineering lenses; applies the safe findings). Skip only if the user says "no polish".
  3. Gate. Run the repo's documented local or pre-push gate. Use hooks, project instructions, and package scripts to discover reproducible commands. Do not claim that copying GitHub Actions run: lines reproduces actions, services, matrices, or external checks; when there is no local gate, say CI remains authoritative.
  4. Commit. Follow the repo's commit convention, falling back to a conventional message. Stage only files belonging to the change; inspect the complete index before committing. Do not exclude intentional plans or documentation merely because of their names.
  5. Update the base if needed. Fetch the PR base/default branch. If the committed feature branch is behind, merge the fetched base, resolve conflicts explicitly, and rerun the local gate. Do not rebase a published branch or force-push.
  6. Push. Push normally, establishing an upstream if needed. Never force-push.
  7. PR. If none exists, gh pr create with a concise body: what changed, why, how it was verified. Note any DB migration prominently.
  8. Review loop. Invoke tgc-skills:review-loop on the PR; it reports its heartbeat path before dispatching the loop agent.
  9. Report. PR URL, loop outcome (clean / max-iterations / non-converging), findings fixed vs dismissed, gate evidence (what passed), and the current state of the hosted checks (gh pr checks). Only reach the ready-to-merge line once those checks are green or the user has explicitly authorised merging despite them; if any are still pending or failing, say so and stop short of the handoff instead. End with: "Ready for you to merge. Run /tgc-skills:merged after merging for the post-merge checks and cleanup."

Red flags — stop and ask

  • You're about to type gh pr merge in any form → violation of the hard rule, full stop.
  • The diff contains a DB migration → flag it in the PR body and the report (the post-merge check in merged will look for it).
  • The branch is behind its base → merge the fetched base without rewriting published history, then continue.

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.