close-branch
CommunityAutomates safe, local-branch close rituals.
Authorseankao31
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill automates the project-scoped Git operations required to close a feature branch safely within a chezmoi/agent-config workflow, reducing manual steps and error-prone handoffs.
Core Features & Use Cases
- Rebase the worktree onto the local main to absorb unpushed commits.
- Perform a fast-forward merge into main and push, preserving linear history.
- Detach HEAD in the worktree and delete the feature branch both locally and remotely when appropriate.
- Use cases include closing a feature branch after review, preserving main history, and cleaning up local worktrees in monorepo-like setups.
Quick Start
Invoke the close-issue workflow to trigger the close-branch sequence for a reviewed feature branch.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: close-branch Download link: https://github.com/seankao31/dotfiles/archive/main.zip#close-branch Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.