requesting-code-review

Inspect git diffs and block commits with new security or logic failures.

1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/cryptopafi/nexusos-skills --skill requesting-code-review-cryptopafi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: requesting-code-review
Source: https://github.com/cryptopafi/nexusos-skills/tree/main/software-development/requesting-code-review
Command: npx skills add https://github.com/cryptopafi/nexusos-skills --skill requesting-code-review-cryptopafi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents insecure or regressive code from being committed by verifying staged changes with targeted static security scans, baseline-aware tests and linters, and an independent reviewer agent before commit.

Core Features & Use Cases

  • Targeted static security scans that inspect added lines for hardcoded secrets, shell injection patterns, unsafe deserialization, and other high-risk constructs.
  • Baseline-aware testing and linting that compares project test/lint failures before and after changes so only new regressions block a commit.
  • Independent reviewer subagent and auto-fix loop which delegates a fresh reviewer with only the diff and scan results, enforces fail-closed JSON verdicts, and runs up to two precise fix cycles before escalation.
  • Use Case: Run this pipeline after implementing a feature or bug fix and before committing or opening a pull request to catch security issues, logic errors, and regressions.

Quick Start

Run the pre-commit verification pipeline on your staged changes to block commits that introduce new security, logic, or regression failures.

Frequently Asked Questions about requesting-code-review

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

FAQPage Schema
How do I run a pre-commit check to block insecure code from being committed?

Pre-commit verification inspects staged git diffs to block commits introducing new security or logic failures. It runs targeted static security scans, baseline-aware test comparisons, and an independent reviewer subagent before allowing the commit.

How does baseline-aware testing prevent regressions in my git commits?

Baseline-aware testing compares project test and lint failures before and after your changes. This ensures only new regressions introduced by the current diff block the commit, allowing pre-existing issues to pass without manual filtering.

Can I automatically detect hardcoded secrets and shell injection in staged files?

Yes, targeted static security scans inspect added lines in your git diff to detect hardcoded secrets, shell injection patterns, unsafe deserialization, and parameterized SQL requirements before the commit is finalized.

What is the best way to auto-fix security issues found during a code review?

An independent reviewer subagent evaluates the diff and scan results, enforcing fail-closed JSON verdicts. It triggers an auto-fix loop that runs up to two precise fix cycles before escalating unresolved issues.

Does this pre-commit pipeline support existing static analysis tools?

The pipeline applies targeted static security scans and linters directly to the git diff. It acts as an independent verification layer that complements your existing tools by comparing baseline results against new changes.

What happens when the independent reviewer subagent fails to fix a blocked commit?

The auto-fix loop runs up to two precise fix cycles. If the independent reviewer subagent cannot resolve the failures within these cycles, it escalates the unresolved security or logic issues for manual intervention.