review-crdb

Review Go code changes against distributed database best practices.

32.4k|4.1k|Updated Feb 6, 2014
One-click install
npx skills add https://github.com/cockroachdb/cockroach --skill review-crdb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-crdb
Source: https://github.com/cockroachdb/cockroach/tree/main/.claude/skills/review-crdb
Command: npx skills add https://github.com/cockroachdb/cockroach --skill review-crdb

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of reviewing code changes or pull requests, ensuring code quality, correctness, and adherence to best practices.

Core Features & Use Cases

  • Automated Code Analysis: Leverages specialized agents to check for correctness, error handling, conventions, test coverage, and more.
  • Structured Feedback: Provides actionable, categorized feedback (blocking issues, suggestions, nits).
  • Use Case: When submitting a new feature to the CockroachDB repository, use this Skill to perform a comprehensive pre-merge review, catching potential bugs and style issues before human reviewers spend time on them.

Quick Start

Use the review-crdb skill to review the current branch against master.

Frequently Asked Questions about review-crdb

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

FAQPage Schema
How can I automate pull request reviews for CockroachDB code changes?

Automate pull request reviews by dispatching parallel agents to check code correctness, error handling, Go conventions, test coverage, and commit structure. This validates changes against distributed database best practices for concurrency and failure modes.

What is the best way to check Go code for distributed database concurrency issues?

Checking Go code for distributed database concurrency involves validating changes against specialized best practices for locking and failure modes. Specialized agents analyze type design and error handling to ensure correctness in concurrent environments.

How do I ensure my CockroachDB feature passes pre-merge code quality checks?

Ensure pre-merge code quality by running automated code analysis that provides categorized feedback on blocking issues, suggestions, and nits. This catches potential bugs and style issues before human reviewers spend time on them.

Can I use automated agents to verify test coverage and commit structure in Go repositories?

You can use automated agents to verify test coverage and commit structure in Go repositories. Agents run in parallel to analyze these aspects alongside type design and Go conventions, generating structured, actionable feedback.

Does this code review tool check for distributed database failure modes?

This code review tool checks for distributed database failure modes by validating code changes against established best practices. It specifically analyzes locking mechanisms and concurrency handling to prevent potential failures.

What kind of feedback should I expect from an automated code review for CockroachDB?

Expect structured, actionable feedback categorized into blocking issues, suggestions, and nits. This feedback covers correctness, error handling, test coverage, and commit structure to enhance overall code quality.