https://github.com/vassod/claude-code-reviewer
This project analyzes code and generates report using AI. It takes a folder of code, sends it to Claude API, and outputs result to a file.
https://github.com/vassod/claude-code-reviewer
claude claude-api codeanalysis codeanalyzer python
Last synced: 5 months ago
JSON representation
This project analyzes code and generates report using AI. It takes a folder of code, sends it to Claude API, and outputs result to a file.
- Host: GitHub
- URL: https://github.com/vassod/claude-code-reviewer
- Owner: VassoD
- Created: 2023-10-21T12:22:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-22T11:55:07.000Z (about 2 years ago)
- Last Synced: 2025-04-12T11:44:15.466Z (9 months ago)
- Topics: claude, claude-api, codeanalysis, codeanalyzer, python
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Code Analyzor 🤖
This project analyzes code and generates report using AI. It takes a folder of code, sends it to Claude API, and outputs result to a file.
## How it Works
1. 📂 Scan folder recursively for code files (py, js, etc)
2. 📜 Read each file and extract code
3. 💬 Pass code to Claude API for analysis
4. 🤖 Claude reviews code snippet and provides feedback
5. 📰 Analysis results saved to a the report.md file
## Running Locally
**Step 1:**
Clone repo and install requirements
```
git clone
pip install -r requirements.txt
```
**Step 2:**
Get Claude API key and configure
**Step 3:**
Run script on folder
```
python analyze.py /my-code-folder
```
**Step 4:**
Find output in `report.md` file 🎉
## To Do
Here are some ideas for enhancing the code analyzer:
- Summarize findings across files
- Automate fixes for certain issues
- Develop prompts and context
And more! Please contriboot if you have ideas. 💡