Hunk

Active
GitHub TypeScript MIT

Description

Review-first terminal diff viewer for agentic coders.

Key Features

  • Review-first terminal diff viewer with multi-file review stream and sidebar navigation
  • Inline AI and agent annotations beside code for enhanced code review context
  • Split, stack, and responsive auto layouts for flexible viewing preferences
  • Watch mode for auto-reloading file and Git-backed reviews with live updates
  • Support for Git, Jujutsu, and Sapling version control systems
  • Agent integration with skill files for automated code review workflows

Use Cases

💡 Reviewing code changes from AI agents with enhanced visual context
💡 Performing detailed code reviews with inline annotations and explanations
💡 Monitoring real-time changes in development workflows with watch mode
💡 Integrating automated code review into CI/CD pipelines
💡 Collaborative code review sessions with shared review contexts

Quick Start

Install with 'npm i -g hunkdiff' or 'brew install modem-dev/tap/hunk'. Review current changes with 'hunk diff'. Review latest commit with 'hunk show'. Use watch mode with 'hunk diff --watch'. For agent integration, use 'hunk skill path' to get skill file location

Related Projects