What problem does it solve?
This Skill automates the process of reviewing code changes, both locally before pushing and for open pull requests on GitHub, ensuring code quality and catching potential issues early.
Core Features & Use Cases
- Local Code Review: Analyze staged or unstaged changes against a base branch (e.g.,
main) to identify common issues like debug statements, secrets, or merge conflicts.
- Pull Request Review: Fetch and analyze PR details, diffs, and comments directly from GitHub.
- Inline Commenting: Leave specific feedback directly on lines of code within a PR.
- Formal Review Submission: Submit full reviews (Approve, Request Changes, Comment) to GitHub.
- Use Case: Before merging a feature branch, use this Skill to perform a thorough pre-push review of your local changes, identifying potential bugs and style inconsistencies. Then, use it again to review a colleague's pull request, providing detailed inline feedback.
Quick Start
Use the github-code-review skill to review the current local changes against the main branch.