chrome-extension-icons
Search and generate icons for Chrome browser extensions. Automatically downloads SVG icons from Iconify (275,000+ free icons), converts them to required PNG sizes (16x16, 32x32, 48x48, 128x128), and updates manifest.json configuration. Use when the user mentions "extension icon", "browser extension icon", "chrome icon", "add icon to extension", "generate icon for extension", or when working with Chrome extension manifest.json icon setup. Supports color customization, local SVG conversion, and batch generation for multiple projects.
What this skill does
# Chrome Extension Icons
Generate professional icons for Chrome browser extensions in seconds using Iconify's vast library of 275,000+ free open-source icons.
## Quick Start Workflow
When the user requests an extension icon, follow these steps:
### 1. Understand the Request
Extract key information:
- **Icon theme/keyword**: What type of icon? (e.g., "calendar", "music", "settings", "bookmark")
- **Target directory**: Where to save icons (default: `./icons`)
- **Manifest location**: Path to manifest.json (default: `./manifest.json`)
- **Color preference**: Any specific color requirement (optional)
- **Context**: Is manifest.json already present? Is this a new project?
### 2. Search for Icons Automatically
Run the search command with the extracted keyword:
```bash
node ~/.claude/skills/chrome-extension-icons/scripts/generate-icons.js search "<keyword>"
```
**Expected output**:
- List of matching icons with preview URLs
- Best match automatically identified
- Top 5 results displayed (best match + 4 alternatives)
**Present to user**:
- Show the best matching icon with its ID and preview link
- Briefly mention that 4 alternative options are also available if they want to choose differently
- Provide the preview URL so they can see what the icon looks like
**Example presentation**:
```
I found a great calendar icon for your extension:
Best match: mdi:calendar
Preview: https://icon-sets.iconify.design/mdi/icons/calendar.html
I'll generate this icon in 4 sizes (16x16, 32x32, 48x48, 128x128) for your Chrome extension.
If you'd prefer a different style, I also have 4 alternatives saved that you can choose from.
Shall I proceed with this icon?
```
### 3. Generate Icons
Once confirmed (or auto-proceed if user said "yes" to any icon), run:
```bash
node ~/.claude/skills/chrome-extension-icons/scripts/generate-icons.js generate \
--icon "<icon-id>" \
--output "./icons" \
--manifest "./manifest.json"
```
**With custom color** (if user specified a color):
```bash
node ~/.claude/skills/chrome-extension-icons/scripts/generate-icons.js generate \
--icon "<icon-id>" \
--output "./icons" \
--manifest "./manifest.json" \
--color "#ba3329"
```
### 4. Verify Results
After generation, check the output:
```bash
ls -lh ./icons/
```
Verify 4 PNG files are created:
- `icon16.png`
- `icon32.png`
- `icon48.png`
- `icon128.png`
Check manifest.json was updated:
```bash
cat ./manifest.json | grep -A 6 '"icons"'
```
### 5. Report to User
Provide a summary:
```
โ
Icon generation complete!
Generated files:
- icons/icon16.png (1.2 KB)
- icons/icon32.png (2.4 KB)
- icons/icon48.png (3.8 KB)
- icons/icon128.png (9.5 KB)
Your manifest.json has been updated:
{
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
}
๐ Alternative icons (if you want to try a different style):
1. mdi:calendar-month - https://icon-sets.iconify.design/mdi/icons/calendar-month.html
2. fa:calendar - https://icon-sets.iconify.design/fa/icons/calendar.html
3. heroicons:calendar - https://icon-sets.iconify.design/heroicons/icons/calendar.html
4. carbon:calendar - https://icon-sets.iconify.design/carbon/icons/calendar.html
Just let me know if you'd like to try any of these alternatives!
```
## Advanced Features
### Custom Color Icons
When user requests a specific color (e.g., "make it red", "use my brand color #ba3329"):
```bash
node ~/.claude/skills/chrome-extension-icons/scripts/generate-icons.js generate \
--icon "mdi:home" \
--color "#ba3329" \
--output "./icons"
```
**Note**: Color customization works best with single-color SVG icons. Complex gradients may not render as expected.
### Convert Local SVG File
When user has their own logo or SVG file:
1. First check if the file exists:
```bash
ls -lh <svg-file-path>
```
2. Convert it:
```bash
node ~/.claude/skills/chrome-extension-icons/scripts/generate-icons.js convert \
--input "<svg-file-path>" \
--output "./icons" \
--manifest "./manifest.json"
```
3. Optionally apply color:
```bash
node ~/.claude/skills/chrome-extension-icons/scripts/generate-icons.js convert \
--input "./logo.svg" \
--output "./icons" \
--color "#ff0000"
```
### Batch Generation
When user needs icons for multiple projects:
1. Create a configuration file `icons-config.json`:
```json
{
"projects": [
{
"name": "Project A",
"icon": "mdi:calendar",
"output": "./project-a/icons",
"manifest": "./project-a/manifest.json"
},
{
"name": "Project B",
"icon": "mdi:music",
"output": "./project-b/icons",
"manifest": "./project-b/manifest.json",
"color": "#ff0000"
},
{
"name": "Project C",
"input": "./project-c/logo.svg",
"output": "./project-c/icons",
"manifest": "./project-c/manifest.json"
}
]
}
```
2. Run batch generation:
```bash
node ~/.claude/skills/chrome-extension-icons/scripts/generate-icons.js batch \
--config icons-config.json
```
3. Report summary showing success/failure for each project
## Chrome Extension Icon Requirements
Always inform users about Chrome's icon requirements:
- **16x16 pixels**: Favicon, toolbar icon (small displays)
- **32x32 pixels**: Windows taskbar (optional but recommended)
- **48x48 pixels**: Extension management page (**required**)
- **128x128 pixels**: Chrome Web Store, installation dialog (**required**)
**Format**: PNG only (SVG is not supported in manifest.json)
**Transparency**: Supported and recommended for non-square logos
**File size**: Aim for < 100 KB total for all 4 files
## Manifest.json Configuration
The script automatically creates or updates the `icons` field:
```json
{
"manifest_version": 3,
"name": "My Extension",
"version": "1.0.0",
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
}
```
If `action` or `browser_action` exists, `default_icon` is also updated:
```json
{
"action": {
"default_icon": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
}
}
```
## Error Handling
### Missing Dependencies
If the script fails with Sharp installation error:
**macOS**:
```bash
brew install vips
cd ~/.claude/skills/chrome-extension-icons && npm install
```
**Ubuntu/Debian**:
```bash
sudo apt-get install libvips-dev
cd ~/.claude/skills/chrome-extension-icons && npm install
```
**Windows**:
```bash
npm install --global windows-build-tools
cd ~/.claude/skills/chrome-extension-icons && npm install
```
Inform the user of these steps if installation fails.
### API Failures
The script has built-in retry logic (3 attempts with exponential backoff). If Iconify API fails:
- Suggest trying again in a moment
- Offer to use a local SVG if available
- Check internet connection
### Rate Limiting
If HTTP 429 error occurs, the script automatically waits and retries. Inform user:
```
The icon API is experiencing high traffic. Waiting 60 seconds before retry...
```
### Invalid Icon Selection
If an icon doesn't render well or user doesn't like it:
- Present the 4 saved alternative icons
- Offer to search for a different keyword
- Suggest using their own SVG file
## Best Practices
1. **Always preview**: Show the user the icon preview URL before generating
2. **Confirm before generating**: Unless user explicitly requested immediate action
3. **Check manifest.json exists**: If not, inform user a new one will be created
4. **Verify output**: Always run `ls` to confirm files were created successfully
5. **File sizes**: Report file sizes to ensure they're reasonable (< 20 KB each)
6. **Backup warning**: If manifest.json exists, mention it will be updated (not replaced)
## Common User PhrasRelated in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product โ visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".