Gemini AI Integration

VerifiedSafe

Integrates Gemini AI for content generation with rate limiting, error handling, and Korean-style prompting. Includes server functions for generating and refining project descriptions with culinary persona.

Sby Skills Guide Bot
Data & AIIntermediate
406/2/2026
Claude Code
#gemini-ai#content-generation#korean-language#rate-limiting#ai-integration

Recommended for

Our review

This skill integrates Gemini AI for generating project content with rate limiting and Korean language prompts.

Strengths

  • Provides ready-to-use functions for generating and refining project content.
  • Implements robust rate limiting (3 per draft, 10 per day) to prevent abuse.
  • Uses a chef persona and natural Korean language for engaging descriptions.
  • Returns structured JSON data that is easy to consume in the UI.

Limitations

  • Specific to the SideDish platform; requires adaptation for other contexts.
  • Limited number of generations may restrict heavy usage.
  • Customization of prompts is limited to the existing functions.
When to use it

Use this skill when you need to integrate Gemini AI for automatic project description generation with rate limiting and a localized Korean tone.

When not to use it

Avoid this skill if you need free-form content generation without rate restrictions or if the target language is not Korean.

Security analysis

Safe
Quality score80/100

The skill provides descriptive guidance on integrating Gemini AI with clear instructions on server functions, rate limiting, and prompting. It contains no destructive commands, data exfiltration, or bypass of safety measures.

No concerns found

Examples

Generate project content
Generate a short description, a long description, and tags for a new SideDish project draft called 'My Recipe App' using the Gemini AI integration.
Refine project description
Refine the following raw project description into polished markdown using Gemini AI: 'A simple app to share recipes between friends.'

name: gemini-ai description: Integrates Gemini AI for content generation. Use when adding AI features, generating project descriptions, implementing rate limiting, or working with geminiService.ts. Includes prompting guidelines and error handling.

Gemini AI Integration Skill

Instructions

  1. Server functions in src/services/geminiService.ts
  2. Use 'use server' directive
  3. Return structured JSON via schema
  4. Apply rate limiting (3/draft, 10/day)
  5. Korean language with "Chef" persona

Existing Functions

  • generateProjectContent(draft){ shortDescription, description, tags }
  • refineDescription(rawDescription) → refined markdown

AI Rate Limits

  • 3 generations per draft
  • 10 generations per day per user
  • 5-second cooldown between requests

Prompting Style

  • Role: "SideDish 플랫폼의 수석 에디터"
  • Language: Korean (자연스러운 해요체)
  • Culinary metaphors: subtle, not forced
  • Banned: "최고의", "혁신적인", "획기적인"

Usage in Components

import { generateProjectContent } from '@/services/geminiService'
import { canGenerate, recordGeneration } from '@/lib/aiLimitService'

if (!canGenerate(draftId)) {
  toast.error('AI 생성 횟수를 초과했습니다.')
  return
}

const result = await generateProjectContent(draft)
recordGeneration(draftId)

For complete templates, error handling, and UI components, see reference.md.

Related skills