feat: code-review-tea — Gitea/tea fork of Anthropic's code-review plugin #10
Reference in New Issue
Block a user
Delete Branch "plugin/code-review-tea"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Project-local Claude Code plugin that forks Anthropic's
code-reviewplugin (credit: Boris Cherny,boris@anthropic.com, fromclaude-plugins-official) from the GitHub CLI (gh) to the Gitea CLI (tea), so code review works against this self-hosted Gitea instance.The upstream plugin is GitHub/
gh-only (itsallowed-tools, PR-fetching, and comment-posting all callgh), so it can't run here as-is. This fork swaps the fiveghcontact points forteaequivalents and changes code-link URLs from GitHub'sblob/SHA/path#Lto Gitea'ssrc/commit/SHA/path#L. The review pattern (5 parallel agents → 0–100 confidence scoring → ≥80 filter → posted comment) is unchanged.Files
.claude/plugins/code-review-tea/.claude-plugin/plugin.json— manifest, credits Boris Cherny/Anthropic.claude/plugins/code-review-tea/commands/code-review.md— the 8-step review command (gh→tea).claude/plugins/code-review-tea/commands/RESOLVED_INVOCATION.md— verifiedteacalls from the smoke test.claude/plugins/code-review-tea/README.md— credit, why-fork, usage, differences-from-upstream tableCLAUDE.md— one-line "Code Review" section pointing at the plugindocs/superpowers/plans/2026-06-27-code-review-tea-plugin.md— the implementation planLoading (repo-local plugins are not auto-discovered)
Invoke as
/code-review-tea:code-review(namespaced).Verification
claude plugin validate .claude/plugins/code-review-tea→ passes (one cosmetic warning: thecontributorscredit field is ignored, kept for provenance)tea api -F body=@-withsrc/commit/<sha>#Llinks resolving HTTP 200. Comment still readable at #9 (comment)Corrections baked in during the build (vs. a naive port)
-F(typed field) not-f(which posts literal@-) for comment body/repos/prefix required on the comment endpointtea pulls --fields diffreturns empty in 0.14.1 → diff viagit diff origin/<base>...origin/<head>commands/at plugin root, not inside.claude-plugin/Incorporate findings from Task 2 verification: - -F (typed field) reads @-/@file; -f posts literal '@-'. Use -F. - Endpoint requires /repos/ prefix: /repos/{owner}/{repo}/... - tea pulls --fields diff returns empty in tea 0.14.1 -> use git diff - SHA must be remote-present (PR headSha); local-only SHA 404s - tea api prints JSON to stdout; -o is file-output not format Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>### Code review
No issues found. Checked for bugs and CLAUDE.md compliance.
🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.