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.
Use this skill when you need to integrate Gemini AI for automatic project description generation with rate limiting and a localized Korean tone.
Avoid this skill if you need free-form content generation without rate restrictions or if the target language is not Korean.
Security analysis
SafeThe 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 a short description, a long description, and tags for a new SideDish project draft called 'My Recipe App' using the Gemini AI integration.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
- Server functions in
src/services/geminiService.ts - Use
'use server'directive - Return structured JSON via schema
- Apply rate limiting (3/draft, 10/day)
- 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.
Prompt Engineering
Data & AI
Prompt engineering best practices and templates to maximize AI outputs.
Data Visualization
Data & AI
Generates data visualizations and charts tailored to your data.
RAG Architecture Setup
Data & AI
Setup guide for RAG (Retrieval-Augmented Generation) architectures.