Skip to content
Development
Skill

/ase-repo-review

Perform a holistic, human-reviewer-style critique of the currently staged Git changes (or, with `--unstaged`, of the unstaged and untracked changes, with `--branch`, of a branch against its base, or, with `--commit`, of a single commit) and emit an approve/reject verdict with

From plugin
ase
7762 skills11 agents

Claude Code

$ npx -y skills add rse/ase --skill ase-repo-review --agent claude-code

SKILL.md

ase-repo-review.SKILL.md
name: ase-repo-review
argument-hint: "[--help|-h] [--auto|-a] [--severity|-S=(AUTO|LOW|MEDIUM|HIGH)] [--thorough|-t] [--staged] [--unstaged] [--worktree|-w <name>] [--branch|-b <branch>] [--commit|-c <commit>]"
description: >
    Perform a holistic, human-reviewer-style critique of the currently
    staged Git changes (or, with `--unstaged`, of the unstaged and
    untracked changes, with `--branch`, of a branch against its base,
    or, with `--commit`, of a single commit) and emit an approve/reject verdict
    with prioritized, severity-tagged, line-cited findings (with `--auto`
    fixed automatically). Use when the
    user wants the staged diff, a branch, or a commit "reviewed",
    "critiqued", or "code-reviewed".
user-invocable: true
disable-model-invocation: false
effort: high
allowed-tools:
    - "Bash(git diff *)"
    - "Bash(git ls-files *)"
    - "Bash(git rev-parse *)"
    - "Bash(git for-each-ref *)"
    - "Bash(git rev-list *)"
    - "Bash(git merge-base *)"
    - "Bash(git branch *)"
    - "Bash(git worktree list *)"
    - "Bash(git show *)"
    - "Bash(git -C *)"
    - "Agent"

@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md

<purpose name="ase-repo-review"> Review Changes </purpose>

<expand name="getopt" arg1="ase-repo-review" arg2="--auto|-a --severity|-S=(AUTO|LOW|MEDIUM|HIGH) --thorough|-t --staged --unstaged --worktree|-w= --branch|-b= --commit|-c="> $ARGUMENTS </expand>

<objective> Review the currently staged (and/or unstaged) Git changes, the changes of a branch against its base, or a single commit the way an *experienced human reviewer* would - judging them *holistically* against the change's *own intent* and against *correctness*, *design fit*, *clarity*, *robustness*, *propagation*, freedom of *residue*, and *project-convention conformance* - and emit a single *approve / request-changes verdict* backed by *prioritized*, *severity-tagged*, *line-cited* findings. This is a *synthesizing critique*, not a mechanical scan: it complements `ase-code-lint` (mechanical quality), `ase-code-analyze` (logic/semantics), and `ase-repo-diff` (intent narrative and risk). </objective>

Procedure ---------

<flow>

1. <step id="STEP 1: Determine Change Set">

1. <if condition="<getopt-option-commit/> is not empty and (<getopt-option-branch/> is not empty or <getopt-option-staged/> is equal `true` or <getopt-option-unstaged/> is equal `true`)"> Only output the following <template/> and then *STOP* immediately:

<template> ⧉ **ASE**: ✪ skill: **ase-repo-review**, ▶ ERROR: option `--commit` cannot be combined with `--branch`, `--staged`, or `--unstaged` </template> </if>

<if condition="<getopt-option-worktree/> is not empty and (<getopt-option-branch/> is not empty or <getopt-option-commit/> is not empty)"> Only output the following <template/> and then *STOP* immediately:

<template> ⧉ **ASE**: ✪ skill: **ase-repo-review**, ▶ ERROR: option `--worktree` cannot be combined with `--branch` or `--commit` </template> </if>

Set <worktree-dir></worktree-dir> (empty).

<if condition="<getopt-option-worktree/> is not empty"> Determine the directory of this existing ASE worktree: if <getopt-option-worktree/> consists of other characters than `A-Z`, `a-z`, `0-9`, `_`, and `-`, keep <worktree-dir/> empty, else call the `ase_worktree_path(id: "<getopt-option-worktree/>", create: false)` tool of the `ase` MCP server (you *MUST* *NEVER* assemble this path yourself), capture its result into <worktree-dir/>, and run the command `git -C "<worktree-dir/>" rev-parse --show-toplevel` (taken exactly as given). If <worktree-dir/> is empty, the tool call failed, or the command failed (i.e., the worktree does not exist), only output the following <template/> and then *STOP* immediately:

<template> ⧉ **ASE**: ✪ skill: **ase-repo-review**, ▶ ERROR: no worktree **<getopt-option-worktree/>** to review </template> </if>

Set <changes/> to the *uncommitted* changes to review: to `staged and unstaged` if both <getopt-option-staged/> and <getopt-option-unstaged/> are equal `true`, to `staged` if only <getopt-option-staged/> is equal `true`, to `unstaged` if only <getopt-option-unstaged/> is equal `true`, and to empty otherwise. Here, the `unstaged` changes always include the *untracked* files.

2. <if condition="<getopt-option-branch/> is not empty"> Determine the *base* of the branch:

1. Check that <getopt-option-branch/> matches the regexp `^[A-Za-z0-9_@][A-Za-z0-9._/+@-]*$`, which keeps it safe for being passed quoted to the `git` commands, and only then run the command `git rev-parse --verify --quiet "<getopt-option-branch/>^{commit}"`. If the check or the command fails, only output the following <template/> and then *STOP* immediately:

<template> ⧉ **ASE**: ✪ skill: **ase-repo-review**, ▶ ERROR: branch **<getopt-option-branch/>** does not exist </template>

2. Determine the *candidate base branches* by running the command `git for-each-ref --format="%(refname:short)" refs/heads/` (taken exactly as given), excluding <getopt-option-branch/> itself. For each <candidate/>, run the command `git rev-list --count "<candidate/>..<getopt-option-branch/>"` to count the commits of the branch since its fork point from <candidate/>, and *drop* every candidate with a count of `0`, as it already contains the branch. Set <base/> to the remaining candidate with the *smallest* count (the *nearest*

Read more
@rse
Ships withase

Agentic Software Engineering (ASE)

7762 skills11 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
77
Star history of rse/ase on GitHub, a chart by star-history.com

Other skills on ase.

hello

hello

Show a nice greeting message with a timestamp. Use this when the user wants to greet or say hello, optionally to a certain…

@rse@rseInstall Skill
ase-arch-analyze

ase-arch-analyze

Review software architecture, including package cohesion and inter-package coupling

@rse@rseInstall Skill
ase-arch-discover

ase-arch-discover

Discover additional, third-party components (libraries/frameworks) for the technology stack to provide needed functionality.

@rse@rseInstall Skill
ase-code-analyze

ase-code-analyze

Analyze the source code for problems in either the logic and semantics and its related control flow, performance and efficiency,…

@rse@rseInstall Skill
ase-code-edit

ase-code-edit

Edit Source Code: Use when the user wants to "edit" the code base in one shot from a query or a bare analyzer issue id like "P1",…

@rse@rseInstall Skill
ase-code-explain

ase-code-explain

Explains code with WHAT, WHY, ANALOGY, DIAGRAM, CRUXES, and GOTCHAS. Use when you want to know how code works or when the user…

@rse@rseInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills3w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc3w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react11d252k
@facebook@facebookInstall Skill

Questions about ase-repo-review.

Which coding agents can use ase-repo-review?
ase-repo-review installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.