diff --git a/agents/code-reviewer/AGENT.md b/agents/code-reviewer/AGENT.md index f0ccff1..d623004 100644 --- a/agents/code-reviewer/AGENT.md +++ b/agents/code-reviewer/AGENT.md @@ -13,7 +13,7 @@ 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 diff using `tea pulls -f diff` +1. Fetch PR diff: checkout with `tea pulls checkout `, then `git diff main...HEAD` 2. Analyze the diff for issues in these categories: - **Code Quality**: Readability, maintainability, complexity - **Bugs**: Logic errors, edge cases, null checks diff --git a/skills/gitea/SKILL.md b/skills/gitea/SKILL.md index af0a19f..f138a10 100644 --- a/skills/gitea/SKILL.md +++ b/skills/gitea/SKILL.md @@ -83,7 +83,10 @@ tea pulls --state closed # Closed/merged PRs # View PR tea pulls # PR details tea pulls --comments # Include comments -tea pulls -f diff # PR diff + +# View PR diff (tea doesn't have a diff command, use git) +tea pulls checkout # First checkout the PR branch +git diff main...HEAD # Diff against main branch # Create PR tea pulls create --title "" --description "<body>"