The prompt template for running autonomous optimization loops with Gemini 4 Neon

_philschmid · x · 2026-12-03

Phil Schmid shares the prompt template he uses to kick off optimization loops with Gemini 4 Neon: specify the target (latency / throughput / build time / bundle size / cost), run an exact benchmark command to record the baseline before any change, re-run it after every change, and only keep changes that measurably improve the metric and pass the test command with zero visual or functional regressions. He notes this pairs well with /goal or /swarm in Google Antigravity to let the loop run autonomously.

Original post →

More from coding & agent

coding & agent channel →