Set up and use an isolated Git worktree for repository implementation tasks. Use unless the user explicitly requests another workspace arrangement.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Inspect an existing branch or path before reuse; choose a new name if it is not clearly the task workspace.
Make all implementation changes in the new worktree. Do not remove another worktree unless the user explicitly requests it.
Implement and verify
Split the work into practical phases.
For each phase, implement the scoped change, run repository-appropriate formatting and verification, then commit it with commit-message-quality-check.
Before pushing, review the complete diff, recent commits, scope, and missing verification; run the final relevant checks.
Push and create or update the PR with pull-request-quality-check when requested.
Before a PR merge command performs local branch cleanup, check every active
worktree. Do not let a hosted-PR CLI switch to the default branch or delete
a branch when that branch is checked out by another worktree. Merge first;
then perform any safe remote or local branch cleanup as a separate action.
Use documented builds, tests, linters, formatters, or structural validators appropriate to the change. State skipped verification and its reason in the PR body. After a branch is pushed or attached to a PR, add follow-up commits rather than rewriting history unless the user explicitly requests a rewrite.