chrome-extension-icons

aiskillstore/marketplace

Поиск и генерация иконок для расширений Chrome: SVG из Iconify в PNG и manifest.json.

Звёзды486
Форки53
Авторaiskillstore
Обновлённоя 17 2026

Установка

SKILL.md

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:

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:

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):

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:

ls -lh ./icons/

Verify 4 PNG files are created:

  • icon16.png
  • icon32.png
  • icon48.png
  • icon128.png

Check manifest.json was updated:

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"):

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:

    ls -lh <svg-file-path>
    
  2. Convert it:

    node ~/.claude/skills/chrome-extension-icons/scripts/generate-icons.js convert \
      --input "<svg-file-path>" \
      --output "./icons" \
      --manifest "./manifest.json"
    
  3. Optionally apply color:

    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:

    {
      "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:

    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:

{
  "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:

{
  "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:

brew install vips
cd ~/.claude/skills/chrome-extension-icons && npm install

Ubuntu/Debian:

sudo apt-get install libvips-dev
cd ~/.claude/skills/chrome-extension-icons && npm install

Windows:

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 Phrases That Trigger This Skill

  • "I need an icon for my Chrome extension"
  • "Add a calendar icon to my extension"
  • "Generate extension icons"
  • "Can you create icons for my browser extension?"
  • "I need icons for manifest.json"
  • "Convert my logo to Chrome extension format"
  • "Make extension icons from this SVG"

Examples

See examples/usage.md for detailed conversation examples and edge cases.

Technical Details

  • Icon source: Iconify API (https://iconify.design/)
  • Total icons: 275,000+ from 200+ icon sets
  • Image processing: Sharp library (high-performance Node.js)
  • Supported input: SVG (from Iconify or local file)
  • Output format: PNG with transparency
  • Node.js requirement: >= 18.17.0

Troubleshooting Quick Reference

IssueSolution
Sharp won't installInstall libvips: brew install vips (macOS)
API timeoutRetry after a moment, check connection
Icon looks badTry a different icon from alternatives
Wrong colorsUse --color flag for single-color icons
File too largeComplex SVGs may create large PNGs, try simpler icon
Manifest not updatingCheck file permissions, verify path is correct

Remember: This skill automates a tedious process. Be helpful, present clear options, and make the experience smooth for the user. Always show preview links so users know what they're getting before generation.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: chrome-extension-icons](https://darkplay.ru/ai/skills/aiskillstore-marketplace-chrome-extension-icons)

Из того же репозитория

when-profiling-performance-use-performance-profiler Система профилирования производительности, поиска узких мест и оптимизации. ★486 when-managing-token-budget-use-token-budget-advisor Управление бюджетом токенов: оценка расхода, анализ сложности, стратегии разбиения. ★486 when-optimizing-agent-learning-use-reasoningbank-intelligence Адаптивное обучение с ReasoningBank: распознавание паттернов и оптимизация стратегий. ★486 when-optimizing-prompts-use-prompt-architect Фреймворк для анализа, создания и улучшения промптов на основе доказательных техник. ★486 when-optimizing-prompts-use-prompt-optimization-analyzer Диагностика промптов: оценка качества, поиск антипаттернов и лишних токенов. ★486 when-orchestrating-swarm-use-swarm-orchestration Оркестрация сложного роя агентов с декомпозицией задач и синтезом результатов. ★486 when-releasing-software-use-github-release-management Оркестрация релизов GitHub: версионирование, тестирование, деплой и откат. ★486 when-reviewing-github-pr-use-github-code-review Ревью pull request в GitHub с параллельным анализом специализированными агентами. ★486

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

chrome-devtools-mcpchromedevtools · Надёжная автоматизация, глубокая отладка и анализ производительности в Chrome с помощью…
6 комп.
chrome-devtools-mcpanthropics · Управление и инспекция живого браузера Chrome из вашего агента разработки. Запись…
100 комп.
duckdb-skillsanthropics · Навыки на базе DuckDB для Claude Code: чтение любых файлов данных, подключение и запросы…
100 комп.
quarkus-agentanthropics · MCP-сервер для ИИ-агентов разработки: создание приложений Quarkus, управление ими и…
100 комп.
shopify-ai-toolkitanthropics · AI Toolkit от Shopify: 18 навыков разработки для платформы Shopify, включая поиск по…
100 комп.
vsql-extension-builderanthropics · Создаёт расширение VillageSQL для MySQL от начала до конца через 7-фазный процесс на…
100 комп.
wixanthropics · Создание, управление и развёртывание сайтов и приложений Wix. Навыки CLI для расширений…
100 комп.
qa-orchestrawshobson · Мультиагентный QA-набор из 10 специализированных агентов на весь жизненный цикл QA…
495 комп.
claude-for-msft-365-installanthropics · Настраивает прямой доступ к облаку (Vertex AI, Bedrock или LLM-шлюз) для надстройки…
186 комп.
wixanthropics · Создание, управление и развёртывание сайтов и приложений Wix. Включает навыки разработки…
233 комп.

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8