code-review-staged

Community

Thorough staged git reviews with auto commit message

Authorjie-meng
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a focused, context-aware code review for changes that have been added to the git staging area, eliminating ambiguity about which edits will be committed and producing a concise, standards-compliant commit message ready for the clipboard.

Core Features & Use Cases

  • Six-section structured review: tech stack inference, change overview, code quality evaluation, risk analysis, incremental suggestions, and an auto-generated single-line commit message.
  • Staged-only scope: analyzes only git staged changes (git diff --cached) and explicitly ignores unstaged edits.
  • Context-aware reads: optionally reads 1–3 related files (headers, definitions, tests) to validate changes without scanning the whole repo.
  • Clipboard support: copies the generated commit message to the clipboard using pbcopy on macOS or pyperclip as a fallback.
  • Language-sensitive output: automatically emits the review in Chinese if the user input contains Chinese characters, otherwise in English; commit message always in English.

Quick Start

Use the skill to review the repository's staged changes and produce a structured review plus one concise English commit message copied to the clipboard.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: code-review-staged
Download link: https://github.com/jie-meng/toolscripts/archive/main.zip#code-review-staged

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.