This project includes a JavaScript file and an automated code review system using Claude AI.
src/script.js
: Main JavaScript file.github/workflows/claude-code-review.yml
: GitHub Actions workflow for automated code reviewreview_script.py
: Python script for interfacing with Claude AI
- Ensure you have a GitHub account and have created a repository.
- Clone this repository to your local machine.
- Install the required Python packages:
pip install anthropic requests
- Set up your Anthropic API key as a secret in your GitHub repository settings. Name it
ANTHROPIC_API_KEY
.
The code review system will automatically run on every pull request. Claude AI will analyze the code changes and provide feedback as comments on the pull request.