review-quick
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- markdownlint-disable-file MD041 -->
STARTER_CHARACTER = ⚡
<!-- markdownlint-disable-file MD041 -->
STARTER_CHARACTER = ⚡
Quick Review
快速审查
Review work-in-progress and recent commits across 8 focus areas in parallel. No arguments. Auto-detects deltas.
并行审查8个重点领域的进行中工作和最近提交。无需参数,自动检测差异。
Step 1: Detect Deltas
步骤1:检测差异
Compute what changed since the project root was last touched. Span committed, staged, unstaged, and untracked work.
bash
PROJECT_ROOT=$(git rev-parse --show-toplevel)
BASELINE=$(git log -1 --format=%H -- "$PROJECT_ROOT")
[ -z "$BASELINE" ] && BASELINE=$(git rev-list --max-parents=0 HEAD)
git log --oneline ${BASELINE}..HEAD
git diff ${BASELINE} --find-renames --stat
git diff ${BASELINE} --find-renames
git status --porcelain
git ls-files --others --exclude-standardThe diff has no so it spans the baseline through the working tree, including staged and unstaged edits. surfaces renames as entries with both old and new paths so a pure rename does not collapse into an empty diff. is the authoritative list of every modified, added, deleted, renamed, copied, and untracked entry; use it to confirm rename detection. surfaces new untracked files. Files matching are excluded.
..HEAD--find-renamesR<score>git status --porcelainls-files --others.gitignoreStop only if all four signals are empty: empty, empty, empty, and empty. Then report "No deltas to review" and stop.
git diffgit status --porcelainls-files --othersgit log ${BASELINE}..HEAD计算自上次修改项目根目录以来的变更内容,涵盖已提交、已暂存、未暂存和未跟踪的工作内容。
bash
PROJECT_ROOT=$(git rev-parse --show-toplevel)
BASELINE=$(git log -1 --format=%H -- "$PROJECT_ROOT")
[ -z "$BASELINE" ] && BASELINE=$(git rev-list --max-parents=0 HEAD)
git log --oneline ${BASELINE}..HEAD
git diff ${BASELINE} --find-renames --stat
git diff ${BASELINE} --find-renames
git status --porcelain
git ls-files --others --exclude-standard该diff没有,因此它涵盖了从基线到工作区的所有内容,包括已暂存和未暂存的编辑。会将重命名显示为带有新旧路径的条目,这样纯重命名不会变成空diff。是所有已修改、已添加、已删除、已重命名、已复制和未跟踪条目的权威列表,可用于确认重命名检测结果。会显示新的未跟踪文件,匹配的文件会被排除。
..HEAD--find-renamesR<score>git status --porcelainls-files --others.gitignore仅当四个信号均为空时才停止:为空、为空、为空,且为空。此时报告“无差异可审查”并停止。
git diffgit status --porcelainls-files --othersgit log ${BASELINE}..HEADStep 2: Read Untracked Files
步骤2:读取未跟踪文件
For each file from , read the full file content. Untracked files have no diff representation.
git ls-files --others --exclude-standard对于列出的每个文件,读取完整的文件内容。未跟踪文件没有diff表示形式。
git ls-files --others --exclude-standardStep 3: Dispatch 8 Review Agents in Parallel
步骤3:并行调度8个审查Agent
Dispatch 8 parallel reviews, one per focus area. Use subagents if available, otherwise run sequentially:
| Agent | Subagent type |
|---|---|
| Architecture & Design | |
| Correctness & Bugs | |
| Operational Readiness | |
| Performance | |
| Code Quality | |
| Security | |
| SOLID Principles | |
| Testing | |
Each review prompt contains:
- The full diff output from Step 1
- The contents of any untracked files from Step 2
- The instruction: "Review the following changes for your focus area. Return findings as your response."
Do not pack repomix. Each agent has all the context needed in the prompt.
并行调度8个审查任务,每个重点领域一个。如果有子Agent则使用,否则按顺序运行:
| Agent类型 | 子Agent类型 |
|---|---|
| Architecture & Design | |
| Correctness & Bugs | |
| Operational Readiness | |
| Performance | |
| Code Quality | |
| Security | |
| SOLID Principles | |
| Testing | |
每个审查提示包含:
- 步骤1生成的完整diff输出
- 步骤2中所有未跟踪文件的内容
- 指令:“针对你的重点领域审查以下变更,返回审查结果作为响应。”
不要打包repomix。每个Agent的提示中都包含所需的全部上下文。
Step 4: Consolidate Findings
步骤4:整合审查结果
After all 8 agents return, produce a single consolidated report:
markdown
undefined在所有8个Agent返回结果后,生成一份整合后的报告:
markdown
undefinedQuick Review Report
Quick Review Report
Summary
Summary
- Total findings: <N>
- High: <count>
- Medium: <count>
- Low: <count>
- Total findings: <N>
- High: <count>
- Medium: <count>
- Low: <count>
Findings by Severity
Findings by Severity
High
High
[All High findings from all 8 agents, ordered by file:line]
[All High findings from all 8 agents, ordered by file:line]
Medium
Medium
[All Medium findings from all 8 agents, ordered by file:line]
[All Medium findings from all 8 agents, ordered by file:line]
Low
Low
[All Low findings from all 8 agents, ordered by file:line]
undefined[All Low findings from all 8 agents, ordered by file:line]
undefinedWhen to Use
使用场景
This skill auto-loads when:
- A bug fix or feature implementation has just been completed
- Work is about to be committed or a PR is about to be opened
- A subagent-driven-development task has just passed spec compliance review
It is also slash-invokable for ad-hoc review of current work.
在以下场景下,该Skill会自动加载:
- 刚完成bug修复或功能实现
- 即将提交工作或打开PR
- 子Agent驱动的开发任务刚通过规范合规审查
它也可以通过斜杠调用,用于临时审查当前工作。