🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
653 B
Markdown
21 lines
653 B
Markdown
---
|
|
description: Review a Forgejo pull request. Fetches PR details, diff, and comments.
|
|
argument-hint: <pr-number>
|
|
---
|
|
|
|
# Review PR #$1
|
|
|
|
1. **View PR details**: `fj pr view $1`
|
|
2. **Get the diff**: `fj pr view $1 diff`
|
|
|
|
Review the changes and provide feedback on:
|
|
- Code quality
|
|
- Potential bugs
|
|
- Test coverage
|
|
- Documentation
|
|
|
|
Ask the user what action to take:
|
|
- **Merge**: Post review summary as comment, then `fj pr merge $1 -M rebase -d` (rebase + fast-forward, deletes branch)
|
|
- **Request changes**: `fj pr comment $1 "<feedback>"` - Leave feedback without merging
|
|
- **Comment only**: `fj pr comment $1 "<comment>"` - Add a comment for discussion
|