Deltoids banner
juanibiapina juanibiapina

Deltoids

Git community

Description

Diff filter that expands every hunk to include the enclosing function or block via tree-sitter. Pager for git, gh, or lazygit; viewer for coding-agent edit traces.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

deltoids

[!WARNING] This project is under active development. Diff output may still be broken. In case of doubt, verify changes with another pager.

Tools for reviewing code in the agentic era.

Default: 3 lines of context deltoids: hunk expanded to enclosing function
git diff deltoids

Hunks expand to show the enclosing function, so you always know where you are.

Overview

Deltoids diffs have language-aware syntax highlighting and word-level highlighting within changed lines. They also expand to include relevant context, usually the enclosing function or struct up to 200 lines. This allows you to quickly view the entire context without having to switch to an editor.

Tools:

  • deltoids pager: ANSI diff filter for less / core.pager
  • deltoids review: review tool
  • deltoids edit: file edit tool (used by coding agents)
  • deltoids write: file write tool (used by coding agents)
  • deltoids traces: trace browser to follow agents in real-time

`edit` and `write` are CLI versions of AI coding agent tools. By providing these custom CLIs, we can tell coding agents to generate summaries for each change and visualize them with `deltoids traces` separately from the coding agent UI.

Installation

**Homebrew:**

brew install juanibiapina/taps/deltoids

**Prebuilt binaries (shell installer):**

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/juanibiapina/deltoids/releases/latest/download/deltoids-cli-installer.sh | sh

**From source (cargo):**

cargo install --git https://github.com/juanibiapina/deltoids deltoids-cli

Usage

Standalone

Pipe any unified diff through `deltoids`:

git diff | deltoids | less -R
git show HEAD~1 | deltoids | less -