the-rabak/compound-engineering-plugin/finishing-branch
Claude Code and agent skill by the-rabak/compound-engineering-plugin
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Use when completing development on a feature branch -- verifies quality, presents completion options, and cleans up
Install
npx vskill@latest install the-rabak/compound-engineering-plugin/finishing-branchSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Finishing a Development Branch
A structured skill for completing work on a feature branch. Ensures all quality checks pass, presents clear options for what to do next, and handles cleanup.
Announce at start: "I'm using the finishing-branch skill to complete this work."
When to Use
- All implementation tasks are complete
- You are ready to ship or merge a feature branch
- Referenced at the end of
workflows:workPhase 4 - Referenced by the
/lrjpipeline
When NOT to Use
- Work is still in progress (finish tasks first)
- You are on the default branch (nothing to finish)
The Process
Step 1: Final Verification
Run all quality checks and report results:
Report results clearly:
- Tests: X passed, Y failed (if any fail, stop here and fix first)
- Linting: pass/fail (if fail, fix first)
- Uncommitted changes: list them
- Untracked files: list them
Do NOT proceed if tests or linting fail. Fix issues first, then return to Step 1.
Step 2: Commit Remaining Changes
If there are uncommitted changes:
Stage files selectively -- do not blindly git add . if there are files that should not be committed.
Step 3: Present Completion Options
Present the user with clear options:
Option A: Create a Pull Request (recommended for team projects)
- Push branch and generate PR description
- Include summary of changes, testing notes, screenshots (if UI)
- Include Post-Deploy Monitoring section
Option B: Merge to default branch (for solo projects or pre-approved changes)
- Verify the default branch is up to date
- Merge the feature branch
- Push the result
Option C: Keep the branch (for work that needs more review)
- Push the branch for others to review
- Do not merge yet
Option D: Discard the branch (if work is no longer needed)
- Confirm with user (this is destructive)
- Delete the branch
Ask the user which option they prefer. Do not assume.
When invoked by an orchestrator without user interaction available: Default to Option A (Create PR). Do not stall waiting for user input -- proceed with creating the PR automatically.
Step 4: Execute the Chosen Option
Option A: Create PR
Generate a PR/MR description:
Option B: Merge
Option C: Keep Branch
Option D: Discard
Step 5: Clean Up
If a git worktree was used:
Update plan status (if a plan file was used):
- Change
status: activetostatus: completedin the plan's YAML frontmatter - This marks the plan as done so it is not picked up by future
/workflows:worksessions
Update execution session (if STATE.md exists):
- Set
status: completedin STATE.md - Record completion timestamp
Step 6: Summary
Present a clear completion summary:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/compound-engineering/skills/finishing-branch/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/the-rabak/compound-engineering-plugin/finishing-branch)