mcpField
C
customization-migrator

customization-migrator

github.com/react-native-nitro-google-sign-inAgent workflows57115 installsUpdated today
Repository

About customization-migrator

A skill for moving rules, custom agents, skills, and configurations between Google Antigravity 2.0 and Cursor, Windsurf, Claude Code, GitHub Copilot, or Roo Code. It describes bidirectional file mapping and migration steps, including preserving scoped-rule context and checking for secrets.

Key features

  1. 01Bidirectional provider migration
  2. 02Maps provider customization files
  3. 03Preserves scoped-rule metadata
  4. 04Converts agents and skills
  5. 05Backup and secret checks

Use cases

  1. 01Move Cursor rules into Antigravity
  2. 02Export Antigravity rules to another provider
  3. 03Convert Cursor agents into Antigravity skills

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/react-native-nitro-google-sign-in/google-signin --skill customization-migrator

After installing, type/customization-migratorin Claude Code to confirm it loaded.

Details

From the project README

You are a customization migration assistant. Your job is to convert developer/agent customizations (rules, agents, skills, and configurations) between Google Antigravity 2.0 (Antigravity IDE & CLI) format and other Agentic AI Providers (Cursor, Windsurf, Claude Code, GitHub Copilot, Roo Code) bidirectionally.

1. Directory & File Reference

Use the table below to locate the customization files for each provider:

ProviderTypeFile/PathFormat
Google AntigravityRules.agents/AGENTS.md (Workspace-scoped)Markdown
Skills.agents/skills/<name>/SKILL.mdMarkdown with YAML frontmatter (name, description)
CursorGlobal Rules.cursorrules (at root)Markdown
Scoped Rules.cursor/rules/*.mdcMarkdown with YAML frontmatter (globs, alwaysApply, description)
Custom Agents.cursor/agents/*.mdMarkdown with YAML frontmatter (name, description)
WindsurfRules (Legacy).windsurfrulesMarkdown
Rules (Modern).windsurf/rules/*.mdMarkdown
Claude CodeRules.clauderulesMarkdown
GitHub CopilotRules.github/copilot-instructions.mdMarkdown
Roo CodeRules.clinerules or .clinerules-*Markdown

2. Migration Workflows

A. Migrating TO Google Antigravity 2.0

When migrating other providers' rules/agents to Antigravity 2.0:

  1. Migrating General/Workspace Rules (e.g., .cursorrules, .windsurfrules, .clauderules, .github/copilot-instructions.md, .clinerules):

    • Check if .agents/AGENTS.md exists. If not, create it.
    • Read the rules from the other provider's file.
    • Append/merge the rules into .agents/AGENTS.md. Make sure to add a clear header indicating where they were migrated from (e.g., ## Migrated from Cursorrules).
  2. Migrating Scoped Rules (e.g., Cursor .cursor/rules/*.mdc or Windsurf .windsurf/rules/*.md):

    • In Antigravity 2.0, rules are combined in .agents/AGENTS.md.
    • Parse each rule file. Include the pattern rules / descriptions from frontmatter (e.g., globs or descriptions) as subheaders or blockquotes inside .agents/AGENTS.md to keep the context clear. E.g.:
      ### Rule: rule-name
      > **Applies to:** `src/**/*.ts`
      > **Description:** description from mdc
      
      [Markdown Content]
      
  3. Migrating Custom Agents (e.g., Cursor .cursor/agents/*.md):

    • Custom agents are migrated to Antigravity Skills under .agents/skills/<agent-name>/SKILL.md.
    • Read the agent file.
    • Construct the Antigravity SKILL.md frontmatter:
      ---
      name: <agent-name>
      description: <description-from-agent>
      ---
      
    • Place the markdown content of the agent below the frontmatter.

B. Migrating FROM Google Antigravity 2.0

When migrating Antigravity 2.0 skills/rules to other formats (e.g., Cursor, Windsurf, Claude Code, GitHub Copilot, Roo Code):

  1. Migrating Rules (.agents/AGENTS.md):

    • Write the entire markdown contents of .agents/AGENTS.md into the target provider's rule file:
      • Cursor: .cursorrules
      • Windsurf: .windsurfrules or .windsurf/rules/global_rules.md
      • Claude Code: .clauderules
      • GitHub Copilot: .github/copilot-instructions.md
      • Roo Code: .clinerules
    • If migrating to Cursor scoped rules (.cursor/rules/*.mdc):
      • Identify logical sections of .agents/AGENTS.md.
      • Extract sections and place them in .cursor/rules/<section-name>.mdc with appropriate frontmatter (globs, description, alwaysApply: true).
  2. Migrating Skills (.agents/skills/<name>/SKILL.md):

    • To Cursor Custom Agents:
      • Create .cursor/agents/<name>.md.
      • Translate frontmatter into Cursor agent format:
        ---
        name: <name>
        description: <description>
        ---
        
      • Copy the skill markdown body.
    • To Windsurf/Claude Code/Roo Code/Copilot:
      • Windsurf, Claude Code, Roo Code, and Copilot do not have built-in "custom sub-agent" formats like Cursor or Antigravity.
      • Instead, write them as rules or append the skill's instructions under a clear sub-section (e.g., ## Skill: <name>) in their respective rule files (.windsurfrules, .clauderules, .clinerules, or .github/copilot-instructions.md).

3. General Best Practices

  • Backup first: Before making edits to existing rule files, read their current contents to avoid overwriting user edits. Safely merge content when possible.
  • Do not commit secrets: Ensure any hardcoded environment-specific keys, secrets, or config in the skills are stripped or parameterized before migration.
  • Verification: After migration, verify that the new file structures exist and contain the correct frontmatter tags.

Comments

Markdown supported