What problem does it solve?
Ensures feature branches are safely finalized by validating repository state, running guard checks, and choosing a deterministic outcome (merge, PR, keep, or discard) so teams avoid broken main branches and incomplete releases.
Core Features & Use Cases
- Snapshot branch state including current branch name, commit count, and files changed to inform finalization decisions.
- Enforce a clean worktree by requiring staged/unstaged/untracked files be resolved before proceeding.
- Run a full guard suite (build, lint, tests) and block finalization on failures, with explicit guidance to run fix workflows.
- Detect merge conflicts, recommend rebase resolution, and support squash-merge, PR creation via CLI, discard with confirmation, and automatic post-merge verification with rollback on failures.
- Use Case: A developer finishes a feature branch; the Skill validates the branch, runs CI-equivalent checks locally, creates a squash merge to main or a PR if checks pass, logs results, and reverts immediately if post-merge tests fail.
Quick Start
Run /godmode:finish on your feature branch to validate, run guards, and create a squash-merge or PR depending on checks.