Skip to content
cccskills
FreePublished on GitHub

cr

Review local branches, pull requests, commits, or files and address issues. The skill selects a single-agent or multi-agent workflow based on the environment, with automatic fixes for lower-risk issues and confirmation for high-risk changes.

OriginalShow the original description

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.

See how to install

Good for

  • Reviewing changes on a local branch
  • Starting a pull request review from its number or URL
  • Checking a specific commit or file
  • Using multiple agents to review and fix lower-risk issues

Files included (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 (original)

Review the instructions the agent will receive before you install.

/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).

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

accept-baseline

FreeSummary

Accept screenshot baseline changes by running the project's dedicated script, then commit the updated version.json using the project's commit conventions. This provides an explicit command for recording changes to the screenshot comparison baseline.

  • Accepting changes to a screenshot comparison baseline
  • Committing the updated baseline version.json
  • Running the baseline acceptance procedure with an explicit command
Tencent/libpag5.8KUpdated Oct 19, 2026

commit

FreeSummary

Commit local changes to the current Git branch with a message based on the project's conventions. When staged and unstaged changes coexist, choose which to include. The skill does not push changes or create pull requests.

  • Saving local work as a commit
  • Committing only changes already staged
  • Staging and committing all local changes
Tencent/libpag5.8KUpdated Oct 19, 2026

pagx

FreeSummary

Create PAGX vector graphics files from a visual description, HTML file, or public URL, including supported animations. Edit existing designs, check their appearance, and export them to SVG, HTML, or PPTX.

  • Creating a poster or product card from a written description
  • Converting an HTML file or public URL to PAGX
  • Making an animated banner or loading animation
Tencent/libpag5.8KUpdated Oct 19, 2026

pr

FreeSummary

Commit and push local changes, then create a pull request or update an existing one based on the branch state. The skill prepares commit messages and new pull request details from the changes being submitted.

  • Creating a pull request from local changes
  • Adding changes to an existing pull request
  • Choosing staged changes or all changes for a commit
Tencent/libpag5.8KUpdated Oct 19, 2026

squash

FreeSummary

Review a branch's commits, combine adjacent changes that belong together, and improve commit messages. A rebuilt history is prepared separately and replaces the original branch only after the user reviews and confirms the proposed changes.

  • Combining unpushed commits on the current branch
  • Cleaning up a named branch without checking it out
  • Improving unclear commit messages
Tencent/libpag5.8KUpdated Oct 19, 2026

See all skills by Tencent

Report a problem with this skill