code_review

Analyze GitHub pull request diffs and threads to generate review drafts.

27|3|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/ZhuoZhuoCrayon/ai-workspace --skill code-review-zhuozhuocrayon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code_review
Source: https://github.com/ZhuoZhuoCrayon/ai-workspace/tree/main/.agents/skills/code_review
Command: npx skills add https://github.com/ZhuoZhuoCrayon/ai-workspace --skill code-review-zhuozhuocrayon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

执行代码审查、PR review、复查、发 review 评论、request changes 或 approve 前必须使用。适用于检查 GitHub PR diff、未解决 review threads、本地仓库代码与项目规范,并输出对话草稿或在明确授权后发布 inline / conversation review 评论。

Core Features & Use Cases

  • 实时分析 PR diffs、线程与项目规范,生成可直接发布的草稿评审意见。
  • 在获得明确授权前仅输出对话草稿,不对 PR 进行写操作,确保安全。
  • 支持针对不同语言/仓库类型的合规检查、指派人(assignee)确认与变更提示。

Quick Start

Tell the AI to review a specific PR by providing its URL and repository context to generate a draft review.

Frequently Asked Questions about code_review

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

FAQPage Schema
How do I generate an automated code review draft for a GitHub pull request?

To generate an automated code review draft for a GitHub pull request, provide the PR URL and repository context to the AI. It analyzes PR diffs, threads, and project standards to output a ready-to-use draft review.

Can I generate PR review comments without authorizing write access to my repository?

Yes, you can generate PR review comments without write access. The tool only outputs conversation drafts until explicitly authorized, preventing unauthorized actions while delivering safe review recommendations.

Does automated code review work across different programming languages and repository types?

Automated code review works across different programming languages and repository types. It enforces compliance checks, assignee confirmation, and diff integrity universally for GitHub pull requests.

How does diff analysis handle unresolved review threads and project standards?

Diff analysis handles unresolved review threads and project standards by evaluating them concurrently with the code changes. This ensures generated review drafts highlight compliance issues and unresolved conversations.

What is the best way to enforce required assignees before approving a pull request?

The best way to enforce required assignees before approving a pull request is using automated diff analysis. It verifies PR metadata, confirms assignees, and prepares actionable inline comments for policy compliance.