Logo vun Workflow Ship

Workflow Ship

Communautéit
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.

Iwwersiicht

Editeurfimoklei
Repositorypm-ai-playbook
Skill-Nummworkflow-ship
Stären
42
Forks
8
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
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

    Vum fimoklei op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Workflow Ship an TypingMind, fir e mat all LLM ze benotzen, oder füügt 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 „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/fimoklei/pm-ai-playbook/tree/main/skills/agentic-skills/workflow-ship
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu 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 de Skill-Verzeechnes vun deem KI-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 nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Workflow 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 Workflow 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 Workflow 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-Keys.

  • 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.

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.

Heefeg gestallte Froen

Wat mécht de KI-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.

Firwat Workflow Ship op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Workflow 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 vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

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

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/fimoklei/pm-ai-playbook/tree/main/skills/agentic-skills/workflow-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 Workflow 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 Workflow Ship benotzen?

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

Ass de KI-Skill Workflow Ship gratis?

Jo. De Skill gëtt vum fimoklei ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat 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 en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

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