Install any skill in seconds. Free to start, no credit card required.
Get Started Free →zzafergok/git-workflow-skill
Master git commits, interactive rebase, cherry-picking, bisect, worktrees, and reflog.
Passed 12 of 17 test cases with the skill, and 12 of 17 without it.
2 fixed14 passed either way4 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
In repository `user-dashboard`, I modified `src/components/UserCard.jsx` and `src/config/dev.env`. I only want to commit the UI changes in `UserCard.jsx`. What is the exact command sequence to inspect and stage only the UI file?
| Checked | Without skill | With skill |
|---|---|---|
| Stages only `src/components/UserCard.jsx` using `git add src/components/UserCard.jsx`. | Passed | Passed |
| Inspects the staged diff using `git diff --staged` or `git diff --cached` before committing. | Missed | Passed |
The instructions your model reads when the skill loads.
Choose the least disruptive Git operation that achieves the user's requested history or collaboration outcome.
Check repository root, status, current branch, remotes, relevant log, upstream, and worktrees before changing state. Treat modified and untracked files as user work unless proven otherwise. Do not use destructive recovery commands against a broad or ambiguous target.
Stage only intended changes and review the staged diff. Follow the repository's commit convention; if none exists, use a concise imperative subject that describes one coherent change. Do not amend, sign, commit, or push unless the user asked for that workflow.
Never force-push a shared branch without explicit authorization and a clear lease-aware plan. Avoid rewriting public history when revert or a follow-up commit satisfies the goal.
Understand both sides and the intended final behavior. Do not resolve by blindly choosing ours or theirs. After resolution, inspect the diff and run the most relevant checks. Preserve generated files according to repository policy.
Resolve the exact target before reset, clean, deletion, or branch removal. Prefer recoverable actions and create a safety reference when a complex rewrite could lose work. Explain what will become unreachable before taking a destructive action.
Report the resulting branch or commit state, commands or operations performed, checks run, and any remaining divergence, conflict, or push requirement. Never claim remote state changed unless it was verified.
test cases passed, vs 12 / 17 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.