Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计提醒

vue-createrVue creater 前端

Agent Skill

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

总安装

1,082

周安装

46

GitHub Stars

1

下载量

379
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/helloggx/skill --skill vue-creater

简介

用于快速创建 Vue 组件和相关文件模板。

  • 适合初始化单文件组件及其配套样式与测试文件。
  • 需根据项目结构定制输出路径和规范。vue-creater 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 生成的组件应通过 ESLint 和类型检查验证。
  • 安装前建议检查仓库是否包含完整的使用示例。

SKILL.md

Vue Web Artifacts Builder

Data Flow & Context Management (CRITICAL)

You must maintain a Session Context to store file paths. Do not proceed to subsequent steps until you have populated the required variables.

  • $SKILL_DIR: The absolute path to this skill's directory (where the vue-creater/SKILL.md is located).
  • $PROJECT_ROOT: The absolute path to the project created in Step 1.
  • $DSL_PATH: The absolute path to the dsl.json file generated in Step 2 (only for Default template workflow).

IMPORTANT: All script paths mentioned in this document are relative to $SKILL_DIR. When executing scripts, always use the full path: $SKILL_DIR/scripts/script-name.py

Quick Start

Step 0: Select Project Type

FIRST STEP - MANDATORY: You must ask the user to select a project type:

Please select the project type:

    1. **Default** (shadcn + tailwindcss + vite)
    2. **Nuxt Admin Dashboard** (shadcn + tailwindcss + nuxt)
    3. **Electron** (shadcn + tailwindcss + electron + vite)

    Choice [1/2/3]:

STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match

Action based on user input:

  • If Choice "1" (Default):

1. Proceed to Step 1 and follow the default workflow (Steps 1-4).

  • If Choice "2" (Nuxt Admin Dashboard):

1. Execute the script: python3 $SKILL_DIR/scripts/setup_nuxt_dashboard.py [project-name] - *Condition*: If a project name is specified in the context, pass it as an argument. Otherwise, omit it to use the default name. 2. CAPTURE OUTPUT: Look for the directory path in the script's output (last line before success message). 3. ASSIGN: Set this path to variable $PROJECT_ROOT. 4. SKIP ALL REMAINING STEPS - The Nuxt dashboard is fully configured and ready to use. 5. Inform the user to run: cd $PROJECT_ROOT && bun run dev 6. END WORKFLOW - Do not proceed to Steps 1-4.

  • If Choice "3" (Electron):

1. Execute the script: python3 $SKILL_DIR/scripts/electron_vue_init.py [project-name] - *Condition*: If a project name is specified in the context, pass it as an argument. Otherwise, omit it to use the default name. 2. CAPTURE OUTPUT: Look for the directory path in the script's output (last line before success message). 3. ASSIGN: Set this path to variable $PROJECT_ROOT. 4. SKIP Step 1 and Step 4 - Project scaffolding is complete. 5. Proceed to Step 2 to sync design data (DSL).


Default Template Workflow (Choice 1)

To build powerful frontend claude.ai artifacts using the Vue ecosystem, follow these steps:

  1. Initialize the project scaffold using script: $SKILL_DIR/scripts/shadcn_vue_init.py
  2. Retrieve design data using tool: get_dsl
  3. Apply design tokens and styles using tool: get_token
  4. Start development server

Stack:

  • Core: Vue 3 (Script Setup) + TypeScript + Vite v8.0.0
  • Styling: Tailwind CSS v4 + shadcn-vue (Radix-vue based)
  • State & Logic: Pinia (Store) + Vue Router + TanStack Query (vue-query)

Step 1: Initialize Project Scaffolding

Instruction:

  1. Execute the script: python3 $SKILL_DIR/scripts/shadcn_vue_init.py [project-name]

- *Condition*: If a project name is specified in the context, pass it as an argument. Otherwise, omit it to use the default name.

  1. CAPTURE OUTPUT: Look for the directory path in the script's output (last line before success message).
  2. ASSIGN: Set this path to variable $PROJECT_ROOT.
  3. *Validation*: If $PROJECT_ROOT is empty, stop and ask the user to verify the installation.

What this script does:

  • ✅ Sets up Vue 3 + Vite 8.0.0
  • ✅ Configures Tailwind CSS 4 (CSS-first configuration, no generic config js)
  • ✅ Installs shadcn-vue and configures components.json
  • ✅ Sets up Pinia, Vue Router, and Vue Query plugins

Step 2: Sync Design Data (DSL)

you must ask question: Please select the design source configuration:

1. **Custom Design DSL** (Provide a URL or file path for the design tokens)
2. **Use TOKEN_URL_LIGHT** (Read DSL URL from .env TOKEN_URL_LIGHT variable)
3. **Use Default** (Skip design tokens, use default theme)

Choice [1/2/3]:

STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match Fetch the design structure and layout data from the source:

Action based on user input:

  • If Choice "1" (Custom):

1. Ask for URL (if missing). 2. Execute get_dsl with the URL. 3. CAPTURE OUTPUT: Look for the file path of the saved JSON (e.g., .../dsl.json). 4. ASSIGN: Set this path to variable $DSL_PATH.

  • If Choice "2" (TOKEN_URL_LIGHT):

1. Check for.env file existence: - Look for .env file in the current working directory or project root. - If.env file does NOT exist: - STOP and WAIT for user input - Prompt user to create .env file with the following content: TOKEN_URL_LIGHT=https://your-token-url.com/dsl.json - Explain to user where to place the.env file and the required parameter. - WAIT until user confirms they have created and configured the.env file. 2. After.env file is confirmed to exist, read the TOKEN_URL_LIGHT variable from .env file. 3. If TOKEN_URL_LIGHT is not defined in.env: - STOP and WAIT for user input - Prompt user to add TOKEN_URL_LIGHT=https://your-token-url.com/dsl.json to the .env file. - WAIT until user confirms they have added the variable. 4. If TOKEN_URL_LIGHT is defined: Execute get_dsl with the URL from TOKEN_URL_LIGHT. 5. CAPTURE OUTPUT: Look for the file path of the saved JSON (e.g., .../dsl.json). 6. ASSIGN: Set this path to variable $DSL_PATH.

  • If Choice "3" (Use Default):

1. Log "Using default theme, skipping DSL fetch." 2. ASSIGN: Set $DSL_PATH to empty or null to indicate no custom design tokens.

Step 3: Apply Design Tokens

Prerequisites:

  • Ensure $PROJECT_ROOT is defined (from Step 1).
  • Ensure $DSL_PATH is defined (from Step 2).

Instruction: You must now call the get_token tool using the exact paths captured previously.

Strict Execution Logic:

IF $DSL_PATH is valid (User chose Custom): Execute: get_token(project_path=$PROJECT_ROOT, dsl_path=$DSL_PATH) ELSE (User chose Default): Log "Skipping token application for default theme."

Goal: Extract design tokens from the DSL file at $DSL_PATH and inject them into the Tailwind 4 configuration located inside $PROJECT_ROOT.

Step 4: Start Development Server

Instruction:

  1. Execute the command below immediately.
  2. CRITICAL: You MUST use the chained command format (&&) to ensure the directory context is preserved.
cd "$PROJECT_ROOT" && bun run dev

Note: The project uses bun as the package manager for faster dependency installation and development server startup.

Scripts Reference

shadcn_vue_init.py

Location: $SKILL_DIR/scripts/shadcn_vue_init.py

Usage:

python3 $SKILL_DIR/scripts/shadcn_vue_init.py [project-name]

Features:

  • Creates Vue 3 + Vite 8.0.0 project
  • Configures Tailwind CSS 4 with CSS-first configuration
  • Installs and configures shadcn-vue components
  • Sets up Pinia, Vue Router, and TanStack Query
  • Installs Zod for schema validation
  • Installs VueUse for composition utilities
  • Creates utility files (lib/utils.ts, composables/useApi.ts)
  • Generates comprehensive README.md
  • Cleans up unnecessary template files

setup_nuxt_dashboard.py

Location: $SKILL_DIR/scripts/setup_nuxt_dashboard.py

Usage:

python3 $SKILL_DIR/scripts/setup_nuxt_dashboard.py [project-name]

Features:

  • Extracts a pre-configured Nuxt 3 admin dashboard template from zip file
  • Includes Shadcn UI components and Tailwind CSS configuration
  • Installs all necessary dependencies using bun
  • Provides a ready-to-use admin dashboard structure

Reference

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

36.46%
按下载量换算138

Claude

31.72%
按下载量换算120

Cursor

17.66%
按下载量换算67

Gemini CLI

9.02%
按下载量换算34

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills