Agent skill · operations · nousresearch

requesting-code-review

Pre-commit review: security scan, quality gates, auto-fix.

Why this skill is useful

Adds an automated verification pipeline with executable scripts for security scanning and quality checks that enhance code review processes.

What it needs

Requires git installed locally. About 5k tokens when loaded. Last updated 2026-08-07. 226,679 stars on the source repository.

What this skill does

Pre-Commit Code Verification Automated verification pipeline before code lands. Static scans, baseline-aware quality gates, an independent reviewer subagent, and an auto-fix loop. Core principle: No agent should verify its own work. Fresh context finds what you miss. When to Use After implementing a feature or bug fix, before git commit or git push When user says "commit", "push", "ship", "done", "verify", or "review before merge" After completing a task with 2+ file edits in a git repo After each task in subagent-driven-development (the two-stage review) Skip for: documentation-only changes, pure config tweaks, or when user says "skip verification". This skill vs github: This skill verifies YOUR changes before committing. github reviews OTHER people's PRs on GitHub with inline comments. Step 1 — Get the diff If empty, try git diff then git diff HEAD~1 HEAD. If git diff --cached is empty but git diff shows changes, tell the user to git add <files> first. If still empty, run git status — nothing to verify. If the diff exceeds 15,000 characters, split by file: Step 2 — Static security scan Scan added lines only. Any match is a security concern fed into Step 5. Step 3 — Baseline tests and linting Detect the project language and run the appropriate tools. Capture the failure count BEFORE your changes as baselinefailures (stash changes, run, pop). Only NEW failures introduced by your changes block the commit. Test frameworks (auto-detect by project files): Linting and type checking (run only if installed): Baseline comparison: If baseline was clean and your changes introduce failures, that's a regression. If baseline already had failures, only count NEW ones. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills nousresearch/requesting-code-review

View the source on GitHub

Browse the @skills marketplace