Subscribe

Analyze code and architecture diagrams in one AI review

Uses GPT-6.1 Sol to analyze code and architecture diagram images together in one comprehensive review pass.

When to use it

You're building a code review tool for engineering teams and want AI to understand both the code and the overall architecture.

Why it is worth it

Advanced reasoning plus image analysis finds issues that text-only or image-only review would miss.

The prompt

Build a code review system for our engineering team. Create a page where engineers can:
1. Paste the backend API code
2. Upload an architecture diagram showing the service dependencies
3. Click 'Review' to get AI feedback

Use the GPT-6.1 Sol model to analyze both the code and the diagram image together in one review. The feedback should:
- Identify code quality issues in the implementation
- Check how well the code aligns with the architecture diagram
- Suggest improvements for scalability and maintainability
- Note any mismatches between the design and the actual implementation

Format the results with a code review section and an architecture alignment section. Display a summary of the top 3 issues that need attention before deployment.

Swap the code and architecture diagram with your own app's code and system design.

What you get

You have a code review tool that checks both code quality and architectural alignment together.

From docs.lovable.dev/changelog#oct-15-2026

More build tips

All tips

Get the Loop every week.

New Lovable features and the prompts to use them, in one short email. Free, and you can leave any time.

Prompt copied