code-quality-review
Review a task-owned diff for correctness, regression risk, and unnecessary complexity when a quality review is requested or called for by repository policy.
来源信息
- 仓库
- bitsocialnet/bitsocial-web
- 最近来源活动
- 2026年9月23日 14:52
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 1
- Forks
- 1
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- code-quality-review
- description
- Review a task-owned diff for correctness, regression risk, and unnecessary complexity when a quality review is requested or called for by repository policy.
<!-- Generated from .agents/skills/code-quality-review/SKILL.md; run yarn ai-workflow:sync. -->
# Code Quality Review
Review against the user's base, or the task's base branch plus its relevant staged, unstaged, and untracked changes. Preserve unrelated work. Read nearby source, changed tests, and applicable repository guidance before judging a hunk.
Focus on evidence-backed bugs, error paths, races, state consistency, trust boundaries, and concrete verification gaps. Challenge each finding against the implementation and intended behavior. Apply architecture and performance guidance only where the changed flow makes it relevant.
For simplification, use the repository's solution ladder: remove unnecessary work, reuse existing code or platform facilities, and only then introduce new code. Do not trade away correctness, accessibility, validation, error handling, or useful tests. Preserve an unfamiliar guard or workaround until its purpose is understood.
When a bug fix or substantive review correction exposes a preventable mistake, use [retro](../retro/SKILL.md) to identify the smallest worthwhile prevention. Preserve review-only scope: recommend changes without editing unless implementation is authorized.
Return actionable findings with file/line evidence, impact, how to show the failure (an input, test, or command) for a bug, and a practical correction, prioritized by risk. Skip tooling-handled style nits and speculative cleanup; if none remain, say so without a canned approval or publishing instruction.
A review-only request returns findings without edits. During an authorized implementation, apply high-confidence in-scope fixes without asking again for that authorization. This is an advisory pass, not an extra approval gate. Reuse verification evidence for the same final state; consult `docs/agent-playbooks/verification.md` only when a change or concrete uncertainty calls for more checks.
For an explicitly scoped semantic second opinion, use [Jev diff review](../../../scripts/jev/review-README.md) via the repository root. Select only relevant changed files and rules; the helper is opt-in, sends selected content only with `--live`, and returns advisory issues or uncertainty. Keep deterministic lint/tests and independent review authoritative. Do not wire it into automatic edit, commit, or repair hooks.
在 GitHub 查看