{"schemaVersion":"opencli.cli.v1","slug":"difftastic","name":"difftastic","shortName":"difft","binaryName":"difft","maker":{"slug":"sourcefrog","name":"Sourcefrog","type":"small-team","url":"https://github.com/Wilfred/difftastic","officialPlatformMaker":false,"featuredBuilder":false},"category":"Git","description":"Structural diffs, code reviews, and ast-aware comparisons from the terminal. Built by Sourcefrog.","tagline":"Structural diffs, code reviews, and ast-aware comparisons from the terminal.","install":{"packageManager":"brew","command":"brew install difftastic","packageName":null,"npmPackage":null,"brewFormula":"difftastic","brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"difft --version","signal":"difft responds locally and is ready for the first real command."},"quickStart":"difft file-a.ts file-b.ts","exampleWorkflow":["difft file-a.ts file-b.ts"],"agent":{"readiness":{"label":"Usable with guardrails","score":50,"reasons":["Supports non-interactive/scripted use.","Works well in CI or repeatable automation."],"guardrails":["Prefer small commands and ask the agent to summarize plain text output."]},"packUrl":"https://opencli.co/cli/difftastic/agent.md","packMarkdown":"# OpenCLI Agent Pack: difftastic\n\nUse this when an AI agent needs to work with `difft`.\n\n## What this CLI is for\nStructural diffs, code reviews, and ast-aware comparisons from the terminal. Built by Sourcefrog.\n\nBest for: structural diffs, code reviews, and ast-aware comparisons from the terminal.\n\n## Agent readiness\nUsable with guardrails (50/100)\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n\n## Install\n```sh\nbrew install difftastic\n```\n\n## Verify before real work\n```sh\ndifft --version\n```\nExpected signal: difft responds locally and is ready for the first real command.\n\n## Safe starting commands\n```sh\ndifft --version\n```\n\n```sh\ndifft file-a.ts file-b.ts\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n\n## Suggested agent instruction\nYou may use difftastic (`difft`) for structural diffs, code reviews, and ast-aware comparisons from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"structural diffs, code reviews, and ast-aware comparisons from the terminal.","useThisIf":"You need git workflows in both local dev and CI.","skipIf":"You don't work with git workflows.","whatHappensNext":"Run `difft file-a.ts file-b.ts` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":false,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":true,"localFirst":false,"destructivePotential":"low"},"taxonomy":{"useCases":["Structural diffs","Code reviews","AST-aware comparisons"],"aliases":["syntax diff"],"keywords":["diff ast code review"],"tags":["builder","agent-friendly"]},"links":{"website":"https://github.com/Wilfred/difftastic","github":"https://github.com/Wilfred/difftastic","docs":"https://github.com/Wilfred/difftastic","opencli":"https://opencli.co/cli/difftastic","markdown":"https://opencli.co/cli/difftastic/agent.md","json":"https://opencli.co/cli/difftastic.json"},"metrics":{"githubStars":25462,"latestRelease":"2026-05-10T11:54:23Z","license":"MIT","metricLabel":"Homebrew installs (30d)","metricValue":1816,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:54.090Z"}}