Org-wide GitHub workflows for tanaylab.
Claude reviews every non-draft PR in an opted-in repo and posts one short review: a bulleted list of real problems (bugs, broken edge cases, leaks, security), each also attached to its line with a suggested fix. After new pushes it reviews only the new commits. It never approves or blocks a PR, and skips PRs from forks.
It calls the Claude API with a key from the lab's Console org, so it is paid from the Team plan's monthly API credit. Design: docs/superpowers/specs/2026-11-02-pr-review-design.md.
- Copy .github/workflows/review.yml to
.github/workflows/claude-review.ymlin the repo. - An org admin gives the repo access to the key: Organization settings > Secrets and variables > Actions >
ANTHROPIC_API_KEY> add the repo, or(this replaces the whole list, so include every repo that should keep access).gh secret set ANTHROPIC_API_KEY --org tanaylab --visibility selected --repos "repo1,repo2,..."
Without step 2 the workflow runs and exits with a notice, without reviewing.
Delete the workflow file from the repo, and remove the repo from the secret's list.
Each run prints its token usage in the job log. Spend shows on the pr-review workspace in the Claude Console.
uv venv -p 3.12 .venv && uv pip install -p .venv -r reviewer/requirements.txt
.venv/bin/pytest reviewer/tests -q