# Init pure admin iconify

> Init pure admin iconify is an open-source agent skill for developer tools. Sets up a pure-admin style icon system for Vite and Vue 3 projects. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ruan-cat/monorepo/tree/main/ai-plugins/dev-skills/skills/init-pure-admin-iconify
- **Repository:** https://github.com/ruan-cat/monorepo
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** init-pure-admin-iconify
- **Collection:** https://github.com/ruan-cat/monorepo
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill walks an agent through adding a unified icon rendering layer to a Vite and Vue 3 project, modeled on the pure-admin approach. It covers offline icons, online Iconify icons, and a single useRenderIcon helper that returns a component for template, menu, route or table configuration.

The workflow is copy-first: the agent maps six ReIcon files from a reference project or from bundled templates to matching paths, installs @iconify/json, @iconify/vue, unplugin-icons and vite-svg-loader, enables the unplugin-icons Vite plugin, and registers the components at app startup. It then lists the checks to run, such as confirming the ~icons imports resolve and that legacy IconXxx aliases still work.

It also includes an optional useIconEffect composable that adds a gradient fill and a breathing animation to SVG icons, with GSAP or CSS strategies and a shared coordinator pattern for many instances. Expect a Vite and Vue 3 codebase with an @/ path alias and pnpm available.

## When your agent uses it

> 初始化 vite+vue3 项目的 pure-admin 风格 iconify 图标渲染体系 （离线 + 在线 + useRenderIcon 统一渲染）。当用户提及"初始化 iconify" "pure-admin 图标方案""ReIcon/useRenderIcon""离线图标接入" "后台项目图标基础设施"时使用此技能。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs TypeScript scripts](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/dev-skills/skills/init-pure-admin-iconify)
- [No network calls found in its scripts](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/dev-skills/skills/init-pure-admin-iconify)
- [License: MIT](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/dev-skills/skills/init-pure-admin-iconify)

## Features

- **Offline icon mapping:** Maps frequently used icons to local components so they render without network access.
- **Online icon support:** Renders Iconify icons loaded by name from the online set when no offline copy is needed.
- **Unified render hook:** Provides useRenderIcon to turn strings or components into a renderable icon for configuration-driven UI.
- **Legacy alias layer:** Keeps older IconXxx names working while new code uses collection and name strings.
- **Setup checklist:** Lists the post-install checks for Vite plugin, path alias, startup registration and aliases.
- **Icon gradient and breathing:** Adds multi-stop gradient fills and GSAP or CSS breathing animation to SVG icons.

## Good for

- Set up a unified icon system in a new Vue admin project
- Migrate an older admin project's icons to one rendering entry point
- Show menu icons from configuration strings like ep/setting or ri:home-4-line
- Add a gradient and pulsing effect to an icon on a landing card
- Register offline icons so they work on an intranet without network access

## Install

### Claude Code

This skill ships in the `dev-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ruan-cat/monorepo
/plugin install dev-skills@ruan-cat-tools
```

Or copy only this skill to `~/.claude/skills/init-pure-admin-iconify`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/init-pure-admin-iconify &&
cp -R "$tmp/ai-plugins/dev-skills/skills/init-pure-admin-iconify" ~/.claude/skills/init-pure-admin-iconify &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/init-pure-admin-iconify` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/init-pure-admin-iconify` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/init-pure-admin-iconify &&
cp -R "$tmp/ai-plugins/dev-skills/skills/init-pure-admin-iconify" ~/.agents/skills/init-pure-admin-iconify &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/init-pure-admin-iconify` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/init-pure-admin-iconify` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/init-pure-admin-iconify &&
cp -R "$tmp/ai-plugins/dev-skills/skills/init-pure-admin-iconify" ~/.cursor/skills/init-pure-admin-iconify &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/init-pure-admin-iconify` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ruan-cat/monorepo.git --path ai-plugins/dev-skills/skills/init-pure-admin-iconify
```

Or copy the folder to `~/.gemini/skills/init-pure-admin-iconify` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/init-pure-admin-iconify`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/init-pure-admin-iconify &&
cp -R "$tmp/ai-plugins/dev-skills/skills/init-pure-admin-iconify" ~/.copilot/skills/init-pure-admin-iconify &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/init-pure-admin-iconify` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ruan-cat/monorepo.git
```

Then copy `monorepo/ai-plugins/dev-skills/skills/init-pure-admin-iconify` into your agent's skills folder as `init-pure-admin-iconify`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What packages does the setup need?

It installs @iconify/json, @iconify/vue, unplugin-icons and vite-svg-loader as dev dependencies, with @pureadmin/utils as optional.

### Which files does Init pure admin iconify create?

It copies six ReIcon files into src/components/ReIcon, plus a setup file into src/plugins/icon.ts or the project's existing entry registration.

### Does Init pure admin iconify need GSAP?

Only the GSAP animation strategy for useIconEffect requires installing gsap; the CSS strategy does not.

### How is an offline icon added?

Import the icon from ~icons/collection/name, add it to the offline icon map with markRaw, and optionally add a legacy alias.

### How do I install Init pure admin iconify in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/init-pure-admin-iconify to use it in all your projects, or to .claude/skills/init-pure-admin-iconify in one project. Or install the dev-skills plugin, which includes it: /plugin marketplace add ruan-cat/monorepo, then /plugin install dev-skills@ruan-cat-tools.

### Does Init pure admin iconify run scripts?

Yes. It runs TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Init pure admin iconify?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Init pure admin iconify?

The closest alternatives to Init pure admin iconify are Add favicon, React frontend, Vue, Vitepress and Vue performance.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Add favicon](https://ai-powered.com/skills/add-favicon): Add favicon is an open-source agent skill for developer tools.
- [React frontend](https://ai-powered.com/skills/react-frontend): React frontend is an open-source agent skill for developer tools.
- [Vue](https://ai-powered.com/skills/vue): Vue is an open-source agent skill for developer tools.
- [Vitepress](https://ai-powered.com/skills/vitepress): Vitepress is an open-source agent skill for developer tools.
- [Vue performance](https://ai-powered.com/skills/vue-performance): Vue performance is an open-source agent skill for developer tools.
- [Build tooling](https://ai-powered.com/skills/build-tooling): Build tooling is an open-source agent skill for developer tools.
- [Intlayer vanilla](https://ai-powered.com/skills/intlayer-vanilla): Intlayer vanilla is an open-source agent skill for developer tools.
- [Tailwindcss4](https://ai-powered.com/skills/tailwindcss4): Tailwindcss4 is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/init-pure-admin-iconify
