pr-review
PR Review
Review the pull request provided by the user (PR number or URL).
Instructions
-
Get PR information:
- Run
gh pr view <PR>to get PR details - Run
gh pr diff <PR>to see changes
- Run
-
Read review standards:
- Read
.claude/agents/code-reviewer.mdfor the review checklist
- Read
-
Apply the checklist to all changed files:
- Type hint compliance (no
Any) - Error handling patterns (no silent exceptions)
- N+1 queries avoided (select_related/prefetch_related)
- Loading/error/empty states in templates
- Test coverage
- Documentation updates
- Type hint compliance (no
-
Provide structured feedback:
- Critical: Must fix before merge
- Warning: Should fix
- Suggestion: Nice to have
-
Post review comments using
gh pr comment
More from kjnez/claude-code-django
htmx-patterns
HTMX patterns for Django including partial templates, hx-* attributes, and dynamic UI without JavaScript. Use when building interactive UI, handling AJAX requests, or creating dynamic components.
31django-templates
Django template patterns including inheritance, partials, tags, and filters. Use when working with templates, creating reusable components, or organizing template structure.
30pytest-django-patterns
pytest-django testing patterns, Factory Boy, fixtures, and TDD workflow. Use when writing tests, creating test factories, or following TDD red-green-refactor cycle.
24django-forms
Django form handling patterns including ModelForm, validation, clean methods, and HTMX form submission. Use when building forms, implementing validation, or handling form submission.
16celery-patterns
Celery task patterns including task definition, retry strategies, periodic tasks, and best practices. Use when implementing background tasks, scheduled jobs, or async processing.
15django-models
Django model design patterns emphasizing fat models/thin views, QuerySet optimization, and domain logic encapsulation. Use when designing models, optimizing queries, implementing business logic, or working with the ORM.
14