跳到正文
cccskills
免费在 GitHub 公开

code-review-guide

Reviews a pull request or code diff for correctness, security, design, tests, and readability. Findings are ranked from blocking issues to optional nits, with reasons and concrete suggestions, alongside specific strengths and a clear approve, request-changes, or comment verdict.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Review a pull request or diff like a thoughtful senior engineer — prioritized, kind, and focused on what matters. Use when reviewing code, giving PR feedback, or asked to 'review this change'. Produces a structured review: a correctness/design pass, comments ranked by severity (blocking → nit), what's done well, and a clear approve / request-changes call — feedback that improves the code and the author.

mohitagw15856/pm-claude-skills星标 1,488(GitHub 1,488 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • Reviewing a pull request before merge
  • Giving prioritized feedback on a code change
  • Checking a diff for security or design concerns
  • Preparing a clear approve or request-changes verdict

包含的文件(1)

  • SKILL.md3.7 KB

SKILL.md(原文)

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

Code Review Guide Skill

Bad code review nitpicks style while missing the design flaw, or dumps 40 ungraded comments. Good review is prioritized and kind: it catches what actually matters (correctness, security, design), separates blocking issues from nits, explains the why, and leaves the author better. This skill runs that review.

Not quite this? Use code-review-checklist when you only need a checklist tailored to one change; use ai-code-review when most of the change was written by an AI assistant; use infra-as-code-review when the change is Terraform, CloudFormation or other infrastructure code.

Required Inputs

Ask for these only if they aren't already provided:

  • The change — the diff/PR, and ideally its description/intent (what it's trying to do).
  • Context — language/stack, conventions, the part of the system it touches, risk level.
  • Focus (optional) — anything specific to scrutinize (security, performance, a tricky area).

Output Format

Review: [PR / change]

Summary — in 1–2 lines: what the change does and your overall read (solid / needs work / risky).

Review passes — scan in priority order and note findings:

  1. Correctness — does it do what it claims? Edge cases, error handling, off-by-ones, concurrency.
  2. Security & data — input validation, authz, secrets, injection, PII handling.
  3. Design — is this the right approach? Coupling, the seam, simpler alternative, future pain.
  4. Tests — do they cover the behavior and the edges? Would they catch a regression?
  5. Readability — names, clarity, dead code, docs where non-obvious.

Comments (ranked by severity) — each with file/line, the issue, why it matters, and a concrete suggestion:

SeverityWhereComment & whySuggested change
🔴 Blocking
🟡 Should-fix
🔵 Nit / optional

What's done well — genuinely (specific, not flattery). Reviews are also for morale and learning.

Verdict — ✅ Approve / 🔁 Request changes / 💬 Comment — with the one or two things that gate it.

Quality Checks

  • Correctness, security, and design are reviewed before style — priority order
  • Comments are ranked by severity (blocking vs. should-fix vs. nit), not a flat list
  • Each comment explains why and offers a concrete suggestion, not just "this is wrong"
  • At least one specific thing done well is noted
  • A clear verdict (approve / request changes) with the gating issues named
  • Tone is direct but kind — critiques the code, not the author

Anti-Patterns

  • Do not nitpick style while missing a correctness or security problem — priority first
  • Do not dump ungraded comments — rank them so the author knows what's blocking
  • Do not say "this is wrong" without why and a suggested fix
  • Do not rewrite it your way for taste — respect working approaches; flag real issues
  • Do not be a jerk — review the code, acknowledge good work, keep the author motivated

Based On

Senior code-review practice (Google's engineering review guidelines): prioritize correctness/design, severity-tag feedback, be kind.

Example Trigger Phrases

  • "Review code."
  • "Give PR feedback."
  • "Review this change."

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Create a 360-degree feedback survey with behavior-based rating scales and open questions, or turn collected reviewer notes into a structured report. The report organizes evidence into strengths, development themes, ratings patterns, and practical next steps.

中文简介正在准备中。当前显示英语简介。

  • Design a 360 survey for a role or performance cycle
  • Write a feedback report from reviewer notes
  • Create behavior-based rating questions and open prompts
mohitagw15856/pm-claude-skills14882026年10月23日 更新

Understand a 401k or workplace retirement plan by translating fund and account fees into dollar estimates over time, applying match and vesting rules, comparing fund costs within the plan, and preparing questions for HR. It does not choose investments.

中文简介正在准备中。当前显示英语简介。

  • Estimating how plan fees may add up over time
  • Checking whether contributions capture the full employer match
  • Understanding vesting and what could be forfeited when leaving
mohitagw15856/pm-claude-skills14882026年10月23日 更新

Build a structured A/B test plan for a product change, interface, onboarding flow, or price. Define a directional hypothesis, variants, success and guardrail metrics, sample size, estimated duration, rollback conditions, and guidance for interpreting the results.

中文简介正在准备中。当前显示英语简介。

  • Plan an experiment for a product feature
  • Estimate the sample size for an A/B test
  • Compare onboarding or interface variants
mohitagw15856/pm-claude-skills14882026年10月23日 更新

Turn completed A/B test results into a clear ship, don't ship, or inconclusive recommendation. Review lift, statistical and practical significance, guardrail metrics, sample size, early peeking, novelty effects, and segment differences, then suggest monitoring or a follow-up test.

中文简介正在准备中。当前显示英语简介。

  • Interpreting completed experiment results
  • Writing an A/B test readout
  • Checking whether a variant should ship
mohitagw15856/pm-claude-skills14882026年10月23日 更新

Build or tailor an academic CV for faculty, postdoctoral, fellowship, or research roles. Organize publications, funding, teaching, supervision, and service for the field and position, standardize citations, and prepare a two-page version when requested.

中文简介正在准备中。当前显示英语简介。

  • Preparing a CV for a faculty application
  • Ordering experience for a postdoctoral application
  • Standardizing a publications list
mohitagw15856/pm-claude-skills14882026年10月23日 更新

Review a screen, component, or design against WCAG 2.2. Get a prioritized accessibility checklist with pass or fail assessments, issue-specific fixes, effort estimates, quick wins, and recommendations for manual and automated testing.

中文简介正在准备中。当前显示英语简介。

  • Audit a screen or component for accessibility
  • Check a design against WCAG 2.2
  • Prioritize accessibility fixes before launch
mohitagw15856/pm-claude-skills14882026年10月23日 更新

查看 mohitagw15856 的全部技能

报告此技能的问题