review-code

Analyze staged and unstaged code changes for duplication, quality gaps, and efficiency improvements.

2|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/Max-Loo/multi-chat --skill review-code-max-loo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-code
Source: https://github.com/Max-Loo/multi-chat/tree/main/.opencode/skills/review-code
Command: npx skills add https://github.com/Max-Loo/multi-chat --skill review-code-max-loo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

变更代码审查过程中的复用性、质量和效率问题往往被忽视。本技能系统地扫描变更,揭示潜在的重复模式、潜在的质量缺陷以及效率瓶颈,帮助团队在合并前实现更高质量的代码。

Core Features & Use Cases

  • 识别未暂存和已暂存变更中的重复代码和可复用模式。
  • 评估修改的可读性、边界条件和潜在错误处理缺口。
  • 提供面向开发流程的改进建议与重构方向,适用于日常代码审查、合并请求评审和持续集成前的质量检查。

Quick Start

请对当前工作区的未提交变更执行代码审查,以发现复用性、质量和效率方面的问题。

Frequently Asked Questions about review-code

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

FAQPage Schema
How do I review code changes for duplication and quality gaps before committing?

Reviewing code changes for duplication and quality gaps involves analyzing staged and unstaged diffs to identify reusable patterns, evaluate readability, and detect edge case handling issues. This process extracts diffs across files to provide targeted actionable feedback during development.

What is the best way to identify code reuse opportunities in my current working directory?

Identifying code reuse opportunities requires scanning unstaged changes to detect duplicate patterns and evaluate potential refactoring directions. By extracting diffs across directories, you can pinpoint overlapping logic and receive actionable feedback for improving code efficiency and maintainability.

Can I evaluate readability and edge case handling for both staged and unstaged changes?

Yes, you can evaluate readability and edge case handling for both staged and unstaged changes. The code review process systematically analyzes these diffs across files or directories to assess boundary conditions, identify error handling gaps, and suggest targeted improvements.

Does this code review approach work for merge requests and continuous integration pre-checks?

Yes, this code review approach works for merge requests and continuous integration pre-checks. It systematically scans modifications to reveal potential quality defects and efficiency bottlenecks, enabling teams to achieve higher code quality before merging changes into the main branch.

How do I get actionable refactoring feedback for my recent code modifications?

To get actionable refactoring feedback, you analyze your recent code modifications by extracting diffs and evaluating them for efficiency improvements. This process highlights quality gaps and provides specific refactoring directions tailored to your development workflow.