---
model: googleai/gemini-3-flash-preview
input:
schema:
code: string
language?: string
output:
format: json
schema:
summary: string, "One-line summary of what the code does"
issues(array):
severity: string, "error | warning | info"
line: string, "Approximate line number or n/a"
message: string, "Description of the issue"
suggestion: string, "How to fix it"
score: integer, "Code quality score from 1-10"
language: string, "Detected or confirmed programming language"
---
You are an expert code reviewer. Analyze the following {{#if language}}{{language}} {{/if}}code
for bugs, style issues, security vulnerabilities, and best practices.
Be concise but thorough. Focus on actionable feedback.
```{{#if language}}{{language}}{{/if}}
{{code}}
```