dot_config/ai_templates/skills/devtools/hunk-review/SKILL.md
Explicitly triggered when the user mentions `hunk-review`. It works with interactive Hunk diff review sessions.
npx skillsauth add pascalandy/dotfiles hunk-reviewInstall 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.
Hunk is an interactive terminal diff viewer. The TUI is for the user -- do NOT run hunk diff, hunk show, or other interactive commands directly. Use hunk session * CLI commands to inspect and control live sessions.
If no session exists, ask the user to launch Hunk in their terminal first.
1. hunk session list # find live sessions
2. hunk session context --repo . # check current focus
3. hunk session navigate ... # move to the right place
4. hunk session reload -- <command> # swap contents if needed
5. hunk session comment add ... # leave review notes
Every command (except list) needs a session target:
--repo <path> -- match by repo root (most common)<session-id> -- match by exact ID (use when multiple sessions share a repo)hunk session list [--json]
hunk session get (--repo . | <id>) [--json]
hunk session context (--repo . | <id>) [--json]
Requires --file and exactly one of --hunk, --new-line, or --old-line:
hunk session navigate --repo . --file src/App.tsx --hunk 2
hunk session navigate --repo . --file src/App.tsx --new-line 372
hunk session navigate --repo . --file src/App.tsx --old-line 355
--hunk <n> is 1-based--new-line/--old-line are 1-based line numbers on that diff sideSwaps the live session's contents. Pass a Hunk review command after --:
hunk session reload --repo . -- diff
hunk session reload --repo . -- show HEAD~1
hunk session reload --repo . -- show HEAD~1 -- README.md
hunk session comment add --repo . --file README.md --new-line 103 --summary "Tighten this wording" [--rationale "..."] [--author "agent"]
hunk session comment list --repo . [--file README.md]
hunk session comment rm --repo . <comment-id>
hunk session comment clear --repo . --yes [--file README.md]
comment add requires --file, --summary, and exactly one of --old-line or --new-line--summary and --rationale defensively in the shellhunk diff includes untracked files by default. If the user wants tracked changes only, reload with --exclude-untracked:
hunk session reload --repo . -- diff --exclude-untracked
The user may ask you to walk them through a changeset or review code using Hunk. Your role is to narrate: steer the user's view to what matters and leave comments that explain what they're looking at.
Typical flow:
reload if needed)Guidelines:
context, then reload if needed.<session-id> explicitly.--hunk, --old-line, --new-line.development
Explicitly triggered when the user mentions `wiki-map`. It ingests, queries, lints, or compiles a markdown wiki.
testing
Explicitly triggered when the user mentions `single-skill-creator`. It scaffolds a new `SKILL.md`.
testing
Explicitly triggered when the user mentions `qmd`. It searches local markdown or QMD collections.
development
Explicitly triggered when the user mentions `ontology-map`. It builds, refreshes, or checks an ontology.