Skip to content

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.

Notifications You must be signed in to change notification settings

VassoD/claude-code-reviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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 <repo>
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. ๐Ÿ’ก

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages