What problem does it solve? When working on a dirty feature branch, committing one or two urgent files to main normally risks losing or disturbing all other uncommitted changes. This Skill automates the stash-switch-commit-push-restore cycle so you can ship a quick fix without touching your work in progress. ## Core Features & Use Cases - Selective File Commit: Stash everything, switch to the target branch, extract only the chosen files from the stash, and commit just those. - Interactive Confirmation: Prompts for file selection, target branch, and an inferred conventional commit message before any irreversible action. - Safety Guardrails: Aborts on stash pop conflicts or rejected pushes, restores the original branch on failure, and never force-resolves conflicts. - Use Case: You are mid-refactor on a feature branch when a teammate asks you to fix a config file on main. Use this Skill to commit only that file to main, push it, and return to your branch with all other changes intact. ## Quick Start Ask the agent to commit a specific dirty file to main using the git-switch-commit workflow while keeping all other uncommitted changes untouched.