Loading...
Loading...
Create professional SVG graphics powered by Gemini 3.1 Pro via the Gemini MCP server. Generates logos, icons, illustrations, infographics, patterns, animated SVGs, and UI elements with a dual-model refinement loop (Claude orchestrates + Gemini generates). Gemini 3.1 Pro has SOTA animated SVG capabilities and advanced reasoning. Use this skill when the user asks to: create an SVG, design a logo, make an icon, draw an illustration, create an infographic, design a pattern, make an animated SVG, generate vector graphics, create SVG art, or any request involving SVG creation or generation. Also triggers on: 'generate SVG', 'draw me', 'design graphic', 'create vector', 'SVG illustration', 'SVG icon', 'SVG animation', 'create badge', 'design emblem', 'make a diagram'.
npx skill4agent add htuzel/gemini-svg-creator gemini-svg-creatormcp__gemini__gemini-query@rlabs-inc/gemini-mcpmcp__gemini__gemini-queryclaude mcp add -e GEMINI_API_KEY=<your-key> -e GEMINI_PRO_MODEL=gemini-3.1-pro-preview gemini -- npx -y @rlabs-inc/gemini-mcpGEMINI_PRO_MODEL=gemini-3.1-pro-preview.claude.jsonclaude mcp remove geminiGEMINI_API_KEYgemini-3.1-pro-previewGEMINI_PRO_MODELlowmediumhighmediumhigh1. Understand request → Determine SVG category + complexity
2. Build prompt → Load category template from references/prompt-templates.md
3. Generate → Call Gemini 3.1 Pro with crafted prompt (thinkingLevel by complexity)
4. Analyze → Claude reviews SVG for issues
5. Refine → Send fix prompt back to Gemini (up to 2 rounds)
6. Optimize → Claude cleans up final SVG (see references/svg-optimization.md)
7. Save → Write .svg file(s) and present to user| Category | Triggers | Complexity |
|---|---|---|
| logo | logo, brand, wordmark, lettermark, emblem, badge | medium |
| icon | icon, symbol, pictogram, glyph, favicon | low |
| illustration | illustration, scene, drawing, artwork, graphic | high |
| infographic | infographic, data visualization, chart, diagram | high |
| pattern | pattern, texture, background, tile, seamless | medium |
| animated | animated, animation, motion, loading, spinner | high |
| animated-scene | animated illustration, character animation, story | high |
| ui-element | button, card, banner, header, component | low-medium |
0 0 800 600references/prompt-templates.md[Master System Prompt for Gemini 3.1 Pro]
[Category-Specific Suffix]
[Style Modifier (if applicable)]
Now create: [user's description, enriched with design details]
Colors: [specified or "choose a harmonious palette suited to the subject"]
ViewBox: [specified or default]| Complexity | thinkingLevel | Use for |
|---|---|---|
| low | | Simple icons, basic shapes |
| medium | | Logos, patterns, UI elements |
| high | | Illustrations, animations, complex scenes |
mcp__gemini__gemini-query(
prompt: <constructed prompt>,
model: "pro",
thinkingLevel: <selected level>
)<svg>...</svg><defs>stdDeviationstdDevHere is an SVG that needs fixes:
<svg>...the current SVG...</svg>
Issues to fix:
1. [specific issue and how to fix it]
2. [specific issue and how to fix it]
[Include Quality Checklist Prompt from references/prompt-templates.md]mcp__gemini__gemini-querymodel: "pro"thinkingLevelreferences/svg-optimization.md<svg>xmlns="http://www.w3.org/2000/svg"<defs><style><title><desc>role="img"aria-labelledbyxlink:hrefhrefstdDevstdDeviationprefers-reduced-motion{subject}-{style}.svgrocket-minimalist.svglogo-concept-1-geometric.svglogo-concept-2-organic.svg| Style | Key characteristics |
|---|---|
| Minimalist | Few elements, monochrome/2-color, geometric, whitespace |
| Flat | No gradients/shadows, bold solids, clear silhouettes |
| Gradient | Linear/radial gradients, smooth transitions, modern depth |
| Hand-drawn | Imperfect lines, organic shapes, warm and friendly |
| Isometric | 30-degree angles, consistent depth, flat-shaded faces |
| Glassmorphism | Semi-transparent, blur filters, frosted glass, subtle borders |
| Retro | Muted palette, halftone textures, rounded shapes |
| Line Art | Strokes only, no fills, consistent width, single color |
| Neon | Dark background, bright strokes, glow filter, high contrast |
| Geometric | Circles/rects/triangles only, mathematical precision, bold blocks |
references/prompt-templates.md