ship-it
БесплатноЗапускает вложенные скриптыНе проверенTake finished work to a merge-ready PR in one pass - intent, review, live test, docs, lint, PR, and CI. User-invoked only - run /ship-it [wip|prod]…
от frappe★ 185 звёзд на GitHubОб этом скилле
Ship it
You own the work from "code is done" to "PR is ready for the human to merge". Run the pipeline in order. Every step answers for its own edits, and the pipeline only moves forward. The human always merges.
Tier
Use the prod tier by default. A tier argument (/ship-it wip or /ship-it prod) sets the tier for this run. On resume without a tier argument, use the tier in the ## Review marker (see Resume).
- prod: a project in production. Every step runs.
- wip: a personal or work-in-progress project. Steps marked – are skipped.
Pipeline
| # | Step | prod | wip | Detail |
|---|---|---|---|---|
| 1 | Intent | user confirms | written, not confirmed | steps/intent.md |
| 2 | Rebase | ✓ | ✓ | below |
| 3 | Review | correctness + taste | correctness, blockers only | steps/review.md |
| 4 | Test | ✓ | – | steps/test.md |
| 5 | Docs | ✓ | – | below |
| 6 | Lint | ✓ | ✓ | below |
| 7 | Commit and push | ✓ | ✓ | below |
| 8 | PR | full body | Summary, Intent, Review | steps/pr.md |
| 9 | CI and bots | CI, then bot loop | CI only | steps/ci.md |
Read a step's detail file when you reach that step, not before.
Steps 4 to 9 can add commits after the review: test fixes, docs, lint, CI fixes, and bot fixes. Before step 8 opens or updates the PR, and before you report done, compare HEAD with the last reviewed sha. When commits follow it, re-review <sha>..HEAD as in steps/review.md. Then put the new reviewed sha in the ## Review marker. In prod, when those commits change behavior that a live scenario covers, re-run that scenario as in steps/test.md and replace its evidence in the PR body before you report done.
Done means: the PR is open and ready (not draft), the ## Review marker names HEAD, CI is green, and in prod the bot loop has stopped by its rule. Report to the user and ask them to review and merge. Stop there.
Resume
There is no state file. The branch, the commits, and the PR are the record. On every run, find the first unfinished step:
- No commits ahead of the base branch and no uncommitted changes → nothing to ship. Say so.
- Uncommitted changes that belong to this intent → commit them first, in logical groups with messages as in step 7. Do not push. Changes that mix in other work → ask first, as in "Where it runs".
- Read the PR for this branch (
gh pr view --json number,body,headRefOid,isDraft).- No PR → start at step 1.
- The PR body has
## Intent→ that is the intent. Skip step 1 unless the user gave a new one. - The
<!-- ship-it: reviewed=<sha> tier=<tier> -->marker in## Reviewnames the last reviewed commit. Commits after it (local or pushed) → re-run review on<sha>..HEADonly, then continue forward.
- The tier for this run is prod and the marker says
tier=wip→ step 1. Wip did not confirm the intent, ran only part of the review, and skipped the test and docs steps. Step 3 reviews the whole change again, and step 8 writes the full prod body and sets the marker totier=prod. - Otherwise: unpushed commits → step 7. PR is a draft → step 8. CI failing or running → step 9. CI green → step 9's bot loop (prod) or done (wip).
Tell the user which step you are resuming from and why, in one line.
Where it runs
- In place when the checkout is a feature branch or worktree and every uncommitted change belongs to this intent.
- Ask first when on the default branch, or when uncommitted changes mix this work with other work. Offer to move this work to a new worktree. Create one only on a yes.
- Frappe app inside a bench: a plain
git worktreeis invisible to the bench. Run in place.
Subagents
Every reviewer and every fixer is a fresh subagent that never saw this conversation. Its prompt carries everything it needs: the intent, the recorded decisions, the diff range, and the reviewer file to follow. A fixer is never the reviewer that reported the finding, and a re-review is a new subagent.
| Agent | How to start one |
|---|
Установить ship-it в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ship-it?
Take finished work to a merge-ready PR in one pass - intent, review, live test, docs, lint, PR, and CI. User-invoked only - run /ship-it [wip|prod] ["intent"], or /ship-it on a branch with an open PR to resume or babysit it.
Как установить скилл ship-it?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ship-it запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic