ship · raphaelsalaja — скилл для Claude Code: публикация изменений
Скилл ship для Claude Code проводит готовые изменения от коммита до проверки в продакшене. Запускается по просьбе отправить, слить или выпустить изменение.
MIT 167 установок ★ 69 обновлён 2026-11-14
npx skills add raphaelsalaja/skills --skill ship -a claude-codeЧто делает ship
Скилл проверяет рабочее дерево и изменения, затем коммитит каждую логическую правку отдельно, отправляет ветку и выполняет слияние, если его запросили. Сообщения коммитов оформляются в формате Conventional Commits. Для пакета с релизами к изменению добавляется changeset.
Скилл ждёт завершения CI и исправляет ошибки. Если изменён интерфейс, в pull request добавляется скриншот; исправленный баг связывается с issue, который затем закрывается. После деплоя скилл открывает рабочий URL или опубликованную версию и проверяет результат.
Перед коммитом он проверяет файлы и ищет секреты: случайно добавленный секрет или чужой файл отмечается как HIGH. Для авторизации, кода двухфакторной проверки или подтверждения скилл останавливается и запрашивает конкретное действие.
Какие задачи решает
- разбить изменения на отдельные коммиты
- оформить сообщения коммитов по Conventional Commits
- дождаться CI и устранить ошибки проверок
- проверить деплой и закрыть связанный issue
Примеры запросов агенту
- Отправь готовые изменения в репозиторий и дождись проверок CI.
- Слей эту ветку, удали её после слияния и вернись на основную.
- Выпусти исправление, проверь опубликованную версию и закрой связанный issue.
Как установить ship
1Через Skills CLI (Vercel)
npx skills add raphaelsalaja/skills --skill ship -a claude-code2Вручную: положить файлы
~/.claude/skills/ship/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/ship/
1Через Skills CLI (Vercel)
npx skills add raphaelsalaja/skills --skill ship -a codex2Вручную: положить файлы
.agents/skills/ship/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add raphaelsalaja/skills --skill ship -a cursor2Вручную: положить файлы
.cursor/skills/ship/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install raphaelsalaja/skills skills/ship2Вручную: положить файлы
.github/skills/ship/SKILL.md1Через Skills CLI (Vercel)
npx skills add raphaelsalaja/skills --skill ship -a gemini-cli2Командой платформы
gemini skills install https://github.com/raphaelsalaja/skills --path skills/shipВручную: положить файлы
.devin/skills/ship/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add raphaelsalaja/skills --skill ship -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о ship
Как установить ship в Claude Code?
Выполни npx skills add raphaelsalaja/skills --skill ship -a claude-code. Файл скилла находится по пути ~/.claude/skills/ship/SKILL.md.
Что делает ship?
Скилл проводит изменение через коммит, push, слияние и проверки CI, затем проверяет результат в продакшене. Он также связывает исправление с issue и закрывает его.
Что нужно для работы ship?
Для входа, кода двухфакторной проверки или подтверждения скилл запросит действие пользователя. Самостоятельно он выполняет остальные шаги.
Исходный текст
SKILL.md · MIT
--- name: ship description: Commits, pushes, merges and releases a change, watches the checks and confirms it is live. disable-model-invocation: true --- # Ship This skill takes finished work from the working tree to production. It commits in small pieces, pushes, merges, watches checks and confirms the result is live. ## Push means push When the user says push, ship or merge, do every step to the end. Handing a command back to the user is a finding unless it needs their credentials or their approval. A secret in a commit is always `HIGH`. 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. Committing a stray file is `ship-flag-stray-files`. Scan the diff for keys, tokens, passwords and `.env` files. A committed secret is `ship-no-secrets`. ## 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`. Write every message as a Conventional Commit: `type(scope): summary` in the imperative, lowercase and with no full stop. Use `feat`, `fix`, `docs`, `refactor`, `chore` or another standard type, and mark a breaking change with `!` after the type. A message like "Remove the archive." is `ship-conventional-commits`. In a package that publishes releases, add the changeset with the change. A release-bound change with no changeset is `ship-changeset-for-packages`. ## 3. 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`. A pull request that changes UI carries a screenshot. That is `ship-screenshot-ui-prs`. ## 4. Watch the checks Wait for CI and fix what fails. Reporting "pushed" while checks are red or still running is `ship-watch-checks`. ## 5. 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`. ## 6. Hand back only what needs the user Do every step 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 beside the line that replaces it. | Rule | Broken | Replacement | | --- | --- | --- | | `ship-flag-stray-files` | `git add -A` with someone else's file in the tree | The file named, then a question | | `ship-no-secrets` | `.env.local` committed | `.env.local` ignored, the secret flagged for rotation | | `ship-commit-per-change` | One commit for a feature, a fix and a rename | Three commits, one per change | | `ship-conventional-commits` | `Remove the archive.` | `chore: remove the archive` | | `ship-changeset-for-packages` | A package fix with no changeset | The changeset in the same commit | | `ship-merge-and-tidy` | Merged, the branch still checked out | Merged, deleted, back on `main` | | `ship-one-pr-per-bug` | One pull request for three bugs | Three pull requests | | `ship-screenshot-ui-prs` | A UI pull request with no image | A screenshot in the description | | `ship-watch-checks` | "Pushed" while CI runs | "Pushed, all checks pass" | | `ship-close-the-loop` | The fix merged, the issue open | The issue linked, closed and answered | | `ship-confirm-live` | "Deployed" | "Live at the production URL, checked" | | `ship-do-the-steps` | "Run `npm publish` when ready" | Published, or "needs your two-factor code" | ## Reporting **Severity.** `HIGH` is a committed secret, a stray file committed or a release with failing checks. `MEDIUM` is a bundled commit or pull request, an open issue after the fix or steps handed back that could have run. `LOW` is a message that is not a Conventional Commit, a missing screenshot or a branch left after merge. **Format.** One finding per root cause, citing the step when no file applies: ``` file:line - [rule-id] what is wrong step 3 - [rule-id] what is wrong ``` Then a `Rule | Count | Severity` summary. `Block` when any `HIGH` remains, `Approve` otherwise. Mark every check you could not watch to the end as `Not verified`.
© raphaelsalaja · MIT · raphaelsalaja/skills
Похожие скиллы
Все скиллы по теме «Git и GitHub» →Сначала — ship от других авторов.