How to plan a change in Antigravity with /plan and /grill-me

Day 2, 25 minutes · beginner

Goal of this lessonLet the agent interview you, write an implementation plan for a second page, change the plan with a comment and approve it before any file changes.

Why it matters

In Google Antigravity, a short request leaves many choices open. "Add a page about what to bring" does not say which items, which wording, where the link goes or how dates should look. If you just send it, the agent fills every gap with its own guess, and you find out what it guessed only when the files have already changed.

Antigravity has two commands that close those gaps before any work starts. One makes the agent ask you questions, one at a time. The other makes it write a plan that you can read, comment on and approve. Fixing a sentence in a plan costs you ten seconds. Fixing a finished page costs you another round of agent work and quota.

Today Marijke wants a second page that tells visitors what they can bring, plus the dates of the next six repair sessions on the home page. At the end you have both, built from a plan you approved yourself.

Two commands, one prompt

  • /grill-me makes the agent interview you. It asks one question at a time and puts its recommended answer first. It reads your files itself, so it does not ask what the code already answers.
  • /plan makes the agent look around first without changing anything, then write an implementation plan: a document with the changes it intends to make and how it will check them.

You can put both at the start of one prompt: /plan /grill-me and then your task. The agent interviews you, writes the plan from your answers and then waits. Antigravity's docs say that after a /plan, the agent always waits for your approval before it changes code, whatever your settings are. Both commands work on every plan, the free plan included.

Words you will meet

  • Artifact: a document the agent makes to show its thinking or its work, such as a plan, a walkthrough or a screenshot. Artifacts are listed in the Overview panel at the top right of each conversation.
  • Walkthrough: the short summary the agent writes when it finishes, so you can see what changed without following every step.
  • Proceed: the button on the plan's card that tells the agent to start building.

The steps

  1. Start a fresh conversation in the project. A new conversation starts without the history of the first one.
  2. Send the task with /plan /grill-me in front. The task says what the page contains and which dates to add, but leaves some choices open on purpose.
  3. Answer the questions. Take the recommended answer when it fits and type your own when it does not. A good answer is short and decides one thing.
  4. Read the plan as a checklist. Does it name both files? Does it say what goes in the menu? Does it say how the agent will check its work?
  5. Comment on what is wrong. Select the words you want changed and write what you want instead. Comments are sent with your next message.
  6. Approve with Proceed only when the plan matches what you want. Until then, nothing in your folder changes.
  7. Read the walkthrough and check the pages yourself in your browser.

Follow the guide for Google Antigravity below.

Example: Marijke's plan

The agent asked three questions. Should bring.html use the same style.css? (Recommended: yes. She took it.) Should the session list show the year? (She typed: yes, write each date as Saturday 9 January 2027.) Should past sessions disappear by themselves? (Recommended: no, that needs JavaScript; she took it.)

The plan listed two file changes and a check: open both pages and compare the menu. One line said "Bikes (small repairs)". Marijke selected it and commented: "Just Bikes, we do all bike repairs except electric motors." The second plan had her wording. She clicked Proceed. The walkthrough listed bring.html as new and index.html as changed, with the six dates.

When to plan and when not

Use /plan for changes that touch more than one file, or when you are not sure yet what you want. For a one-line fix, such as a typo, a plain prompt is quicker. Planning also uses quota, so on the free plan save it for changes that need it.

Common mistakes

  • Clicking Proceed without reading. The plan is the cheapest moment to change your mind.
  • Long answers to the interview. Each answer should settle one choice. Put extra wishes in a comment on the plan.
  • Writing a new prompt instead of commenting. A comment is tied to the exact line in the plan, so the agent knows what you mean.
  • Expecting the agent to remember yesterday. Each conversation starts fresh. Lesson 4 shows how to give it rules that every conversation reads.

Deeper dive

Today's actions

Ticks are not saved without an account

Do it in Google Antigravity

Google Antigravity

  1. Open the brambleford-fixit-cafe project in Antigravity and start a new conversation with Cmd + N on a Mac or Ctrl + N on Windows and Linux.
  2. Paste this task in the message box and press Enter. The two commands at the start ask for an interview first and a written plan after it.
    /plan /grill-me Add a second page, bring.html, called "What can I bring?". It explains what our volunteers repair (small electrics, bikes, clothes, toys), what to bring along (the charger, spare parts if you have them, a description of the fault) and what we cannot repair (phones, anything that runs on gas). Also add a list of the next six sessions to index.html: 9 January, 13 February, 13 March, 10 April, 8 May and 12 June 2027, all from 10:00 to 13:00. Both pages get the same menu with links to each other.
  3. Each question appears in a card above the message box, with the recommended answer first. Pick an answer, or type your own in Other (write your answer), and click Submit.
  4. When the questions stop, the agent writes an implementation plan. Open it from its card in the conversation, or from Artifacts in the Overview panel at the top right.
  5. Select the words in the plan that you want changed and add a comment, for example that the dates must be written as Saturday 9 January 2027. A chip such as 1 Comment appears above the message box.
  6. Send a short message such as Update the plan with my comment. Read the new version of the plan.
  7. When the plan says what you want, click Proceed on the plan's card. The agent now changes the files.
  8. When it is done, open the walkthrough from Artifacts in the Overview panel. Then open bring.html and index.html from the folder in your own browser and check the menu and the dates.

Note: /plan and /grill-me work on every plan, the free plan included. After a /plan the agent always waits for your approval before it changes code, whatever your review policy in Settings, General is. If the plan card shows no Proceed button, reply proceed in the message box.

Checked on 4 December 2026 · Source: Antigravity docs: Plan (/plan) (opens in a new tab)

Create a free account to save your progress. Sign in or sign up