Windsurf is Devin, Gemini CLI is Antigravity: where your rules go now

3 min readpresets.dev
  • windsurf
  • devin
  • gemini-cli
  • antigravity
  • migration
On this page

June 2026 moved two popular AI coding tools at once. If your rules or skills stopped behaving the way you expect, or a guide you're following names folders that no longer match the docs, this is why.

What happened

  • June 2, 2026: Windsurf became Devin Desktop, delivered as an over-the-air update (Devin Desktop FAQ).
  • June 18, 2026: Gemini CLI stopped serving personal accounts (free, Google AI Pro and Google AI Ultra). Google's replacement is Antigravity CLI (agy). Enterprise Gemini Code Assist and API-key users kept Gemini CLI access (announcement, Google Developers Blog).

Windsurf → Devin Desktop

Good news: nothing breaks. Devin Desktop still reads your Windsurf rules. What changed is the preferred location.

WhatBefore (Windsurf)Now (Devin Desktop)
Rule files.windsurf/rules/*.md.devin/rules/*.md (preferred; .windsurf/rules/ still loads)
Project always-on file.windsurf/global_rules.md.devin/global_rules.md (wins if both exist)
Single-file rules.windsurfrulesStill read; there's no .devinrules
Skills.windsurf/skills/.devin/skills/ or .agents/skills/ (legacy still read)
Global rulesWindsurf global rules~/.devin/rules/*.md, ~/.devin/global_rules.md
Global skills~/.config/devin/skills/ or ~/.agents/skills/
AGENTS.mdReadRead, plus AGENT.md and AGENTS.local.md

The frontmatter didn't change: trigger is still always_on, glob, model_decision or manual (Devin customizations).

The one thing to avoid: keeping the same rule in both .devin/rules/ and .windsurf/rules/. Both folders load, so you get it twice. If you move a file, delete the old copy.

Devin Desktop's local agent shares its harness with Devin CLI, so rules and skills you write work in both.

Gemini CLI → Antigravity CLI

Antigravity CLI keeps the core Gemini CLI concepts: skills, hooks, subagents, and extensions (now plugins). On first launch it offers to import your Gemini configuration (migration guide).

WhatGemini CLIAntigravity CLI
Project instructionsGEMINI.mdGEMINI.md and AGENTS.md, both always on
Modular rules.agents/rules/*.md with a required trigger
Workspace skills.gemini/skills/.agents/skills/ (move this folder)
Global skills~/.gemini/skills/~/.gemini/antigravity-cli/skills/ (CLI), ~/.gemini/config/skills/ (shared with the app); ~/.gemini/skills/ is still read by the CLI
ExtensionsExtensionsPlugins: agy plugin import gemini

The action item: if your project has .gemini/skills/, move it to .agents/skills/. Antigravity CLI won't treat the old folder as workspace skills.

Two Antigravity behaviors to know (rules docs):

  • Cumulative rules. GEMINI.md and AGENTS.md both load. Don't paste the same section into both.
  • Up, not down. Rules load from your start folder up to the repo root. A packages/api/GEMINI.md doesn't load if you start at the root.

And the limits: 24,000 bytes per rule file, and 20,000 tokens across always-on rules before the largest are demoted to pointers. Check with /context.

What we changed on presets.dev

  • Windsurf presets install to .devin/. The CLI flag is still --tool windsurf, since that's the name most people know, and it never writes to .windsurf/.
  • Our antigravity presets target Antigravity CLI. Standards append to GEMINI.md (or AGENTS.md with --agents-md), and skills go to .agents/skills/. There's no separate Gemini CLI preset set.
npx presets-dev add nextjs --tool windsurf
npx presets-dev add nextjs --tool antigravity

A quick migration checklist

  1. Devin: move .windsurf/rules/ to .devin/rules/ if you want a clean setup, then delete the old folder.
  2. Devin: move .windsurf/skills/ to .devin/skills/ or .agents/skills/.
  3. Antigravity: move .gemini/skills/ to .agents/skills/.
  4. Antigravity: make sure no section exists in both GEMINI.md and AGENTS.md.
  5. Both: start a fresh session and check what loaded (Devin: Customize page; Antigravity CLI: /context, /rules, /skills).

Full setup guides: Windsurf / Devin and Antigravity CLI.