Workflow Ship logo

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.

Overview

Publisherfimoklei
Repositorypm-ai-playbook
Skill nameworkflow-ship
Stars
42
Forks
8
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by fimoklei on GitHub. Read the source before you install it.

Installation

Install the Workflow Ship AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/fimoklei/pm-ai-playbook/tree/main/skills/agentic-skills/workflow-ship
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Workflow Ship in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Workflow Ship on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Workflow Ship is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Workflow Ship AI skill do?

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.

Why use Workflow Ship on TypingMind?

Because you install it once and use it with any model. Workflow Ship is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Workflow Ship in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fimoklei/pm-ai-playbook/tree/main/skills/agentic-skills/workflow-ship. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Workflow Ship?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Workflow Ship?

As many as you like. As long as a model supports skills, you can use Workflow Ship with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Workflow Ship AI skill free?

Yes. It is published on GitHub by fimoklei under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇