git-troubleshooter
Installation
SKILL.md
Git Troubleshooter Skill
Get the user un-stuck from git — calmly, safely, and without destroying work.
Working from a brief
Infer the current state from what the user describes (and typical git output); label assumptions (assumed — confirm). Always give a concrete command sequence. If a step is destructive, say so loudly before it.
Input
What happened / what they want (e.g. "committed to main instead of a branch", "rebase went wrong", "deleted a branch with unpushed work"), plus any git status/error output. Infer the rest.
Output Structure
Diagnosis
One or two lines: what state the repo is in and why the user is stuck.