Automating Bilingual Blog Posts with Custom AI Skills in Google Antigravity

Discover how I built a custom AI skill in Google Antigravity to automate writing bilingual blog posts. Using Supabase and Vercel, this workflow saves time while maintaining high-quality content in both English and Vietnamese.

Automating Bilingual Blog Posts with Custom AI Skills in Google Antigravity

Writing bilingual blog posts has always been a time-consuming challenge. Translating content, adjusting structures, and maintaining the original context often require significant effort. To solve this, I built an automated workflow leveraging Google Antigravity IDE paired with Supabase and Vercel.

In this post, I will share how I created a custom skill .agent/skills/write-hoan-blog/SKILL.md that completely revolutionizes my blogging process.

The System Architecture

My modern blogging stack is built on the following technologies:

How the Custom Skill Works

The write-hoan-blog skill acts as an intelligent, autonomous editor. The automated workflow involves:

  1. Taking the Input: I simply provide the topic and main ideas via the chat interface.
  2. Drafting and Polishing: Instead of a robotic translation, the AI takes the prompt and structures a professional-grade post in both English and Vietnamese, preserving technical terms appropriately.
  3. Preparing Metadata: It automatically generates SEO-friendly slugs, punchy excerpts for social sharing, and calculates the estimated reading time.
  4. SQL Generation and Insertion: Finally, the agent crafts a clean SQL script to insert the post directly into the Supabase posts table as a draft for final review.

Why This Workflow?

Rather than copy-pasting text between translation tools and a traditional CMS interface, I can accomplish the entire end-to-end task with a single command inside my IDE. The AI understands the context, reads the database schemas natively, and executes direct SQL inserts. This blend of infrastructure-as-code and AI-driven development creates an incredibly smooth and powerful workflow.

#AI #GoogleAntigravity #Supabase #Vercel #Productivity

← Blog