agentleFS
nathanchasenathanchase/claude-code-starter/.claude/skills/ship/SKILL.md

ship

Skill1 starsChanged 5 months agoMITView on GitHub

Take a work item — a freeform task, a GitHub issue (#N or URL), or a Jira ticket (KEY or URL) — all the way to a shipped PR. Resolves the item (text + images + comments), investigates, plans, adversarially vets the plan, implements, verifies, and opens a PR. Sets a /goal so it runs to completion across turns. Use when the user says implement / build / ship / deliver a task, issue, or ticket.

  • 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 setup-deploy, debug-fix 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

    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 23 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

  • 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 12 projects that use this

  • ayudaySkill

    unfreeze

    Clear the freeze boundary set by /freeze, allowing edits to all directories again. Use when you want to widen edit scope without ending the session. Use when asked to "unfreeze", "unlock edits", "remove freeze", or "allow all edits".

    Also in 26 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 11 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 25 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 185 edited versions we read keep these.

  • 1

    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
  1. Distinctive:

    Subagents: keep investigation and review in separate context windows (they counter agentic laziness, self-preferential bias, and goal …

    line 16
  2. Very specific:

    Write the plan to ~/.claude/plans/ship-<slug>.md: acceptance criteria → the smallest set of file changes that satisfies them → the existing …

    line 61
  3. Very specific:

    Run the project's quality gates (typecheck, lint, tests) and surface the output — the /goal evaluator reads it.

    line 77
  4. Very specific:

    Run /code-review on the diff (built-in adversarial review).

    line 78
  5. Very specific:

    When the PR is open and the gates are green, the /goal evaluator sees the condition met and clears the goal.

    line 88

“Common” is measured: kept by at least 6 in 10 of the 185 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 a work item

One pipeline, any input: resolve → investigate → plan → vet → implement → verify → ship. The two failure modes it guards against are coding before the work is understood and coding more than the item asks for.

This skill leans on three primitives instead of a hardcoded script:

  • /goal carries the work across turns — set one measurable completion condition and Claude keeps going until an evaluator confirms it holds. This replaces fixed "max N iterations" budgets.
  • Subagents keep investigation and review in separate context windows (they counter agentic laziness, self-preferential bias, and goal drift).
  • A dynamic Workflow is the escalation for genuinely large items (many files, cross-cutting) — fan out investigators and adversarial verifiers. Most items don't need it: ask whether it really needs more compute before reaching for one.

Project setup: substitute your base branch (main, or develop/your integration branch) and your project's quality-gate commands (typecheck / lint / test) wherever they appear — read them from package.json scripts / the build config. Git identity is assumed already configured.


Step 1 — Resolve the work item (classify-and-act)

Detect the input type from $ARGUMENTS and pull everything before planning:

  • GitHub issue (#N, or github.com/<owner>/<repo>/issues/N) → gh issue view <N> --repo <owner>/<repo> --json title,body,labels,comments,state,url. Default repo: gh repo view --json nameWithOwner -q .nameWithOwner.
  • Jira ticket (ABC-1234, or your-site.atlassian.net/browse/ABC-1234) → fetch with the Atlassian MCP getJiraIssue; use the jira-attachments skill to download and Read every image (a ticket's real intent is often in the picture).
  • Freeform text → use it directly as the work description.
  • Empty → bail; ask what to ship.

Ingest images either way. Screenshots may be the desired end state, a bug repro, or a user-provided example. Read them — never plan from alt text.

Done when: you can state the goal in one paragraph and list the acceptance criteria as an explicit checklist. If criteria are missing or ambiguous, derive them from the evidence and flag the ambiguity before continuing.

Step 2 — Pre-flight

git status                                      # if the base branch is dirty, ask to commit first (offer /focused-committer)
git checkout main && git pull origin main       # substitute your base branch
git checkout -b <type>/<kebab-slug>             # prefix by intent: fix/ feature/ chore/ refactor/

Step 3 — Set the goal

Compose one completion condition from the acceptance criteria and set it. The evaluator judges from what you surface in the transcript, so make every clause demonstrable:

/goal <the item>'s acceptance criteria are all met (each shown satisfied in the transcript), the project's typecheck, lint, and tests pass (their output shown), and a PR is open against <base-branch> linked to the item — without modifying files unrelated to the plan; or stop after 25 turns

A good condition has one measurable end state, a stated check proving it, and constraints that must not change. The or stop after N turns clause bounds runaway loops (the old skill's iteration budgets, now expressed as the goal itself).

Step 4 — Investigate & plan

Investigate with a subagent so the finding — not the file dump — returns to your context:

  • Straightforward item → one investigator agent (Task), or the built-in Explore agent for a quick pattern search.
  • Large / cross-cutting item → a dynamic Workflow that fans out investigators (and, if it crosses a client+service boundary, verifies the contract on both sides). Reach for this only when the scope warrants it.

Write the plan to ~/.claude/plans/ship-<slug>.md: acceptance criteria → the smallest set of file changes that satisfies them → the existing repo patterns each change mirrors → test strategy. YAGNI is the default — no new dependencies, no speculative abstractions.

Step 5 — Vet the plan (adversarial)

Hand the plan to a fresh subagent whose only job is to poke holes — a lazy senior developer walking the YAGNI ladder (necessity → reuse existing → native/stdlib → already-installed dep → one-liner → minimal code), stopping each proposed change at the first rung that works. Never simplify away validation, error handling, security, accessibility, or anything the item explicitly asks for.

Also run /plan-analyzer on the plan file to verify every file reference and assumption against the codebase. Fold both back in.

Interactive checkpoint (default): present the vetted plan and get a nod before implementing. Skip only if the user asked to run hands-off (auto mode + the active /goal will then carry it through delivery without pausing).

Step 6 — Implement

Write the minimal, vetted change, mirroring the precedent files for structure and idiom. Follow .claude/rules/minimal-code.md (reuse before writing, root-cause over symptom, no unrequested abstractions) and the project's standards in AGENTS.md/CLAUDE.md. Change nothing outside the plan. If you delegate implementation to a subagent or Workflow, tell it to follow that rule — subagents don't inherit session rules.

Step 7 — Verify

  • Run the project's quality gates (typecheck, lint, tests) and surface the output — the /goal evaluator reads it.
  • Run /code-review on the diff (built-in adversarial review). Fix every real finding, including pre-existing lint/type errors. Re-run until clean.
  • Confirm each acceptance-criterion is actually satisfied, not merely attempted. For behavior changes, verify in the running app (/verify or /browser-debug).

Step 8 — Ship

  1. Group the diff into focused conventional commits and commit them directly (git add per logical group → git commit), one concern per commit — the logic of /focused-committer, done inline since that skill is user-invoked. Reference the item with a closing keyword (e.g. Closes #N) on the final commit.
  2. git push -u origin <branch>
  3. gh pr create --base main (substitute your base branch) — body is summary bullets + a Test Plan checklist.
  4. Link back: comment on the issue/ticket with the PR URL.

When the PR is open and the gates are green, the /goal evaluator sees the condition met and clears the goal.


Bail-out conditions

Stop and hand back if: the item doesn't exist or is empty; delivering requires changes to a separate repo the user hasn't authorized; the only viable path needs a new external dependency; or verification can't be made green after a genuine attempt. Run /goal clear when you bail so the loop doesn't keep firing.

When NOT to use this

A one-line fix or an obvious change doesn't need the full pipeline — just make it and verify. Reserve /ship (and especially the dynamic-Workflow escalation) for substantial, multi-step work with a verifiable end state.

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.