chinese-code-review

Generates culturally appropriate Chinese code review feedback with priority labels and commit conventions.

Updated Jun 11, 2026
One-click install
npx skills add https://github.com/marcocpt/trae_skills --skill chinese-code-review-marcocpt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chinese-code-review
Source: https://github.com/marcocpt/trae_skills/tree/main/chinese-code-review
Command: npx skills add https://github.com/marcocpt/trae_skills --skill chinese-code-review-marcocpt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Chinese development teams often struggle with code review feedback that is either overly polite (hiding critical bugs) or bluntly copied from Western styles (causing friction). This Skill provides structured guidance for writing review comments that are direct about problems yet culturally appropriate, plus conventions for Chinese-English mixed comments and bilingual commit messages. ## Core Features & Use Cases - Graded Feedback Labels: Standardized priority tags ([必须修复], [建议修改], [仅供参考], [问题]) so authors instantly know what must be fixed versus optional suggestions. - Expression Patterns: Templates for replacing commands with suggestions and negations with questions, including phrasing for reviewing senior developers' code. - Bilingual Conventions: Rules for when to use Chinese vs English in comments, mixed-language spacing, and Conventional Commits formatted in Chinese (feat/fix/refactor with Chinese descriptions). - Use Case: A reviewer finds a SQL injection vulnerability in a teammate's PR. Instead of writing a blunt command or an overly vague hint, they produce a [必须修复] comment explaining the risk, the attack vector, and a parameterized query fix with a reference link. ## Quick Start Review this pull request diff and write Chinese code review comments using priority labels and suggestion-style phrasing.

Frequently Asked Questions about chinese-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write code review comments in Chinese without offending teammates?

Use suggestion-style phrasing instead of commands, such as "建议考虑用 X,因为 Y" rather than "你必须改成 X". Pair the softer tone with explicit priority labels like [必须修复] so critical issues are never lost in politeness.

What priority labels should I use in code review comments?

Use four standard labels: [必须修复] for security and logic errors blocking merge, [建议修改] for performance and maintainability issues, [仅供参考] for optional style suggestions, and [问题] when you need the author to explain intent.

When should code comments be written in Chinese versus English?

Use Chinese for business logic explanations, complex algorithm notes, TODOs, and internal documentation. Use English for variable and function names, error messages, logs, public API docs, and comments in open-source projects targeting international audiences.

How do I write Chinese commit messages with Conventional Commits?

Follow the format <类型>(<范围>): <简要描述> using standard types like feat, fix, refactor, and perf, for example "fix(支付): 修复微信支付回调重复处理的问题". Add an optional body explaining cause and solution, plus issue references like Closes #1234.

How should I give feedback on a senior developer's code?

Frame feedback as questions rather than judgments, such as asking why recursion was chosen over iteration and whether deep recursion risks stack overflow. This keeps review focused on the code rather than hierarchy while still surfacing real risks.

Why is replying only LGTM considered a code review anti-pattern?

A bare LGTM provides no evidence the code was actually examined, leaving no accountability when bugs slip through. Even for good code, list the aspects you verified, such as concurrency safety, error handling, and backward compatibility.