360 Secure SkillHub
360 安全技能中心

independent-review

提供独立代码审查流程指导:在高风险变更合并前,按权限选择审查者,准备制品信息与证据,要求结构化审查结论,并依据阻断项、范围蔓延和测试削弱项判定失败,处理多轮复审。该 Skill 仅为流程指导,不包含脚本、审查接口或权限实现。

分类:开发
lawzava
热度 0.00
最近更新 2026-11-25 17:47:01

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add lawzava/megapowers/independent-review
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
可选出网
Metadata
name
independent-review
description
For high-stakes changes involving security, auth, billing, concurrency, data integrity, or migrations, use the configured or required independent reviewer before merge; tests or queued review are not approval. Follow reviewer and disclosure authority without re-asking within scope or silently substituting models. Load to prepare, dispatch, or adjudicate an independent review or second opinion, not routine self-checks or review status.

Independent Review

Use another model for residual uncertainty after executable checks when the stakes warrant it. The lead owns remediation and reruns the oracle.

Choose the review route

Follow the user's global instructions (CLAUDE.md or AGENTS.md) for what counts as independent and which reviewer to use, including any local reviewer binding. Otherwise choose from what is actually available: native subagents with a different model or the harness's native review. Cross-vendor review is preferred but optional, depending on installed options. Do not assume a provider or model is available. Report unavailable required review without silently replacing the user's choice.

This skill supplies guidance only. Use the selected system's existing review interface and permissions. Give the reviewer artifact identity, requirements, acceptance boundary, scope, and check evidence. Keep review access read-only. State what the review covered; split a diff too large for one pass and report unreviewed parts as gaps.

Dispatch authority

Check briefs and accessible files for secrets and disclosure scope before sending anything off-machine, including through native review. Exclude secrets and unrelated local content. Follow user instructions and existing permission rules for sending to the selected reviewer. A bound or instruction-named reviewer is pre-approved within its stated scope. Dispatch without asking again when that authority covers the review. Ask when required authority is missing or disclosure exceeds the approved scope. Honor denials and report permission or provider stalls.

Reviewer contract

Require verdict, scope.creep (unrequested changes, drive-by refactors, new dependencies), scope.shrink (stubs, TODOs, weakened, skipped or deleted tests, loosened assertions, unconfirmed acceptance items, and any comment, doc line or instruction that justifies a workaround, a skipped check or a known-wrong pattern in place of fixing the cause), and findings. Each finding has severity (blocker, major, or nit), file, line, claim, and evidence. Use explicit empty lists and state verification limits.

The lead computes fail when any blocker, major, scope.creep or scope.shrink exists, regardless of the stated verdict. Nits never fail. Verify findings; record disproof for false positives and resolve failures before approval. Missing fields or results are gaps, never a pass.

Set the round cap before dispatch; re-review only fixes since the prior round, affected boundaries, and new evidence. Exhaustion leaves unresolved findings open for the user. Join every review before completion; approval cannot settle a queued review.