.agents/rules/antigravity-ai-art-generation.md. Downloaded files need to be placed in that repository path.--- trigger: glob globs: "**/*" --- Generate AI art: 1. Create prompts 2. Implement APIs 3. Generate variations 4. Add post-processing 5. Create galleries 6. Implement caching 7. Add documentation 8. Generate examples
Antigravity
ai-art
Google describes Antigravity as its agentic development platform. Antigravity reads workspace rules from AGENTS.md or GEMINI.md and from Markdown files in .agents/rules/, with a trigger front matter field that sets when a rule is active. Global rules live under ~/.gemini/.
.agents/rules/antigravity-ai-art-generation.mdStarting point, not a tested configuration for your repository. Active when files matching globs are involved (trigger: glob). Review the instructions, adapt the file paths and run your project's existing checks.
--- trigger: glob globs: "**/*" --- Generate AI art: 1. Create prompts 2. Implement APIs 3. Generate variations 4. Add post-processing 5. Create galleries 6. Implement caching 7. Add documentation 8. Generate examples
Ask for a small change to one matching file. Check the tool's loaded context or instruction view, inspect the diff for the requested convention, and run the relevant build or test. A well-formatted file does not guarantee the model follows every instruction.
Antigravity truncates any single rule file over 24,000 bytes, and global plus always_on rules share a 20,000-token budget, according to the docs. AGENTS.md (or GEMINI.md) in a workspace directory is one of the documented rule locations, and ~/.gemini/AGENTS.md works globally. Use .agents/rules/ when a rule should only apply in some situations.
Documentation checked 2026-11-05: Google Antigravity docs: Rules