← ClaudeAtlas

code-reviewlisted

Review code changes from current branch, an Azure DevOps PR, a git ref, or a diff/patch file. Trigger when user says "review this", "code review", "/df:code-review", or provides a PR id/URL, ticket URL, git ref, or diff path. Read-only — never posts comments.
lttr/claude-marketplace · ★ 2 · Code & Development · score 75
Install: claude install-skill lttr/claude-marketplace
# Code Review Single entry point. Detect input source, produce a diff file, then run the review pipeline. ## Input Detection Argument is `$ARGUMENTS` (may be empty). | Form | Source | | --------------------------------------------------------------- | -------------------------------------- | | empty | current branch vs base (master/main) | | `staged` | `git diff --staged` | | numeric (`12345`) | Azure DevOps PR id | | URL containing `_git/.../pullrequest/<id>` | Azure DevOps PR URL | | URL containing `_workitems/edit/<id>` or ticket id mapped to PR | resolve work item → PR via `az boards` | | path ending `.diff` or `.patch` | local diff file | | anything else | treat as git ref (branch / sha / tag) | Ambiguous → ask user. Do NOT guess. ## Workflow ### 1. Resolve input → diff file path + metadata #### empty ```bash base=$(git rev-parse --verify master 2>/dev/null && echo master || echo main) cur=$(git branch --show-current) [ "$cur" = "$base" ] && abort "On base branch ($base). Switch to a feature branch." git diff "$base"...HEAD > "/tmp/r