Skills

Hunk Extensions

Writes and debugs extensions for the Hunk terminal diff viewer.

Install

npx skills add modem-dev/hunk --skill hunk-extensions -g -a claude-code -y
Repository
modem-dev/hunk9.7k
Category
Engineering
Updated
3d ago
License
MIT
Context cost
Lightabout 140 tokens
Runs scripts
No, instructions only

What it does

Maps the `hunkdiff/extension` authoring surface for Hunk, the terminal diff viewer, hiding or reordering reviewed files, docked panes, alternate file views, commands and key bindings, dialogs, workspace writes, themes, syntax languages, VCS backends, lifecycle events. Use when writing, debugging, or installing a Hunk extension, or when a request asks Hunk itself to behave differently. Not for reviewing a diff in a live session, that is hunk-review.

<!-- generated by `bun run generate:skill` -->

hunk-extensions

This file is a pointer. The instructions live in the installed hunk CLI so they always match its version.

Before anything else, load them and follow them:

hunk skill show hunk-extensions

Hunk versions before 0.24 do not have hunk skill show. If it fails, print the bundled skill's path instead, then read that file and follow it:

hunk skill path hunk-extensions

If hunk is not on PATH, ask the user to install Hunk first: https://hunk.dev/docs/start/install/

More in Engineering