Skip to content
Skillpedia
General coding9.7k · #12216

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.md

Copy 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

Use this skill to help me: https://github.com/modem-dev/hunk/blob/main/.agents/skills/hunk-extensions/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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.

<!-- 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/

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills