跳到正文
cccskills
免费在 GitHub 公开

review-pr

Review a GitHub pull request and provide structured feedback with severity ratings

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md1.5 KB

SKILL.md(原文)

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

PR Context

  • PR metadata: !gh pr view $ARGUMENTS --json title,body,author,baseRefName,headRefName,additions,deletions,changedFiles
  • PR diff: !gh pr diff $ARGUMENTS
  • Changed files: !gh pr diff $ARGUMENTS --name-only

Review Instructions

Perform a thorough code review:

  1. Understand intent: Read the PR description and understand what problem it solves
  2. Check correctness: Verify logic, edge cases, and error handling
  3. Check security: Look for injection vulnerabilities, secret leaks, auth issues
  4. Check performance: Identify N+1 queries, unnecessary allocations, missing indexes
  5. Check tests: Verify adequate test coverage for new/changed code
  6. Check style: Ensure consistency with project conventions

Output Format

Organize findings by severity:

🔴 Critical (must fix before merge)

  • Security vulnerabilities, data loss risks, broken functionality

🟡 Major (should fix)

  • Logic errors, missing edge cases, performance issues

🟢 Minor (nice to have)

  • Style improvements, naming suggestions, documentation

✅ What looks good

  • Highlight well-written code and good decisions

End with a clear recommendation: Approve / Request Changes / Needs Discussion

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

deploy

免费

Deploy to staging or production environment with pre-flight checks

中文简介正在准备中。当前显示原文说明。

babushkai/claude-code-config112026年3月12日 更新

Explain code with visual diagrams and analogies. Use when explaining how code works, teaching about a codebase, or when the user asks "how does this work?"

中文简介正在准备中。当前显示原文说明。

babushkai/claude-code-config112026年3月12日 更新

fix-issue

免费

Fix a GitHub issue by reading the issue, finding relevant code, implementing a fix, and creating a commit

中文简介正在准备中。当前显示原文说明。

babushkai/claude-code-config112026年3月12日 更新

status

免费

Show a summary of the current project state including git, tests, and build status

中文简介正在准备中。当前显示原文说明。

babushkai/claude-code-config112026年3月12日 更新

查看 babushkai 的全部技能

报告此技能的问题