[Issue #8] Fix gitea skill documentation for PR diff command #14

Merged
HugoNijhuis merged 1 commits from issue-8-fix-pr-diff-docs into main 2026-01-01 18:03:55 +00:00
2 changed files with 5 additions and 2 deletions

View File

@@ -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: You will receive a PR number to review. Follow this process:
1. Fetch PR diff using `tea pulls <number> -f diff` 1. Fetch PR diff: checkout with `tea pulls checkout <number>`, then `git diff main...HEAD`
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

View File

@@ -83,7 +83,10 @@ tea pulls --state closed # Closed/merged PRs
# View PR # View PR
tea pulls <number> # PR details tea pulls <number> # PR details
tea pulls <number> --comments # Include comments tea pulls <number> --comments # Include comments
tea pulls <number> -f diff # PR diff
# View PR diff (tea doesn't have a diff command, use git)
tea pulls checkout <number> # First checkout the PR branch
git diff main...HEAD # Diff against main branch
# Create PR # Create PR
tea pulls create --title "<title>" --description "<body>" tea pulls create --title "<title>" --description "<body>"