zieka

Issue Worktree — Git skill for Claude Code

Git community

Fix GitHub issue with tests and PR using git worktree.

How to install Issue Worktree

Installs to ~/.claude/commands/zieka-cpm-public-registry-issue-worktree.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/zieka/cpm-public-registry/HEAD/.claude/commands/issue-worktree.md -o ~/.claude/commands/zieka-cpm-public-registry-issue-worktree.md

Restart Claude Code, or start a new session, for it to be picked up.

What Issue Worktree does


name: issue-worktree description: Fix GitHub issue with tests and PR using git worktree args: required

Issue Command

Analyze and fix a GitHub issue with automated workflow.

Arguments

  • $1 or $ISSUE_NUMBER: GitHub issue number to fix

Workflow

Follow these steps:

    1. Ensure that .worktrees/ is in the .gitignore file. If not add it.
    1. Create a git worktree for the issue
    1. Use gh issue view to get the issue details
    1. Take time to think about the problem d

Alternatives in Git

Full documentation available on GitHub

View Source Repository