gemini-blog

Configure Gemini blog prompts and schemas via the Vercel AI SDK.

21|2|Updated Nov 5, 2023
One-click install
npx skills add https://github.com/motormetrics/motormetrics --skill gemini-blog-motormetrics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-blog
Source: https://github.com/motormetrics/motormetrics/tree/main/.claude/skills/gemini-blog
Command: npx skills add https://github.com/motormetrics/motormetrics --skill gemini-blog-motormetrics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure or debug LLM blog post generation using the Vercel AI SDK and Google Gemini. This skill helps teams update prompts, fix AI integration issues, adjust content generation logic, and work with structured output schemas to ensure consistent blog output.

Core Features & Use Cases

  • 2-step generation flow: analysis to structured output to ensure accuracy and reproducibility.
  • Prompts configuration & debugging: tailor system and generation prompts for Gemini via the provided config.ts and related files.
  • Schema-driven content: enforce data models defined in schemas.ts for consistent blog posts and metadata.
  • Use Case: update a blog prompt to improve topic relevance and ensure the generated post includes required highlights.

Quick Start

Provide a sample dataset and prompts so the skill can run the 2-step generation to produce a structured blog post.

Frequently Asked Questions about gemini-blog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate structured blog post outputs using Vercel AI SDK and Google Gemini?

To generate structured blog post outputs using Vercel AI SDK and Gemini, configure a 2-step generation flow that applies analysis to structured output. This enforces data models defined in schemas.ts, ensuring type-safe, consistent blog posts and metadata.

Why does my Gemini blog generation return inconsistent formatting and missing metadata?

Inconsistent Gemini blog generation often results from missing structured output schemas. Applying schema-driven content models enforces required fields and data types, resolving formatting inconsistencies and ensuring generated posts include necessary highlights and metadata.

Can I debug and update system prompts for AI-generated blog posts?

Yes, you can debug and update system prompts for AI-generated blog posts. Tailor system and generation prompts via config.ts to improve topic relevance, fix AI integration issues, and adjust content generation logic for Gemini.

What is the best way to enforce type-safe schemas for Gemini blog content?

The best way to enforce type-safe schemas for Gemini blog content is using a 2-step generation flow with the Vercel AI SDK. This approach applies structured output schemas to ensure accuracy, reproducibility, and consistent metadata across generated posts.

Does the Vercel AI SDK support a 2-step generation flow for AI blog content?

Yes, the Vercel AI SDK supports a 2-step generation flow for AI blog content. This process uses analysis to transition into structured output, satisfying end-to-end generation requirements with configurable system instructions and type-safe outputs.

How do I configure Gemini prompts to improve topic relevance in generated posts?

To configure Gemini prompts for improved topic relevance, update the system and generation prompts within config.ts. This ensures the generated blog post adheres to structured output schemas and includes required highlights.