Skip to content

Antigravity Formatter

PropertyValue
TierCustom
Main output.agent/rules/project.md
Dot directory.agent/
SkillsNo
AgentsNo
CommandsYes (.agent/workflows/<name>.md)
Local filesNo

Output Files

FilePathPurpose
Main instructions.agent/rules/project.mdPrimary rule file
Workflows.agent/workflows/<name>.mdWorkflow shortcuts; simple commands remain inline
MCP servers.agents/mcp_config.jsonMCP server config

Supported Features

FeatureSupported
Markdown OutputYes
MDC FormatNo
Code BlocksYes
Mermaid DiagramsYes
Single File OutputYes
Multiple Rule FilesYes
Workflow FilesYes
Nested Directory StructurePlanned
YAML FrontmatterYes
Description in FrontmatterYes
Globs in FrontmatterYes
Activation TypeYes
Glob Pattern TargetingYes
Always Apply RulesYes
Manual ActivationYes
Auto/Model ActivationYes
Structured ExamplesYes
Character Limit ValidationYes
Content Section SplittingYes
Guard DependenciesYes
Context File InclusionNo
@-MentionsNo
Tool IntegrationNo
Path-Specific RulesYes
Prompt FilesNo
Slash CommandsYes
SkillsNo
Agent InstructionsNo
Local MemoryNo
Nested MemoryPlanned

Limitations & Quirks

  • Has a 12,000 character limit per rule file - content validation warns when exceeded
  • Three activation types: always (default), auto (model decides), manual (user invokes)
  • Supports workflows (.agent/workflows/*.md) generated from @shortcuts blocks with steps
  • Uses nested directory structure: .agent/rules/ with glob-based file targeting
  • YAML frontmatter includes description, globs, and alwaysApply fields
  • @shortcuts with steps arrays produce Markdown workflow files; without steps they remain inline

Example Output

project-root/
└── .agent/
├── rules/
│ ├── project.md # Main rules
│ └── frontend.md # Path-specific rules
└── workflows/
└── deploy.md # Workflow definition

Official Documentation