staged-code-review

Review staged git changes and generate conventional commit messages.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ImaginerLabs/skill-manager --skill staged-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: staged-code-review
Source: https://github.com/ImaginerLabs/skill-manager/tree/main/skills/coding/staged-code-review
Command: npx skills add https://github.com/ImaginerLabs/skill-manager --skill staged-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a final quality gate before committing code by analyzing staged git changes to detect debug leftovers, hardcoded secrets, missing error handling, and framework-specific issues, preventing regressions and security risks from entering the repository.

Core Features & Use Cases

  • Staged diff analysis: Reads staged changes, counts changed files, and summarizes modified file types to detect the applicable tech stack.
  • Tech-stack-aware checks: Applies language and framework specific rules for React/TypeScript, Vue, Go, Python, Java/Kotlin, Rust, and more to catch common anti-patterns.
  • Security and quality gates: Flags debug statements, hardcoded credentials, missing error handling, and boundary-condition issues and classifies problems as blocking or advisory.
  • Commit message generation: Creates conventional commit messages and supports parameterized linking of Story, Task, or Bug IDs for traceability.
  • Use Case: Run this as the last local check before git commit to reduce PR churn, avoid shipping secrets, and standardize commit messages.

Quick Start

Ask the skill to review your staged changes and generate a conventional commit message, for example: please review my staged changes and propose a commit message linking --story=STORY-123 if applicable.

Frequently Asked Questions about staged-code-review

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

FAQPage Schema
How do I run a pre-commit code review on staged git changes?

A pre-commit code review analyzes staged git changes to detect debug leftovers, hardcoded secrets, and missing error handling, classifies issues as blocking or suggestions, and generates a conventional commit message before you commit.

Can I automatically generate conventional commit messages with story or task IDs?

Yes, conventional commit messages can be generated with parameterized linking by passing --story=, --task=, or --fix= parameters, ensuring traceability between your staged git changes and project management tracking IDs.

Does the pre-commit static analysis support multi-language repositories?

Yes, the static analysis supports multi-language repositories by detecting modified file types and applying tech-stack-aware rules for React/TypeScript, Vue, Go, Python, Java/Kotlin, Rust, and other frameworks.

What is the best way to prevent hardcoded secrets and debug leftovers from being committed?

The best way to prevent hardcoded secrets and debug leftovers from entering the repository is performing a staged diff analysis as a final local quality gate to flag security risks and block problematic commits.

How does static analysis classify quality and security issues before a commit?

Static analysis classifies quality and security issues before a commit by evaluating staged changes and categorizing detected anti-patterns, missing error handling, and boundary conditions as either blocking issues or advisory suggestions.