Skip to content

ci: add opt-in AI PR reviewer triggered by /ai-review comment#16543

Merged
paulpopus merged 9 commits into
mainfrom
ci/add-ai-reviewer-command
May 19, 2026
Merged

ci: add opt-in AI PR reviewer triggered by /ai-review comment#16543
paulpopus merged 9 commits into
mainfrom
ci/add-ai-reviewer-command

Conversation

@paulpopus

Copy link
Copy Markdown
Contributor

Summary

  • Adds a /ai-review slash command that org members and collaborators can post on any PR to request an AI-generated code review
  • Implemented as a custom TypeScript GitHub Action (.github/actions/ai-reviewer/) compiled to dist/index.js
  • Uses Claude Sonnet 4.6 via Anthropic tool use to produce a structured review — inline file/line comments plus a summary — posted as a formal GitHub PR review
  • Reviewer prompt lives in .github/ai-reviewer-prompt.md so maintainers can tune focus without touching code
  • Prompt caching enabled; updating the prompt file automatically invalidates the cache

@paulpopus paulpopus requested a review from denolfe as a code owner May 8, 2026 03:45
@paulpopus paulpopus changed the title feat(ci): add opt-in AI PR reviewer triggered by /ai-review comment ci: add opt-in AI PR reviewer triggered by /ai-review comment May 8, 2026

@denolfe denolfe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, just a few pieces of feedback

Comment thread .github/actions/ai-reviewer/action.yml
Comment thread .github/actions/ai-reviewer/src/index.ts Outdated
Comment thread .github/workflows/ai-reviewer.yml Outdated
Comment thread .github/workflows/ai-reviewer.yml
@paulpopus paulpopus merged commit 5e3a1c5 into main May 19, 2026
19 checks passed
@paulpopus paulpopus deleted the ci/add-ai-reviewer-command branch May 19, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants