code-review

Review Git commits for message quality, scope adherence, and over-engineering.

2|2|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/medhatgalal/Core-Prompts --skill code-review-medhatgalal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/medhatgalal/Core-Prompts/tree/main/.gemini/skills/code-review
Command: npx skills add https://github.com/medhatgalal/Core-Prompts --skill code-review-medhatgalal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the review of Git commits, ensuring they adhere to quality standards, maintain scope discipline, and avoid over-engineering, especially in AI-assisted development workflows.

Core Features & Use Cases

  • Commit Message Validation: Checks for clarity, context, and proper referencing.
  • Scope Alignment: Verifies that changes strictly match the commit message's description.
  • Over-Engineering Detection: Flags unnecessary complexity or premature abstractions.
  • Code Quality Check: Assesses correctness, security, and adherence to style guidelines.
  • Use Case: Before merging a feature developed with AI assistance, run this skill to catch any unintended scope creep or overly complex solutions introduced during the process.

Quick Start

Run the code-review skill on the most recent commit.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review Git commits for scope creep and over-engineering in AI-assisted coding?

To review Git commits for scope creep and over-engineering, analyze the commit diffs against their stated intentions and project standards. This validates scope alignment by catching unintended changes and flags unnecessary complexity or premature abstractions introduced during AI-assisted development.

What is the best way to validate commit message quality and scope alignment?

Validating commit message quality and scope alignment involves checking messages for clarity, context, and proper referencing. You then verify that the actual code changes strictly match the described commit message to ensure maintainability and prevent scope drift.

Can I automate code quality checks to detect premature abstractions before merging?

You can automate code quality checks to detect premature abstractions by running an automated review on Git commits before merging. This assesses correctness and security while specifically flagging unnecessary complexity or premature abstractions introduced during development.

Does this code review process work without external dependencies or linting tools?

Yes, the code review process works without external dependencies or linting tools. It operates independently to analyze commit diffs against stated project standards, focusing on message validation, scope alignment, and over-engineering detection without requiring additional setup.

When do I need an automated review for scope discipline in AI-assisted development?

You need an automated review for scope discipline in AI-assisted development before merging a feature developed with AI assistance. This catches unintended scope creep, validates scope adherence, and identifies overly complex solutions introduced during the AI coding process.