Back to articles
AntiGravity: Getting the Most Out of Agentic Coding with Rules, Skills, and Workflows
How-ToTools

AntiGravity: Getting the Most Out of Agentic Coding with Rules, Skills, and Workflows

via Dev.toMalloc72P

TL;DR AntiGravity is a VS Code fork by Google DeepMind, built for agentic coding with enhanced AI agent features. The .agent folder lets you define Rules , Skills , and Workflows to give your AI agent project-specific context. Rules set coding conventions the agent must follow (e.g., architecture, style guides). Use always_on sparingly — prefer model_decision to avoid context overload. Skills teach the agent how to solve specific problems using specific tools (e.g., using GitHub MCP to fetch commit history). Workflows automate repetitive command sequences (e.g., install → type-check → build) and can be triggered via slash commands. Key Concepts Rules: Coding Standards for Your Agent Rules live in .agent/rules/ and define principles the agent must follow. Each rule file uses frontmatter to control when it activates: --- trigger : always_on --- # Always-on rules (use sparingly) --- trigger : model_decision description : Backend rules for Server Actions, Prisma, Auth, etc. --- # Contextua

Continue reading on Dev.to

Opens in a new tab

Read Full Article
6 views

Related Articles