Documentation
README
revdiff - TUI Diff Review
Review diffs with inline annotations using revdiff TUI in a terminal overlay. Works in git, hg, and jj repos (auto-detected).
Script Path Resolution
Resolve the script directory using repo root first, then fall back to Codex home:
SCRIPT_DIR="$(git rev-parse --show-toplevel 2>/dev/null)/plugins/codex/skills/revdiff/scripts"
if [ ! -d "$SCRIPT_DIR" ]; then
SCRIPT_DIR="${CODEX_HOME:-$HOME/.codex}/skills/revdiff/scripts"
fi
Use $SCRIPT_DIR in place of script paths throughout this skill.
Note: the launcher override chain (user via ${CLAUDE_PLUGIN_DATA} → bundled) is Claude-only — codex users customize the launcher by editing ~/.codex/skills/revdiff/scripts/launch-revdiff.sh directly.
Activation Triggers
This is the opening of the README. Read the full README on GitHub.