Logo di 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.

Panoramica

Autorefimoklei
Repositorypm-ai-playbook
Nome della skillworkflow-ship
Stelle
42
Fork
8
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da fimoklei su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Workflow Ship in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/fimoklei/pm-ai-playbook/tree/main/skills/agentic-skills/workflow-ship
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Workflow Ship in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Workflow Ship non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Workflow Ship non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Workflow Ship su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Workflow Ship è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Workflow Ship in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/fimoklei/pm-ai-playbook/tree/main/skills/agentic-skills/workflow-ship. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Workflow Ship?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Workflow Ship?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Workflow Ship: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Workflow Ship è gratuita?

Sì. È pubblicata su GitHub da fimoklei con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇