wt-finish
/wt:finish - Finish Feature and Merge
Description
Quick command to finish a feature, merge it back to the base branch, and clean up the worktree.
Usage
/wt:finish
What It Does
This slash command:
- Activates the Git Worktree Manager skill (
@git-worktree) - Automatically runs the
*finish-featurecommand - Guides you through merging and cleanup
Workflow
The command will:
- Verify clean state - Ensure all changes are committed
- Ask for base branch - Which branch to merge into (e.g.,
main) - Run tests - Optional: run tests before merging
- Checkout base branch - Switch to the target branch
- Merge feature - Merge your feature branch
- Push changes - Push the merged changes
- Remove worktree - Clean up the feature worktree
- Delete branch - Optionally delete the feature branch
Benefits
✅ Complete Workflow - Handles entire merge process ✅ Safe Merging - Verifies tests and clean state ✅ Automatic Cleanup - Removes worktree and branch ✅ Guided Process - Interactive prompts for all steps
Notes
- Ensures all changes are committed before merging
- Optionally runs tests before merging
- Cleans up both worktree and branch
- Returns you to the base branch
More from michael-menard/monorepo
review
Comprehensive code review with parallel specialist sub-agents. Analyzes requirements traceability, code quality, security, performance, accessibility, test coverage, and technical debt. Produces detailed findings and calls /qa-gate for final gate decision.
40lint-fix
Run ESLint with --fix across the repo (or a scope), capture errors that could not be auto-fixed, group them by rule, store results in the KB, and scan for eslint-disable suppressions (which are covered-up errors, not fixes). Use this skill instead of running pnpm lint directly.
24plans
List all plans from the KB database with key metadata. Use to get a quick overview of plan statuses, priorities, and story counts.
24wt-list
List all active git worktrees with their status. Use when checking what worktrees exist, their branches, and which has uncommitted changes. Quick overview command.
23roadmap
Show the active roadmap — current and future plans only (excludes implemented, superseded, archived). Quick view of what's in flight and coming next.
23review-draft-story
Comprehensive draft story review with parallel specialist sub-agents. Spawns PM, UX, and SM agents to review stories from product, design, and implementation readiness perspectives before development begins.
23