hunk-review

Inspect and control live Hunk diff review sessions via CLI.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/ian-pascoe/dotfiles-chezmoi --skill hunk-review-ian-pascoe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunk-review
Source: https://github.com/ian-pascoe/dotfiles-chezmoi/tree/main/dot_agents/skills/hunk-review
Command: npx skills add https://github.com/ian-pascoe/dotfiles-chezmoi --skill hunk-review-ian-pascoe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you inspect and control a live Hunk diff review session without using the interactive TUI directly, so you can guide review work from the command line.

Core Features & Use Cases

  • Session inspection: Find active sessions, confirm the loaded repository, and check the current review focus.
  • Navigation and context: Move between files, hunks, and annotated review comments to line up the user's view.
  • Session control: Reload review contents, swap in a different diff or show command, and keep the session synchronized.
  • Inline review comments: Add, list, remove, and batch-apply comments for code review feedback.
  • Use case: A reviewer wants to examine a teammate's diff, jump to the most relevant hunk, and leave a targeted comment directly in the active Hunk session.

Quick Start

Ask the assistant to inspect the active Hunk session for your repository, navigate to the relevant file or hunk, and add a concise review comment where needed.

Frequently Asked Questions about hunk-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add inline comments to a code review from the CLI?

You can add inline comments to a code review from the CLI by using hunk session subcommands to manage and batch-apply feedback directly within an active diff review session. This avoids launching the interactive TUI.

Can I navigate specific files and hunks during a CLI diff review?

Yes, you can navigate specific files and hunks during a CLI diff review by using navigation commands to move between files, hunks, and annotated lines. This aligns the session focus to the relevant code changes.

How do I reload review content in an active diff session without restarting?

You reload review content in an active diff session by using reload commands that swap in a different diff or show command. This updates and synchronizes the review output without restarting the session.

What is the best way to inspect an active code review session from the command line?

The best way to inspect an active code review session from the command line is through session discovery. This process matches the repository and paths, confirms the loaded repo, and outputs the current review focus as JSON.

Do I need an active Hunk session running to use CLI review commands?

Yes, you need an active Hunk session already running to use CLI review commands. The Skill controls live diff review sessions by discovering active instances and applying commands without launching interactive TUI modes.