AG
Gemini & Antigravity v2.0 Agentic Engineering Guide
🛠️ Agentic Productivity Scaffolder

Skills & Rules Artifact Generator

Quickly configure compliant SKILL.md and GEMINI.md files adhering to Google DeepMind Antigravity customization guidelines, complete with YAML frontmatter, execution workflows, and safety guardrails.

Artifact Configuration

.agents/skills/autonomous-refactor/SKILL.md
---
name: autonomous-refactor
description: "Automates dependency analysis, atomic code diffing, and end-to-end regression testing during major refactoring"
---

# AUTONOMOUS-REFACTOR Specification

When the user triggers this skill or tasks match this intent, execute the following protocol:

## 1. Authorized Tools
- `run_command`
- `replace_file_content`
- `grep_search`

## 2. Standard Workflow
1. **Phase 1: Exploration & Impact Analysis**
   Scan all referencing files using grep_search to extract current signatures and call sites

2. **Phase 2: Atomic Implementation**
   Apply atomic block diffs via replace_file_content. Never overwrite entire files blindly

3. **Phase 3: Verification & Closure**
   Execute local test suite (npm test) and verify builds; self-heal any syntax or type regressions

## 3. Guardrails & Restrictions
> [!CAUTION]
> Never commit credentials or edit production configs directly. Declare all breaking changes explicitly
💡 Tip: Save the generated SKILL.md under your project's .agents/skills/autonomous-refactor/ directory. Antigravity will index and trigger it on demand.