code-review

Review code changes for correctness, security, performance, and maintainability.

5|2|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/thoreinstein/opencode-config --skill code-review-thoreinstein
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/thoreinstein/opencode-config/tree/main/skill/code-review
Command: npx skills add https://github.com/thoreinstein/opencode-config --skill code-review-thoreinstein

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code reviews are essential to catch defects, security issues, performance bottlenecks, and maintainability concerns before changes merge into main branches. This Skill provides a structured, multi-dimensional review protocol to streamline and standardize the evaluation process.

Core Features & Use Cases

  • Phase 1: Context Gathering — understand what changed and gather project context.
  • Phase 2: Multi-Dimensional Review — assess Correctness, Security, Performance, Reliability, and Maintainability with explicit checklists.
  • Phase 3: Specialist Consultation — escalate complex findings to subject-matter experts.
  • Output & Guidance — produces a clear, actionable review report that can be attached to PRs or tickets.

Quick Start

First, obtain the changes to review using git diff [base] -- [files] and git log --oneline -10 -- [files]. Then invoke the code-review protocol to generate a structured evaluation and a recommended remediation plan.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I perform a comprehensive code review for a pull request?

To perform a comprehensive code review, gather context using git diff and git log, then execute a multi-dimensional review assessing correctness, security, performance, reliability, and maintainability to generate an actionable remediation report for your pull request.

What is the best way to check code changes for security and maintainability issues?

Checking code changes for security and maintainability issues is done by applying a structured multi-dimensional review protocol with explicit checklists that evaluates diffs across these specific dimensions to ensure standardized actionable output.

How does the specialist consultation phase work in code review?

In code review, the specialist consultation phase works by escalating complex findings identified during the multi-dimensional assessment to subject-matter experts, ensuring difficult correctness or security issues receive targeted evaluation before generating the final report.

Can I use this structured code review protocol across different repositories?

You can use this structured code review protocol across different repositories because it applies to diffs, pull requests, and code changes universally, guiding reviewers through standardized formal checks regardless of the specific repository source.

What do I need to prepare before starting an automated code review?

Before starting an automated code review, you need to obtain the changes to review by running git diff and git log on the target files to provide the necessary context for the protocol's initial context gathering phase.