Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix(skill): add retry guard to prevent intra-run duplicate reviews (#1322)
worktrunk-botca076266fa89
diff --git a/.claude/skills/review-pr/SKILL.md b/.claude/skills/review-pr/SKILL.mdindex c0610004a..cb82d4f5b 100644--- a/.claude/skills/review-pr/SKILL.md+++ b/.claude/skills/review-pr/SKILL.md@@ -283,9 +283,16 @@ approach:#### Posting-Submit **one formal review per run** via `gh pr review`. Note that `--comment`-requires a non-empty body (`-b ""` fails) — if there's nothing to say, use the-approve-with-empty-body pattern instead.+Post exactly one review per run. API calls can succeed server-side while+appearing to hang, so always verify before calling `gh pr review`:+```bash+gh api "repos/$REPO/pulls/<number>/reviews" \+ --jq "[.[] | select(.user.login == \"$BOT_LOGIN\" and .commit_id == \"$HEAD_SHA\")] | last | .submitted_at // empty"+```+If this returns a timestamp, the review is already posted — you're done.+Otherwise, submit via `gh pr review`. Note that `--comment` requires a non-empty+body (`-b ""` fails) — if there's nothing to say, use the approve-with-empty-body+pattern instead.- Always give a verdict: **approve** or **comment**. Don't use "request changes"(that implies authority to block).