Agent Skills › coder/xum › deep-review

deep-review

GitHub

通过并行调用多个子代理,从正确性、测试、一致性、UX等多角度对代码变更进行深度审查,并汇总生成包含风险等级和验证计划的综合评审报告。

.mux/skills/deep-review/SKILL.md coder/mux

Trigger Scenarios

需要全面评估代码变更的正确性与潜在风险 希望获得涵盖多视角(如性能、安全、架构)的结构化代码评审意见

Install

npx skills add coder/mux --skill deep-review -g -y
More Options

Non-standard path

npx skills add https://github.com/coder/mux/tree/main/.mux/skills/deep-review -g -y

Use without installing

npx skills use coder/mux@deep-review

指定 Agent (Claude Code)

npx skills add coder/mux --skill deep-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add coder/mux --all -g -y

预览 repo 内 skill

npx skills add coder/mux --list

SKILL.md

Frontmatter
{
    "name": "deep-review",
    "advertise": false,
    "description": "Sub-agent powered code reviews spanning correctness, tests, consistency, and fit"
}

Deep Review Mode

Provide an excellent code review by defaulting to parallelism.

You should use sub-agents to review the change from multiple angles (correctness, tests, consistency, UX, performance, safety). Each sub-agent should have a focused mandate and return actionable findings with file paths.

Step 0: Establish the review surface

Before reviewing, gather context:

  • Identify the change scope: git diff --name-only (or the file list the user provides).
  • Skim the diff for intent and risk: git diff.
  • Note which layers are touched:
    • UI (React/components/styles)
    • Main process / backend services
    • IPC boundary / shared types
    • Tooling/scripts
    • Docs
    • Tests

If the change is large, split review by module and prioritize high-risk paths.

Spawn the right sub-agents (change-type aware)

Spawn 2–5 sub-agents depending on scope. Tailor them to the change.

Suggested sub-agent set

  • Correctness & edge cases (always)
    • Goal: find logic bugs, missing error handling, race conditions, broken invariants.
  • Tests & verification (always)
    • Goal: evaluate test coverage, propose missing tests, suggest commands to validate.
  • Consistency & architecture (usually)
    • Goal: ensure changes match existing patterns, abstractions, and boundaries.
  • UX & accessibility (when UI changed)
    • Goal: keyboard flows, a11y, visual consistency, empty/loading/error states.
  • Performance & reliability (when hot paths / streaming / IO changed)
    • Goal: latency, unnecessary work, blocking calls, memory growth, resilience.
  • Docs & developer experience (when docs/scripts/public API changed)
    • Goal: clarity, correctness, navigation updates, link integrity.

Synthesize into a single excellent review

When sub-agent results arrive, produce a consolidated review with:

  1. Summary (what changed + overall risk)
  2. Issues
  3. Questions (unknown intent; ask for clarification)
  4. Suggested validation plan (commands + manual checks)

Issues should have a severity in form of:

Severity Description Example
P0 Change must not be merged until resolved Change would permanently break core workflows if merged.
P1 Change should not be merged New code will not work as expected due to severe bugs
P2 Consideration required before merging The change creates inconsistency / fragility
P3 Minor issue The change introduces a minor issue that may be addressed later
P4 Long-term issue The change raises concerns about long-term maintainability or may break under rare conditions

Review rubric

Use this rubric to avoid blind spots:

  • Correctness: invariants, edge cases, error handling, races
  • Fitness: does it meet the user goal, and does it match product constraints?
  • Tests: coverage of new logic, regression tests, deterministic behavior
  • Consistency: patterns, naming, types, boundaries, IPC typing
  • Maintainability: complexity, duplication, readability
  • Performance: hot paths, streaming, excessive re-renders/IO
  • Safety: secrets, path traversal, injection risks, filesystem safety
  • DX: logs, error messages, debuggability

Anti-patterns

  • Single-threaded review of a large change (spawn sub-agents).
  • Vague feedback (“looks good”) without actionable items and file paths.
  • Non-verifiable suggestions (always include a validation plan).
  • Scope creep disguised as review (focus on minimal changes unless risk demands more).

Version History

  • ac87089 Current 2026-08-20 09:55

Same Skill Collection

.agents/skills/dogfood/SKILL.md
.mux/skills/dev-desktop-sandbox/SKILL.md
.mux/skills/dev-server-sandbox/SKILL.md
.mux/skills/generate-readme-screenshots/SKILL.md
.mux/skills/pull-requests/SKILL.md
.mux/skills/react-effects/SKILL.md
.mux/skills/tbench/SKILL.md
.mux/skills/tests/SKILL.md
.xum/skills/bug-bash/SKILL.md
.xum/skills/crap-gate/SKILL.md
.xum/skills/deep-review/SKILL.md
.xum/skills/dev-desktop-sandbox/SKILL.md
.xum/skills/dev-server-sandbox/SKILL.md
.xum/skills/generate-readme-screenshots/SKILL.md
.xum/skills/pull-requests/SKILL.md
.xum/skills/react-effects/SKILL.md
.xum/skills/tbench/SKILL.md
.xum/skills/tests/SKILL.md
.agents/skills/electron/SKILL.md

Metadata

Files
0
Version
ac87089
Hash
40685f20
Indexed
2026-08-20 09:55

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-31 03:25
浙ICP备14020137号-1