Token导航 LogoToken导航

Agent Skill · 前端设计

vue3-frontend(vue3 前端)

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

vue3-frontend 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为权限未标注;许可证信息还不明确,暂无第三方扫描结果,按安装量在前端设计类的 10,216 个 Skill 里排第 2,998。

总安装 1,673周安装 69GitHub Stars 2下载 546核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/eva813/vue3-skills --skill vue3-frontend

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于 Vue 3 前端开发的综合支持。vue3-frontend 属于前端设计类 Skill,可作为该场景下的辅助能力补充。适合处理 Vue 3 项目的页面构建和交互实现。可协助生成现代化的前端界面和用户体验。使用时应结合 Vue 3 生态和前端工程化实践。

安装方式:通过 GitHub 仓库安装,兼容 Claude 等工具。

来源仓库内路径:skills/vue3-frontend

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/eva813/vue3-skills --skill vue3-frontend;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

vue3-frontend 怎么安装?

在终端执行 npx skills add https://github.com/eva813/vue3-skills --skill vue3-frontend。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

vue3-frontend 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

vue3-frontend 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

vue3-frontend 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

vue3-frontend 用的人多吗?

公开数据是累计安装 1,673 次,近一周安装 69 次,下载 546 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

vue3-frontend 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
vue3-frontend

vue3 前端 · 本页

1,6732权限未标注未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
vue3-frontend
description
Comprehensive Vue 3 frontend development skill. Use when developing Vue 3 applications, components, or composables. Covers: (1) Creating new Vue 3 projects and components, (2) Vue 2 to Vue 3 migration, (3) Code review and optimization, (4) Composition API implementation, (5) Best practices and common patterns, (6) TypeScript integration, (7) State management with Pinia, (8) Performance optimization. Includes component templates, composable examples, migration guides, and best practices documentation.

Vue 3 Frontend Development Skill

全面的 Vue 3 前端開發技能,提供元件範本、最佳實踐指南、遷移協助和常見模式。

Core Capabilities

1. Component Development

建立新的 Vue 3 元件,使用 <script setup> 語法和 Composition API。

Available templates:

  • assets/component-templates/BasicComponent.vue - 基本元件範本
  • assets/component-templates/FormComponent.vue - 完整的表單元件(含驗證)
  • assets/component-templates/DataTable.vue - 資料表格元件(含排序、分頁、搜尋)
  • assets/component-templates/Modal.vue - 模態框元件(含完整功能)

Usage:

# 複製範本到專案
cp assets/component-templates/BasicComponent.vue src/components/YourComponent.vue

2. Composables Development

建立可重用的邏輯抽象。

Available templates:

  • assets/composable-templates/useFetch.js - API 請求封裝
  • assets/composable-templates/useLocalStorage.js - localStorage 同步狀態

Usage:

# 複製到專案
cp assets/composable-templates/useFetch.js src/composables/

3. Vue 2 to Vue 3 Migration

協助將 Vue 2 專案遷移到 Vue 3。

Migration workflow:

  1. Read references/migration-guide.md for breaking changes
  2. Identify deprecated APIs in existing code
  3. Apply migration patterns from the guide
  4. Test thoroughly

Key migration areas:

  • Global API (Vue.use → app.use)
  • Reactivity system (Vue.set → direct assignment)
  • v-model syntax (value/input → modelValue/update:modelValue)
  • Lifecycle hooks (destroyed → unmounted)
  • Filters removal (use computed/methods)
  • Event Bus replacement (use mitt/Pinia)

4. Code Review and Optimization

檢查和優化 Vue 3 程式碼品質。

Review checklist:

  • Use <script setup> for better performance
  • Proper ref/reactive usage
  • Computed vs methods
  • v-show vs v-if
  • Key usage in v-for
  • Component splitting
  • Props validation
  • Error handling

Reference Documentation

Essential References

Always read these when working on specific tasks:

Migration tasks:

  • references/migration-guide.md - Complete Vue 2 to Vue 3 migration guide with all breaking changes

Composition API usage:

  • references/composition-api.md - Comprehensive Composition API reference (ref, reactive, computed, watch, lifecycle, etc.)

Best practices:

  • references/best-practices.md - Vue 3 best practices covering component design, reactivity, performance, code organization, error handling, TypeScript

Common patterns:

  • references/common-patterns.md - Form handling, data fetching, list rendering, modals, state management, routing, i18n

When to Read Each Reference

Before writing any component:

  1. Check best-practices.md for component design patterns
  2. Review relevant patterns in common-patterns.md

Before migration:

  1. Read entire migration-guide.md
  2. Reference composition-api.md for new API syntax

When implementing features:

  • Forms → common-patterns.md Form Handling section
  • Data fetching → common-patterns.md Data Fetching section
  • State management → common-patterns.md State Management section
  • i18n → common-patterns.md i18n section

Common Development Workflows

Workflow 1: Create a New Component

# 1. Choose appropriate template
view assets/component-templates/

# 2. Read best practices
view references/best-practices.md

# 3. Copy and customize template
cp assets/component-templates/BasicComponent.vue src/components/MyComponent.vue

# 4. Follow naming conventions (PascalCase)
# 5. Define props with validation
# 6. Use <script setup> syntax
# 7. Keep component focused and small

Workflow 2: Migrate Vue 2 Code to Vue 3

# 1. Read migration guide first
view references/migration-guide.md

# 2. Identify patterns to migrate
# - Options API → Composition API
# - this.$set → direct assignment
# - filters → computed/methods
# - Event Bus → mitt/Pinia

# 3. Apply changes systematically
# 4. Test each change
# 5. Update dependencies

Workflow 3: Implement Data Fetching

# 1. Review data fetching patterns
view references/common-patterns.md
# Look for "Data Fetching Patterns" section

# 2. Choose approach:
# - Custom composable (useFetch template)
# - VueUse (@vueuse/core)
# - TanStack Query

# 3. Implement with error handling and loading states

Workflow 4: Optimize Performance

# 1. Review performance section
view references/best-practices.md
# Look for "Performance Optimization" section

# 2. Check for issues:
# - Using methods instead of computed
# - Unnecessary v-if usage
# - Missing keys in v-for
# - Large components without splitting
# - No lazy loading

# 3. Apply optimizations:
# - Use computed for derived data
# - v-show for frequent toggles
# - defineAsyncComponent for heavy components
# - Virtual scrolling for large lists

Workflow 5: Form Development

# 1. Use form template or VeeValidate pattern
view assets/component-templates/FormComponent.vue
view references/common-patterns.md
# Look for "Form Handling Patterns" section

# 2. Implement validation
# 3. Handle errors and loading states
# 4. Add success/error feedback

Quick Reference Commands

Component Templates

# List all templates
ls -la assets/component-templates/

# Copy specific template
cp assets/component-templates/[TemplateName].vue src/components/

Composable Templates

# List all composables
ls -la assets/composable-templates/

# Copy specific composable
cp assets/composable-templates/[composableName].js src/composables/

Read Documentation

# Migration guide
view references/migration-guide.md

# Composition API reference
view references/composition-api.md

# Best practices
view references/best-practices.md

# Common patterns
view references/common-patterns.md

Best Practices Summary

Component Design

  • Always use <script setup> for better performance and DX
  • Define props with full validation
  • Use composables for reusable logic
  • Keep components small and focused (< 200 lines)
  • Extract complex logic into composables

Reactivity

  • Use ref() for primitives
  • Use reactive() for objects
  • Use computed() for derived data
  • Use watch() when you need old values
  • Use watchEffect() for automatic dependency tracking

Performance

  • Use computed() not methods for template calculations
  • Use v-show for frequent toggles
  • Use v-if for initial render conditions
  • Always use unique key in v-for
  • Lazy load heavy components with defineAsyncComponent()
  • Use virtual scrolling for large lists

Code Organization

src/
├── assets/          # Static resources
├── components/      # Reusable components
│   ├── common/      # Base components
│   ├── layout/      # Layout components
│   └── features/    # Feature components
├── composables/     # Reusable logic
├── stores/          # Pinia stores
├── router/          # Router config
├── views/           # Page components
├── utils/           # Utility functions
└── services/        # API services

TypeScript Support

When using TypeScript:

  • Define prop types with interfaces
  • Use generics in composables
  • Type emits properly
  • Use defineComponent when needed

See best-practices.md TypeScript Integration section for details.

Common Gotchas

  1. Destructuring reactive objects loses reactivity

- Use toRefs() or access properties directly

  1. Direct array/object mutation in Vue 2 style

- Vue 3 doesn't need $set, direct mutation works

  1. Forgetting .value with refs

- Remember: refs need .value in <script>, not in <template>

  1. Using reactive() for primitives

- Use ref() for primitives, reactive() for objects

  1. Not cleaning up side effects

- Always clean up in onBeforeUnmount() or use watchEffect() cleanup

Additional Resources

  • Official Vue 3 docs: https://vuejs.org/
  • Vue 3 Migration guide: https://v3-migration.vuejs.org/
  • Composition API FAQ: https://vuejs.org/guide/extras/composition-api-faq.html
  • VueUse: https://vueuse.org/ (utility composables)
  • Pinia: https://pinia.vuejs.org/ (state management)

Tips for Using This Skill

  1. Always start with references: Read relevant documentation before coding
  2. Use templates as starting points: Don't write from scratch if a template exists
  3. Follow the workflows: They embody best practices
  4. Check best practices regularly: Internalize the patterns
  5. When stuck: Check common-patterns.md for similar examples

平台分布

Codex

33.33%
按下载量换算182

Claude

29.24%
按下载量换算160

Cursor

19.13%
按下载量换算104

Gemini CLI

9.83%
按下载量换算54

安全审计

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

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

继续浏览同类 Skills