AI Features2 min read

Code review with AI

AI code review

Spinini AI can review your code for bugs, security issues, and style problems before you ship.

How to request a review

Open the Chat tab in the Spinini AI panel and ask:

"Review this file for bugs and edge cases"
"Is there anything insecure in my authentication code?"
"What could go wrong with this database query?"

The assistant will respond with a structured list of issues, each with an explanation and a suggested fix.

Right-click review

Select any block of code in the editor, right-click, and choose Ask Spinini AI → Review selection. Spinini AI opens the chat panel with your selected code pre-loaded and ready for review.

What Spinini AI looks for

  • Logic errors — off-by-one bugs, missing null checks, race conditions
  • Security issues — SQL injection, XSS, exposed secrets, insecure defaults
  • Performance — unnecessary re-renders, N+1 queries, missing indexes
  • Code quality — overly complex functions, missing error handling, dead code
  • Applying fixes

    After the review, you can ask Spinini AI to apply fixes directly:

    "Fix the issues you found"

    Spinini AI will switch to Agent mode and update the files automatically.