◉ANTIGRAVITY LABJP
ARTICLES

All Articles

All (1167)◉ Antigravity Basics (173)⟐ Editor View (91)◈ Agents & Manager (293)⬡ Integrations (154)▣ App Development (250)⚙ AI Tools (84)✦ Tips & Best Practices (122)
✦ Tips & Best Practices/2026-10-15Intermediate

The Images Weren't Broken, My Way of Checking Them Was: Doubting the iframe First, Then Reading currentSrc

A record of misdiagnosing healthy images as unloaded because I audited them through an iframe in a separate tab. In a hidden frame, naturalWidth reads 0 at a rendered width of 0, and lazy images never start. Here are the numbers I reproduced locally, an audit script that reads currentSrc and rendered width on the real page, and the trap of bulk-replacing CSS values with a regex.

✦ Tips & Best Practices/2026-10-13Intermediate

After Dropbox Moved Under CloudStorage, Check That Your node_modules Exclusion Still Works

Dropbox's help page gives different ignore commands for the macOS File Provider build. Before handing dependency installs to an agent, here is how to check that your exclusion works: a dry-run-first shell script, and what I observed when running npm ci against a flagged directory.

✦ Tips & Best Practices/2026-10-09Beginner

Fold Your Request into Five Lines Before You Paste the Long Notes

Pasting meeting notes straight into an agent gives you blurry results. Here is a five-line shape — goal, material, scope, finished form, check — and a small script that confirms all five lines are filled in.

✦ Tips & Best Practices/2026-09-22Beginner

Don't Leave Your Chat Records to the Export Button — Three Routes for the Night It Does Nothing

Three ways to keep a record of your Antigravity conversations when the Export button does nothing at all: how to tell a broken button from a silent success, how to locate the conversation file in your own environment by modification time, and how to decide what to keep before the session ends.

✦ Tips & Best Practices/2026-09-16Beginner

The Day the Upload to Agent Overlay Took Every Drop, and How I Got File Handling Back

A full-window Upload to Agent overlay intercepts every drop, so files never reach the integrated terminal or the explorer sidebar. Here are the two workarounds the community found, plus three ways to hand over a path without dragging.

✦ Tips & Best Practices/2026-09-07Beginner

When the few lines you quoted stop making sense in the next prompt

Antigravity 2.12.0 lets you quote part of a response into your next prompt, but the definitions those lines depend on stay behind. Here is a small script that counts what got left out, plus the widths I actually measured.

✦ Tips & Best Practices/2026-09-02Intermediate

The work-root guard I run before letting an agent near several repositories

When several repositories share one machine, an agent's working root is remarkably easy to mix up. Here is a small guard that compares resolved paths, tested against seven inputs.

✦ Tips & Best Practices/2026-08-31Beginner

One Argument Now Switches Your Model in Antigravity CLI — and Rewrites Your Default Too

In CLI v1.1.22, /model takes an argument, switches instantly, and saves that model as your default in the same stroke. Here is the forget-to-switch-back trap that comes with it, and the start-of-session habit that fixed it for me.

✦ Tips & Best Practices/2026-08-30Intermediate

Before You Narrow the Page Range in Antigravity 2.11.0, Find Your Resolution Floor

I measured the new page range and MediaResolution options in view_file against a 240-page document. Resolution moved the numbers more than the page range did, and setting it too low drops words without raising a single error.

✦ Tips & Best Practices/2026-08-25Beginner

What I Line Up in PowerShell Before Letting Antigravity Agents Run Commands on Windows

Bash-shaped commands from Antigravity agents break in Windows PowerShell. I measured four gaps (&&, the curl alias, exit codes, output encoding), then built a symptom-first triage table, a preflight script that tells 5.1 from 7, and the rules file I keep so agents stop repeating the same mistakes.

✦ Tips & Best Practices/2026-08-24Intermediate

Four Reasons Your .antigravityignore Rules Are Not Taking Effect

Rules that quietly do nothing, and rules that swallow the whole repository. Four causes behind both, each checked against a gitignore-style matcher, plus a symptom-first triage table and why secrets belong in a deny rule instead.

✦ Tips & Best Practices/2026-08-21Beginner

The pipe in my wrapper was swallowing Antigravity CLI's exit code

CLI 1.1.14 turns language server failures into a non-zero exit, but a bash wrapper can still report green. I measured sixteen calling patterns on bash 5.1, traced the three causes, and covered where set -e goes quiet inside functions, why pipefail can start returning 141, and a symptom-first triage table.