code-review

Routes pull request and diff reviews through risk-ranked, gate-driven review skills.

2|Updated Jul 18, 2026
One-click install
npx skills add https://github.com/Arasz/ai-badger --skill code-review-arasz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/Arasz/ai-badger/tree/main/features/github/skills/code-review
Command: npx skills add https://github.com/Arasz/ai-badger --skill code-review-arasz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code reviews often lack structure: reviewers read diffs linearly, miss high-risk changes buried in large PRs, and produce inconsistent findings. This Skill provides a single review entry point that routes any review request through an ordered, risk-ranked process with pass/fail gates and a mandatory merge recommendation. ## Core Features & Use Cases - Risk-ranked routing: Ranks the diff by blast radius before reading, so the deepest checks land on the riskiest units, then runs sequential pass/fail gates covering build, tests, lint, secrets, layering, security, and contracts. - Test-quality judgement: Evaluates changed tests for vacuous assertions and unproven reds, and names specific missing test cases for high-risk untested code. - Stack-specific adjustments: Ships per-stack review extensions for Python, .NET, TypeScript, React, and Azure that merge in at scaffold time based on the project's detected stacks. - Use Case: A reviewer asked to review a pull request touching shared authentication code uses this Skill to rank the diff, run the checklist gates, judge the changed tests, and produce severity-ordered findings ending in a clear safe-to-merge or block recommendation. ## Quick Start Ask the agent to review this pull request and report findings with a merge recommendation.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review a pull request with an AI agent?

Ask the agent to review the PR or diff; this Skill routes the request through risk ranking, pass/fail gates on build, tests, lint, secrets, and security, then test-quality judgement. The output is severity-ordered findings with item, location, evidence, impact, fix, and a merge recommendation.

What should a structured code review checklist cover?

A structured review should rank the diff by blast radius first, then run sequential gates: build, tests, lint, and secrets before layering, security, and contracts. Changed tests should be judged for vacuous assertions, and high-risk untested units should get named missing test cases.

Does GitHub Copilot code review use repository skills?

Yes, GitHub Copilot code review reads agent skills from .github/skills/ on the head branch and favors skills whose name and description target review. Copilot always leaves a Comment review, never Approve or Request changes, so its verdict does not block merge.

Can this review process handle Python, TypeScript, and .NET projects?

Yes, stack-specific adjustment extensions ship for Python, TypeScript, React, .NET, and Azure and merge in at scaffold time based on detected stacks. Each extension adds stack rules such as fixture isolation for pytest, nullability and CancellationToken checks for C#, and unawaited promise findings for TypeScript.

What happens when the sibling review skills are not installed?

The Skill falls back to doing each step inline at its cheapest form: diff stat plus git log for ranking, the checklist's Phase 1 gates verbatim, and naming every high-risk untested unit with its missing test case. It states which siblings were absent so the thinner review is explicit.