Shared GitHub Actions workflows and prompts for the Foxglove organization.
An AI-powered PR review that combines technical and product perspectives in a single pass. Acts as a CTO who is both a technical leader and product steward — evaluating code quality, architecture, performance, and security alongside user-facing consistency, terminology, documentation, and UX.
Prompt: prompts/review.md
Add this workflow to your repository's .github/workflows/ directory:
# .github/workflows/pr-review.yml
name: PR Review
on:
pull_request: {}
jobs:
review:
if: ${{ !github.event.pull_request.head.repo.fork }}
permissions:
actions: read
contents: read
pull-requests: write
id-token: write
uses: foxglove/actions/.github/workflows/review.yml@main
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}Note: If your repository restricts the default
GITHUB_TOKENpermissions, you may also need to add a top-levelpermissionsblock to explicitly grant the required access at the workflow level.permissions: actions: read contents: read pull-requests: write id-token: write