| name | review-pr |
| description | Review a PR against lstk architectural patterns and coding conventions. Use when asked to review a pull request. |
| argument-hint | ["pr-number"] |
| allowed-tools | Read, Grep, Glob, Bash(gh pr diff *), Bash(gh pr view *), Bash(git diff *), Bash(git log *) |
Review PR
Review PR #$ARGUMENTS against lstk's architectural patterns and conventions.
Step 1: Gather PR data
Run these commands to collect context:
gh pr diff $ARGUMENTS
gh pr view $ARGUMENTS --json title,body,files
Step 2: Review checklist
Go through each changed file and check for violations. Flag only actual problems — don't nitpick style or formatting that's already consistent with the codebase.
Architecture boundaries
Output and event system
Sink and dependency injection
User input
TUI (if UI changes)
Testing
General
Step 3: Output
Provide a summary with:
- Verdict: Approve / Request changes / Comment
- Issues found: List each with file path, line, and why it's a problem
- Suggestions: Optional improvements (clearly marked as non-blocking)
Keep feedback actionable and specific. Don't flag things that aren't problems.