From c815f2ae6ff7cef33a48c51d2edb208fc1c0f03e Mon Sep 17 00:00:00 2001 From: Hugo Nijhuis Date: Thu, 1 Jan 2026 19:00:30 +0100 Subject: [PATCH] Fix PR diff documentation to use git instead of tea MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tea CLI doesn't have a command to output PR diff content directly. The -f diff flag only returns a URL. Updated docs to use tea pulls checkout followed by git diff main...HEAD. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- agents/code-reviewer/AGENT.md | 2 +- skills/gitea/SKILL.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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>"