Code Review Multi Skill banner
TsinHzl TsinHzl

Code Review Multi Skill

Code Quality community

Description

Batch multi-repository Code Review expert skill for Claude Code CLI.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

code-review-multi-skill

Batch multi-repository Code Review expert skill for Claude Code CLI.

Overview

Automatically scans all subdirectories containing `.git` in the current directory, batch extracts Diff and branch information from each repository, and generates a single consolidated Code Review report file covering critical issues, improvement suggestions, and elegant refactoring solutions.

Features

  • Batch scanning — Auto-discovers and processes all Git repositories (regular repos, Submodules, Worktrees)
  • Smart filtering — Auto-skips repos with no changes, Detached HEAD state, or invalid branches
  • Unified report — All repository reviews consolidated into a single Markdown file
  • Deep analysis — Covers critical issues, improvement suggestions, and elegant refactoring
  • Memory optimized — Uses temp files to prevent memory overflow from large diffs

Installation

Place the `code-review-multi/` folder into your Claude Code skills directory:

# macOS/Linux
cp -r code-review-multi ~/.claude/skills/

# Windows
copy code-review-multi %USERPROFILE%\.claude\skills\

Usage

Trigger Keywords

Use the following keywords in Claude Code to trigger the skill:

  • batch review
  • multi-repo
  • batch audit
  • all repositories
  • batch code inspection
  • 批量审查
  • 多仓库
  • 批量审核
  • 所有仓库
  • 批量代码检查

Example

# In a directory containing multiple Git repositories
cd /path/to/parent-directory

# Start Claude Code and request batch review
claude
> batch review all repositories
> 请对所有仓库进行批量代码审查

Workflow

  1. Auto-scan — Scans all subdirectories in current directory, identifies Git repositories
  2. Extract changes — Extracts branch info and Diff from each repository
  3. Deep review — Analyzes code changes, identifies issues and optimization points
  4. Generate report — Outputs unified Markdown report file

Output Format

Generated report file is named `[current_directory_name]_code_review.md`.