gemini-blog
Configure or debug LLM blog post generation using Vercel AI SDK and Google Gemini. Use when updating blog generation prompts, fixing AI integration issues, modifying content generation logic, or working with structured output schemas.
npx skills add majiayu000/claude-skill-registry --skill gemini-blog --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Gemini Blog Generation Skill Blog generation package: `packages/ai/` ## Architecture ``` packages/ai/ ├── src/ │ ├── generate-post.ts # 2-step generation (analysis → structured output) │ ├── config.ts # System instructions │ ├── schemas.ts # Zod schemas (postSchema, highlightSchema) │ ├── tags.ts # Tag constants (CARS_TAGS, COE_TAGS) │ ├── hero-images.ts # Hero image URLs │ └── save-post.ts # Post persistence with idempotency ``` ### 2-Step Flow 1. **Step 1 (Analysis)**: `generateText()` + Code Execution Tool + Extended Thinking → Accurate calculations 2. **Step 2 (Generation)**: `generateObject()` + Zod schema → Type-safe structured output ## Key Functions ```typescript // Standalone generation import { generateBlogContent } from "@sgcarstrends/ai"; const { object } = await generateBlogContent({ data: tokenisedData, // Pipe-delimited data month: "October 2024", dataType: "cars", // "cars" or "coe" }); // object.title, object.excerpt, object.content, object.tags, object.highlights ``` ## Schemas ```typescript // postSchema z.object({ title: z.string().max(100), // SEO title, max 60 chars preferred excerpt: z.string().max(500), // Meta description, under 300 chars content: z.strin
- Architecture
- 2-Step Flow
- Key Functions
- Schemas
- Tag Constants
- Updating Prompts
- Debugging
- Environment Variables
- Best Practices
- References
What does the gemini-blog skill do?
Configure or debug LLM blog post generation using Vercel AI SDK and Google Gemini. Use when updating blog generation prompts, fixing AI integration issues, modifying content generation logic, or working with structured output schemas.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill gemini-blog --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
