skills/avue-skills/avue/SKILL.md
Builds data-driven admin interfaces with the Avue framework (based on Vue 2 + Element UI). Covers CRUD tables, forms, global APIs ($DialogForm, $Clipboard, $ImagePreview, $Export), Tree, Upload, and Select components. Use when the user needs to build management systems, data-driven views, or configuration-based admin UIs with Avue.
npx skillsauth add partme-ai/full-stack-skills avueInstall 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:
<template>
<div>
<avue-form :option="option" v-model="form" @submit="handleSubmit" />
<el-button @click="openDialog">Open Dialog Form</el-button>
</div>
</template>
<script>
export default {
data() {
return {
form: {},
option: {
column: [
{ label: 'Name', prop: 'name', type: 'input', rules: [{ required: true }] },
{ label: 'Category', prop: 'category', type: 'tree', dicUrl: '/api/categories' }
]
}
}
},
methods: {
handleSubmit(form, done) { console.log(form); done() },
openDialog() {
this.$DialogForm.show({ option: this.option, callback: (form) => console.log(form) })
}
}
}
</script>
This skill is organized to match the Avue official documentation structure (https://avuejs.com/). When working with Avue:
Identify the topic from the user's request:
examples/getting-started/installation.md or examples/getting-started/quick-start.mdexamples/forms/basic-form.md or examples/forms/form-config.mdexamples/components/table.mdexamples/components/tree.mdexamples/components/upload.mdapi/global-api.mdLoad the appropriate example file from the examples/ directory:
Getting Started (快速开始) - examples/getting-started/:
examples/getting-started/installation.md - Installing Avue and basic setupexamples/getting-started/quick-start.md - Quick start tutorialexamples/getting-started/global-config.md - Global configurationForms (表单) - examples/forms/:
examples/forms/basic-form.md - Basic form usageexamples/forms/form-config.md - Form configurationexamples/forms/form-validation.md - Form validationexamples/forms/form-table.md - Form with table selectorComponents (组件) - examples/components/:
examples/components/table.md - Table componentexamples/components/tree.md - Tree componentexamples/components/upload.md - Upload componentexamples/components/select.md - Select componentexamples/components/input.md - Input componentAdvanced (高级) - examples/advanced/:
examples/advanced/crud.md - CRUD operationsexamples/advanced/internationalization.md - Internationalizationexamples/advanced/plugins.md - Plugins and extensionsFollow 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/global-api.md - Global API referenceapi/components.md - Component API referenceUse templates from the templates/ directory:
templates/form-template.md - Form templatetemplates/table-template.md - Table templatetemplates/crud-template.md - CRUD templateThis 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 Avue API documentation structure:
api/global-api.md)api/components.md)To use API reference:
api/ directoryexamples/ directoryAvue, Vue, Element UI, data-driven, form, table, CRUD, $DialogForm, $Clipboard, $ImagePreview, $Print, $Export, tree, upload, select, 数据驱动, 表单, 表格, CRUD, 树形, 上传, 选择器
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.