cr

Automated code review for local branches, PRs, commits, and files. Detects review mode from arguments and routes to the appropriate review flow — either quick single-agent review with interactive fix selection, or multi-agent deep review with risk-based auto-fix.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cr" with this command: npx skills add tencent/tgfx/tencent-tgfx-cr

/cr — Code Review

Automated code review for local branches, PRs, commits, and files. Detects review mode from arguments and routes to the appropriate review flow — either quick single-agent review with interactive fix selection, or multi-agent deep review with risk-based auto-fix.

All user-facing text matches the user's language. All questions and option selections MUST use your interactive dialog tool (e.g. AskUserQuestion) — never output options as plain text. Do not proceed until the user replies. When presenting multi-select options: ≤4 items → one question. >4 items → group by priority or category (each group ≤4 options), then present all groups as separate questions in a single prompt.

Route

Run pre-checks, then match the first applicable rule top-to-bottom:

  • git branch --show-current → record whether on main/master.

  • git status --porcelain → record whether uncommitted changes exist.

  • Check whether the current environment supports agent teams (multiple agents working in parallel and communicating with each other).

Condition Action

1 $ARGUMENTS is diag

→ references/diagnosis.md

2 $ARGUMENTS is a PR number or URL containing /pull/

→ references/pr-review.md

3 Agent teams NOT supported → references/local-review.md

4 Uncommitted changes exist → references/local-review.md

5 On main/master branch → references/local-review.md

6 Everything else → Question below

Each → means: Read the target file and follow it as the sole remaining instruction. Ignore all sections below. Do NOT review from memory or habit — each target file defines specific constraints on how to obtain diffs, apply fixes, and submit results.

Question

Ask a single question: "Agent Teams is available (multiple agents working in parallel). Enable multi-agent review with reviewer–verifier adversarial mechanism and auto-fix?" Provide 4 options:

Option Description

Teams + auto-fix low & medium risk (recommended) Multi-agent review; auto-fix most issues, only confirm high-risk ones (e.g., API changes, architecture).

Teams + auto-fix low risk Multi-agent review; auto-fix only the safest issues (e.g., null checks, typos, naming). Confirm everything else.

Teams + auto-fix all Multi-agent review; auto-fix everything. Only issues affecting test baselines are deferred.

Single-agent + manual fix Single-agent review; interactively choose which issues to fix afterward.

Hand off

Option → FIX_MODE

Teams + auto-fix low & medium risk (recommended) references/teams-review.md

low_medium

Teams + auto-fix low risk references/teams-review.md

low

Teams + auto-fix all references/teams-review.md

full

Single-agent + manual fix references/local-review.md

Pass $ARGUMENTS to the target file. For teams-review, also pass FIX_MODE

(low / low_medium / full).

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

go-test

No summary provided by upstream source.

Repository SourceNeeds Review
General

TencentCloud ASR

腾讯云语音识别 ASR Skill,适用于语音转文字、音频转写、字幕生成、会议转录、语音消息识别、 本地文件或 URL 音频识别。包含三种模式:一句话识别(<=60s 短音频)、录音识别极速版 (<=2h/100MB 中长音频快速同步返回)、录音识别(<=5h 长音频异步识别)。支持普通话、 英语、粤语、日语、韩...

Registry SourceRecently Updated
4561Profile unavailable
General

OpenClaw Sync

OpenClaw 数据轻量同步技能。基于 rclone + cron,支持 70+ 云存储后端, 定时备份 workspace 数据,资源占用极低。

Registry SourceRecently Updated
2300Profile unavailable
General

QQ Email Manager

企业邮箱管理(腾讯企业邮箱)。触发场景:用户说"查邮件"、"发邮件"、"回复邮件"、"转发邮件"、 "邮件列表"、"未读邮件"、"搜索邮件"、"邮箱统计"、"标记已读"等邮箱相关操作。

Registry SourceRecently Updated
600Profile unavailable