hunk-extensions
What it does
This pointer sends your agent to the extension guide bundled with the installed Hunk command line tool. It covers hiding files, custom panes, commands and key bindings, and it is for developers customizing the Hunk terminal diff viewer.
When to use it
- ✓When you want to write or change a Hunk extension.
- ✓When a Hunk extension does not load or does not behave as expected.
- ✓When you ask for Hunk itself to behave differently in a way an extension can handle.
Skill link
https://github.com/modem-dev/hunk/blob/main/.agents/skills/hunk-extensions/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Write a Hunk extension that hides generated files from my diff review.”
5 new skills a week. 1 minute to read.
How it works
The skill tells your agent to load the guide bundled with your installed Hunk version and follow it. If Hunk is not installed, it asks you to install Hunk first.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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/
FAQ
Do I need Hunk installed?
Yes. The guide ships inside the installed Hunk command line tool, which must be on your system path.
What if my Hunk version is old?
Versions before 0.24 lack the show command, so the skill prints the file path of the bundled guide instead.
Is this for reviewing diffs?
Not directly. The review skill handles live review sessions, and this one covers writing extensions.
Details
Original description by the author
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.
repo: modem-dev/hunk
Popularity
- GitHub stars
- 9.7k
- Ranking position
- #12216
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.