Skip to content

Add Claude automated code review#6

Open
mattpodwysocki wants to merge 1 commit intomainfrom
add-claude-review
Open

Add Claude automated code review#6
mattpodwysocki wants to merge 1 commit intomainfrom
add-claude-review

Conversation

@mattpodwysocki
Copy link
Contributor

Summary

  • Adds .github/workflows/claude-review.yml using anthropics/claude-code-action@v1
  • Auto-reviews PRs with ≥300 changed lines; also responds to @claude mentions in PR comments
  • Uses ANTHROPIC_API_KEY repo secret — needs to be added in repo Settings → Secrets

Prompt focus areas

  1. Security — unbounded cache growth, response body size caps, no global fetch patching
  2. Correctness — BaseTool/BaseResource patterns, Zod schemas, injected httpRequest
  3. Conventions — tool/resource registration, .js import extensions, no accessToken on execute()
  4. Testing — all HTTP mocked, no real network calls in tests
  5. Dependencies — prefer Node 22+ built-ins over new packages

Setup required

Add ANTHROPIC_API_KEY to repository secrets:
Settings → Secrets and variables → Actions → New repository secret

🤖 Generated with Claude Code

Triggers on PRs with >=300 changed lines and on @claude mentions.
Uses ANTHROPIC_API_KEY repo secret (to be configured).
Prompt tailored to this repo's conventions: BaseTool/BaseResource
patterns, Zod schemas, injected httpRequest, vitest mocking rules.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mattpodwysocki mattpodwysocki requested a review from a team as a code owner March 12, 2026 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant