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.
Skill by fimoklei
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fimoklei-workflow-ship
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/workflow-ship
What's inside
- Skill name
workflow-ship- Description
- 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.
- License
- MIT
- Instructions
- 98 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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.From fimoklei/pm-ai-playbook, MIT.
More from fimoklei/pm-ai-playbook
- 0.566score
intent-layer
fimoklei
Use when initializing or maintaining agent-friendly repo context, setting up AGENTS.md or CLAUDE.md, adding local rules, defining verification commands, or…
SkillCFreshness: C★ 42Claude Code +9 - 0.566score
six-hats
fimoklei
Structured six-hats thinking sessions for debating decisions.
SkillCFreshness: C★ 42Claude Code +9 - 0.561score
kiro-intent
fimoklei
Pre-discovery intent exploration for genuinely vague ideas.
SkillCFreshness: C★ 42Claude Code - 0.561score
kiro-spec-design
fimoklei
Generate comprehensive technical design translating requirements (WHAT) into architecture (HOW) with discovery process.
SkillCFreshness: C★ 42Claude Code - 0.561score
kiro-debug
fimoklei
Investigate implementation failures using root-cause-first debugging.
SkillCFreshness: C★ 42Claude Code - 0.558score
kiro-impl
fimoklei
Implement approved tasks using TDD with native subagent dispatch.
SkillCFreshness: C★ 42Claude Code - 0.558score
kiro-discovery
fimoklei
Entry point for new work.
SkillCFreshness: C★ 42Claude Code - 0.558score
kiro-review
fimoklei
Review a task implementation against approved specs, task boundaries, and verification evidence.
SkillCFreshness: C★ 42Claude Code +9 - 0.558score
kiro-spec-batch
fimoklei
Create complete specs (requirements, design, tasks) for all features in roadmap.md using parallel subagent dispatch by dependency wave.
SkillCFreshness: C★ 42Claude Code +9 - 0.555score
kiro-spec-init
fimoklei
Initialize a new specification with detailed project description
SkillCFreshness: C★ 42Claude Code +9 - 0.552score
kiro-spec-quick
fimoklei
Quick spec generation with interactive or automatic mode
SkillCFreshness: C★ 42Claude Code - 0.541score
workflow-commit
fimoklei
Use when the user asks to run workflow:commit, create a commit, make a git commit, stage changes, write a commit message, or prepare local changes for shipping.
SkillCFreshness: C★ 42Claude Code +9
Signals
- Stars
- 42
- Forks
- 8
- Open issues
- 0
- Last commit (this folder)
- May 17, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/fimoklei/pm-ai-playbook
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from fimoklei
- 0.566score
six-hats
fimoklei
Structured six-hats thinking sessions for debating decisions.
SkillCFreshness: C★ 42Claude Code +9 - 0.566score
intent-layer
fimoklei
Use when initializing or maintaining agent-friendly repo context, setting up AGENTS.md or CLAUDE.md, adding local rules, defining verification commands, or…
SkillCFreshness: C★ 42Claude Code +9 - 0.561score
kiro-spec-design
fimoklei
Generate comprehensive technical design translating requirements (WHAT) into architecture (HOW) with discovery process.
SkillCFreshness: C★ 42Claude Code - 0.561score
kiro-intent
fimoklei
Pre-discovery intent exploration for genuinely vague ideas.
SkillCFreshness: C★ 42Claude Code - 0.561score
kiro-debug
fimoklei
Investigate implementation failures using root-cause-first debugging.
SkillCFreshness: C★ 42Claude Code - 0.558score
kiro-discovery
fimoklei
Entry point for new work.
SkillCFreshness: C★ 42Claude Code
Cite this page
workflow-ship skill. Agent Mart. https://agentmart.dev/skills/fimoklei-workflow-ship (last updated 2026-10-24)