web-asset-generator
Generate web assets including favicons, app icons (PWA), and social media meta images (Open Graph) for Facebook, Twitter, WhatsApp, and LinkedIn. Use when users need icons, favicons, social sharing images, or Open Graph images from logos or text slogans. Handles image resizing, text-to-image generation, and provides proper HTML meta tags.
What this skill does
# Web Asset Generator Generate professional web assets from logos or text slogans, including favicons, app icons, and social media meta images. ## Quick Start When a user requests web assets: 1. **Use AskUserQuestion tool to clarify needs** if not specified: - What type of assets they need (favicons, app icons, social images, or everything) - Whether they have source material (logo image vs text/slogan) - For text-based images: color preferences 2. **Check for source material**: - If user uploaded an image: use it as the source - If user provides text/slogan: generate text-based images 3. **Run the appropriate script(s)**: - Favicons/icons: `scripts/generate_favicons.py` - Social media images: `scripts/generate_og_images.py` 4. **Provide the generated assets and HTML tags** to the user ## Using Interactive Questions **IMPORTANT**: Always use the AskUserQuestion tool to gather requirements instead of plain text questions. This provides a better user experience with visual selection UI. ### Why Use AskUserQuestion? ✅ **Visual UI**: Users see options as clickable chips/tags instead of typing responses ✅ **Faster**: Click to select instead of typing out answers ✅ **Clearer**: Descriptions explain what each option means ✅ **Fewer errors**: No typos or misunderstandings from free-form text ✅ **Professional**: Consistent with modern Claude Code experience ### Example Flow **User request**: "I need web assets" **Claude uses AskUserQuestion** (not plain text): ``` What type of web assets do you need? [Asset type] ○ Favicons only - Browser tab icons (16x16, 32x32, 96x96) and favicon.ico ○ App icons only - PWA icons for iOS/Android (180x180, 192x192, 512x512) ○ Social images only - Open Graph images for Facebook, Twitter, WhatsApp, LinkedIn ● Everything - Complete package: favicons + app icons + social images ``` User clicks → Claude immediately knows what to generate ### Question Patterns Below are the standard question patterns to use in various scenarios. Copy the structure and adapt as needed. ### Question Pattern 1: Asset Type Selection When the user's request is vague (e.g., "create web assets", "I need icons"), use AskUserQuestion: **Question**: "What type of web assets do you need?" **Header**: "Asset type" **Options**: - **"Favicons only"** - Description: "Browser tab icons (16x16, 32x32, 96x96) and favicon.ico" - **"App icons only"** - Description: "PWA icons for iOS/Android (180x180, 192x192, 512x512)" - **"Social images only"** - Description: "Open Graph images for Facebook, Twitter, WhatsApp, LinkedIn" - **"Everything"** - Description: "Complete package: favicons + app icons + social images" ### Question Pattern 2: Source Material When the asset type is determined but source is unclear: **Question**: "What source material will you provide?" **Header**: "Source" **Options**: - **"Logo image"** - Description: "I have or will upload a logo/image file" - **"Emoji"** - Description: "Generate favicon from an emoji character" - **"Text/slogan"** - Description: "Create images from text only" - **"Logo + text"** - Description: "Combine logo with text overlay (for social images)" ### Question Pattern 3: Platform Selection (for social images) When user requests social images but doesn't specify platforms: **Question**: "Which social media platforms do you need images for?" **Header**: "Platforms" **Multi-select**: true **Options**: - **"Facebook/WhatsApp/LinkedIn"** - Description: "Standard 1200x630 Open Graph format" - **"Twitter"** - Description: "1200x675 (16:9 ratio) for large image cards" - **"All platforms"** - Description: "Generate all variants including square format" ### Question Pattern 4: Color Preferences (for text-based images) When generating text-based social images: **Question**: "What colors should we use for your social images?" **Header**: "Colors" **Options**: - **"I'll provide colors"** - Description: "Let me specify exact hex codes for brand colors" - **"Default theme"** - Description: "Use default purple background (#4F46E5) with white text" - **"Extract from logo"** - Description: "Auto-detect brand colors from uploaded logo" - **"Custom gradient"** - Description: "Let me choose gradient colors" ### Question Pattern 5: Icon Type Clarification When user says "create icons" or "generate icons" (ambiguous): **Question**: "What kind of icons do you need?" **Header**: "Icon type" **Options**: - **"Website favicon"** - Description: "Small browser tab icon" - **"App icons (PWA)"** - Description: "Mobile home screen icons" - **"Both"** - Description: "Favicon + app icons" ### Question Pattern 6: Emoji Selection When user selects "Emoji" as source material: **Step 1**: Ask for project description (free text): - "What is your website/app about?" - Use this to generate emoji suggestions **Step 2**: Use AskUserQuestion to present the 4 suggested emojis: **Question**: "Which emoji best represents your project?" **Header**: "Emoji" **Options**: (Dynamically generated based on project description) - Example: **"🚀 Rocket"** - Description: "Rocket, launch, startup, space" - Example: **"☕ Coffee"** - Description: "Coffee, cafe, beverage, drink" - Example: **"💻 Laptop"** - Description: "Computer, laptop, code, dev" - Example: **"🎨 Art"** - Description: "Art, design, creative, paint" **Implementation**: ```bash # Get suggestions python scripts/generate_favicons.py --suggest "coffee shop" output/ all # Then generate with selected emoji python scripts/generate_favicons.py --emoji "☕" output/ all ``` **Optional**: Ask about background color for app icons: **Question**: "Do you want a background color for app icons?" **Header**: "Background" **Options**: - **"Transparent"** - Description: "No background (favicons only)" - **"White"** - Description: "White background (recommended for app icons)" - **"Custom color"** - Description: "I'll provide a color" ### Question Pattern 7: Code Integration Offer **When to use**: After generating assets and showing HTML tags to the user **Question**: "Would you like me to add these HTML tags to your codebase?" **Header**: "Integration" **Options**: - **"Yes, auto-detect my setup"** - Description: "Find and update my HTML/framework files automatically" - **"Yes, I'll tell you where"** - Description: "I'll specify which file to update" - **"No, I'll do it manually"** - Description: "Just show me the code, I'll add it myself" **If user selects "Yes, auto-detect":** 1. Search for framework config files (next.config.js, astro.config.mjs, etc.) 2. Detect framework type 3. Find appropriate target file (layout.tsx, index.html, etc.) 4. Show detected file and ask for confirmation 5. Show diff of proposed changes 6. Insert tags if user confirms **If user selects "Yes, I'll tell you where":** 1. Ask user for file path 2. Verify file exists 3. Show diff of proposed changes 4. Insert tags if user confirms **Framework Detection Priority:** - Next.js: Look for `next.config.js`, update `app/layout.tsx` or `pages/_app.tsx` - Astro: Look for `astro.config.mjs`, update layout files in `src/layouts/` - SvelteKit: Look for `svelte.config.js`, update `src/app.html` - Vue/Nuxt: Look for `nuxt.config.js`, update `app.vue` or `nuxt.config.ts` - Plain HTML: Look for `index.html` or `*.html` files - Gatsby: Look for `gatsby-config.js`, update `gatsby-ssr.js` ### Question Pattern 8: Testing Links Offer **When to use**: After code integration (or if user declined integration) **Question**: "Would you like to test your meta tags now?" **Header**: "Testing" **Options**: - **"Facebook Debugger"** - Description: "Test Open Graph tags on Facebook" - **"Twitter Card Validator"** - Description: "Test Twitter card appearance" - **"LinkedIn Post Inspector"** - Description: "Test LinkedIn sharing preview" - **"All testing tools"** - Description: "Get links to all validators" - **"No, skip testing"** - Description: "I'll test later myself" **Provide appropriate testi
Related in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.