feat: add claude code review to ci #9
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add Claude Code Review to provide fast and clear feedback and overview for all PRs.
Context
Our team is currently constrained in capacity, and frequent code reviews . In order to increase the quality of code before it reaches human reviewers
I have used claude code review previously on Cannon, and I found it effective. It often identifies major deficienies or easily missed issues by the author and can work with a variety of changes. Here is I think a good representative example (keep in mind this is an older version and I suspect this newer version will work a lot better) usecannon/cannon#1835 (comment)
The AI will be using my (@kaze-cow )'s CoW account API key for now.
The text for this code review file was copied from anthropic's official examples
Out of Scope
This PR is focused . We can always change it later if we think that the AI could do better focusing on other issues.
The actual AI review wont appear until this PR is merged and other PRs have synchronized this file into them.
Testing Instructions
Verify that the instructions for the AI seems reasonable for now (we can always change them later). For now I have copied these instructions from the usecannon/cannon repo.