What problem does it solve? After finishing work on a feature branch, developers need a safe way to return to master without losing uncommitted changes or accidentally creating merge commits. This skill automates that return while refusing to touch a dirty working tree. ## Core Features & Use Cases - Clean-tree gate: Runs git status --porcelain --untracked-files=all first and stops with a full report if any staged, unstaged, or untracked changes exist, so dirty work is never relocated or lost. - Safe switch and pull: Executes git switch master (leveraging git's DWIM to bootstrap master from a remote if needed) followed by git pull --ff-only, which can never create a merge commit. - Explicit failure reporting: On switch failure, diverged branches, or missing upstream, it stops and reports the exact error rather than attempting merges, rebases, or stashes. - Use Case: After archiving a completed ptp feature branch, invoke this skill to land back on a fast-forwarded master, confident that any uncommitted work would have blocked the operation instead of being stashed or overwritten. ## Quick Start Ask the assistant to return to an up-to-date master branch using the ptp-master skill, confirming the working tree is clean first.