requesting-code-review

Automate pre-commit code review with static checks, linting, and auto-fixes.

27|2|Updated Jan 15, 2024
One-click install
npx skills add https://github.com/erfanzar/Xerxes-Agents --skill requesting-code-review-erfanzar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: requesting-code-review
Source: https://github.com/erfanzar/Xerxes-Agents/tree/main/src/python/xerxes/skills/software-development/requesting-code-review
Command: npx skills add https://github.com/erfanzar/Xerxes-Agents --skill requesting-code-review-erfanzar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enforces a rigorous pre-commit review workflow that identifies and mitigates issues before code lands, combining static checks, linting, and an independent reviewer loop.

Core Features & Use Cases

  • Static security scans and quality gates run on diffs to surface risks before commits.
  • Independent reviewer subagent coordinates two-stage verification to avoid self-review bias and ensure code quality.
  • Auto-fix loop suggests or applies fixes for common issues and maintains a safe, auditable history.

Quick Start

Run the pre-commit verification after making changes to automatically review and fix your code before committing.

Frequently Asked Questions about requesting-code-review

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

FAQPage Schema
How do I automate code review before a git commit?

You can automate pre-commit code review by running a workflow that analyzes git diffs, executes static security scans, linting, and baseline tests, then proposes auto-fixes before code enters the codebase.

What is an independent reviewer subagent for code quality?

An independent reviewer subagent coordinates two-stage verification to avoid self-review bias during code quality checks. It independently evaluates the diff and static analysis results to ensure rigorous, unbiased verification before committing changes.

How do I run static security scans on git diffs?

Running static security scans on git diffs requires extracting the changed code and applying automated quality gates. This skill executes those security checks directly on feature branch diffs to surface risks before commits are finalized.

Can I use auto-fix loops for pre-commit linting and testing?

Yes, you can use an auto-fix loop for pre-commit linting and testing to suggest or apply fixes for common issues automatically. This process maintains a safe, auditable history while ensuring code meets baseline quality standards before landing.

Does this pre-commit verification workflow support feature branches?

Yes, pre-commit verification workflows support feature branches, commits, and pushes. The skill applies static checks, baseline comparisons, and multi-agent coordination directly to the branch diffs to mitigate risks before code lands.

What are the limitations of automated pre-commit code review?

Automated pre-commit code review is limited to catching static issues, linting errors, and security risks present in the diff. While it proposes auto-fixes for common problems, it may not detect complex architectural flaws or runtime logic errors.