본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)8.5k · #12446

ship-landing

하는 일

이 스킬은 Firstmate에서 완료된 코드 변경이 점검과 풀 요청 추적을 거쳐 병합 준비가 되는 과정을 설명합니다. Firstmate로 코드를 배포하며 안전한 병합을 원하는 사람을 위한 것입니다.

사용하는 경우

  • ✓작업자가 풀 요청이 준비되었다고 보고할 때.
  • ✓준비된 변경을 병합해야 할지 정해야 할 때.
  • ✓작업이 병합된 뒤 정리되기 직전일 때.

스킬 링크

https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/ship-landing/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/ship-landing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬