code-reviewer

Analyze code diffs for bugs, regressions, and type safety issues.

1.1k|98|Updated Nov 29, 2023
One-click install
npx skills add https://github.com/web-infra-dev/rsdoctor --skill code-reviewer-web-infra-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-reviewer
Source: https://github.com/web-infra-dev/rsdoctor/tree/main/.agents/skills/code-reviewer
Command: npx skills add https://github.com/web-infra-dev/rsdoctor --skill code-reviewer-web-infra-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps developers perform thorough and efficient code reviews, identifying issues related to bugs, regressions, safety, and testing, saving time and improving code quality.

Core Features & Use Cases

  • Expert Code Analysis: Acts as a pragmatic senior engineer, providing detailed, evidence-based feedback on code changes in PRs or diffs.
  • Focus on Critical Risks: Prioritizes findings on correctness, regressions, safety, and test coverage to ensure high-quality code.
  • Real-World Example: When reviewing a pull request, it generates specific issues related to type safety and potential regressions, helping developers address problems early.

Quick Start

Input a code diff or affected files, and receive an expert review highlighting risks and improvement suggestions.

Frequently Asked Questions about code-reviewer

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

FAQPage Schema
How do I review a pull request for bugs and regressions?

To review a pull request for bugs and regressions, input your code diff or affected files to receive expert analysis. The tool identifies potential regressions and safety issues, providing evidence-based feedback to ensure high software quality.

What is the best way to check type safety issues in a code diff?

Checking type safety issues in a code diff involves analyzing the changes for risky behaviors and missing tests. This tool prioritizes correctness and safety, generating specific actionable insights to help you address type safety problems early.

Can I use this for GitHub pull request reviews?

Yes, you can use this for GitHub pull request reviews as it supports review workflows in GitHub and other version control systems. It evaluates code changes to ensure quality and safety standards are met across your repositories.

How does automated code review minimize false positives?

Automated code review minimizes false positives by emphasizing evidence-based feedback and focusing on critical risks like correctness and test coverage. It acts as a pragmatic senior engineer to provide precise, actionable insights for software repositories.

When do I need to analyze missing tests in my code changes?

You need to analyze missing tests in your code changes when prioritizing critical risks during a code review. Identifying missing test coverage ensures high-quality code by highlighting areas vulnerable to potential regressions before merging.

Does code review analysis work without external dependencies?

Yes, code review analysis works without external dependencies because the tool operates independently. You simply input your code diff or affected files to receive expert review highlighting risks and improvement suggestions.