source-command-icon-add
БесплатноБез исполняемых скриптовНе проверенMigrated source command `icon-add`
от databayt★ 19 звёзд на GitHubОб этом скилле
source-command-icon-add
Use this skill when the user asks to run the migrated source command icon-add.
Command Template
/icon-add - Add New Icon to System
You are tasked with adding a new icon to the Hogwarts icon system.
Icon System Overview
Design System: Anthropic Design Guidelines
Categories: Hands, People, Objects, Abstract, Letters, Scenes
Naming Convention: {Category}-{Description}.svg
Output Directory: public/icons/
Registry Path: src/components/icons/registry.ts
Design Requirements
All icons must comply with:
- ViewBox:
0 0 1000 1000(standard) or0 0 1680 1260(wide format) - Colors:
- Light fill:
#FAF9F5 - Dark fill:
#141413
- Light fill:
- Format:
- SVG with
fill="none"on root element - All paths must have explicit
fillattributes - No inline styles
- SVG with
Task Workflow
1. Gather Requirements
Ask the user:
- Icon purpose/description
- Which category (Hands/People/Objects/Abstract/Letters/Scenes)
- Icon source (file path, URL, or AI generation)
- Preferred name (optional, you'll suggest semantic name)
2. Validate Icon Source
If file path provided:
- Use Read tool to validate SVG structure
- Check compliance with design system
- Flag any violations
If URL provided:
- Use WebFetch tool to retrieve icon
- Validate downloaded SVG
- Check compliance
If AI generation requested:
- Use browser MCP or suggest using design tools
- Guide user through generation process
- Ensure output matches design system
3. Process Icon
- Validate viewBox: Ensure
0 0 1000 1000or0 0 1680 1260 - Validate colors: Check only
#FAF9F5and#141413are used - Validate structure: Confirm root has
fill="none", paths have fill - Optimize: Remove unnecessary attributes, comments, metadata
- Generate semantic name: Follow
{Category}-{Description}.svgpattern
4. Save Icon
Use Write tool to save to public/icons/{SemanticName}.svg
5. Update Registry
Add icon to src/components/icons/registry.ts:
export const iconRegistry: IconRegistry = {
// ... existing icons
"{iconName}": {
name: "{iconName}",
category: "{category}",
path: "/icons/{SemanticName}.svg",
keywords: ["{keyword1}", "{keyword2}", "{keyword3}"],
viewBox: "{viewBox}",
verified: true,
},
}
6. Update Documentation
Add entry to icon mapping document if needed.
Example Usage
User: I want to add a new hand gesture icon
Assistant: I'll help you add a hand gesture icon. Do you have:
1. A file path to an existing SVG?
2. A URL to download from?
3. Would you like me to help generate one?
User: Here's the file path: /path/to/icon.svg
Assistant: [Uses Read tool to validate]
Assistant: I've validated the icon. It needs these adjustments:
- Change viewBox from "0 0 500 500" to "0 0 1000 1000"
- Replace color #000000 with #141413
- Add fill="none" to root svg element
I'll make these adjustments and save as "Hands-Gesture-06.svg"
[Performs adjustments, saves file, updates registry]
Установить source-command-icon-add в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл source-command-icon-add?
Migrated source command `icon-add`
Как установить скилл source-command-icon-add?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл source-command-icon-add запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic