Agent skill

Vite Plugin SVG Icons Ng

by yangxu52 in yangxu52/vite-plugin-svg-icons-ng

Consumer setup and integration for vite-plugin-svg-icons-ng: installation, createSvgIconsPlugin configuration, direct SVG usage, Vue 3 and React components, htmlMode, virtual modules, TypeScript…

MITAuto-check passedFrontend & Design

Install Vite Plugin SVG Icons Ng

skills CLI
$ npx skills add yangxu52/vite-plugin-svg-icons-ng --skill vite-plugin-svg-icons-ng -a claude-code

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

GitHub CLI
$ gh skill install yangxu52/vite-plugin-svg-icons-ng vite-plugin-svg-icons-ng --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/yangxu52/vite-plugin-svg-icons-ng.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/vite-plugin-svg-icons-ng .claude/skills/vite-plugin-svg-icons-ng && 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
vite-plugin-svg-icons-ng
GitHub stars
117
Token cost
~919 tokens
SKILL.md length
386 words
Files
5 (incl. references)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Consumer setup and integration for vite-plugin-svg-icons-ng: installation, createSvgIconsPlugin configuration, direct SVG usage, Vue 3 and React components, htmlMode, virtual modules, TypeScript…

  • Works in 6 steps: Classify the request as setup,… → Identify the project's framework and… → Check prerequisites and the existing… → …
  • Tasks that involve Icons and illustration
  • SKILL.md covers Scope, Documentation sources and…, Agent workflow and Gotchas, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Vite Plugin SVG Icons Ng is an agent skill from yangxu52/vite-plugin-svg-icons-ng. Consumer setup and integration for vite-plugin-svg-icons-ng: installation, createSvgIconsPlugin configuration, direct SVG usage, Vue 3 and React components, htmlMode, virtual modules, TypeScript, SSR, and migration from vite-plugin-svg-icons. Excludes plugin source development, compiler/cache/HMR internals, svg-icon-baker, workspace maintenance, tests, and releases.

Its SKILL.md is about 920 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/getting-started.md`, `references/migration.md` and `references/options-and-runtime.md`).

It sits in Frontend & Design, covering Icons and illustration. It works with Vite, TypeScript and Vue.js. The repository describes itself as: A high-performance SVG icon plugin for Vite that automatically generates SVG sprites from files and injects them at runtime, making icon usage simpler and more efficient ✈️. The licence is MIT.

When your agent uses it

  • Tasks that involve Icons and illustration

Example prompts

  • “/vite-plugin-svg-icons-ng”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Classify the request as setup, direct/component usage, runtime/SSR/TypeScript, or migration.
  2. Identify the project's framework and package manager before choosing an example.
  3. Check prerequisites and the existing plugin configuration before proposing edits.
  4. Give the smallest change supported by the documentation, including the documented imports, paths, and relevant follow-up page when needed.
  5. Call out mutually exclusive or easy-to-misconfigure runtime choices.
  6. For migration, follow the migration reference and finish with its checklist.

What it can do on your machine

Read from SKILL.md and the folder at commit ca598a8. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    Links to these hosts (documentation or services it may open):

    • vite-plugin-svg-icons-ng.yangxu.cc

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Vite Plugin SVG Icons Ng loads about 919 tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 98 tokens; SKILL.md has 386 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~98
When it runs · the whole SKILL.md, loaded when a task matches
~919
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.8k

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 yangxu52/vite-plugin-svg-icons-ng at commit ca598a8, republished under its MIT licence (© yangxu52). 386 words, ~919 tokens.

Download SKILL.mdSave it as .claude/skills/vite-plugin-svg-icons-ng/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
vite-plugin-svg-icons-ng
description
Consumer setup and integration for vite-plugin-svg-icons-ng: installation, createSvgIconsPlugin configuration, direct SVG usage, Vue 3 and React components, htmlMode, virtual modules, TypeScript, SSR, and migration from vite-plugin-svg-icons. Excludes plugin source development, compiler/cache/HMR internals, svg-icon-baker, workspace maintenance, tests, and releases.

vite-plugin-svg-icons-ng (library-user support)

Consumer-facing reference for vite-plugin-svg-icons-ng, intended for AI Agent use rather than direct end-user reading.

Scope

Cover only the public consumer workflow:

  • installation and first Vite configuration;
  • direct SVG usage and reusable Vue 3 or React icon components;
  • public plugin options and runtime choices;
  • virtual modules, SSR, and TypeScript declarations;
  • migration from vite-plugin-svg-icons.

Do not infer consumer instructions from implementation files. Do not handle package internals, compiler behavior, cache/HMR fixes, svg-icon-baker development, workspace/release work, or test maintenance. Route those requests to the repository's developer skills instead.

Documentation sources and routing

Documentation site: https://vite-plugin-svg-icons-ng.yangxu.cc

All factual guidance must be grounded in the documentation site. Read only the reference needed for the current question. When the user asks in Chinese, use the Chinese guide pages on the documentation site; do not assume undocumented behavior from source code, package metadata, or history.

User taskSkill reference
Install and configure the pluginreferences/getting-started.md
Direct usage or component integrationreferences/usage-and-components.md
Options, virtual modules, SSR, or TypeScriptreferences/options-and-runtime.md
Migrate from the old pluginreferences/migration.md

If the docs do not establish an answer, say what is undocumented and ask for the missing project context instead of guessing from source code or history.

Show full SKILL.md (189 more words)Show less

Agent workflow

  1. Classify the request as setup, direct/component usage, runtime/SSR/TypeScript, or migration.
  2. Identify the project's framework and package manager before choosing an example.
  3. Check prerequisites and the existing plugin configuration before proposing edits.
  4. Give the smallest change supported by the documentation, including the documented imports, paths, and relevant follow-up page when needed.
  5. Call out mutually exclusive or easy-to-misconfigure runtime choices.
  6. For migration, follow the migration reference and finish with its checklist.

Gotchas

  • Do not load every reference for a single-topic request.
  • Do not fill documentation gaps with package internals or general ecosystem assumptions.
  • Do not answer implementation, testing, workspace, or release questions with this consumer skill.

Should trigger

  • “How do I install and configure vite-plugin-svg-icons-ng?”
  • “Write a Vue 3/React SvgIcon component for this plugin.”
  • “Which htmlMode should my SSR app use?”
  • “Why is my symbolId invalid or duplicated?”
  • “How do I configure the TypeScript declarations?”
  • “How do I use virtual:svg-icons/ids?”
  • “Migrate this project from vite-plugin-svg-icons.”

Should not trigger

  • “Fix icon cache invalidation or HMR in the plugin source.”
  • “Change SVG ID rewriting in svg-icon-baker.”
  • “Which package owns this workspace dependency or release tag?”

© yangxu52, MIT. 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 4 other files (references) in skills/vite-plugin-svg-icons-ng of yangxu52/vite-plugin-svg-icons-ng.

  • SKILL.md
  • references/getting-started.md
  • references/migration.md
  • references/options-and-runtime.md
  • references/usage-and-components.md

Open the folder on GitHubat commit ca598a8

Compare with similar skills

Vite Plugin SVG Icons Ng 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.

Vite Plugin SVG Icons Ng compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vite Plugin SVG Icons Ng this skillyangxu52/vite-plugin-svg-icons-ng117—~919Automated safety check: PassMIT
Cross Platform Tauri UIifer47/markeron1.2k—~2kAutomated safety check: PassMIT
Vuetify Skilldlogue/vite-vuetify-ts-starter1811 repos~1.9kAutomated safety check: PassMIT
Uni Appsonofmagic/uni-app-tailwindcss-template3362 repos~1kAutomated safety check: PassMIT
Tauri Config Ipcifer47/markeron1.2k—~1kAutomated safety check: PassMIT
Vue ExpertJeffallan/claude-skills12k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Cross-platform UI styling for MarkerOn Tauri app (macOS WKWebView vs Windows WebView2).

    1.2k GitHub stars~2k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Vuetify Skilld

    logue/vite-vuetify-ts-starter

    Vue Material Component Framework. An agent skill from logue/vite-vuetify-ts-starter.

    181 GitHub starsUsed in 1 repo~1.9k tokens
    Frontend & DesignAuto-check passed
  • Uni App

    sonofmagic/uni-app-tailwindcss-template

    Comprehensive skill reference for uni-app cross-platform development framework

    336 GitHub starsUsed in 2 repos~1k tokens
    Frontend & DesignAuto-check passed
  • Tauri Config Ipc

    ifer47/markeron

    Extend MarkerOn settings, persisted config, or Tauri IPC commands.

    1.2k GitHub stars~1k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Vue Expert

    Jeffallan/claude-skills

    Builds Vue 3 apps with the Composition API and script setup, Pinia state, Nuxt 3, Vite tuning and Quasar or Capacitor mobile builds, checked with vue-tsc and Vitest.

    12k GitHub stars~1.1k tokensUpdated 7 days ago
    Frontend & DesignAuto-check passed
  • Mas Frontend Standards

    AUTO-MAS-Project/AUTO-MAS

    A skill your agent uses when working on AUTO-MAS frontend Vue, TypeScript, Vite, Electron renderer, routing, API composables, state, styles, forms, validation, or frontend verification tasks.

    711 GitHub stars~3.8k tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from yangxu52/vite-plugin-svg-icons-ng

  • SVG Icon Baker

    yangxu52/vite-plugin-svg-icons-ng

    A skill your agent uses for packages/svg-icon-baker SVG-to-symbol work: public API, synchronous error model, safe SVGO configuration, local ID and reference rewriting, viewBox handling, and output…

    117 GitHub stars~901 tokensUpdated 13 days ago
    Auto-check passed
  • Vite Plugin SVG Icons Ng

    yangxu52/vite-plugin-svg-icons-ng

    A skill your agent uses for packages/vite-plugin-svg-icons-ng implementation work: icon scanning, compilation and caching, symbolId generation, HTML injection, Vite virtual modules, SSR, and HMR.

    117 GitHub stars~808 tokensUpdated 13 days ago
    Auto-check passed
  • Vite Plugin SVG Icons Ng Workspace

    yangxu52/vite-plugin-svg-icons-ng

    A skill your agent uses for repository-level work in the vite-plugin-svg-icons-ng pnpm workspace: package boundaries, root scripts, docs and playground ownership, release tags, CI, and cross-package…

    117 GitHub stars~742 tokensUpdated 13 days ago
    Auto-check passed

Questions about Vite Plugin SVG Icons Ng

What does Vite Plugin SVG Icons Ng do?

Consumer setup and integration for vite-plugin-svg-icons-ng: installation, createSvgIconsPlugin configuration, direct SVG usage, Vue 3 and React components, htmlMode, virtual modules, TypeScript…. Vite Plugin SVG Icons Ng is an agent skill from yangxu52/vite-plugin-svg-icons-ng. Consumer setup and integration for vite-plugin-svg-icons-ng: installation, createSvgIconsPlugin configuration, direct SVG usage, Vue 3 and React components, htmlMode, virtual modules, TypeScript, SSR, and migration from vite-plugin-svg-icons.

When should I use Vite Plugin SVG Icons Ng?

Vite Plugin SVG Icons Ng fits situations like: tasks that involve Icons and illustration.

How do I install Vite Plugin SVG Icons Ng in Claude Code?

Run `npx skills add yangxu52/vite-plugin-svg-icons-ng --skill vite-plugin-svg-icons-ng -a claude-code`. Or copy the skill folder (skills/vite-plugin-svg-icons-ng in yangxu52/vite-plugin-svg-icons-ng) into .claude/skills/vite-plugin-svg-icons-ng in your project. Claude Code loads it when a task matches its description.

How do I install Vite Plugin SVG Icons Ng in Codex?

Run `npx skills add yangxu52/vite-plugin-svg-icons-ng --skill vite-plugin-svg-icons-ng -a codex`. Or copy the skill folder (skills/vite-plugin-svg-icons-ng in yangxu52/vite-plugin-svg-icons-ng) into .agents/skills/vite-plugin-svg-icons-ng in your project. Codex loads it when a task matches its description.

Can I use Vite Plugin SVG Icons Ng 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 yangxu52/vite-plugin-svg-icons-ng --skill vite-plugin-svg-icons-ng -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vite-plugin-svg-icons-ng, .gemini/skills/vite-plugin-svg-icons-ng, .github/skills/vite-plugin-svg-icons-ng and .opencode/skills/vite-plugin-svg-icons-ng in your project.

What does Vite Plugin SVG Icons Ng need to run?

SKILL.md names no scripts, command-line tools or credentials: Vite Plugin SVG Icons Ng is instructions for the agent only.

Does Vite Plugin SVG Icons Ng access the network?

SKILL.md names 1 domain. As links in the text: vite-plugin-svg-icons-ng.yangxu.cc. This is read from the text; nothing was executed.

Is Vite Plugin SVG Icons Ng 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 Vite Plugin SVG Icons Ng use?

Vite Plugin SVG Icons Ng is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Vite Plugin SVG Icons Ng use?

About 919 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Vite Plugin SVG Icons Ng?

Skills that share tags, products or a category with Vite Plugin SVG Icons Ng: Cross Platform Tauri UI (ifer47/markeron, 1.2k stars), Vuetify Skilld (logue/vite-vuetify-ts-starter, 181 stars), Uni App (sonofmagic/uni-app-tailwindcss-template, 336 stars) and Tauri Config Ipc (ifer47/markeron, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vite Plugin SVG Icons Ng?

yangxu52 (a GitHub user) maintains it in yangxu52/vite-plugin-svg-icons-ng, which has 117 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 28, 2026.

Source: yangxu52/vite-plugin-svg-icons-ng on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.