Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)8.5k · #12446

ship-landing

Ce qu’il fait

Ce skill explique comment une modification de code terminée devient prête à être fusionnée dans Firstmate, y compris les contrôles et le suivi de la demande de fusion. Il s'adresse aux personnes qui livrent du code via Firstmate et veulent des fusions sûres.

Quand l’utiliser

  • ✓Quand un travailleur signale qu'une demande de fusion est prête.
  • ✓Lorsque vous devez décider si une modification prête doit être fusionnée.
  • ✓Quand une tâche est sur le point d'être nettoyée après l'intégration de sa modification.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/ship-landing/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Le travailleur dit que sa demande de fusion est prête. Vérifie qu'elle peut être fusionnée sans risque et suis-la jusqu'à son intégration.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent confirme le signal de disponibilité, enregistre la demande de fusion et la surveille jusqu'à la fusion. Un signal de disponibilité qui renvoie à un travail existant seulement dans une copie temporaire est considéré comme non prêt.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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.

Questions fréquentes

Qu'est-ce qui compte comme prêt ?

Une demande de fusion non brouillon signalée avec des contrôles verts ou ouverte pour relecture, selon le mode de livraison.

Peut-il surveiller une demande brouillon ?

Non. La surveillance de fusion ne démarre pas sur un brouillon.

Pourquoi un signal de disponibilité serait-il refusé ?

Si la modification nommée n'existe que dans une copie temporaire, le skill considère le travail comme non prêt.

Détails

Description originale de l’auteur

Load when a ship reports a PR or ready branch, when deciding or monitoring landing, and before task cleanup.

repo: kunchenguid/firstmate

Popularité

Étoiles GitHub
8.5k
Position au classement
#12446
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires