Home › All prompts › Coding With Gemini 4 Neon: Make It Double-Check Its Own Work

Mini pack

Free

Coding With Gemini 4 Neon: Make It Double-Check Its Own Work

Gemini 4 Neon may finish a task and tell you everything is done and working. Sometimes that's true, and sometimes it means the code looks right, which is not the same as having run it. These 9 free prompts help you set the rules for checking, make it sort every claim into ran it, read it or guessed, run real tests, rate how sure it is, review its own changes, and know when to stop.

Tell Gemini 4 Neon what it can and can't check, make it sort every claim into "ran it", "read it" or "guessed", run real tests, rate how sure it is, review its own changes, and know when to stop.

9 prompts in 4 sections. Replace everything in [BRACKETS IN CAPS], then copy and paste into your AI tool.

Download the free PDF

PDF, 16 pages

Written for use with

  • Gemini 4 Neon (in Google Antigravity or a Google AI Studio chat): all 9 prompts are pasted into a chat with Gemini 4 Neon. In Antigravity the agent can usually open project files and run commands; in an AI Studio chat it only sees what the reader pastes, so the prompts ask it to give the commands and wait for the reader to paste the output back. Prompts 1.1, 1.2, 2.1, 2.3, 3.1, 3.2 and 4.1 only read and report; 2.2 plans up to 3 tests and waits for a "go" before writing them; 4.2 adds a short handoff to a notes file, shown first. No prompt prints a key, token or password (the prompts say to write [HIDDEN] instead). The core rule: if it wasn't run, it's a guess.
  • Gemini 4 Neon facts: model code gemini-4-neon; listed in Google Antigravity for Google AI Pro (paid plans), Google AI Ultra and Gemini Enterprise (not Free or Plus), in Google AI Studio with Google AI Pro and Ultra plans, and on the paid tier of the Gemini API (not the free tier); thinking levels low, medium, high (default) and xhigh in the Gemini API, and Low, Medium (default), High and Extra in Antigravity. All checked against Google's Gemini 4 Neon model page, What's new in Gemini 4 Neon, the Gemini API release notes, the Google blog launch post, the DeepMind model card and Antigravity's Choose a model page on Nov 25, 2026.
  • Left out: all prices and benchmark scores, Google's own honesty and fabrication figures, the Antigravity Orchestrator and swarm features, long decode, context window sizes, the Gemini app, and every X post (none quoted or summarized).
  • Not repeated here: defining "done" before building points to Spec and Tests First (3.2 is its proof check against a spec); a full review before merging to Let AI Review Your AI's Code; careless-user testing to Try to Break It; undoing unasked changes to Only Change What I Asked.
  • No stats or X claims: no numbers about the model's quality, no X posts quoted, and no affiliate or sponsor copy.

Written for use with Gemini 4 Neon. Not yet tested against it.

All 9 prompts

  1. 1.1 Checking Rules for This Chat
  2. 1.2 What Can You Actually Check Here?
  3. 2.1 Sort Every Claim: Ran It, Read It or Guessed
  4. 2.2 Run the Tests for This Change and Show Me the Real Output
  5. 2.3 Check Your Own Reasoning, Step by Step
  6. 3.1 Rate Your Confidence, Part by Part
  7. 3.2 Review Your Own Changes Like a Skeptic
  8. 4.1 Sort the Findings: Fix Now, Fix Later or Ignore
  9. 4.2 Call It Done, With a Short Handoff

Section 1: Set It Up to Check

1.1 Checking Rules for This Chat

Untested: not yet run against a model.

Use this when you're starting a new coding task with Gemini 4 Neon. It's for setting simple rules at the start, so every reply says what was checked and what was guessed.

Fill in: [WHAT I WANT BUILT OR FIXED] (e.g. "the signup form doesn't show an error when the email is taken").

Before we start, here are the rules for this whole chat. Don't change any files in this reply.

The task: [WHAT I WANT BUILT OR FIXED]

Rules:
1. Never say "done", "fixed" or "working" unless you ran something that shows it. Say what you ran.
2. For every claim you make, add a label: [RAN IT] if you ran code, a command or a test and saw the result; [READ IT] if you opened the file or page and saw it; [GUESSED] if you're going from memory or what "usually" happens.
3. If you can't check something, say "I can't check this" and tell me how I can.
4. If you're not sure, say so. "I don't know" is a fine answer.
5. Don't print keys, tokens or passwords, even if you see them. Write [HIDDEN] instead.

Reply with the rules in your own words, in 5 lines or fewer, and one question about the task if anything is unclear. Then stop and wait for my "go".

Tips to customize: Paste this once at the start of each new chat. Long chats can drift, so if the labels stop showing up, paste rule 2 again. If your tool lets you pick a thinking level, a higher one gives Neon more room to check its work before it answers. When we checked on Nov 25, 2026, Antigravity's docs listed Low, Medium (the default there), High and Extra for Gemini 4 Neon, and the Gemini API docs listed low, medium, high (the default there) and xhigh. Higher levels take longer and use more, so try High first for this kind of task.

1.2 What Can You Actually Check Here?

Untested: not yet run against a model.

Use this when you're not sure if Neon can run your code, run your tests or open your app where you're using it. It's for knowing up front what it can prove and what it will have to guess.

Fill in: [WHERE I'M USING YOU] (e.g. "the Antigravity agent, opened in my project", "a chat in Google AI Studio"), [HOW I RUN MY APP AND TESTS] (e.g. "npm run dev and npm test", "I don't know").

Don't change any files and don't install anything. I want to know what you can and can't check in this setup.

Where I'm using you: [WHERE I'M USING YOU]
How I run my app and tests: [HOW I RUN MY APP AND TESTS]

Please make a table with these rows: open my project files, run commands in a terminal, run my tests, start my app, open my app in a browser, see error messages and logs.
For each row, write "yes", "no" or "not sure", and how you know. Only write "yes" if you can actually do it right now, not if you could in some other setup.
If you can, try one harmless check to prove it, like listing the files in my project folder or printing the version of the tool that runs my tests. Show me the real output.

Then tell me in 3 lines or fewer: what you'll be able to prove for me, and what I'll have to run and paste back to you. Then stop.

Tips to customize: If most rows say "no", that's normal in a chat that can't see your computer. You run the commands, then paste the output back. That still counts as checked, because something real ran. If Neon says "yes" but the harmless check fails, trust the failed check.

Section 2: Before It Says "Done"

2.1 Sort Every Claim: Ran It, Read It or Guessed

Untested: not yet run against a model.

Use this when Neon has just said a change is done and you want to know what it really checked. It's for turning a confident summary into a list of claims, each with how it was checked.

Fill in: [THE CHANGE IT JUST MADE] (e.g. "the fix for the duplicate orders bug").

Don't change any files in this step. Look back at your last replies about [THE CHANGE IT JUST MADE].

1. List every claim you made, one per line. Include small ones like "nothing else uses this function", "this library handles that" or "the page updates automatically".
2. Label each one [RAN IT], [READ IT] or [GUESSED], using these meanings: ran code or a test and saw the result; opened the file or page and saw it; going from memory or what usually happens.
3. For [RAN IT], show the command and the real result. For [READ IT], name the file or page.
4. For each [GUESSED] claim, tell me the quickest way to check it, and whether you can do that check yourself here.
5. If any claim turns out to be wrong now that you look again, say so first, at the top.
Don't defend the work. I want an honest list. Then stop.

Tips to customize: Pick the two or three [GUESSED] claims that matter most, like "this doesn't affect logins", and ask Neon to check those next. You don't need every small claim proven. If it can't run anything where you're using it, ask for the exact commands and run them yourself.

2.2 Run the Tests for This Change and Show Me the Real Output

Untested: not yet run against a model.

Use this when Neon says the tests "should pass" or there are no tests for the change at all. It's for getting tests that check this change, run for real, with the actual output pasted in.

Fill in: [THE CHANGE TO TEST] (e.g. "the new password reset page"), [HOW I RUN MY TESTS] (e.g. "npm test", "pytest", "I don't know").

I want proof that [THE CHANGE TO TEST] works, from a real test run.

How I run my tests: [HOW I RUN MY TESTS]

1. Tell me which tests already cover this change, if any. Open them before you say so.
2. If something isn't covered, plan up to 3 small tests: what each one checks, in one plain sentence. Include one that should fail if the change were missing or broken.
3. Show me the plan and the file names, then wait for my "go" before writing anything.
4. After my "go", add the tests, then run all the tests. Show me the real output, not a summary. If anything shows a key, token or password, replace it with [HIDDEN].
5. If a test fails, tell me whether the test or the code is wrong, and why. Don't change a test just to make it pass.
6. If you can't run tests here, give me the exact command to run, and wait for me to paste the output back.
Then stop.

Tips to customize: The test that "should fail if the change were missing" matters most. A test that would pass either way doesn't prove anything. If the output is very long, ask Neon to show the last 30 lines and the line with the pass and fail counts. Building a new feature from scratch? Spec and Tests First walks you through writing the tests before the code.

2.3 Check Your Own Reasoning, Step by Step

Untested: not yet run against a model.

Use this when Neon's explanation sounds sure, but you suspect it assumed things about your code. It's for making it list what it assumed and check each assumption against your real files.

Fill in: [WHAT IT EXPLAINED OR DECIDED] (e.g. "why the cart total is wrong", "why it picked this way to save the data").

Don't change any files. Go back over your reasoning about [WHAT IT EXPLAINED OR DECIDED].

1. Write your reasoning as numbered steps, one short line each.
2. Under each step, list what you assumed: file names, function names, settings, versions, how a library behaves, or what my app does.
3. Check each assumption you can by opening the file, running a safe read-only command or reading the official docs for that library. Mark each one "confirmed", "wrong" or "couldn't check".
4. If any assumption is wrong, tell me which steps fall apart and what the corrected answer is.
5. Don't print keys, tokens or passwords from any file. Say only whether a setting exists.
End with one line: does your original answer still stand, partly stand, or not stand? Then stop.

Tips to customize: Wrong file names and old library versions are common mistakes for any AI, and they're quick to check. If an assumption is about how a library works, ask Neon to name the docs page it used. If it says "couldn't check" a lot, that's useful too: those are the parts to look at yourself.

Section 3: How Sure Are You?

3.1 Rate Your Confidence, Part by Part

Untested: not yet run against a model.

Use this when you got a long answer or a big change and don't know which parts to trust. It's for a simple high, medium or low rating on each part, with what you should check yourself.

Fill in: [THE ANSWER OR CHANGE] (e.g. "your plan for adding login", "the changes you made to checkout").

Don't change any files. Split [THE ANSWER OR CHANGE] into its main parts, up to 8.

For each part, give me:
1. A rating: high, medium or low confidence.
2. One plain sentence on why, like "I ran the test", "I read the file but didn't run it" or "I'm going from how this usually works".
3. What would make you more sure.
4. One thing I should check myself, in a way a beginner can do, like clicking a button and what I should see.

Be strict. Don't rate anything "high" unless something actually ran and showed it works.
Then list the low-confidence parts again at the bottom, worst first. Then stop.

Tips to customize: Do the "check it yourself" step for anything rated low or medium that touches logins, payments or saved data. If every part comes back "high", ask: "Which part are you least sure about, and why?" There's almost always one.

3.2 Review Your Own Changes Like a Skeptic

Untested: not yet run against a model.

Use this when Neon has just changed your code and you're about to move on. It's for having it read its own diff as a tough reviewer and name the bugs most likely to be hiding there.

Fill in: [THE CHANGE] (e.g. "the new search filter").

Don't change any files in this step. Look at the diff for [THE CHANGE]: every line you added, removed or changed. If you can't see the diff here, ask me to paste it and stop.

Pretend someone else wrote this and you're a careful senior developer who expects to find problems.
1. List the 3 most likely bugs, worst first. For each one: the file and line, what could go wrong in plain words, and what a user would see.
2. For each bug, give one quick check that would prove it's real or not, like a test, a command or something to click.
3. Run those checks if you can here, and say "real", "not real" or "couldn't check", with the result.
4. List anything you changed that I didn't ask for.
Don't fix anything yet. Just report. Then stop.

Tips to customize: The "check that proves it" part keeps this from being a list of worries. For a bigger review before you merge, with a checklist for your whole project, use Let AI Review Your AI's Code. If it finds changes you didn't ask for, Only Change What I Asked shows how to undo just those.

Section 4: Know When to Stop

4.1 Sort the Findings: Fix Now, Fix Later or Ignore

Untested: not yet run against a model.

Use this when the checks and reviews gave you a long list and you don't know what really matters. It's for sorting every finding into three groups, so you fix what counts and stop there.

Fill in: [THE FINDINGS] (paste the list, or "the bugs and low-confidence parts you found above"), [WHAT THIS APP IS FOR] (e.g. "a small booking app for my mom's salon").

Don't change any files. Here's what we found: [THE FINDINGS]
What this app is for: [WHAT THIS APP IS FOR]

Sort every finding into one of three groups:
1. Fix now: it breaks what the user asked for, loses or exposes data, or affects logins or payments.
2. Fix later: real, but rare or small. Write each as a one-line to-do.
3. Ignore: style, nice-to-haves or things that only matter for a much bigger app. Say why in a few words.

Only put something in "fix now" if it's been checked as real, or it's serious enough to check first. Mark any that still need checking.
Give me the "fix now" list in order, with one line each on the smallest safe fix. Don't start fixing. Then stop.

Tips to customize: A short "fix now" list is a good sign, not a sign the review was lazy. Fix one item at a time and run prompt 2.2 after each. Keep the "fix later" list in a notes file so it doesn't get lost.

4.2 Call It Done, With a Short Handoff

Untested: not yet run against a model.

Use this when the "fix now" list is done, or Neon keeps finding one more thing to change. It's for stopping all edits and getting a short, honest summary of what's finished and what isn't.

Fill in: [THE TASK] (e.g. "fixing the duplicate orders bug"), [NOTES FILE NAME] (e.g. "NOTES.md").

We're finishing [THE TASK] now. Don't change any more code.

Write a short handoff, under 15 lines:
1. Done and checked: what was finished, and how each part was checked (test name, command or what I clicked).
2. Done but not checked: anything finished that nothing has run yet.
3. Not done: anything left from the task.
4. Fix later: the to-dos we parked.
5. How to check it again: the exact command to run the tests, and one thing to try by hand.
No keys, tokens or passwords.

Show me the handoff. If I say "go", add it to the end of [NOTES FILE NAME], keeping everything already there. Don't start any new work after that. Then stop.

Tips to customize: If "done but not checked" isn't empty, run those checks before you share or publish the change. If Neon starts suggesting new improvements, reply: "Add it to fix later and stop." Next time you pick up this project, paste the handoff into a new chat with prompt 1.1, so you start where you left off.

Get new free packs in your inbox

Optional. Every prompt here is free, and you don't need to sign up to use any of them. We email when we add new free packs. Unsubscribe anytime.

More free packs: Vibe Code Starter Pack Ship It Safe Fix My Bugs Ship It Live Make It Pretty Get Paid Signup Emails That Actually Arrive Lovable Credit Saver One Rules File for Every AI Tool Make Your Claude Code Limit Last Graduate From Lovable First App Store Submission Survive Your First Traffic Spike Get Found on Google First 100 Users Two AIs, One Project It Broke in Production Hit the Slop Wall? Refactor Without Breaking Everything Vibe Code From Your Phone AI Reverse Engineering Run Several AI Agents at Once Claude Code Guardrails Let AI Review Your AI's Code Make Your Cursor Usage Last Privacy Policy and Terms That Match Your App Install Skills, Plugins and MCP Servers Without Getting Burned Say What You Mean Prompt Injection: Don't Let a Web Page or a Strange File Hijack Your Agent Hit Your Limit Mid-Task? Switch AI Tools Without Losing Your Place Don't Let the AI Delete Your Data: Safe Database Changes Make the AI Teach You While It Builds Bolt Token Saver v0 to Production Claude Code Subagents and Skills for Beginners Logins, Tokens and JWTs in Plain English Put Your Web App on Their Phone Add AI Features in Lovable Is Anyone Using It? Simple Analytics for Vibe Coders Use the Cheap Model for the Easy Stuff: Claude Code Model Mixing Ship Updates Without Breaking the Live App: Preview Links, Checks and One-Click Rollback Try to Break It: Stress-Test Your App Before Strangers Do Claude Code Memory: Stop It Forgetting Your Decisions Fix Your Lovable Security Warnings Without Breaking the Live App What Will My App Cost to Run? A Monthly Bill You Can Predict Leave Claude Code Running Without It Getting Stuck Put Your Lovable App on Autopilot: Automations That Check and Report for You Spec and Tests First: Tell the Agent When It's Done Only Change What I Asked: Stop the AI Rewriting Code You Didn't Mention Stop Getting 429'd: Call Other People's APIs Without Hitting Limits Use the Current Version: Stop the AI Writing Outdated Library Code What Did My Agent Actually Do? Read Your Claude Code Session History Your First Google Play Launch: Get Through the 12-Tester, 14-Day Closed Test Will Anyone Want It? Check Your App Idea Before You Build Claude Code Code Mode: Try It Without Breaking Your Safety Checks Understand the App You Already Built: A Guided Tour of Your Own Code Your Guess Might Be Wrong: Make the AI Find the Real Cause Before It Fixes Replit Missions: Give Agents a Goal, a Budget and Approval Rules Make Your Antigravity Quota Last: Pick the Right Gemini Model and Check /usage Turn a Claude Artifact Into a Desktop App, Without Giving It Too Much Access Built It for Work? Make Sure Only Your Team Can Open It Plan Before It Builds: Use GitHub Spec Kit So the Agent Builds the Right Thing Saves That Stick: Fix Data That Disappears Rebuilt Your Site With AI? Make Sure Google Can Still See Every Page Subscriptions and Paywalls: Gate Features by Plan Your AI App Builder Is Shutting Down: Get Your Code, Data and Domain Out Your Own Android App From a Prompt: Build It in Google AI Studio and Put It on Your Phone Backups You Can Actually Restore: Check, Copy and Test Your Supabase Data Accessibility Pass Before You Ship: Make Your App Work With a Keyboard, a Screen Reader and Zoom Update Your Dependencies Without Breaking the App: npm Updates, Audits, Major Upgrades and Dependabot