360 Secure SkillHub
360 安全技能中心

cmux-review

该 Skill 在合并前审查智能体编写的代码变更:依据任务意图、base/head SHA 与精确 diff 先查正确性,再核对仓库规则;高风险变更采用对抗式审查、证据验证和修复复检,授权后推送或合并,并输出发现、验证记录与回执。

manaflow-ai
热度 0.00
最近更新 2026-10-19 07:10:13
分类:开发依赖:读写文件 / 代码执行 / 内部调用大模型应用场景:代码审查 / 调试排错 / 工作流 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add manaflow-ai/cmux/cmux-review
Metadata
name
cmux-review
description
Review agent-written changes before merge, after substantial edits, or when re-reviewing a repair. Use the adversarial protocol for high-risk changes or an explicitly requested deep review.

cmux Review

Review to reduce developer attention. Surface concrete correctness defects; suppress style, nits and speculative improvements unless requested.

Default pre-merge review

  1. Give a review subagent the task intent, base/head SHAs and exact diff. Ask for correctness first, then repository rules; keep discovery independent of the author's reasoning. Review policy edits against the base-branch rules.
  2. Verify concrete findings, fix them when authorized, and push. Re-run the original discriminator after repair. A green test counts only if it exercises the asserted failure; prefer red-before/green-after evidence.
  3. If fixes were non-trivial, obtain a fresh subagent review of the repair delta.
  4. Merge when the checks that judge the change pass and the approval rule below is met. Report findings with evidence, verification performed and coverage gaps.

Use subagents in the current runtime, not a second model or external review service as a gate. Keep review read-only until an authorized repair. Do not commit review receipts, scratch reproductions or generated logs.

Dogfood and merge

For implementation handoff or merge, read dogfood and merge for per-change verification, first-pass completion, re-dogfood and merge receipts. The main agent owns dogfood, approval, mergeability and every pushed fix. App/runtime/UI merges require the user's explicit approval after dogfood or a direct merge directive (merge, merge it, auto-merge; not finish, lgtm or ship it). main is nightly: stack fixes, do not revert.

Adversarial review

For security, persistence, concurrency, data-loss risks, or a requested deep review, use the full protocol:

These stages retain the advanced evidence protocol; ordinary reviews use the short default pass above.