pr-review
PR Review
Review the current Pull Request that has been checked out locally.
Instructions
-
Prerequisite
- Run
git fetch origin masterto ensure we have the latest main branch
- Run
-
Get the PR changes
- Run
git diff --name-only $(git merge-base HEAD origin/master)..HEADfor a quick overview of changed files - Run
git diff $(git merge-base HEAD origin/master)..HEADto see all changes - Run
git log --oneline $(git merge-base HEAD origin/master)..HEADto see commit messages
- Run
-
Understand the context
- Examine the changed files to understand the PR's purpose
- Look for any related documentation or comments
-
Provide a structured code review
More from carsten-j/agent-resources
refactor-pass
Perform a refactor pass focused on simplicity after recent changes. Use when the user asks for a refactor/cleanup pass, simplification, or dead-code removal and expects build to verify behavior.
12update-claude-md
Update the project's CLAUDE.md with meta learnings, conventions, gotchas, and significant codebase changes. Use when the user asks to update CLAUDE.md, capture learnings, document project conventions, or reflect recent work in the project guide.
11history
Display Claude conversation history in an easy-to-scan format showing recent sessions with dates, projects, and topics. Use when you want to review past conversations or resume a previous session.
1teach
Learning mode - guides the user to complete tasks themselves through Socratic teaching rather than doing it for them. Use when the user wants to learn how to do something instead of having it done for them.
1gwm
Manage git worktrees using the gwm script. Supports creating, listing, removing, and checking status of worktrees. Use when the user says "create git worktree", "new worktree", or needs to work with multiple branches simultaneously via git worktrees.
1catchup
Catch up on branch changes by reviewing all changes between current branch and master/main, analyzing key files, and providing a comprehensive summary. Use when you need to understand what changed in a feature branch.
1