ship-landing
하는 일
이 스킬은 Firstmate에서 완료된 코드 변경이 점검과 풀 요청 추적을 거쳐 병합 준비가 되는 과정을 설명합니다. Firstmate로 코드를 배포하며 안전한 병합을 원하는 사람을 위한 것입니다.
사용하는 경우
- ✓작업자가 풀 요청이 준비되었다고 보고할 때.
- ✓준비된 변경을 병합해야 할지 정해야 할 때.
- ✓작업이 병합된 뒤 정리되기 직전일 때.
스킬 링크
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/ship-landing/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“작업자가 풀 요청이 준비되었다고 합니다. 병합해도 안전한지 확인하고, 병합될 때까지 추적해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 준비 신호를 확인하고, 풀 요청을 기록하며, 병합을 위해 지켜봅니다. 임시 복사본에만 있는 작업을 가리키는 준비 신호는 준비되지 않은 것으로 취급합니다.
기술 내용 (원본 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.
자주 묻는 질문
무엇이 준비된 것인가요?
배포 방식에 따라, 초안이 아닌 풀 요청이 초록색 점검과 함께 보고되었거나 검토용으로 열린 상태입니다.
초안 풀 요청도 지켜보나요?
아닙니다. 초안에서는 병합 모니터링이 시작되지 않습니다.
준비 신호가 거부되는 이유는 무엇인가요?
지정된 변경이 임시 복사본에만 있다면, 스킬은 그 작업을 준비되지 않은 것으로 취급합니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
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에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.