Run any Skill in Manus
with one click
with one click
Run any Skill in Manus with one click
Get Started$pwd:
$ git log --oneline --stat
stars:0
forks:0
updated:May 6, 2026 at 10:01
SKILL.md
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | code-review |
| description | 审查当前分支与主分支之间的差异(后台 agent 执行) |
| disable-model-invocation | true |
| argument-hint | [基准分支(默认: 仓库默认分支)] |
| allowed-tools | Agent Bash(git status:*) Bash(git branch:*) Bash(git log:*) Bash(git diff:*) Bash(gh repo view:*) Read |
将代码审查工作交给后台 agent 执行,审查范围为「当前分支 vs 主分支」的差异,避免阻塞当前会话。
git branch --show-current 拿到当前分支;若已在主分支(main/master 或仓库默认分支),告知用户没有可审查差异并结束,不启动 agent$ARGUMENTS 时直接作为基准分支gh repo view --json defaultBranchRef -q .defaultBranchRef.name 拿到仓库默认分支git diff <base>...HEAD --stat 简单确认是否存在差异;若 diff 为空(当前分支与基准完全一致),告知用户并结束Agent 工具在后台(run_in_background: true)启动一个 general-purpose 子 agent 完成审查。prompt 必须自包含,包含:
让后台 agent 严格按下列步骤执行,并在结果中输出结构化审查报告:
git log <base>..HEAD --oneline 看提交脉络,再用 git diff <base>...HEAD 通读所有变更blocker / major / minor / nitfile:line 或 file:line-range