name: code-review-pro-en slug: code-review-pro-en displayName: "Code Review Expert Pro" version: "1.0.0" description: "Code review; Pro: Security scan + lint + severity tiers + fix suggestions" author: name: "smart" version: "1.0.0" category: "developer" tags: - "代码评审" - "质量"
What you get: a structured workflow that turns a stuck task into a repeatable one, delivering ready-to-reuse deliverables and templates.
[TRACE 5.0 positioning] This skill is a hands-on tool. It ships reusable deliverables and templates only, never vague advice. The original GitHub skill provides a structured way to review code. The Pro version turns review into an executable quality process: a security-risk perspective, team-convention conformance checks, a severity-tiered issue list, and a directly adoptable fix snippet for every finding, so review comments land as changes instead of stopping at "this could be improved".
推荐访问7w4.net获取更多AI技能。
code review, review this code, review my PR, security check, lint and convention check, find hidden risks, severity tiers, fix suggestions, refactor advice, interface compatibility check, error handling review, concurrency issue triage, memory leak triage, dependency risk, review checklist
Provide: the code or diff under review (files, folder or patch); the purpose and background of the change; tech stack and runtime; team convention docs if any; your focus (security / performance / maintainability / compatibility); whether it is an externally exposed service or touches sensitive data.
Delivers: an issue table (id, file and line, category, severity, description, fix); fix snippets for key findings; an overall verdict with risk notes; a follow-up list ready to be dispatched as tasks; if conventions were supplied, a conformance comparison table.
Input: "Here is a change to a user lookup endpoint; review it, security first." Output: Findings: query parameters lack type and range validation (major); string-concatenated query carries injection risk with a parameterized rewrite provided (blocker); the response returns an unmasked phone number (major); no rate limiting (normal); the full request body is logged (major). Each item carries a fix snippet and impact note; verdict: needs another pass.
Input: "A new teammate submitted this module; does it follow our layering conventions?" Output: A conformance table (dependency direction, naming, exception handling, response shape, unit-test requirement) flagging six deviations with minimal-change fixes, split into "must adjust" and "align later".
Input: "This concurrent code fails intermittently." Output: Three root causes named: unguarded shared state, an incomplete double-checked pattern, and uncancelled timeouts accumulating resources; two remediation options compared (locking versus immutable rewrite) with their complexity and performance trade-offs, plus a minimal reproducing case.
This skill offers engineering review opinions; it is neither a security certification nor a compliance verdict, and it does not replace automated tests, static analysis tools or human verification. Conclusions cover only the code and context you provided. Test thoroughly before merging and add extra human review for modules touching money, identity or privacy.
Billing upgrade will be enabled once the individual-creator payment channel goes live. Free tier: single change review, basic security and convention checks, severity-tiered issue list. Pro tier: configurable team conventions applied for everyone, repository-wide audits and a technical-debt map, learning from historical defect patterns for targeted checks, review comments converted into tracked tasks, CI quality-gate integration, cross-reviewer consistency alignment, and priority support. Upgrade path: one-click switch to Pro as soon as the payment channel opens.
Use this skill the moment you need, want or are stuck on the following: High-frequency scenarios: - You want a self-check before opening a pull request. - The review queue is backed up and a structured opinion would unblock it. - A new teammate's code needs specific findings with reasoning. - A public endpoint needs a security pass before launch. - Legacy code must change and the blast radius is unclear. - Intermittent production issues smell like concurrency or resource leaks. - You must decide which findings block the merge and which do not. - Review comments must become trackable tasks. - Team conventions are ignored and need a comparison table. - Debug code or hard-coded configuration may still be present. - Error handling is missing and exceptions are swallowed silently. - Logs are excessive or contain sensitive fields. - An interface change may break existing callers. - Technical debt and refactor priority need assessment. - Vendor-delivered code needs acceptance gating. - The team wants a recurring-issue checklist distilled from reviews. Typical users: backend and frontend engineers, tech leads and architects, QA and quality engineers, open-source maintainers, and teams accepting externally delivered code.
这个 Skill 的文档质量不错,提供了清晰的代码评审流程和具体示例,结构完整、逻辑清晰。但它主要是文字指南,缺少可以直接使用的工具或模板,而且只有英文版本。质量属于中等偏上水平,适合需要参考评审方法的开发者,但实际使用时可能需要自行准备配套模板。