跳到正文
cccskills
免费在 GitHub 公开

cr

Automated code review and fix for local branches, PRs, commits, and files. Supports single-agent interactive fix and multi-agent adversarial review with auto-fix.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(10)

  • SKILL.md2.1 KB
  • references/bot-review.md10.7 KB
  • references/checklist-evolution.md1.5 KB
  • references/code-checklist.md14.0 KB
  • references/diagnosis.md2.1 KB
  • references/doc-checklist.md3.7 KB
  • references/judgment-matrix.md4.2 KB
  • references/local-review.md3.5 KB
  • references/pr-review.md5.6 KB
  • references/teams-review.md15.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/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 single-agent review on protected branches or when teams are unavailable, or multi-agent deep review with risk-based auto-fix.

All user-facing text matches the user's language. Start the review immediately based on the routing rules below — do NOT ask the user to choose the review mode upfront. Interactive prompts inside each flow (e.g. final confirmation of high-risk fixes) still use your interactive dialog tool (e.g. AskUserQuestion).

Route

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

  1. git branch --show-current → record whether on main/master.
  2. git status --porcelain → record whether uncommitted changes exist.
  3. Check whether the current environment supports agent teams (multiple agents working in parallel and communicating with each other).
#ConditionAction
1$ARGUMENTS is diag→ references/diagnosis.md
2$ARGUMENTS is a PR number or URL containing /pull/→ references/pr-review.md
3On main/master branch→ references/local-review.md
4Agent teams NOT supported→ references/local-review.md
5Everything else→ references/teams-review.md with FIX_MODE=low_medium

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.

Pass $ARGUMENTS to the target file. For teams-review, also pass FIX_MODE (fixed to low_medium: multi-agent review auto-fixes low and medium risk issues; high-risk issues such as API changes or architecture impact are deferred to user confirmation).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Accept screenshot baseline changes and commit the updated version.json.

中文简介正在准备中。当前显示原文说明。

Tencent/tgfx15952026年10月19日 更新

commit

免费

Commit local changes without pushing.

中文简介正在准备中。当前显示原文说明。

Tencent/tgfx15952026年10月19日 更新

pr

免费

Commit and push changes, then create a new PR or append to an existing one.

中文简介正在准备中。当前显示原文说明。

Tencent/tgfx15952026年10月19日 更新

squash

免费

Analyze branch commits and consolidate iterative modifications.

中文简介正在准备中。当前显示原文说明。

Tencent/tgfx15952026年10月19日 更新

查看 Tencent 的全部技能

报告此技能的问题