Skip to content
Skills Library
Programming · Building & coding

diffs

/diffs

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.

Repository
palot ↗
Licence
MIT
Last repository change
27.10.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
20
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

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.

Original author 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.

How it works

  1. Install
  2. Select an API reference
  3. Select a recipe
Original SKILL.md headings · 45 lines, 280 words
SKILL.md preview
---
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 package (20)
  • LICENSE.md 11 KB
  • NOTICE.md 1 KB
  • SKILL.md 3 KB
  • references/api-core.md 15 KB
  • references/api-editor.md 8 KB
  • references/api-highlighting.md 8 KB
  • references/api-react.md 5 KB
  • references/api-rendering.md 16 KB
  • references/api-ssr.md 2 KB
  • references/api-types.md 14 KB
  • references/api-worker.md 7 KB
  • references/recipe-annotations.md 1 KB
  • references/recipe-code-view.md 6 KB
  • references/recipe-custom-highlighting.md 1 KB
  • references/recipe-edit-react.md 4 KB
  • references/recipe-edit-vanilla.md 4 KB
  • references/recipe-react.md 1 KB
  • references/recipe-ssr.md 1 KB
  • references/recipe-vanilla.md 2 KB
  • references/recipe-workers.md 1 KB

Versions

RepositoryScoreLicence
This page · itswendell/palot95MIT
pierrecomputer/pierre95Apache-2.0

Database snapshot: 13.11.2026 · package version b766dbd6cf98 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95trees
    Use when changing Palot file-tree behavior built on @pierre/trees, especially the Changes tab tree, selection, search, rename, drag and drop, Git status, or theme integration. Do not use for generic tree data structures.
  • 100pierre
    Use Pierre Computer Company's `@pierre/trees` (path-first file tree) and `@pierre/diffs` (shiki-based code/diff renderer) in Kolu. Pierre ships Preact/vanilla cores with optional React wrappers — Kolu consumes the vanilla classes and wraps them in thin SolidJS components.…
  • 95theming
    Use when an app uses @pierre/theming to list, resolve, select, switch, persist, or apply themes, including color modes, theme controllers, React state, UI colors, and bundled Pierre or Shiki collections.
  • 100diff-review
    In-browser review of pending changes before committing or opening a PR. Starts a local server on localhost:3000 that renders the working-tree diff with @pierre/diffs CodeView, opens the user's browser, and waits for their line comments — which must then be read back and…
  • 90palot-desktop-dev
    Operate Palot's Electron build and channel lifecycle. Use for main, preload, or lifecycle changes; dev supervisor or launcher work; native dependencies or generated binaries; Dev/Nightly channel configuration; packaging or installation; and start, restart, build, or channel…
  • 100words
    Use when an app uses @pierre/words to render Markdown as HTML or ANSI, display streamed Markdown in React or the DOM, customize generated HTML, or highlight fenced code with @pierre/highlights.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.