Worktree pr and clean

From phenobarbital/navigator · View interactive version

Worktree pr and clean is an AI agent skill from the GitHub repository phenobarbital/navigator. Use ONLY after the user explicitly approves and requests a PR (keywords: open PR, create pull request, ready for main, approved, ship it). Find the active worktree, verify it is clean, push the branch, create a PR to main, and remove the worktree.

How to use this skill

Skill file

Goal

After user approval: push branch + open PR to main + clean up the worktree.

Safety rules

Steps

1) Locate the active worktree

2) Verify state

3) Push to origin

4) Create a PR to main

5) Clean up

6) Report

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.