ship-current-session

Automate end-to-end session wrap-up with PR merge and branch cleanup.

Updated Jun 4, 2026
One-click install
npx skills add https://github.com/Kohlex/autopilot-plugin --skill ship-current-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ship-current-session
Source: https://github.com/Kohlex/autopilot-plugin/tree/main/skills/ship-current-session
Command: npx skills add https://github.com/Kohlex/autopilot-plugin --skill ship-current-session

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the end-to-end wrap-up of a completed AutoPilot/Kohlex session. It guides the user through landing the work on main, cleaning up the worktree, and deleting the local branch, all in a single command.

Core Features & Use Cases

  • End-to-end wrap-up workflow: pre-flight verification, optional confident-handoff, push, PR open, optional remote review, squash-merge, main sync, K/A/D archive, worktree removal, and branch deletion.
  • Uses established doctrine and handoff protocols to ensure safe, auditable transitions from feature work to main.
  • Typical use case: a completed capability on a feature branch is landed via PR while keeping the local workspace clean and synchronized with origin.

Quick Start

Invoke the /ship command after a session is complete to perform the full land-and-clean workflow.

Frequently Asked Questions about ship-current-session

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate git worktree cleanup and branch deletion after a PR merge?

Automating git worktree cleanup and branch deletion after a PR merge requires a wrap-up workflow that performs squash-merge, main sync, worktree removal, and local branch deletion in a single command to keep the local workspace synchronized.

What is the best way to manage end-to-end PR creation and merge for a completed feature branch?

The best way to manage end-to-end PR creation and merge for a completed feature branch is to enforce a unified workflow that handles pre-flight verification, push, PR open, optional remote review, and archive across the full lifecycle.

How does a safe session wrap-up workflow handle error rollback during a git merge?

A safe session wrap-up workflow handles error rollback during a git merge by enforcing safety checks and rollback guidance per established doctrine, ensuring auditable transitions from feature work to main without losing worktree state.

Can I use an automated land-and-clean workflow for any completed logical unit of work?

You can use an automated land-and-clean workflow for any completed logical unit of work on a feature branch that requires PR creation, review, merge, archive, and cleanup across the full lifecycle to land safely on main.

Why does worktree removal fail when trying to land a finished feature branch?

Worktree removal can fail during a feature branch wrap-up if pre-flight verification is skipped, making safety checks necessary to ensure the feature branch is fully merged and synchronized with origin before deleting local branches.