Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ship

БесплатноБез исполняемых скриптовНе проверен

Commits, pushes, merges and releases a change, watches the checks and confirms it is live.

raphaelsalajaот raphaelsalaja★ 74 звезды на GitHub

Об этом скилле

Ship

This skill takes finished work out of the working tree, as far as the user's verb reaches. It commits in small pieces, pushes, merges, watches checks and confirms the result is live.

Each verb goes as far as it names

Commit commits. Push pushes and watches the checks. Merge merges and tidies the branch. Release releases and confirms it is live. Ship with no verb asks which step to stop at.

Going past the named step without asking, such as merging after "push", is ship-stop-at-the-verb. Within the named steps, a command handed back is a finding unless it needs the user's credentials or approval.

Checking the change itself runs in verify before this skill starts.

1. Check the tree

Run git status and read every changed file. Name any file you did not change in this task and ask before committing it. A scratch file you made yourself is deleted under restraint, never committed. Stage files by name with git add <path>, never git add -A or git add ., then read git diff --cached. Committing a stray file is ship-flag-stray-files.

Search the staged diff for keys, tokens, passwords and .env files. When installed, run gitleaks protect --staged, or trufflehog filesystem --fail $(git diff --cached --name-only). Otherwise search the diff:

git diff --cached -U0 | rg '^\+.*(AKIA[0-9A-Z]{16}|gh[pousr]_[A-Za-z0-9]{36}|github_pat_\w{22,}|\bsk-[A-Za-z0-9_-]{20,}|sk_live_|\bxox[abpr]-|AIza[0-9A-Za-z_-]{35}|-----BEGIN [A-Z ]*PRIVATE KEY-----)'

A committed secret is ship-no-secrets. A secret that was already pushed is compromised, so rotate it first and remove it second.

2. Commit per change

Make one commit per logical change. One commit for a feature, a fix and a rename is ship-commit-per-change.

Read git log --oneline -20 first and follow the convention it shows: its message form, its scopes and its case. With no clear convention, write a Conventional Commit: type(scope): summary in the imperative, lowercase and with no full stop. Use feat, fix, docs, refactor, perf, test, build, ci or chore. Keep the subject under 72 characters and explain why in the body when the diff cannot show it. Mark a breaking change with ! after the type and a BREAKING CHANGE: footer. A message like "Remove the archive." in a log of fix(ui): ... lines is ship-conventional-commits.

A .changeset/config.json means the repository releases with changesets. Add .changeset/<name>.md with each changed package and its bump in the same commit: patch for a fix, minor for a feature and major for a break. A package change that releases nothing takes an empty changeset from changeset --empty. Private packages need none. A release-bound change with no changeset is ship-changeset-for-packages.

3. Keep history and hooks intact

Never force-push the default branch or a branch someone else pushed to. On your own branch, use --force-with-lease, never --force. Never run git reset --hard, git checkout -- ., git clean -fd or git stash drop over changes you did not make. Any of these is ship-no-history-rewrite.

When a hook or a check fails, fix the cause. --no-verify, HUSKY=0, gh pr merge --admin and continue-on-error: true added to pass are ship-no-bypass.

4. Push, merge and tidy

Push the branch. When asked to merge, merge it, delete the branch and switch back to the default branch. A merged branch left behind is ship-merge-and-tidy. Open one pull request per bug or feature. A pull request bundling three fixes is ship-one-pr-per-bug.

The description says what changed, why and how it was checked. Put a closing keyword such as Fixes #123 in it, so merging into the default branch closes the issue. A description that reads "fix bug" is ship-describe-the-pr. When the repository squash-merges, the title becomes the commit, so it takes the same form.

A pull request that changes UI carries a screenshot. That is ship-screenshot-ui-prs.

5. Watch the checks

Wait for CI and fix what fails. gh pr checks --watch --fail-fast waits on a pull request. On a push with none, gh run watch needs the run id or it prompts. Use gh run watch <id> --exit-status, with the id from gh run list --branch <branch> --limit 1 --json databaseId --jq '.[0].databaseId'. Reporting "pushed" while checks are red or still running is ship-watch-checks.

6. Close the loop

When the change fixes an issue, link it, close it and reply where it was raised. A fixed bug with its issue left open is ship-close-the-loop. When the change deploys, open the live URL or the published version and check it. "Deployed" with no look at production is ship-confirm-live.

7. Hand back only what needs the user

Do every step up to the verb that you can run yourself. Ask only for a login, a two-factor code or an approval. Say exactly which. A list of commands for the user to run is ship-do-the-steps.

The pair

Every check is a pair. The broken line sits b

Полный SKILL.md на GitHub

Установить ship в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

FAQ

Что делает скилл ship?

Commits, pushes, merges and releases a change, watches the checks and confirms it is live.

Как установить скилл ship?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ship запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ship с