Turns a Git range or uncommitted work into a self-contained HTML report that groups changes into a few business items with diagrams and a side-by-side code drawer.
oil-diff makes a visual HTML Git-change report.
Turn Git ranges or uncommitted work into a self-contained HTML report grouped into a few business items, with diagrams and a code drawer.
Source facts
- Repository
- oil-oil/oil-diff
- Last source activity
- October 31, 2026 at 15:53
- Detected SKILL.md language
- Chinese
- Stars
- 50
- Forks
- 3
Uses
Use when you want a visual HTML page that explains what a Git range, a commit, or uncommitted work changed, grouped into a few business items that a teammate who did not write the code can read. It is not for making the code changes themselves, committing, ordinary defect review, or generic slides.
Prerequisites
Provide the target repository and the range or uncommitted work to explain. You may also provide genuine before-and-after screenshots from this change. You do not have to prepare the HTML page, the 3 to 7 business-item outline, or the .oil-diff data in advance. Documented needs are system git and Python 3.10 or newer; no API key is required. Those tools were not installed or run here.
How to use
The post introduces oil-diff in the first person and links the repository; a different t.co short URL in the long-form entities points at the same GitHub repo, and the post also has a video that was not watched. Ask for a report of the named range or uncommitted work. The documented flow collects deterministic Git data into .oil-diff/, groups files into 3 to 7 business items, builds diagrams or only verified screenshots, renders a single-file index.html, and lints until PASS while leaving git status unchanged. Documented commands were not executed here.
Limitations
Do not run git add, commit, checkout, reset, or stash, and do not edit tracked files; output stays under untracked .oil-diff/ with a star-only gitignore. Screenshots must be live captures, user-provided for this change, or files in this diff; other images must not be copied in as if they were real. The author claims about quickly changing many files, and about a non-coding boss understanding the page at a glance, are not guarantees. The post video was not watched. Scripts were not executed. MIT requires notices and gives no warranty. GitHub login oil-oil and X handle I_am_oil_oil differ; the public mapping is submitted, not auto-approved.
Install options
The review-first prompt is selected by default. You can switch to a direct command or download a local copy.
Review the source files
Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.
Showing SKILL.md
- name
- oil-diff
- description
- 将 Git 改动、提交范围或工作区修改生成直观易读的可视化 HTML 改动汇报页(含业务模块速览、前后对比图示、具体例子、单行改动文件树与右侧原文对照抽屉)。用户要求解释一轮代码或文档改了什么、把 git diff 做成汇报页或可视化演示页、向老板或团队展示仓库改动时使用。不用于执行代码修改、Git 提交、常规 Code Review 缺陷审计或制作通用幻灯片。
- license
- MIT
- compatibility
- 核心采集、渲染与校验脚本只依赖 Python 3.10+ 标准库和系统 git 命令;生成的 HTML 汇报页为零外部依赖的单文件页面,可在现代桌面与移动浏览器直接打开。已在 macOS 实机验证,Windows 与 Linux 完成跨平台静态检查。
- metadata
- {"version":"0.1.0"}