Logo van Workflow Ship

Workflow Ship

Community
fimoklei
workflow-ship

Use when the user asks to run workflow:ship, ship a branch, publish a feature branch, open and merge a PR, or push/PR/merge/cleanup completed work.

Overzicht

Uitgeverfimoklei
Repositorypm-ai-playbook
Skillnaamworkflow-ship
Sterren
42
Forks
8
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door fimoklei op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Workflow Ship in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/fimoklei/pm-ai-playbook/tree/main/skills/agentic-skills/workflow-ship
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fimoklei/pm-ai-playbook.git /tmp/pm-ai-playbook
mkdir -p .claude/skills
cp -r /tmp/pm-ai-playbook/skills/agentic-skills/workflow-ship .claude/skills/workflow-ship
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Workflow Ship in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Workflow Ship automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Workflow Ship niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Workflow Ship

Ship the current feature branch by pushing, opening a PR, merging it to main, and cleaning up safely.

Trigger Phrases

  • workflow:ship
  • ship workflow
  • ship this branch
  • publish this branch
  • open and merge a PR
  • push, PR, merge, and clean up

Process

  1. Verify branch state:

    • Run git branch --show-current.
    • Stop if the branch is main or master.
    • Run git status --short --branch.
    • Stop if there are uncommitted changes and suggest workflow:commit.
    • Resolve the base ref: use local main when present, otherwise use origin/main.
    • Run git log <base-ref>..HEAD --oneline and stop if there are no commits ahead of the base ref.
  2. Run Codex review as final gate:

    • Check for docs-only diff first:
      • Run git diff --name-only <base-ref>...HEAD.
      • If every changed path matches the regex (^|.*/)(README|LICENSE)[^/]*$|\.md$|^docs/, the diff is docs-only.
      • Print one line to the user: "Docs-only diff detected — skipping review."
      • Skip the rest of step 2 and continue to step 3.
    • Verify codex is on PATH (command -v codex). If missing, stop with a clear error — do not silently skip.
    • Run codex review --base main in the foreground. Stream the output to the user.
    • If codex exits non-zero, stop and report — do not push.
    • Parse the reviewer stdout for the regex Review comment:|\[P[0-3]\].
    • If there is no match, the review is clean. Continue to step 3 without prompting.
    • If there is a match, halt. Before presenting the options, write a short plain-language summary in Dutch using this exact format:
      Severity: laag / midden / hoog
      Wat er speelt: <1-2 zinnen, plain language>
      Advies: ship / fix eerst / jouw call
      Map codex priority to severity as a soft guideline:
      • P0 present → hoog / fix eerst
      • P1 present (no P0) → midden / jouw call
      • only P2 / P3 / nits → laag / ship Deviating from the mapping is allowed when context warrants it (e.g. P1 in a comment, P2 touching auth) — add one short sentence explaining why. After the summary, present two options to the user (use AskUserQuestion in Claude Code; in Codex or other hosts, prompt the user explicitly and wait for an answer):
      • Abort ship (Recommended) — stop the workflow. The user fixes the findings outside ship (e.g. via workflow:commit) and re-runs workflow:ship. Do not attempt fixes inside this workflow.
      • Ignore findings and ship anyway — continue to step 3.
  3. Push the branch:

    • Detect whether an upstream exists with git rev-parse --abbrev-ref --symbolic-full-name @{u}.
    • If no upstream exists, run git push -u origin <branch>.
    • If upstream exists, run git push.
  4. Summarize the shipment:

    • Run git log <base-ref>..HEAD --oneline.
    • Run git diff --stat <base-ref>...HEAD.
    • Show the commits and a compact summary before creating the PR.
  5. Create the PR:

    • Use gh pr create.
    • Derive the title from the branch name and commits using conventional-commit style.
    • Include a body with ## Summary and ## Test plan.
    • Show the PR URL.
  6. Merge safely:

    • Run gh pr merge <number> --merge --delete-branch.
    • If the merge fails because checks are failing, conflicts exist, or review is required, stop and report the blocker.
    • Never force-merge.
  7. Update local main:

    • Switch to main.
    • Pull the latest main.
  8. Delete the local branch:

    • Run git branch -d <branch>.
    • If safe deletion fails, do not use -D; report the reason and let the user decide.
  9. Confirm final state:

    • Run git status --short --branch.
    • Run git branch --list.
    • Confirm the worktree is clean and on main.

Error Handling

  • If the branch has no commits ahead of main, stop and say there is nothing to ship.
  • If codex is not on PATH, stop with a clear error — do not silently skip the review gate.
  • If codex review exits non-zero, stop and report the failure — do not push.
  • If gh is not authenticated or available, stop and report the exact blocker.
  • If the remote branch was already deleted by the merge step, skip remote deletion silently.

Command Notes

  • Follow the active agent and project shell rules.
  • Use non-interactive git commands whenever possible.
  • Do not run destructive commands unless the user explicitly asks for them.

Veelgestelde vragen

Wat doet de AI-skill Workflow Ship?

Use when the user asks to run workflow:ship, ship a branch, publish a feature branch, open and merge a PR, or push/PR/merge/cleanup completed work.

Waarom Workflow Ship gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Workflow Ship bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Workflow Ship in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/fimoklei/pm-ai-playbook/tree/main/skills/agentic-skills/workflow-ship. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Workflow Ship gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Workflow Ship gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Workflow Ship ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Workflow Ship gratis?

Ja. Deze skill is door fimoklei op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇