What problem does it solve? After finishing work on a feature branch, developers often need to return to an up-to-date main branch without leaving stale remote-tracking refs or accidentally discarding local changes. This Skill runs a safe, deterministic git workflow to do exactly that. ## Core Features & Use Cases - Pruned Fetch and Fast-Forward Pull: Runs git fetch --prune, git checkout main, and git pull --ff-only to sync main with origin. - Missing Local Branch Recovery: Creates and tracks main from origin/main when no local main branch exists. - Safe Failure Handling: Stops and reports blocking files if the pull fails due to local changes, without stashing, resetting, or discarding anything. - Use Case: After merging a feature branch pull request, ask the agent to return the repository to a clean, up-to-date main before starting the next task. ## Quick Start Use the back-to-main skill to switch this repository back to main and pull the latest changes from origin.