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 teachingai/agent-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
Guidance for Next.js using the official docs at nextjs.org/docs. Use when the user needs Next.js concepts, configuration, routing, data fetching, or API reference details.
tools
Provides comprehensive guidance for Flask framework including routing, templates, forms, database integration, extensions, and deployment. Use when the user asks about Flask, needs to create web applications, implement routes, or build Python web services.
development
Provides comprehensive guidance for FastAPI framework including routing, request validation, dependency injection, async operations, OpenAPI documentation, and database integration. Use when the user asks about FastAPI, needs to create REST APIs, or build high-performance Python web services.
development
Provides comprehensive guidance for Django framework including models, views, templates, forms, admin, REST framework, and deployment. Use when the user asks about Django, needs to create web applications, implement models and views, or build Django REST APIs.