ship-landing
Что он делает
Этот скилл объясняет, как готовое изменение кода становится готовым к слиянию в Firstmate, включая проверки и отслеживание pull request. Он нужен тем, кто выпускает код через Firstmate и хочет безопасных слияний.
Когда использовать
- ✓Когда работник сообщает, что pull request готов.
- ✓Когда нужно решить, стоит ли слить готовое изменение.
- ✓Когда задача вот-вот будет убрана после того, как ее изменение влилось.
Ссылка на скилл
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/ship-landing/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Работник говорит, что его pull request готов. Проверь, что его безопасно слить, и отслеживай его до слияния.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент подтверждает сигнал готовности, записывает pull request и следит за ним до слияния. Сигнал готовности, который указывает на работу, существующую только во временной копии, считается неготовностью.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Ship landing
For PR-based ship tasks, the ready signal depends on mode: no-mistakes reports done [at=<epoch>]: PR <url> checks green after CI is green, while direct-PR reports done [at=<epoch>]: PR <url> after opening the PR, each only for a non-draft PR; a lane that deliberately holds a draft declares a wait instead, and bin/fm-pr-check.sh refuses to arm merge monitoring on a draft.
Run bin/fm-pr-check.sh <id> <PR url> with the URL copied from that ready signal or the resolved checks-green fm-crew-state.sh line - it records pr= and the forge's pr_head= when available in the task's meta and arms the watcher's merge poll.
With config/pr-register-scan present, the watcher's check sweep also records a PR that a done: line names when no pr= exists, and reports a refused registration as a check: pr-register: notification; handle that refusal as you would a refusal from a manual run.
bin/fm-dod-lib.sh owns the named-head gate on that ready signal: a ship done: whose named head exists only in the worker's disposable copy is not ready (bin/fm-crew-state.sh reports blocked, bin/fm-pr-check.sh refuses to register, and a secondmate does not publish that done upstream).
That blocked reading is the gate working, not a stuck worker, so steer the worker on the commit the refusal names rather than waiting.
A forge=external task reports done [at=<epoch>]: review <url> uploaded for review instead: run bin/fm-review-check.sh <id> <review url> rather than bin/fm-pr-check.sh, which arms no merge watch, then always escalate the review URL to the captain whatever the yolo setting, because firstmate can neither observe nor perform its approval or merge.
A direct-PR worker pushes that commit to its PR branch, and a local-only worker commits it on its ship branch.
A no-mistakes worker re-validates it with /no-mistakes so the pipeline stays the one publisher; it never pushes from its copy.
In no-mistakes mode the earlier done [at=<epoch>]: {summary} is the pipeline handoff and is not gated.
Tell the captain the PR's full https://... URL copied from the worker's ready line, the resolved checks-green crew-state line, or the task's pr= metadata, a concise outcome summary, and the no-mistakes risk level when applicable.
A captain instruction to merge is explicit authority; yolo is the only standing routine merge authority.
For any custom state/<id>.check.sh you write yourself, keep it an ordinary single-link mode-0700 file, print one line only when firstmate should wake, print nothing otherwise, finish before FM_CHECK_TIMEOUT, then bind its current bytes with bin/fm-check-register.sh <id> before the watcher may execute it.
Retire a custom check only through bin/fm-check-unregister.sh <id> (or bin/fm-teardown.sh for a spawned task); never hand-compose an rm with $STATE/$ID.
Tear down a ship task only after landing is confirmed. A teardown refusal for uncommitted or unlanded work is a stop-and-investigate result, never an obstacle to bypass. Never force teardown without explicit discard authority. After successful teardown, record completion, retain only the configured recent Done history, and re-evaluate queued work whose blockers and time gates have cleared.
A secondmate is persistent and an empty queue is healthy.
Retire one only on an explicit captain or main-firstmate decision, after loading secondmate-provisioning; its home must contain no work under way, and forced discard still requires explicit captain authority.
Частые вопросы
Что считается готовым?
Не черновой pull request с зелеными проверками или открытый на ревью, в зависимости от режима поставки.
Может ли он следить за черновым pull request?
Нет. Наблюдение за слиянием на черновике не начнется.
Почему сигнал готовности может быть отклонен?
Если названное изменение существует только во временной копии, скилл считает работу неготовой.
Подробности
Оригинальное описание автора
Load when a ship reports a PR or ready branch, when deciding or monitoring landing, and before task cleanup.
repo: kunchenguid/firstmate
Популярность
- Звёзды на GitHub
- 8.5k
- Место в рейтинге
- #12446
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
afk
8.5kПозволяет агенту продолжать работу, пока вас нет, придерживая решения до вашего возвращения и присылая понятную сводку, когда вы вернётесь.
ahoy
8.5kПозволяет агенту дать вам короткое резюме того, что произошло в сессии, и провести по решениям, которые всё ещё ждут вашего ответа.
ask-user-authority
8.5kПомогает агенту самостоятельно решать вопросы ревью, когда они явно соответствуют согласованному плану, и спрашивать вас только тогда, когда вопрос неясен или рискован.
away-quiet-supervision
8.5kЗадаёт правила безопасности для контроля работы в режиме отсутствия или тишины, чтобы агент сохранял понятные сообщения и придерживал решения, которые нужны вам.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.