Home / Skills / modem-dev/hunk

hunk-extensions

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 rev

skillLicense: MIT Source: modem-dev/hunk

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit modem-dev/hunk/.agents/skills/hunk-extensions .claude/skills/hunk-extensions

Or install it for every project:

npx degit modem-dev/hunk/.agents/skills/hunk-extensions ~/.claude/skills/hunk-extensions

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
name: hunk-extensions
description: 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:

```bash
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:

```bash
hunk skill path hunk-extensions
```

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