A tool to review code and give proper analysis and optimization
It is a code reviewer tool which helps analysing the code, optimising it, confidence score and trust boundaries of the same.
Tech stack
- ChatGPT
- Claude
- Claude Code
Links
Prompt
Build a full-stack AI code reviewer tool.
Requirements:
Frontend:
- Use Next.js (App Router)
- Simple UI with:
- Code input textarea
- Language selector
- “Analyze” button
- Output sections (Issues, Optimizations, Security, Improved Code, Confidence)
- Clean minimal design using Tailwind CSS
Backend:
- API route (/api/review)
- Accepts POST request with { code, language, context }
- Calls OpenAI API
AI Logic:
- Use this system prompt:
"You are a senior software engineer and security reviewer.
Analyze code and return:
1. Issues
2. Optimizations
3. Security & Trust Boundaries
4. Improved Code
5. Confidence (0–100)
Be precise, no fluff."
- Return structured JSON
Features:
- Syntax highlighting (optional)
- Loading state
- Error handling
Output:
- Provide complete folder structure
- All code files (frontend + backend)
- Environment setup instructions
- Example request/response
Constraints:
- Use JavaScript (not TypeScript)
- Keep it simple but production-ready
- No unnecessary explanations, focus on working code
18 likes · 7 comments · 4 views
Comments (7)
looks good
Awesome, I’m gonna use this myself I’ve been looking for a tool like this
that looks great man
This sounds super useful, especially for catching performance issues early.
A proper code reviewer tool like this can save devs so much time.
This would be amazing for beginners who need clear code feedback
Really cool project man!