home-modules/shared/skills/git-diff/SKILL.md
Review all working changes (staged, unstaged, and untracked) with a browser-based diff view. Offer to commit and push when done.
npx skillsauth add mccurdyc/nixos-config git-diffInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Open a visual, side-by-side diff in the browser using diff2html.
Open diff in browser.
Use the browser_diff tool with args HEAD.
If nothing is committed yet (initial commit), use args --cached.
(Untracked files and lock-file exclusions are handled automatically.)
Present a summary of the changes: what was added, modified, deleted, and any new untracked files.
Ask the user: "Do you want to commit and push these changes?" Never offer to commit without pushing — commit always means commit AND push.
git add -A), generate a Conventional
Commits message (type(scope): summary, <= 72 chars), commit, and push.
If the commit fails due to a GPG signing error, retry with
git commit --no-gpg-sign -m "<message>".tools
Do work in an isolated git worktree instead of switching branches. Use when creating a branch and opening a PR so the user's working directory is never disturbed. Triggers: 'create a branch', 'open a PR', 'make a change on a new branch'.
development
Search the web, fetch web page content, or search GitHub issues/PRs/repos. Use when you need current information not available locally.
tools
Start an interactive questionnaire when there are more than 5 options or bullet points that need to be addressed. Uses the ask_user tool to walk through selections interactively instead of dumping a wall of text.
tools
Browse the web headlessly using Chrome DevTools Protocol. Use when you need to interact with web pages - click buttons, fill forms, navigate, take screenshots, or extract dynamic content that requires JavaScript.