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.
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:
- Google Antigravity IDE: An AI-powered integrated development environment where I define custom protocols for autonomous agents.
- Supabase: A powerful PostgreSQL database that stores the bilingual markdown content seamlessly.
- Vercel: The robust deployment platform hosting the Next.js frontend to securely serve these dynamic posts to readers.
How the Custom Skill Works
The write-hoan-blog skill acts as an intelligent, autonomous editor. The automated workflow involves:
- Taking the Input: I simply provide the topic and main ideas via the chat interface.
- 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.
- Preparing Metadata: It automatically generates SEO-friendly
slugs, punchyexcerpts for social sharing, and calculates the estimated reading time. - SQL Generation and Insertion: Finally, the agent crafts a clean SQL script to insert the post directly into the Supabase
poststable as adraftfor 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