Agent skill

Eisland Dev Add SVG Icon

by JNTMTMTM in JNTMTMTM/eIsland

Add a new SVG icon to the project's icon enum system with matching test assertions.

GPL-3.0Auto-check passedFrontend & Design

Install Eisland Dev Add SVG Icon

skills CLI
$ npx skills add JNTMTMTM/eIsland --skill eisland-dev-add-svg-icon -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JNTMTMTM/eIsland eisland-dev-add-svg-icon --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JNTMTMTM/eIsland.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/eisland-dev-add-svg-icon .claude/skills/eisland-dev-add-svg-icon && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
eisland-dev-add-svg-icon
GitHub stars
320
Token cost
~1.1k tokens
SKILL.md length
400 words
Files
2
Skills in repo
11
Repo updated
First seen
Licence
GPL-3.0

At a glance

Add a new SVG icon to the project's icon enum system with matching test assertions.

  • Works in 6 steps: Identify the icon category → Derive the enum key → Add to the enum → …
  • The user asks to add SVG icon
  • SKILL.md covers When to use, Project structure, Process and Important rules
  • Calls npx; needs NEW_KEY

What it does

Eisland Dev Add SVG Icon is an agent skill from JNTMTMTM/eIsland. Add a new SVG icon to the project's icon enum system with matching test assertions. Use this skill whenever the user asks to "add SVG icon", "添加图标", "add icon enum", "注册图标", "补齐图标枚举", "add SVG enum", or wants to register a new .svg file in the SvgIcon utility. Also trigger when the user provides a path to an .svg file and asks to create enum/test for it.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `evals/evals.json`).

It sits in Frontend & Design, covering Icons and illustration. The repository describes itself as: eIsland - A sleek, Apple Dynamic Island inspired floating widget for Windows, built with Electron. The licence is GPL-3.0.

When your agent uses it

  • The user asks to add SVG icon
  • Wants to register a new .svg file in the SvgIcon utility
  • The user provides a path to an .svg file and asks to create enum/test for it

Example prompts

  • “add SVG icon”
  • “add icon enum”
  • “补齐图标枚举”
  • “/eisland-dev-add-svg-icon”

Requirements

  • Node.js
  • A credential in NEW_KEY

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Identify the icon category
  2. Derive the enum key
  3. Add to the enum
  4. Update the test file
  5. Export from index.ts (new category only)
  6. Run tests

What it can do on your machine

Read from SKILL.md and the folder at commit e23db2d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • NEW_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Eisland Dev Add SVG Icon loads about 1.1k tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 400 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from JNTMTMTM/eIsland at commit e23db2d, republished under its GPL-3.0 licence (© JNTMTMTM). 400 words, ~1,096 tokens.

Download SKILL.mdSave it as .claude/skills/eisland-dev-add-svg-icon/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
eisland-dev-add-svg-icon
description
Add a new SVG icon to the project's icon enum system with matching test assertions. Use this skill whenever the user asks to "add SVG icon", "添加图标", "add icon enum", "注册图标", "补齐图标枚举", "add SVG enum", or wants to register a new .svg file in the SvgIcon utility. Also trigger when the user provides a path to an .svg file and asks to create enum/test for it.
author
鸡哥

Add SVG Icon Enum and Test

Register a new SVG file in the project's icon enum system and ensure test coverage.

When to use

  • User provides an SVG file path and asks to add it to the enum
  • User says "添加图标", "add icon", "补齐枚举", "注册 SVG"
  • User adds a new .svg file to src/renderer/public/svg/app/ and wants it registered

Project structure

src/renderer/public/svg/
├── app/*.svg              → SvgIcon (eisland-icon.ts)
├── agent/*.svg            → AgentIcon (agent-icon.ts)
├── countries/*.svg        → CountryIcon (country-icon.ts)
└── devicons/*.svg         → DevIcon (dev-icon.ts)

src/renderer/utils/SvgIcon/
├── index.ts               → unified exports
├── eisland-icon.ts        → SvgIcon enum
├── agent-icon.ts          → AgentIcon enum
├── country-icon.ts        → CountryIcon enum + aliases + resolvers
├── dev-icon.ts            → DevIcon enum + aliases + resolvers
└── test/
    ├── eisland-icon.test.ts
    ├── agent-icon.test.ts
    ├── country-icon.test.ts
    └── dev-icon.test.ts

Process

Step 1: Identify the icon category

Determine which enum the SVG belongs to based on its filesystem path:

SVG pathEnum fileEnum namePath prefix
svg/app/FOO.svgeisland-icon.tsSvgIcon./svg/app/
svg/agent/FOO.svgagent-icon.tsAgentIcon./svg/agent/
svg/countries/FOO.svgcountry-icon.tsCountryIcon./svg/countries/
svg/devicons/FOO.svgdev-icon.tsDevIcon/svg/devicons/

Note the path prefix difference: root/agent/countries use ./svg/..., devicons use /svg/....

Step 2: Derive the enum key

Use the SVG filename (without extension), converted to UPPER_SNAKE_CASE for eisland-icon and agent-icon. Examples:

  • FILTER.svg → FILTER
  • Codex.svg → Codex
  • PIN_ON_TOP.svg → PIN_ON_TOP

For country-icon and dev-icon, keys follow their existing conventions (e.g., CHN, javascript).

Step 3: Add to the enum

Read the enum file, then add the new entry before the closing } as const;. Keep entries sorted logically or grouped with related icons — match the existing ordering style.

eisland-icon.ts / agent-icon.ts pattern:

ts
  NEW_ICON: './svg/app/NEW_ICON.svg',

country-icon.ts / dev-icon.ts: These have aliases and resolver functions. Only add if the user explicitly asks, and follow the existing alias/resolver patterns.

Show full SKILL.md (190 more words)Show less
Step 4: Update the test file

Read the test file for the enum, then make three changes:

  1. Add property assertion — add expect(EnumName).toHaveProperty('NEW_KEY'); in the "should contain expected keys" test block.

  2. Update key count — the test has an assertion like expect(Object.keys(EnumName)).toHaveLength(N). Increment N by 1.

  3. Path format check — verify the existing path regex test covers the new entry's path format. No change needed unless the path format differs from existing entries.

Step 5: Export from index.ts (new category only)

If adding to an existing enum file (eisland-icon, agent-icon, etc.), no change to index.ts is needed — it's already exported.

If creating a new category (a new enum file), add the export to src/renderer/utils/SvgIcon/index.ts:

ts
export { NewEnum } from './new-enum';
export type { NewEnumKey } from './new-enum';
Step 6: Run tests
bash
npx vitest run src/renderer/utils/SvgIcon/test/<enum-name>.test.ts

All tests must pass. If the key count assertion fails, double-check the count update in Step 4.

Important rules

  • Never modify existing entries — only add new ones
  • Match existing code style — look at surrounding entries for trailing commas, spacing, comments
  • Update key count in tests — forgetting this is the most common mistake
  • Run tests before reporting done — verify the change actually works
  • Path prefix must match the category — ./svg/ vs /svg/ matters

© JNTMTMTM, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/eisland-dev-add-svg-icon of JNTMTMTM/eIsland.

  • SKILL.md
  • evals/evals.json

Open the folder on GitHubat commit e23db2d

Compare with similar skills

Eisland Dev Add SVG Icon next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Eisland Dev Add SVG Icon compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Eisland Dev Add SVG Icon this skillJNTMTMTM/eIsland320—~1.1kAutomated safety check: PassGPL-3.0
Kill AI Slopyetone/kill-ai-slop1.3k—~1.4kAutomated safety check: PassApache-2.0
Better Iconsdtsola/xiaoyaosearch1k2 repos~895Automated safety check: PassCustom licence
Fluent Icons Lookupcoltongriffith/fluenticons443—~492Automated safety check: PassNone
Review UI DesignColourCloudSky/review-ui-design-skill120—~1.4kAutomated safety check: PassMIT
Solar Iconssaoudi-h/solar-icons190—~2.1kAutomated safety check: PassMIT

Similar skills

  • Kill AI Slop

    yetone/kill-ai-slop

    Find and remove AI slop — the generic, machine-default visual and copy tics of vibe-coded products — from a web project.

    1.3k GitHub stars~1.4k tokensUpdated 26 days ago
    Frontend & DesignAuto-check passed
  • Better Icons

    dtsola/xiaoyaosearch

    Searches more than 200 Iconify icon libraries and fetches icons as SVG from a command line tool or an MCP server.

    1k GitHub starsUsed in 2 repos~895 tokens
    Frontend & DesignAuto-check passed
  • Fluent Icons Lookup

    coltongriffith/fluenticons

    Looks up Microsoft Fluent UI System Icons and their exact @fluentui/react-icons component names through the Fluent Icons MCP server or HTTP API, instead of guessing.

    443 GitHub stars~492 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Review UI Design

    ColourCloudSky/review-ui-design-skill

    评审单份或一组产品 UI 设计稿,像资深设计专家团一样从视觉质量、交互体验、设计系统三个方面发现问题并给出具体、可执行、按优先级排序的优化建议;在可行时默认生成与报告编号对应的问题标注图和优化建议图,并支持修改稿增量复评。Use when the user provides UI screenshots, icon sets, screen recordings, product flows…

    120 GitHub stars~1.4k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Solar Icons

    saoudi-h/solar-icons

    Add Solar Icons via @solar-icons/cli to any React, Vue, Svelte, Solid, Angular, React Native, Nuxt, Static, vanilla JS, or Laravel Blade project.

    190 GitHub stars~2.1k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Article Icons

    smallnest/goal-workflow

    Illustrate an article (Markdown, HTML, etc.) with animated-style icons from itshover.com/icons.

    291 GitHub stars~1.6k tokensUpdated 27 days ago
    Frontend & DesignAuto-check passed

More from JNTMTMTM/eIsland

All 11 skills in this repo
  • Generate a release announcement markdown for eIsland. An agent skill from JNTMTMTM/eIsland.

    320 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Refactor a monolithic React component file into a standardized module structure with components/, hooks/, utils/, and config/ subdirectories.

    320 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Refactor a monolithic React component file into a standardized module structure with components/, hooks/, utils/, types/, and config/ subdirectories.

    320 GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • Add a new empty subpage (tab) to an existing eIsland settings section with page navigation support.

    320 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Eisland Dev Git Commit

    JNTMTMTM/eIsland

    Analyze the current git status, review all staged and unstaged changes, and create a commit with a proper English commit message following conventional commit format.

    320 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Eisland Dev Update Docs

    JNTMTMTM/eIsland

    Update or create documentation in the eIsland VuePress docs site (web/eisland-web-docs).

    320 GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Questions about Eisland Dev Add SVG Icon

What does Eisland Dev Add SVG Icon do?

Add a new SVG icon to the project's icon enum system with matching test assertions. Eisland Dev Add SVG Icon is an agent skill from JNTMTMTM/eIsland. Add a new SVG icon to the project's icon enum system with matching test assertions.

When should I use Eisland Dev Add SVG Icon?

Eisland Dev Add SVG Icon fits situations like: the user asks to add SVG icon; wants to register a new .svg file in the SvgIcon utility; the user provides a path to an .svg file and asks to create enum/test for it.

How do I install Eisland Dev Add SVG Icon in Claude Code?

Run `npx skills add JNTMTMTM/eIsland --skill eisland-dev-add-svg-icon -a claude-code`. Or copy the skill folder (.agents/skills/eisland-dev-add-svg-icon in JNTMTMTM/eIsland) into .claude/skills/eisland-dev-add-svg-icon in your project. Claude Code loads it when a task matches its description.

How do I install Eisland Dev Add SVG Icon in Codex?

Run `npx skills add JNTMTMTM/eIsland --skill eisland-dev-add-svg-icon -a codex`. Or copy the skill folder (.agents/skills/eisland-dev-add-svg-icon in JNTMTMTM/eIsland) into .agents/skills/eisland-dev-add-svg-icon in your project. Codex loads it when a task matches its description.

Can I use Eisland Dev Add SVG Icon in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JNTMTMTM/eIsland --skill eisland-dev-add-svg-icon -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/eisland-dev-add-svg-icon, .gemini/skills/eisland-dev-add-svg-icon, .github/skills/eisland-dev-add-svg-icon and .opencode/skills/eisland-dev-add-svg-icon in your project.

What does Eisland Dev Add SVG Icon need to run?

Going by SKILL.md and its folder, Eisland Dev Add SVG Icon needs the command-line tools its instructions call (npx) and credentials named NEW_KEY. Our summary lists: Node.js; A credential in NEW_KEY.

Does Eisland Dev Add SVG Icon access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Eisland Dev Add SVG Icon safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Eisland Dev Add SVG Icon use?

Eisland Dev Add SVG Icon is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Eisland Dev Add SVG Icon use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Eisland Dev Add SVG Icon?

Skills that share tags, products or a category with Eisland Dev Add SVG Icon: Kill AI Slop (yetone/kill-ai-slop, 1.3k stars), Better Icons (dtsola/xiaoyaosearch, 1k stars), Fluent Icons Lookup (coltongriffith/fluenticons, 443 stars) and Review UI Design (ColourCloudSky/review-ui-design-skill, 120 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Eisland Dev Add SVG Icon?

JNTMTMTM (a GitHub user) maintains it in JNTMTMTM/eIsland, which has 320 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 11, 2026.

Source: JNTMTMTM/eIsland on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.