Gemini AI Integration

VerifiedSafe

Integrates Gemini AI for generating project content (short/long descriptions, tags) via geminiService.ts. Helpful when adding AI features, applying rate limits (3 per draft, 10 per day), and following Korean-language prompting guidelines with a chef persona.

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

Recommended for

Automated summary

Integrates the Gemini API to automatically generate project descriptions with a Korean chef persona, including rate limit management.

Strengths

  • Structured JSON generation with schema validation
  • Consistent persona and language (Korean, chef)
  • Built-in rate limiting (3 per draft, 10 per day)

Limitations

  • Limited to a single persona and language (Korean)
  • Requires manual configuration of limits in code
When to use it

Use this skill when you need to add an AI content generator with usage constraints and a defined style.

When not to use it

Avoid using it for English generations or with a different persona without modifying the instructions.

Security analysis

Safe
Quality score85/100

The skill only provides guidance for using server functions and rate limiting. It does not instruct any destructive, exfiltrating, or obfuscated actions. No shell commands, file deletion, or secret exposure is involved.

No concerns found

How this analysis is made

Examples

Generate project description
Use the gemini-ai skill to generate a short and long description for a new recipe-sharing app called 'FlavorHub'. The draft should include tags like 'recipe', 'social', 'sharing'.
Refine raw description
I have a raw description: 'This app lets users share their cooking recipes and follow others.' Refine it into a polished markdown with the Korean chef persona.
Check rate limits
Explain how to call canGenerate() before each Gemini generation and how to handle exceeded limits in the UI.

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.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/gemini-ai-integration-mmio71nu/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/gemini-ai-integration-mmio71nu' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/gemini-ai-integration-mmio71nu/download' --output '.skill-downloads/gemini-ai-integration-mmio71nu/SKILL.md.part' && mv '.skill-downloads/gemini-ai-integration-mmio71nu/SKILL.md.part' '.skill-downloads/gemini-ai-integration-mmio71nu/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/gemini-ai-integration-mmio71nu/SKILL.md' && test -s '.skill-downloads/gemini-ai-integration-mmio71nu/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/gemini-ai' && cp -R '.skill-downloads/gemini-ai-integration-mmio71nu' '.claude/skills/gemini-ai'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/gemini-ai-integration-mmio71nu'

openskills read 'gemini-ai-integration-mmio71nu'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/gemini-ai-integration-mmio71nu/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills