Skip to content
Vibe Bro’sENCYCLOPEDIA

VIBE BRO’S PROMPT PLAYBOOK

Diagnose a slow query with evidence

A focused prompt for database engineering with explicit scope, realistic failure cases, and verification.

Your build starts here

Replace bracketed details with your own goal, context, and checks. Keep the first build small enough to inspect.

THE COMPLETE TEMPLATE
Investigate [query or slow user action] against [representative dataset and environment]. Separate connection wait, database execution, data transfer, and application processing where possible. Inspect the query plan and explain the observed bottleneck using actual row counts and timings. Check whether diagnostic commands execute writes before running them. Make a focused improvement, compare the same parameters before and after, and verify equivalent results. Report the measurement conditions, relevant index or query tradeoffs, and any workload assumptions that remain untested.

Make this prompt yours

Replace bracketed fields with your goal, current behavior, and relevant evidence. Keep requirements that affect the task. Check the result against the acceptance criteria you supplied.

The docs behind it

These references explain the underlying concepts and APIs. The prompt templates and project plans are original examples to adapt to your own setup.

Editorial review · October 28, 2026

Limited: Original instructional template; not executed. Diagnostic prompt correctly asks whether measurement executes writes and requires equivalent results; no benchmark was run.

Read the content review record.

Keep the momentum going