code-review-cn

Reviews code diffs and pull requests with prioritized Chinese-language findings.

96|8|Updated Aug 13, 2026
One-click install
npx skills add https://github.com/pingfanfan/hello-dsh --skill code-review-cn-pingfanfan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-review-cn
Source: https://github.com/pingfanfan/hello-dsh/tree/main/examples/skills/code-review-cn
Command: npx skills add https://github.com/pingfanfan/hello-dsh --skill code-review-cn-pingfanfan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code reviews often drown in style nitpicks while real defects slip through. This Skill enforces a disciplined review process that prioritizes correctness, lifecycle, and security issues, producing a small number of evidence-backed blocking findings instead of a pile of subjective opinions. ## Core Features & Use Cases - Priority-Ordered Review: Checks correctness, lifecycle/concurrency, security, contract consistency, and test strength before ever mentioning style. - Strict Blocking Criteria: Only flags merge blockers with concrete evidence, such as a reproducible failing input, a resource leak path, or a silent failure. - Structured Output Format: Delivers findings sorted by severity with file, line, explanation, and a concrete fix suggestion, labeled as blocking, suggestion, or question. - Use Case: Paste a pull request diff and receive a Chinese-language review that identifies a listener leak on an error path in session.ts with the exact fix, rather than twenty formatting complaints. ## Quick Start Review this pull request diff and give me blocking findings with evidence in Chinese.

Frequently Asked Questions about code-review-cn

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

FAQPage Schema
How do I review a pull request diff for real defects?▼

Read enough context beyond the diff, including callers of changed functions and both sides of changed interfaces, then check correctness, lifecycle, and security in that priority order. Only flag blocking issues when you can provide concrete evidence such as a failing input.

What issues should block a code merge in review?▼

Block merges only for correctness defects with a reproducible failing input, resource leaks without cleanup paths, silent failures that hide errors from callers, out-of-scope permissions, and tests that merely mirror the implementation. Style disagreements should never block.

How to check for resource leaks during code review?▼

Verify every created listener, timer, subscription, file handle, or subprocess has a paired cleanup that runs on all exit paths including errors. Also confirm cleanup is idempotent and that partial failures only release what was successfully created.

Can this review skill evaluate test quality?▼

Yes, it checks whether a test would actually fail if the implementation were reverted, whether assertions target observable behavior rather than internals, and whether failure paths are covered. Tests that just restate the implementation are flagged as blocking issues.

When should style feedback be given in code review?▼

Style and readability comments come last and are often omitted entirely. They should never block a merge unless the project has an explicit written standard, and reviewers should avoid suggesting new abstractions without concrete duplication or defects.