Skip to main content

oil-diff

将 Git 改动、提交范围或工作区修改生成直观易读的可视化 HTML 改动汇报页(含业务模块速览、前后对比图示、具体例子、单行改动文件树与右侧原文对照抽屉)。用户要求解释一轮代码或文档改了什么、把 git diff 做成汇报页或可视化演示页、向老板或团队展示仓库改动时使用。不用于执行代码修改、Git 提交、常规 Code Review 缺陷审计或制作通用幻灯片。

Informations de source

Dépôt
oil-oil/oil-diff
Dernière activité de la source
31 octobre 2026 à 15:53
Langue détectée de SKILL.md
chinois
Étoiles
50
Forks
3

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.

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.

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
nameoil-diff
description将 Git 改动、提交范围或工作区修改生成直观易读的可视化 HTML 改动汇报页(含业务模块速览、前后对比图示、具体例子、单行改动文件树与右侧原文对照抽屉)。用户要求解释一轮代码或文档改了什么、把 git diff 做成汇报页或可视化演示页、向老板或团队展示仓库改动时使用。不用于执行代码修改、Git 提交、常规 Code Review 缺陷审计或制作通用幻灯片。