Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

diffs

БесплатноБез исполняемых скриптовНе проверен

Use when an app uses @pierre/diffs to render or edit code files, diffs, patches, merge conflicts, or CodeView review surfaces, including React, vanilla…

pierrecomputerот pierrecomputer★ 6 715 звёзд на GitHub

Об этом скилле

@pierre/diffs

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

For standalone HTML or token generation with @pierre/highlights, read the highlights skill.

Install

pnpm add @pierre/diffs

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
Languages, themes, highlighter state, and streams Highlighting API
Renderers, managers, DOM helpers, comparisons, and constants Low-level rendering API
Shared data, option, render, selection, and editor types Shared types
@pierre/diffs/react React API
@pierre/diffs/edit Editor API
@pierre/diffs/ssr SSR API
@pierre/diffs/worker and worker scripts Worker API

Select a recipe

Task Recipe
Render a file or diff in React Render with React
Render a file or diff without React Render with vanilla JavaScript
Build a virtualized review surface Use CodeView
Edit a React surface or CodeView Edit with React
Edit a vanilla surface or CodeView Edit with vanilla JavaScript
Preload markup on the server Use SSR
Highlight through a worker pool Use workers
Add line annotations and selection Add annotations and selection
Register a custom language or theme Register custom highlighting
Полный SKILL.md на GitHub

Установить diffs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/api-core.mdreferences/api-editor.mdreferences/api-highlighting.mdreferences/api-react.mdreferences/api-rendering.mdreferences/api-ssr.mdreferences/api-types.mdreferences/api-worker.mdreferences/recipe-annotations.mdreferences/recipe-code-view.mdreferences/recipe-custom-highlighting.mdreferences/recipe-edit-react.mdreferences/recipe-edit-vanilla.mdreferences/recipe-react.mdreferences/recipe-ssr.mdreferences/recipe-vanilla.mdreferences/recipe-workers.md

FAQ

Что делает скилл diffs?

Use when an app uses @pierre/diffs to render or edit code files, diffs, patches, merge conflicts, or CodeView review surfaces, including React, vanilla JavaScript, SSR, workers, annotations, selection, and custom syntax languages or themes.

Как установить скилл diffs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл diffs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить diffs с