From c7025a4c984aede1938b8a085562bea9a171203e Mon Sep 17 00:00:00 2001 From: Hugo Nijhuis Date: Mon, 29 Dec 2025 11:39:09 +0100 Subject: [PATCH] Fix code-reviewer agent diff command instruction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add explicit example and warning to prevent agents from misinterpreting the fj pr view diff command. The correct format is: fj pr view diff NOT: fj pr diff Closes #25 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- agents/code-reviewer/AGENT.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agents/code-reviewer/AGENT.md b/agents/code-reviewer/AGENT.md index 3a05a72..7d5ffd3 100644 --- a/agents/code-reviewer/AGENT.md +++ b/agents/code-reviewer/AGENT.md @@ -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: -1. Fetch PR details and diff using `fj pr view diff` +1. Fetch PR diff: `fj pr view diff` (e.g., `fj pr view 42 diff`) + - **Important**: The command is `fj pr view diff`, NOT `fj pr diff ` 2. Analyze the diff for issues in these categories: - **Code Quality**: Readability, maintainability, complexity - **Bugs**: Logic errors, edge cases, null checks