modules/home/programs/cli-agents/shared/skills/minimal-diff/SKILL.md
Keep code changes as small, local, and low-churn as possible while preserving correctness. Use when implementing or reviewing a change where the goal is the smallest safe git diff with no unrelated refactors.
npx skillsauth add not-matthias/dotfiles-nix minimal-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.
Make the smallest correct change.
Prefer edits that keep behavior scoped, touch fewer lines, and avoid unrelated churn.
Check the final diff and ask:
If the answer suggests unnecessary churn, reduce the diff.
Issue: The smallest change looks repetitive.
Issue: Nearby code is messy.
Issue: A refactor seems necessary.
tools
Spawn the pi coding agent with a specific model/provider. Use when asked to run pi with a particular model, switch pi's model, use DeepSeek V4 Flash/Pro in pi, or look up pi's --model/--provider/--models CLI flags and thinking-level shorthand.
development
Navigate to directories using zoxide (frecency-based directory jumper). Use when the user says "go to", "navigate to", "cd to", "jump to" a project or directory by nickname/partial name (e.g. "go to my dotfiles", "jump to dot").
tools
Use when manipulating Zellij sessions, creating tabs or panes, sending commands to panes, capturing output, or looking up Zellij CLI commands for terminal multiplexer operations
development
Emulates not-matthias's technical blog writing style. Use when writing blog posts, technical articles, README content, or any long-form technical prose. Produces investigation-driven, first-person narratives with dry humor, practical code examples, and concrete takeaways.