Prompts for Gemini: specify goal + format, iterate

Practical Gemini prompt templates focused on format, constraints, and iteration loops.

What changes with this model

Even if prompt structure is similar, each model has biases: some follow strict instructions better, some are more creative, and some need examples. These templates are designed to reduce ambiguity and improve consistency.

Recommendation: define output format (ideally with a checklist), add constraints, and if you need precision, use few-shot or require strict JSON.

Quick tips
Templates
Strict JSON extraction
Return ONLY JSON.
Schema: {"items":[{"name":"string","value":"number|null"}]}
Text:
"""[paste]"""
Opens on home with the prompt prefilled.
Open in Promptea
Compare options table
Compare these options: [A, B, C]
Output as a table with columns: Option | Pros | Cons | Risks | Best for.
Opens on home with the prompt prefilled.
Open in Promptea
FAQ
How do I avoid verbose outputs?
Set a max length (e.g., '<= 120 words') or fixed number of bullets/rows.