Posts

Showing posts with the label AI Tools

Global Rules for Antigravity Users: A Better Way to Work With AI Coding Agents

If you've ever worked with an AI coding agent like Antigravity across a real project, you've probably run into the same repeated problem: you keep re-typing the same instructions in every single prompt. "Don't hardcode values." "Cite the actual file and line." "Don't break existing tests." "Give me a table, not a wall of text." Eventually you realize these aren't one-off preferences — they're rules that should apply to every task, every time, without you having to restate them. Here's a practical set of global rules that came out of exactly that realization, refined across several real review and refactor tasks on a production codebase. Set these once as your agent's standing context, and your day-to-day prompts can shrink down to just the task itself. Why Global Rules Matter More Than Clever Prompts A single well-written prompt only helps once. The moment you start a new session, or hand off a task to a teammate u...