Beginner 11 min

Use Google Antigravity with a workspace

Review a small workspace change and confirm how its rules and skills apply.

Scope the workspace

Choose the project workspace and inspect its approval settings before starting. Describe the goal and affected screens. Use a workspace rule for conventions that apply broadly and an agent skill for a repeatable task with explicit steps.

How it works

Use a workspace that contains the files needed for one small task. Decide how you will verify the result before starting. After the change, compare the edited files with the request and preview the page yourself instead of relying only on a completion message.

Ask for evidence from the change

Request a loading and empty view for a reading list using predictable mock data. Inspect the proposed file changes and run the local preview. Compare the screen when it has zero entries with the screen when loading has yet to finish.

Keep the useful guidance

If you tried the same preview checks in several tasks, document them in a local skill with a clear name and expected result. Review its instructions and scripts before enabling it outside this workspace.

Further reading

Check your understanding

Distinguish a pending state from a successful request returning no results.

See the example and explanation
Example 1
Given The request has not completed
Answer Loading
Example 2
Given The request succeeded and returned []
Answer No entries

Show a loading indicator while waiting. After a successful empty result, explain that there are no entries and show a relevant action when available.

Open practice problem
Next lessonWrite a clear coding brief