← ClaudeAtlas

show-difflisted

Open code diffs in VS Code's multi-file diff editor, and never summarise them — branch against its base, a commit against the one before it, a branch against another workspace's branch, or uncommitted work including untracked files. Knows the Wealth Platform checkouts under ~/projects/wp/ through `wp diffable`, and works on any git checkout. Use when the user asks to see, show, open or review a diff, asks what a branch or a repo changed, or names things to compare. Not for reviewing a GitHub PR (that is mb-pr-review) and not for answering what the code does.
petmakris/claude-annotate · ★ 0 · Code & Development · score 72
Install: claude install-skill petmakris/claude-annotate
# show-diff Show the user their diffs in VS Code — resolved from a phrase, or picked from the list of everything reviewable when the user named nothing. **One project, one window, always.** Each repository's diff goes in the VS Code window holding that repository — never two projects' diffs in one window. This is not a preference to weigh; it is the rule. Run the script once per project, and **wait for each run to finish before starting the next**: VS Code hands a URI to whichever window is in front, so overlapping runs put a diff in the wrong window. When the user names three repositories, that is three sequential runs and three windows. Within one project, one diff per run. If the user names two ref pairs for the same repo, do the first and offer the second. The two tools this skill exists to drive: - `wp diffable [workspace] [--json]` — every checkout under `~/projects/wp/`, what branch it is on, what that branch is stacked on, and how many files each candidate base differs by. This is where the resolution comes from. Never re-derive it with raw git. - `skills/show_diff/show-diff.sh <checkout> <base-rev> <head-rev|--worktree> [title]` — resolves the revs, fetching an `origin/<branch>` this clone has never seen, which is what the base of a stacked branch usually is. Then it opens the project's window, waits until that window is in front, and fires a URI the `petros-makris.petros-makris-vscode` extension turns into a multi-file diff editor. Every file in one