Wrap Branch
Description
# /wrap-branch — Finish a development branch Drive the cleanup workflow at the end of feature work. Runs a pre-check, then asks the user how to finalize the branch — merge locally, open a PR, keep the branch for later, or discard. Handles worktree cleanup based on the choice. ## Why this command exists The end-of-branch workflow has four reasonable paths and each has its own steps (merge command, push + PR, cleanup vs no-cleanup of worktrees). Doing it manually means recalling the right git i
Installation
Installs to ~/.claude/commands/nygenome-lancet2-wrap-branch.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/nygenome/Lancet2/HEAD/.claude/commands/wrap-branch.md -o ~/.claude/commands/nygenome-lancet2-wrap-branch.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git 使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git