feature-ship
БесплатноЗапускает вложенные скриптыНе проверенComplete a feature by writing shipped.md, committing to the feature branch, and merging the PR. Use when external reviews are done and the feature is ready to…
от schuettc★ 15 звёзд на GitHubОб этом скилле
Ship Feature
You are executing the SHIP FEATURE workflow — writing the completion record, committing it to the feature branch, and merging the PR.
Branch Configuration
Before doing anything else, read .feature-workflow.yml in the project root for branch settings. See ../shared/config.md for details.
Multi-repo workspace? If the root has a .feature-workspace.yml, ship from inside the member repo — cd <member> first, so the branch/PR/merge target that member's own remote and config. See ../shared/workspace.md.
| Setting | Default | Used for |
|---|---|---|
branch.prefix |
feature/ |
Branch naming: <prefix><id> |
branch.target |
dev |
Merge target, checkout after merge |
merge_method |
merge |
How Phase 4 merges the PR: squash / merge / rebase. Ignored when the base branch requires a merge queue — the queue's own configured method wins, so keep them aligned. |
Throughout this skill, replace feature/<id> with <prefix><id> and dev with <target> based on the config.
First Step (Do This Now)
Read the file at path: docs/features/DASHBOARD.md
This file shows in-progress features. Look at the "In Progress" section to find features ready to ship.
Feature Target
$ARGUMENTS
If no specific feature ID was provided above, you will help the user select from in-progress items.
Workflow Overview
| Phase | Name | Purpose |
|---|---|---|
| 1 | Pre-flight | Verify feature is in-progress and has a PR |
| 2 | Write shipped.md | Create completion record on the feature branch |
| 3 | Prepare PR | Remove review labels + commit and push shipped.md |
| 4 | Merge PR | Mark PR ready, merge into dev, clean up branches |
| 5 | Update Dashboard | Regenerate dashboard and clear statusline |
Phase 1: Pre-flight
- Read the feature's
idea.mdandplan.mdfor context - Verify feature is in-progress (has plan.md, no shipped.md)
- Check for the PR:
gh api "repos/{owner}/{repo}/pulls?state=open&per_page=100" \ --jq '[.[] | select(.head.ref == "feature/<id>")] | .[0] | {number, url: .html_url, state, draft, base_ref: .base.ref}' - Verify you're on the
feature/<id>branch — if not, switch to it:git checkout feature/<id>
If there's no PR, warn the user — they may want to run /feature-review-impl first, or proceed with a local merge.
Phase 2: Write shipped.md
Write docs/features/<id>/shipped.md with the following format:
---
shipped: YYYY-MM-DD
---
# Shipped: [Feature Name]
## Summary
Brief summary of what was delivered...
## Key Changes
- Change 1
- Change 2
- Change 3
## Files Changed
- `path/to/file1.ts`
- `path/to/file2.ts`
## Testing
How the feature was tested and verified...
## Notes
Any follow-up items, known limitations, or context for future maintainers...
Populate this from the plan.md, commit messages, and git diff.
Phase 3: Prepare PR (labels first, then commit + push)
Order matters here. The review workflow (feature-review.yml)
triggers on pull_request: types: [labeled, synchronize]. If review
labels (plan-review, impl-review) are still on the PR when the
shipped.md push fires a synchronize event, the workflow runs a
pointless extra review on a docs-only commit, spending API quota and
posting irrelevant review comments on a PR that's about to merge.
Remove the labels before pushing shipped.md:
Remove review labels (must be first — prevents the push-triggered re-review):
gh pr edit <pr-number> --remove-label plan-review --remove-label impl-review 2>/dev/null || trueCommit shipped.md to the feature branch and push:
git add docs/features/<id>/shipped.md git commit -m "docs(<id>): mark feature as shipped" git push
After writing shipped.md, regenerate the dashboard by running:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/shared/lib/run_dashboard.py <project_root>
DASHBOARD.md is auto-resolved on merge via CI — no need to commit it from feature branches.
Phase 4: Merge PR
PRs are opened as non-draft (since v9.5.2), so no draft → ready conversion is needed.
- Confirm with user: "Merge PR #
for feature/ into dev?" - If you encounter a draft PR (legacy / opened externally): convert with
gh pr ready <pr-number>once. This is a GraphQL mutation, used at most once per stuck PR. Don't retry on rate-limit failure — wait for the GraphQL window to reset (gh api rate_limit --jq '.resources.graphql.reset'). - Detect whether the base branch requires a merge queue, then merge accordingly.
A queue-protected branch rejects a direct merge — the only way in is the queue —
so the merge path forks on this:
# true when the base branch has a merge_queue rule (via ruleset). QUEUED=$(gh api "repos/{owner}/{repo}/rules/branches/<base>"
Установить feature-ship в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл feature-ship?
Complete a feature by writing shipped.md, committing to the feature branch, and merging the PR. Use when external reviews are done and the feature is ready to ship.
Как установить скилл feature-ship?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл feature-ship запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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