Diffx

Use this skill when the user wants to perform semantic diffs on structured data files like JSON, YAML, or TOML.

javimosch Updated 57 repo stars

File contents

diffx Plugin

Semantic diff tool for structured data. Understands the structure of JSON, YAML, and TOML files and produces meaningful diffs instead of line-based diffs.

Commands

File Diffing

  • diffx file diff — Semantic diff between two structured data files

Usage Examples

  • "Diff these two JSON files semantically"
  • "Compare two YAML configurations"
  • "Show me the structural differences in these TOML files"

Installation

cargo install diffx

Examples

diffx file-a.json file-b.json
diffx config1.yaml config2.yaml
diffx old.toml new.toml

Key Features

  • Semantic (structure-aware) diffing
  • Supports JSON, YAML, and TOML formats
  • Human-readable output
  • Fast Rust implementation

javimosch/supercli commit 6555e2d49f

Frequently asked questions

npx get-skill add javimosch/diffx