display-diff
Skill1 starsChanged yesterdayMITView on GitHub
Use when showing a diff or highlighting exactly what changed in a file.
In this repository17 other files it gives its agents.
- alignSkill
- consultSkill
- lang-htmlSkill
- lang-typescriptSkill
- meSkill
- orientSkill
- pr-commentsSkill
- pr-createSkill
- pr-fullSkill
- pr-proofSkill
- pr-tendSkill
- riffSkill
- specSkill
- teachSkill
- write-for-humansSkill
- write-skillSkill
- xstateSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
[Stacked](assets/stacked.html): When an inline diff makes either version hard to read, put the old − rows above the new + rows and …
- Distinctive: line 20
Prefer inline HTML. Include the shared style tag once per HTML document.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Display diff
Render one change as a readable diff. Preserve the exact file text, including punctuation and indentation.
Choose one layout:
- Inline: For small edits, show shared text once and mark only the removed and added spans.
- Stacked: When an inline diff makes either version
hard to read, put the old
−rows above the new+rows and highlight only the changed spans within them. For a pure addition or deletion, show only the rows that exist, without highlighting individual spans.
Prefer inline HTML. Include the shared style tag once
per HTML document. Fill the chosen snippet with HTML-escaped file text and
repeat rows as needed to preserve line breaks. Search for an HTML renderer if
one isn't loaded. If unavailable, use a fenced Markdown diff block with
- for removals and + for additions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

