code-reviewer
Conduct automated code reviews for local changes or remote GitHub Pull Requests. It analyzes code for correctness, maintainability, and standards using git and gh CLI integration.
Introduction
The code-reviewer skill acts as an intelligent assistant designed to streamline the code review process for developers. By bridging the gap between local development workflows and GitHub Pull Request management, it allows users to receive instant feedback on their changes without leaving the command line. This skill is ideal for software engineers who prioritize code quality, maintainability, and adherence to project-wide standards while working within a git-based repository environment.
-
Performs in-depth code analysis focusing on correctness, maintainability, readability, security, and efficiency.
-
Supports remote Pull Request reviews by automating checkout via GitHub CLI (gh), verifying preflight tests, and analyzing PR history.
-
Evaluates local changes by inspecting git status and diffs for staged or unstaged code, offering optional preflight suite execution.
-
Provides structured feedback including summary, critical findings, quality improvements, and optional nitpicks.
-
Integrates seamlessly with project-specific scripts like npm run preflight to ensure environment-specific requirements are met before analysis.
-
To trigger a review for a remote PR, provide the PR number or URL as an argument, e.g., 'Review PR #123'.
-
If no target is specified, the agent defaults to analyzing your local current working directory changes.
-
Recommended usage involves maintaining clean git branches; the tool will prompt for cleanup and branch switching after review sessions.
-
For best results, ensure your repository has a standard preflight script defined, as the agent relies on this to catch automated failures early.
-
The agent focuses on actionable insights; when providing feedback, it prioritizes professional, constructive, and friendly communication to help developers improve their code submissions.
Repository Stats
- Stars
- 102,715
- Forks
- 13,392
- Open Issues
- 2,859
- Language
- TypeScript
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- Apr 29, 2026, 01:50 PM