Files
architecture/commands/review-pr.md
Hugo Nijhuis 00bdd1deba Include comments when viewing issues and PRs
Updated work-issue and review-pr commands to use --comments flag,
ensuring discussion context is available when working on issues or
reviewing pull requests.

Closes #32

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 12:59:27 +01:00

1.0 KiB

description, argument-hint
description argument-hint
Review a Gitea pull request. Fetches PR details, diff, and comments. <pr-number>

Review PR #$1

@~/.claude/skills/gitea/SKILL.md

  1. View PR details with --comments flag to see description, metadata, and discussion
  2. Get the diff to review the changes

Review the changes and provide feedback on:

  • Code quality
  • Potential bugs
  • Test coverage
  • Documentation

Ask the user what action to take:

  • Merge: Post review summary as comment, then merge with rebase style
  • Request changes: Leave feedback without merging
  • Comment only: Add a comment for discussion

Merging

Always use tea CLI for merges to preserve user attribution:

tea pulls merge <number> --style rebase

For review comments, use tea comment since tea pulls review is interactive-only:

tea comment <number> "<review summary>"

Warning

: Never use the Gitea API with admin credentials for user-facing operations like merging. This causes the merge to be attributed to the admin account instead of the user.