hunk
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "hunk" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7267b071fe8740e77d4a2eeebfb11de5b02789316c6e291710700e01eca8ce10. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/review-agent-authored-diffs-with-hunk before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Hunk: a tool that maintains a real-time terminal review interface for code changes written by agents. Supports Git, Jujutsu, Sapling, patch input, watch mode, and inline agent annotations.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Hunk CLI, Git/Jujutsu/Sapling or patch input, Node.js 18+ for npm install or Homebrew, optional coding-agent access to the Hunk skill path
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 Hunk 审查代理编写的差异"
slug: "review-agent-authored-diffs-with-hunk"
version: "1.0.0"
displayName: "使用 Hunk 审查代理编写的差异"
summary: "使用 Hunk 保持实时终端审查界面,用于代理编写的代码更改,支持 Git、Jujutsu、Sapling、补丁输入、监视模式和内联代理注释。"
license: "MIT"
description: "使用 Hunk 保持实时终端审查界面,用于代理编写的代码更改,支持 Git、Jujutsu、Sapling、补丁输入、监视模式和内联代理注释。"
github_stars: 6866
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 6866
npm_package: "hunkdiff"
npm_weekly_downloads: 12934使用 Hunk 审查代理编写的差异
Use Hunk to keep a live terminal review UI open for agent-authored code changes, with Git, Jujutsu, Sapling, patch input, watch mode, and inline agent annotations.
Prerequisites
Hunk CLI, Git/Jujutsu/Sapling or patch input, Node.js 18+ for npm install or Homebrew, optional coding-agent access to the Hunk skill path
Installation
Use the upstream install or setup path that matches your environment:
- npm i -g hunkdiff
- brew install hunk
Requirements and caveats from upstream:
- Node.js 18+
Basic usage or getting-started notes:
-
Or with Homebrew:
-
[!NOTE]
-
If you previously installed hunk via modem-dev/tap, be sure to uninstall it first with brew uninstall modem-dev/tap/hunk.
-
Extracted from upstream docs: https://raw.githubusercontent.com/modem-dev/hunk/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供实时终端审查界面,支持多种版本控制系统(Git/Jujutsu/Sapling)和补丁输入
- 适用于代理编写代码的审查场景,提升代码质量控制效率
Highlights
- description 清晰完整,覆盖核心功能和使用场景,触发边界明确
Areas to improve
-
缺少具体使用示例 Reported severity: Minor
文档中未提供具体的使用示例或端到端操作流程
Recommendation: 建议补充一个完整的使用示例,展示从安装到审查的完整流程
Highlights
- frontmatter 完整,包含必要元数据
- 提供了前置条件和安装说明
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
未提及安装失败、版本冲突等常见异常的处理方式
Recommendation: 建议补充常见问题的排查指南和错误处理建议
Highlights
- 提供了明确的安装命令和工具来源
- 支持多种安装方式(npm/brew)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 29, 34, 35
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- hunk.dev
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Hunk CLI, Git/Jujutsu/Sapling or patch input, Node.js 18+ for npm install or Homebrew, optional coding-agent access to the Hunk skill path
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.