skills/element-plus-vue3/SKILL.md
Provides comprehensive guidance for Element Plus Vue 3 component library including installation, components, themes, internationalization, and API reference. Use when the user asks about Element Plus for Vue 3, needs to build Vue 3 applications with Element Plus, or customize component styles.
npx skillsauth add sonvee/ai-skills element-plus-vue3Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever the user wants to:
This skill is organized to match the Element Plus official documentation structure (https://element-plus.org/zh-CN/, https://element-plus.org/en-US/guide/design, https://element-plus.org/en-US/component/overview). When working with Element Plus:
Identify the topic from the user's request:
examples/guide/installation.mdexamples/guide/quick-start.mdexamples/guide/design.mdexamples/components/api/Load the appropriate example file from the examples/ directory:
Guide (使用指南):
examples/guide/installation.md - Installation guideexamples/guide/quick-start.md - Quick start guideexamples/guide/design.md - Design guidelinesexamples/guide/i18n.md - Internationalizationexamples/guide/theme.md - Theme customizationexamples/guide/global-config.md - Global configurationComponents (组件):
examples/components/overview.md - Components overviewexamples/components/button.md - Button componentexamples/components/input.md - Input componentexamples/components/form.md - Form componentexamples/components/table.md - Table componentexamples/components/card.md - Card componentexamples/components/dialog.md - Dialog componentexamples/components/message.md - Message componentexamples/components/notification.md - Notification componentexamples/components/menu.md - Menu componentexamples/components/tabs.md - Tabs componentexamples/components/date-picker.md - DatePicker componentexamples/components/select.md - Select componentexamples/components/switch.md - Switch componentexamples/components/checkbox.md - Checkbox componentexamples/components/radio.md - Radio componentexamples/components/upload.md - Upload componentexamples/components/pagination.md - Pagination componentexamples/components/tree.md - Tree componentexamples/components/tree-select.md - TreeSelect componentexamples/components/transfer.md - Transfer componentexamples/components/descriptions.md - Descriptions componentexamples/components/avatar.md - Avatar componentexamples/components/badge.md - Badge componentexamples/components/tag.md - Tag componentexamples/components/empty.md - Empty componentexamples/components/loading.md - Loading componentexamples/components/popover.md - Popover componentexamples/components/tooltip.md - Tooltip componentexamples/components/dropdown.md - Dropdown componentexamples/components/drawer.md - Drawer componentexamples/components/popconfirm.md - Popconfirm componentFollow the specific instructions in that example file for syntax, structure, and best practices
Important Notes:
Reference API documentation in the api/ directory when needed:
api/component-api.md - Component API referenceapi/props-and-events.md - Props and events referenceapi/global-config.md - Global configuration APIUse templates from the templates/ directory:
templates/installation.md - Installation templatestemplates/component-usage.md - Component usage templatestemplates/project-setup.md - Project setup templatesElement Plus is a Vue 3 component library that provides a rich set of UI components following Element Design principles.
Key Concepts:
Using npm:
npm install element-plus
Using yarn:
yarn add element-plus
Using pnpm:
pnpm add element-plus
Full Import:
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
const app = createApp(App)
app.use(ElementPlus)
app.mount('#app')
On-Demand Import:
import { ElButton, ElInput } from 'element-plus'
import 'element-plus/es/components/button/style/css'
import 'element-plus/es/components/input/style/css'
Guide (指南):
examples/guide/ or examples/getting-started/ → https://element-plus.org/en-US/guide/designComponents (组件):
examples/components/ → https://element-plus.org/en-US/component/overviewThis skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).
To use examples:
To use templates:
templates/ directory for common scaffoldingDetailed API documentation is available in the api/ directory, organized to match the official Element Plus API documentation structure:
api/component-api.md)api/props-and-events.md)api/global-config.md)To use API reference:
api/ directoryexamples/ directoryElement Plus, element-plus, Vue 3, Vue3, UI components, component library, 组件库, 按钮, 表单, 表格, 弹窗, 消息, 通知, 菜单, 标签页, 日期选择器, 选择器, 开关, 复选框, 单选框, 上传, 分页, 树形控件, 穿梭框, 描述列表, 头像, 徽标, 标签, 空状态, 加载, 弹出框, 提示, 下拉菜单, 抽屉, 气泡确认框, Button, Form, Table, Dialog, Message, Notification, Menu, Tabs, DatePicker, Select, Switch, Checkbox, Radio, Upload, Pagination, Tree, Transfer, Descriptions, Avatar, Badge, Tag, Empty, Loading, Popover, Tooltip, Dropdown, Drawer, Popconfirm
development
Pinia official Vue state management library, type-safe and extensible. Use when defining stores, working with state/getters/actions, or implementing store patterns in Vue apps.
development
NestJS best practices and architecture patterns for building production-ready applications. This skill should be used when writing, reviewing, or refactoring NestJS code to ensure proper patterns for modules, dependency injection, security, and performance.
tools
编码时必须严格遵循我的编码风格,在进行 vue项目/nestjs项目/uniapp项目/js/ts 时应优先使用该技能,在写文档或其他编程语言时不使用该技能
development
用于初始化“全新的”前后端分离全栈项目脚手架与基础配置,默认目录结构为同仓库下的 `frontend/` + `backend/`。当用户表达要新建项目、初始化项目、搭建前后端分离仓库、创建 monorepo 全栈模板,或已经进入 `superteam` 模式并要求按 `fullstack-init + superteam` 流程启动一个新项目时,应优先使用本 skill。它适用于从零创建项目结构、根目录共享文件、前后端初始化流程与基础环境配置约定;不适用于现有项目中的功能开发、Bug 修复、单独初始化前端或后端、只调整 README / `.gitignore` / `.env.*`、或仅讨论技术方案而尚未真正开始初始化项目的场景。