From f8617eadda7cacd55eb1eb186171e1196a0102f6 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Wed, 11 Feb 2026 17:44:05 +0100 Subject: [PATCH] chore(skills): update review-pr with tea CLI comment posting Replace raw curl API calls with tea comment command using proper flags for non-interactive PR comment posting on Gitea. Co-Authored-By: Claude Opus 4.6 --- .claude/skills/review-pr/SKILL.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.claude/skills/review-pr/SKILL.md b/.claude/skills/review-pr/SKILL.md index a8032e5e3..6c904cada 100644 --- a/.claude/skills/review-pr/SKILL.md +++ b/.claude/skills/review-pr/SKILL.md @@ -138,6 +138,25 @@ Respond with: If no issues found, say APPROVE with a brief positive summary. ``` +## Posting results to Gitea + +After presenting results to the user, post the review as a PR comment: + +```bash +tea comment --login schweitz --repo jpmschweitzer/settled-reach "" +``` + +Use a heredoc for multi-line review bodies: +```bash +tea comment --login schweitz --repo jpmschweitzer/settled-reach "$(cat <<'REVIEW' +## Dual-Agent Review: -> main +...review content... +REVIEW +)" +``` + +Note: `tea pr reject` does not work on your own PRs. Use `tea comment` instead. + ## Tips from practice - **Vendor code**: Explicitly note vendor code in the prompt so reviewers focus