Logo: Coco Ship

Coco Ship

Communautéit
coco-research
coco-ship

Use when finished work needs to reach a coco-managed repository (coco-research/coco or similar) — verifies branch state, commits, pushes through the corporate DLP guard only when actually needed, opens a PR against main, waits for CI, and reports the result. Never merges, never pushes to main directly.

Add to TypingMind

Iwwersiicht

Editeurcoco-research
Repositorycoco
Skill-Nummcoco-ship
Stären
550
Forks
12
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    coco-research huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Coco Ship an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/coco-research/coco/tree/main/skills/coco-ship
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/coco-research/coco.git /tmp/coco
mkdir -p .claude/skills
cp -r /tmp/coco/skills/coco-ship .claude/skills/coco-ship
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Coco Ship an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Coco Ship automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Coco Ship net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Shipping to a CoCo-managed Repo

Overview

Formalizes the branch → commit → guard-aware push → PR → CI-wait → report flow used for shipping work to coco-research/coco (or any repo carrying the same corporate git-guard pre-push hook), so it doesn't have to be re-derived by hand each time.

Core principle: Verify state → commit → detect whether the guard actually applies → confirm → push → open PR → wait for real CI → report. Never merge. Never push to main directly, regardless of how it's asked.

Announce at start: "I'm using the coco-ship skill to ship this branch."

This is the direct formalization of Option 2 ("Push and Create PR") in finishing-a-development-branch, specialized for repos that carry the corporate git-guard. It assumes implementation is already done and reviewed — it doesn't replace planning skills like brainstorming, writing-plans, or GSD's phase workflow, and it doesn't run tests itself (that's finishing-a-development-branch's Step 1, or the project's own CI).

The Process

Step 1: Preflight

bash
git status -sb
git branch --show-current

If the current branch is main or master: stop. Do not commit or push here. Offer to create a feature branch first:

bash
git checkout -b <feature-branch-name>

If there's nothing to commit and the branch isn't already ahead of its upstream: stop and say so — there's nothing to ship.

Step 2: Commit

Use the standard git-commit protocol already in effect for this harness — this isn't a new invention, just invoked from inside the skill:

  1. In parallel: git status, git diff (staged + unstaged), git log (recent messages, for style).
  2. Draft a commit message from the actual diff — why, not just what — matching the repo's existing style.
  3. Stage named files explicitly. Never git add -A or git add ..
  4. Commit with a Co-Authored-By trailer, via a heredoc so formatting survives.
  5. git status again to confirm a clean tree.

If a pre-commit hook fails, fix the issue, re-stage, and create a new commit — never --amend a commit that a failed hook means never actually landed.

Step 3: Detect whether the guard bypass is actually needed

Don't assume — check:

bash
git remote -v
gh repo view <owner>/<repo> --json visibility,owner -q '"\(.visibility) \(.owner.login)"'
git config --show-origin --get core.hooksPath

A GIT_GUARD_REASON bypass is only needed when the repo is PUBLIC and the owner isn't on the guard's allowlist — check the actual guard config or ask the user which org(s) it allows, rather than assuming. If core.hooksPath doesn't point at the guard, don't assume a bypass is relevant on this machine at all — say so.

Step 4: Confirm — every time, no exceptions

This is an outward-facing action (push + open a PR), so it gets the same explicit go-ahead as any other push or PR in this session, regardless of how directly coco-ship was invoked. State plainly:

  • Target repo and branch
  • Whether a guard bypass will be used, and the exact reason string (not a placeholder)
  • That this opens a PR against main — it does not push to main directly

Wait for a clear yes before Step 5. Invoking this skill is not itself that approval.

Step 5: Push

bash
git push -u origin <branch>

Only when Step 3 determined a bypass is needed:

bash
GIT_GUARD_REASON="<specific, real reason>" git push -u origin <branch>

Never --no-verify. Never a plain --force. A --force-with-lease update to an already-open PR's branch is allowed, but still gets its own confirmation, separate from Step 4's.

Step 6: Open the PR

bash
gh pr create --base main --head <branch> --title "<title>" --body "$(cat <<'EOF'
## Summary
<2-3 bullets of what changed and why>

## Test plan
<what was verified, or a checklist of what to verify>
EOF
)"

Keep the title under 70 characters. Put detail in the body, not the title.

Step 7: Wait for CI

bash
gh pr checks <n> --watch

Don't report done while checks are still pending. If a check fails, say so plainly with the failure, don't retry blindly.

Step 8: Report

State the PR URL, the CI result, and the mergeable/review-required status. Say plainly that merging is the user's call — this skill never merges and never self-approves. If the PR author can't self-approve (most repos), say that explicitly rather than implying the PR is ready to merge on its own.

Quick Reference

StepActionConfirmation needed?
1Preflight (refuse on main)—
2Commit—
3Detect guard need—
4State plan, askYes — always
5Push(covered by Step 4)
6Open PR(covered by Step 4)
7Wait for CI—
8Report—

Common Mistakes

Assuming the guard bypass is needed without checking

  • Problem: Sets GIT_GUARD_REASON on every push, even to private or allowlisted repos, or misses that the guard isn't even installed on this machine.
  • Fix: Always run Step 3's checks; only set the env var when the repo is genuinely public and non-allowlisted.

Treating skill invocation as approval

  • Problem: Runs Steps 5–6 immediately because the user said "ship this," without a distinct confirmation of the actual push/PR plan.
  • Fix: Step 4 is a separate, explicit ask every time — state the repo, branch, guard reason (if any), and that a PR (not a direct push to main) will follow.

Reporting success before CI resolves

  • Problem: Says "done" right after gh pr create, while checks are still pending.
  • Fix: Step 7 watches until every check resolves, then Step 8 reports the real result.

Red Flags

Never:

  • Push to main or master directly, no matter how it's requested
  • Use --no-verify or a plain --force
  • Auto-merge or self-approve a PR
  • Fabricate a GIT_GUARD_REASON instead of a specific, true one
  • Skip Step 4's confirmation because the work "seems done"

Always:

  • Refuse and redirect if invoked while on main/master
  • Check whether the guard bypass is actually needed rather than assuming
  • Get explicit confirmation before the push/PR step
  • Wait for and report real CI status, not an assumed one

Integration

Formalizes: Option 2 of finishing-a-development-branch ("Push and Create PR"), specialized for repos carrying the corporate git-guard.

Distinct from: commands/team/ship.md (/team:ship, a full idea-to-product pipeline) and systems/gsd/skills/gsd-ship (GSD milestone-scoped). Neither overlaps with this skill's narrower job — shipping already-finished work through the guard and into a PR.

Pairs with: using-git-worktrees for cleanup after the PR merges (not handled by this skill).

Heefeg gestallte Froen

Wat mécht de KI-Skill Coco Ship?

Use when finished work needs to reach a coco-managed repository (coco-research/coco or similar) — verifies branch state, commits, pushes through the corporate DLP guard only when actually needed, opens a PR against main, waits for CI, and reports the result. Never merges, never pushes to main directly.

Firwat Coco Ship op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Coco Ship besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Coco Ship an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/coco-research/coco/tree/main/skills/coco-ship an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Coco Ship benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Coco Ship benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Coco Ship domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Coco Ship gratis?

coco-research huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇