Skip to content
Back to skills

Diffs

ASecurity

Use when changing Palot code, file, or diff rendering built on @pierre/diffs,

  • 195 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 22, 2026
ai-agentsjavascriptjavabashreactgitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add ItsWendell/palot --skill diffs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Diffs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Diffs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/itswendell-diffs/badge)](https://www.skillsdirectory.com/skills/itswendell-diffs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: diffs
description: Use when changing Palot code, file, or diff rendering built on @pierre/diffs,
  including the Changes tab, file views, CodeView, parsing, selection,
  annotations, workers, or Shiki themes and languages. Do not use for ordinary
  code review or Git conflict resolution.
---

# `@pierre/diffs`

Modified by Palot contributors for Palot-specific scope and Vite+ installation
guidance. See [NOTICE.md](NOTICE.md) for the pinned upstream source and
[LICENSE.md](LICENSE.md) for the Apache-2.0 license.

Use `@pierre/diffs` to render syntax-highlighted files and diffs. Use its
optional editor, SSR, and worker entries for those capabilities.

## Install

```bash
vp add @pierre/diffs
```

Run the install command from `apps/desktop`. Install `react` and `react-dom` when the app uses the React entry.

## Select an API reference

| Surface                                                      | Reference                                              |
| ------------------------------------------------------------ | ------------------------------------------------------ |
| Root components, parsing, and file extension APIs            | [Core API](references/api-core.md)                     |
| Languages, themes, highlighter state, and streams            | [Highlighting API](references/api-highlighting.md)     |
| Renderers, managers, DOM helpers, comparisons, and constants | [Low-level rendering API](references/api-rendering.md) |
| Shared data, option, render, selection, and editor types     | [Shared types](references/api-types.md)                |
| `@pierre/diffs/react`                                        | [React API](references/api-react.md)                   |
| `@pierre/diffs/edit`                                         | [Editor API](references/api-editor.md)                 |
| `@pierre/diffs/ssr`                                          | [SSR API](references/api-ssr.md)                       |
| `@pierre/diffs/worker` and worker scripts                    | [Worker API](references/api-worker.md)                 |

## Select a recipe

| Task                                | Recipe                                                                   |
| ----------------------------------- | ------------------------------------------------------------------------ |
| Render a file or diff in React      | [Render with React](references/recipe-react.md)                          |
| Render a file or diff without React | [Render with vanilla JavaScript](references/recipe-vanilla.md)           |
| Build a virtualized review surface  | [Use CodeView](references/recipe-code-view.md)                           |
| Edit a React surface or CodeView    | [Edit with React](references/recipe-edit-react.md)                       |
| Edit a vanilla surface or CodeView  | [Edit with vanilla JavaScript](references/recipe-edit-vanilla.md)        |
| Preload markup on the server        | [Use SSR](references/recipe-ssr.md)                                      |
| Highlight through a worker pool     | [Use workers](references/recipe-workers.md)                              |
| Add line annotations and selection  | [Add annotations and selection](references/recipe-annotations.md)        |
| Register a Shiki language or theme  | [Register custom highlighting](references/recipe-custom-highlighting.md) |

Files in this skill

  • LICENSE.md10.6 KB
  • NOTICE.md1.2 KB
  • SKILL.md3.3 KB
  • references/api-core.md14.7 KB
  • references/api-editor.md7.9 KB
  • references/api-highlighting.md7.8 KB
  • references/api-react.md5.3 KB
  • references/api-rendering.md15.9 KB
  • references/api-ssr.md2.5 KB
  • references/api-types.md13.8 KB
  • references/api-worker.md7.5 KB
  • references/recipe-annotations.md814 B
  • references/recipe-code-view.md5.8 KB
  • references/recipe-custom-highlighting.md537 B
  • references/recipe-edit-react.md4.5 KB
  • references/recipe-edit-vanilla.md4 KB
  • references/recipe-react.md1.4 KB
  • references/recipe-ssr.md661 B
  • references/recipe-vanilla.md1.5 KB
  • references/recipe-workers.md744 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.