Worktree Deliver banner
davila7 davila7

Worktree Deliver

Git community intermediate

Description

Commit all work, push, and create a pull request from the current worktree.

Installation

Terminal
claude install-skill https://github.com/davila7/claude-code-templates

README


allowed-tools: Bash(git:*), Bash(gh:*), Bash(rm:*), Bash(cat:*), Bash(pwd:*), Bash(ls:*) description: Commit, push, and create PR from the current worktree

Worktree Deliver

Commit all work, push, and create a pull request from the current worktree.

Instructions

You are inside a worktree. Package up the work and deliver it as a PR.

Step 1: Validate Environment

    undefined

Step 2: Review Changes

    undefined

Step 3: Clean Up Task File

Before staging anything, remove the worktree task file so it doesn't end up in the commit:

rm -f .worktree-task.md

Step 4: Confirm Files to Commit

Use AskUserQuestion to show the user what will be committed and ask for confirmation. List all modified, added, and untracked files.

Options:

    undefined

If the user wants to choose, ask them which files to stage.

Step 5: Stage and Commit

    undefined

**Commit Message Strategy:**

    undefined