← 返回日报
精读 预计 1 分钟

wiff

摘要

wiff 是一个以终端为中心的 diff 与代码审查工具,能捕获 diff、以语法高亮浏览并注释,审查以本地会话持久化,人类通过 TUI、agent 通过 CLI 和 skill 可并发读写。它支持三种审查:本地变更、GitHub 拉取请求、对现有代码的探索;本地优先,无需网络即可审查不离开本机的代码,也可通过 forge 集成把 GitHub PR 镜像为本地会话并在终端内发布审查。

荐读理由

装完就能在终端里做本地代码审查,diff 存自己磁盘、不联网,还能让 agent 通过 CLI 并发读写同一会话,适合你手上项目的私有审查流程

原文

wiff

wiff is a terminal-centric diff and code-review utility: it captures a diff, lets you browse and annotate it with syntax highlighting, and persists the review as a local session that both a human (through the TUI) and an agent (through the CLI and a skill) can read and write concurrently.

Here is a short tour: opening a change, leaving a comment, switching themes, and resuming a session by id. See Screencasts for each of these on its own.

Where to next

  • Install wiff, from git or a checkout, and set up the agent skill.

  • Reviewing covers the three kinds of review: a local change, a GitHub pull request, and an explore over existing code.

  • The review interface walks through the terminal UI, and Key bindings lists every default key.

  • Configuration documents config.toml and every option.

Local first, forge when you want it

wiff has a rich local code-review model that needs no network access: it captures a diff from your working tree, index, or history and stores the review on your own disk, which makes it a good fit for private review of code that never leaves your machine. On top of that same model, a forge integration mirrors a GitHub pull request into a local session and publishes your review back, so you can review a PR from the comfort of the terminal.

Lobsters · 4 赞 · 0 评 讨论 → 阅读原文 →

这条对你有帮助吗?