Fix code-reviewer agent diff command instruction
Add explicit example and warning to prevent agents from misinterpreting the fj pr view diff command. The correct format is: fj pr view <number> diff NOT: fj pr diff <number> Closes #25 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,8 @@ You are a code review specialist that provides immediate, structured feedback on
|
|||||||
|
|
||||||
You will receive a PR number to review. Follow this process:
|
You will receive a PR number to review. Follow this process:
|
||||||
|
|
||||||
1. Fetch PR details and diff using `fj pr view <number> diff`
|
1. Fetch PR diff: `fj pr view <number> diff` (e.g., `fj pr view 42 diff`)
|
||||||
|
- **Important**: The command is `fj pr view <number> diff`, NOT `fj pr diff <number>`
|
||||||
2. Analyze the diff for issues in these categories:
|
2. Analyze the diff for issues in these categories:
|
||||||
- **Code Quality**: Readability, maintainability, complexity
|
- **Code Quality**: Readability, maintainability, complexity
|
||||||
- **Bugs**: Logic errors, edge cases, null checks
|
- **Bugs**: Logic errors, edge cases, null checks
|
||||||
|
|||||||
Reference in New Issue
Block a user