commit
CommandCreate well-formatted conventional commits with atomic-commit analysis
Thoroughly review a GitHub pull request and submit structured feedback
$ npx -y skills add awattar/claude-code-best-practices --agent claude-code
description: Thoroughly review a GitHub pull request and submit structured feedback argument-hint: <pr-number>
This command helps you thoroughly review GitHub pull requests specified in $ARGUMENTS.
To review a pull request, just type:
/reviewpr <pr-number>
1. Fetches PR details and diff for $ARGUMENTS using GitHub CLI (`gh`). 2. Checks CI/CD status and checks out the PR locally. 3. Reviews code quality, observability, and tests the changes. 4. Documents findings in a scratchpad and submits review via GitHub CLI (`gh`). 5. Monitors for author responses and re-reviews as needed.
This command leverages specialized agents for comprehensive pull request review:
Each agent contributes specialized expertise to ensure thorough project analysis and high-quality documentation generation.
Follow these steps:
Follow GitHub flow and code review best practices - https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests
Before starting:
Gather context and understand the PR:
1. Use `gh pr view` to get the PR details and description. 2. Use `gh pr diff` to review the changes in detail. 3. Check the PR against the original issue requirements:
4. Search scratchpads for any design decisions or context related to this PR. 5. Use `gh pr checks` to verify CI/CD status.
Examine the code quality and functionality:
1. Check out the PR locally using `gh pr checkout`. 2. Review code quality:
3. Review observability aspects:
4. Test the changes:
5. Review documentation:
Document and communicate your findings:
1. Document findings in a scratchpad:
2. If fixes are needed:
3. Use `gh pr review` to submit your review:
Follow up on the review process:
1. Monitor PR for author responses using `gh pr view --comments`. 2. Re-review after changes are made. 3. Approve once all concerns are addressed.
Remember to be constructive and specific in feedback, focusing on the code not the person.
A practical guide to using Claude Code, Anthropic’s agentic coding assistant, effectively in real-world development workflows. This repo distills best practices, patterns, and examples for integrating Claude Code into your terminal-based coding environment.
Create well-formatted conventional commits with atomic-commit analysis
Generate a comprehensive CLAUDE.md by analyzing the current project
Compare two or more options side by side, recommend one, and let the reader pick in the page
Explain code in detail - what it does, how it works, and why
Create smart commit with quality checks and conventional format