diffsitter
БесплатноБез исполняемых скриптовНе проверенUse this skill when the user wants semantic diffs between source files — AST-aware comparisons that ignore formatting noise and highlight meaningful code…
от javimosch★ 58 звёзд на GitHubОб этом скилле
diffsitter Plugin
Structural diff tool powered by tree-sitter parsers. Compares code by syntax tree instead of raw lines, making reviews cleaner for refactors and reformatting.
Commands
diffsitter <resource> <action>— Execute diffsitter commandsdiffsitter _ _— Passthrough to diffsitter CLI
Installation
cargo install diffsitter
# or download from https://github.com/afnanenayet/diffsitter/releases
Basic Usage
# Diff two files (language inferred from extension)
diffsitter old.rs new.rs
# Explicit language when extension is ambiguous
diffsitter --language python before.py after.py
# Compare against git HEAD
git diffsitter
# Side-by-side terminal output
diffsitter --display side-by-side file1.go file2.go
Common Patterns
# Only show changed hunks (suppress unchanged context)
diffsitter --context 0 src/main.rs src/main.new.rs
# Use in a git alias for semantic diffs
git config alias.sdiff '!f() { diffsitter "$1" "$2"; }; f'
# Pipe to a pager for large diffs
diffsitter large_old.ts large_new.ts | less -R
Usage Examples
- "Show a semantic diff between these two Python files"
- "Compare this file to the version on main without whitespace noise"
- "Review what actually changed in this refactor"
SuperCLI
sc diffsitter _ _ old.rs new.rs
sc diffsitter _ _ --language kotlin Before.kt After.kt
sc plugins learn diffsitter
Установить diffsitter в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл diffsitter?
Use this skill when the user wants semantic diffs between source files — AST-aware comparisons that ignore formatting noise and highlight meaningful code changes.
Как установить скилл diffsitter?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл diffsitter запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic