Review branch
Reviews a git branch and provides a detailed analysis of the changes, including risks, performance issues, style concerns, and testing gaps.From its SKILL.md
npx -y skills add cardstack/boxel --skill review-branchAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.3 KB, as published. Nobody here has run it
Code Review Guide
Check out the branch $ARGUMENTS and give me a thorough guided tour of the changes.
Steps
- Run
git fetch originthengit checkout $ARGUMENTS - Run
git diff main...$ARGUMENTS --statto get an overview of changed files - Run
git log main...$ARGUMENTS --onelineto understand the commit history - For each changed file, run
git diff main...$ARGUMENTS -- <file>and analyze the diff
For each file, provide:
- Summary: What changed and the likely intent
- Risks: Bugs, security issues, race conditions, error handling gaps
- Performance: N+1 queries, unnecessary allocations, missing indexes
- Style: Naming, structure, consistency with surrounding code
- Testing gaps: What's untested or under-tested
At the end, provide:
- An overall assessment (approve / request changes / needs discussion)
- A prioritized list of the top issues to raise in review
- Suggested review comments I can paste directly into the PR
- Suggested files for a human reviewer to pay attention to