ship-feature
БесплатноБез исполняемых скриптовНе проверенUse to close the loop after review — verify the feature actually works, write the changelog, and open the pull request. Triggers on "ship {slug}", "open a PR…
от genkovich★ 17 звёзд на GitHubОб этом скилле
Skill: ship-feature (SDLC stage 18 — terminal)
The closing step. review-feature confirmed the change is correct on paper; ship-feature confirms it works in reality and packages it for merge. The loop ends here: a reviewed, verified change with a changelog and an open PR — not a merge to main (that stays a human decision).
Forge-agnostic and stack-agnostic: verification commands are detected the same way implement-tasks detects them; the PR step targets whatever forge the remote points at (GitHub via gh, GitLab via glab, or copy-paste).
Owner
The implementer (drives) + the reviewer who signed off in review-feature.
Inputs
<slug>— feature slug (same one used by every upstream stage).- Gate (hard refuse):
docs/features/<slug>/_review/review-<date>.mdshowingPASS. If missing or showingCHANGES REQUESTED→ refuse with: «run/sdlc:review-feature <slug>first — ship-feature requires a PASS verdict». - Read:
docs/features/<slug>/PRD.md(what to claim in the changelog),docs/features/<slug>/adr/(decisions worth recording), the feature's commits (SDLC-Tasktrailer history viagit log --grep SDLC-Task).
Protocol
Gate check. Confirm
docs/features/<slug>/_review/review-<date>.mdexists and its verdict isPASS(search for the most recent date). If absent or non-PASS → hard refuse with the pointer above.Final verification — does it actually work. Re-run the detected gate (unit + integration where available + lint + vet). Then run the feature for real against its acceptance criteria — not just "tests pass": start the app / hit the endpoint / exercise the flow and observe the PRD's outcomes (e.g. the default-on read returns defaults; an invalid value is rejected). If the app cannot be run here (no runtime, no Docker), say so explicitly and record what was verified vs deferred — never claim verified-working when only tests compiled.
Write the changelog. From
./templates/changelog.md: what changed, why (linkPRD.md+ the key ADRs), any migration/operational note (e.g. "adds migration 000023 — run it on deploy"), and how to use it. Partner-facing if the change is partner-facing. Write todocs/features/<slug>/CHANGELOG.md.Prepare the PR body. Ensure the work is on a feature branch (not the default branch). Draft the PR body from
./templates/pr-body.md: summary, the ACs it satisfies, links to PRD/sad/ADRs, theSDLC-Taskcommit list, the test + verification evidence, and any migration/rollback note.Detect the forge + propose the PR command. Inspect the git remote URL:
github.com→gh pr create --title "feat(<slug>): <summary>" --body-file docs/features/<slug>/pr-body.mdgitlab.comor self-hosted GitLab (any non-github remote) →glab mr create --title "feat(<slug>): <summary>" --description-file docs/features/<slug>/pr-body.md- Remote undetectable / unknown forge → print the branch name + body for manual PR creation. Propose the command — do not push to a shared remote unasked and never merge to main.
Update the roadmap → Shipped. Move this feature's item from Now to Shipped in
docs/roadmap.md: add the date, the outcome one-liner, a link todocs/features/<slug>/, and the PR link/command. Remove the item from the Now table. Ifdocs/roadmap.mddoes not exist → skip and note it (roadmap is optional at this stage).Terminal handoff. Emit the stage-handoff block per
../_shared/handoff.md— terminal variant. What I did (verification result: verified-working / what was deferred and why; the roadmap update). Review (the changelog path + the PR body path). Run next = Done — the PR command (or URL if the user already ran it); «merging to main is your call». There is no/sdlc:successor.
Definition of Done
- Gate passed:
_review/review-<date>.mdshows PASS — the skill confirmed it before proceeding. - The gate was re-run and the feature was exercised against its ACs (or the deferral was stated explicitly with the reason).
docs/features/<slug>/CHANGELOG.mdexists, linking PRD + load-bearing ADRs and including the operational note (migrations, flags).docs/features/<slug>/pr-body.mdis prepared with the full PR body.- The forge-appropriate PR command is proposed (work is on a feature branch; main untouched).
docs/roadmap.mdupdated — feature moved to Shipped (or skip noted if roadmap absent).
Anti-patterns
- Shipping without a PASS review. The gate is unconditional —
review-featuremust confirm correctness beforeship-featureruns. - "Tests pass" ≠ "it works". Run the actual feature against the PRD's outcomes; green unit tests don't prove the wired system behaves.
- Claiming verified when you only compiled. If the runtime/Docker wasn't available, say what was deferred — don't overstate.
- **Auto-merging to main / pushing to a sha
Установить ship-feature в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ship-feature?
Use to close the loop after review — verify the feature actually works, write the changelog, and open the pull request. Triggers on "ship {slug}", "open a PR for {slug}", "changelog for {slug}", "prepare {slug} for merge", "/sdlc:ship-feature {slug}", "відправ фічу {slug}", "створи PR для {slug}", "changelog для {slug}". Gate: refuses if docs/features/{slug}/_review/review-<date>.md does not show PASS (produced by review-feature). Runs the feature end-to-end to confirm it actually works (not just green tests), drafts a changelog + PR body that link PRD/ACs/ADRs and the SDLC-Task commit history, detects the git forge (gh for GitHub / glab for GitLab) and proposes the right PR-create command, then moves the feature to Shipped in docs/roadmap.md. Never auto-merges to main — merging is the user's call. Output: docs/features/{slug}/CHANGELOG.md + PR body (proposed command or URL).
Как установить скилл ship-feature?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ship-feature запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic