Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

uview-vue2uview vue2 前端

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

372

周安装

16

GitHub Stars

公开资料未说明

下载量

131
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:uview-vue2(uview vue2 前端)
来源仓库:https://github.com/teachingai/agent-skills
仓库路径:skills/uview-vue2
安装命令:
npx skills add teachingai/agent-skills --skill "uview-vue2"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add teachingai/agent-skills --skill "uview-vue2"

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 Vue、Tailwind、CSS 等相关代码。
  • 使用时需结合项目现有设计系统、路由和构建方式,避免生成孤立片段。
  • 涉及页面改动时应配合本地预览和构建检查确认视觉效果。
  • 安装前建议确认权限范围和维护状态,以及是否会触发命令执行或文件读写。

SKILL.md

When to use this skill

Use this skill whenever the user wants to:

  • Build uni-app applications with uView UI components
  • Use uView UI components (Button, Input, Form, Table, Modal, etc.)
  • Use uView UI tools ($u.toast, $u.http, etc.)
  • Customize uView UI theme
  • Integrate uView UI with uni-app
  • Create responsive layouts with uView UI
  • Use uView UI form components
  • Display data with uView UI components
  • Handle navigation with uView UI
  • Use uView UI utilities and helpers

How to use this skill

This skill is organized to match the uView UI official documentation structure (https://www.uviewui.com/guide/demo.html, https://www.uviewui.com/components/intro.html). When working with uView UI:

  1. Identify the topic from the user's request:

- Getting started/快速开始 → examples/getting-started/installation.md or examples/getting-started/basic-usage.md - Button/按钮 → examples/components/button.md - Input/输入框 → examples/components/input.md - Form/表单 → examples/components/form.md - Table/表格 → examples/components/table.md - Modal/模态框 → examples/components/modal.md - Toast/提示 → examples/tools/toast.md - Http/请求 → examples/tools/http.md - Theme/主题 → examples/advanced/theme-customization.md

  1. Load the appropriate example file from the examples/ directory: Getting Started (快速开始) - examples/getting-started/: Components (组件) - examples/components/: Tools (工具) - examples/tools/: Advanced (高级) - examples/advanced/:

- examples/getting-started/installation.md - Installing uView UI and basic setup - examples/getting-started/basic-usage.md - Basic component usage - examples/getting-started/design-principles.md - Design principles and best practices - examples/components/button.md - Button component - examples/components/input.md - Input component - examples/components/form.md - Form component - examples/components/table.md - Table component - examples/components/modal.md - Modal component - examples/components/toast.md - Toast component - examples/components/loading.md - Loading component - examples/components/picker.md - Picker component - examples/components/tabs.md - Tabs component - examples/components/navbar.md - Navbar component - examples/components/grid.md - Grid component - examples/components/card.md - Card component - examples/components/badge.md - Badge component - examples/components/swiper.md - Swiper component - examples/components/list.md - List component - examples/tools/toast.md - Toast tool ($u.toast) - examples/tools/http.md - Http tool ($u.http) - examples/tools/storage.md - Storage tool ($u.storage) - examples/tools/route.md - Route tool ($u.route) - examples/tools/debounce.md - Debounce tool - examples/tools/throttle.md - Throttle tool - examples/advanced/theme-customization.md - Customizing uView UI theme - examples/advanced/uniapp-integration.md - UniApp integration

  1. Follow the specific instructions in that example file for syntax, structure, and best practices Important Notes:

- All examples follow uView UI Vue 2.0 API - Examples use uni-app syntax - Each example file includes key concepts, code examples, and key points - Always check the example file for best practices and common patterns - uView UI is designed for uni-app (H5, 小程序, App)

  1. Reference API documentation in the api/ directory when needed:

- api/components.md - Component API reference - api/tools.md - Tools API reference ($u methods) - api/theme-variables.md - Theme variables API

  1. Use templates from the templates/ directory:

- templates/project-setup.md - Project setup templates - templates/component-template.md - Component usage templates

Doc mapping (one-to-one with official documentation)

Guide (指南):

Components (组件):

Examples and Templates

This skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).

To use examples:

  • Identify the topic from the user's request
  • Load the appropriate example file from the mapping above
  • Follow the instructions, syntax, and best practices in that file
  • Adapt the code examples to your specific use case

To use templates:

  • Reference templates in templates/ directory for common scaffolding
  • Adapt templates to your specific needs and coding style

API Reference

Detailed API documentation is available in the api/ directory, organized to match the official uView UI API documentation structure:

Components API (api/components.md)

  • All component props and APIs
  • Component events and slots
  • Component types and interfaces

Tools API (api/tools.md)

  • $u object methods
  • Toast, Http, Storage, Route tools
  • Utility functions

Theme Variables API (api/theme-variables.md)

  • SCSS variables
  • Theme customization variables
  • Color variables

To use API reference:

  1. Identify the API you need help with
  2. Load the corresponding API file from the api/ directory
  3. Find the API signature, parameters, return type, and examples
  4. Reference the linked example files for detailed usage patterns
  5. All API files include links to relevant example files in the examples/ directory

Best Practices

  1. Import uView UI: Import uView UI in main.js with Vue.use()
  2. Import styles: Import uView UI styles in App.vue
  3. Use easycom: Configure easycom in pages.json for automatic component registration
  4. Use $u tools: Use $u object for utility functions
  5. Theme customization: Customize theme via SCSS variables
  6. UniApp compatibility: Test on multiple platforms (H5, 小程序, App)
  7. Responsive design: Use rpx units for responsive layouts
  8. Component composition: Compose components for complex UIs
  9. Performance: Optimize for uni-app performance
  10. Accessibility: Follow uni-app accessibility guidelines

Resources

Keywords

uView UI, uView, uni-app, Vue 2, components, Button, Input, Form, Table, Modal, Toast, $u, tools, theme, customization, 组件库, 按钮, 输入框, 表单, 表格, 模态框, 提示, 工具函数, 主题定制

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.36%
按下载量换算36

OpenCode

22.07%
按下载量换算29

Antigravity

15.71%
按下载量换算21

Codex

11.46%
按下载量换算15

windsurf

8.21%
按下载量换算11

Gemini CLI

3.32%
按下载量换算4

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills