Token导航 LogoToken导航

Agent Skill · 待分类

vuex-vue2(vuex vue2 工具)

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

vuex-vue2 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为权限未标注;许可证信息还不明确,暂无第三方扫描结果,按安装量在待分类类的 11,209 个 Skill 里排第 5,326。

总安装 582周安装 24GitHub Stars 343下载 190核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/partme-ai/full-stack-skills --skill vuex-vue2

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

用于辅助 Vuex Vue2 状态管理的开发与维护。它适合生成或审查相关代码,整理状态结构,或定位数据流问题。使用时需结合项目现有路由和构建方式,避免只生成孤立片段;涉及状态改动时,应配合本地预览确认逻辑表现。适用于 Vue2 项目中基于 Vuex 的状态管理场景。

可协助生成 store 模块、审查 mutation 逻辑或优化数据同步,支持与路由系统集成。通过 npx skills add 命令从指定 GitHub 仓库安装,需确认项目是否基于 Vue2 且使用 Vuex。注意权限范围和维护状态,避免触发不必要的文件读写或网络请求。

来源仓库内路径:skills/vuex-vue2

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

vuex-vue2 怎么安装?

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

vuex-vue2 支持哪些 AI 工具?

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

vuex-vue2 需要什么权限?

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

vuex-vue2 是免费的吗?

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

vuex-vue2 用的人多吗?

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

vuex-vue2 安全吗?

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

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

值得选的地方

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

先想清楚的地方

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

适不适合你

更适合

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

不太适合

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

待分类类 Skill 对比

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

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
vuex-vue2

vuex vue2 工具 · 本页

582343权限未标注未明确未收录

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

SKILL.md 原文

When to use this skill

Use this skill whenever the user wants to:

  • Install and set up Vuex in a Vue 2 project
  • Manage application state with Vuex
  • Use Vuex store in Vue components
  • Understand Vuex core concepts (state, getters, mutations, actions)
  • Use Vuex modules for large applications
  • Handle Vuex plugins and devtools
  • Understand Vuex API and methods
  • Troubleshoot Vuex issues

How to use this skill

This skill is organized to match the Vuex official documentation structure (https://vuex.vuejs.org/zh/, https://vuex.vuejs.org/zh/guide/, https://vuex.vuejs.org/zh/api/). When working with Vuex:

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

- Installation/安装 → examples/guide/installation.md - Quick Start/快速开始 → examples/guide/quick-start.md - Core Concepts/核心概念 → examples/core-concepts/ - Advanced/高级 → examples/advanced/ - API/API 文档 → api/

  1. Load the appropriate example file from the examples/ directory: Guide (使用指南): Core Concepts (核心概念): Advanced (高级):

- examples/guide/intro.md - Introduction to Vuex - examples/guide/installation.md - Installation guide - examples/guide/quick-start.md - Quick start guide - examples/guide/what-is-vuex.md - What is Vuex - examples/core-concepts/state.md - State - examples/core-concepts/getters.md - Getters - examples/core-concepts/mutations.md - Mutations - examples/core-concepts/actions.md - Actions - examples/core-concepts/modules.md - Modules - examples/advanced/plugins.md - Plugins - examples/advanced/strict-mode.md - Strict mode - examples/advanced/form-handling.md - Form handling - examples/advanced/testing.md - Testing - examples/advanced/hot-reload.md - Hot reload

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

- Vuex is for Vue 2.x - Store is the central state management - State is reactive - Mutations are synchronous - Actions are asynchronous - Each example file includes key concepts, code examples, and key points

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

- api/store-api.md - Store API - api/state-api.md - State API - api/getters-api.md - Getters API - api/mutations-api.md - Mutations API - api/actions-api.md - Actions API - api/modules-api.md - Modules API - api/plugins-api.md - Plugins API

  1. Use templates from the templates/ directory:

- templates/installation.md - Installation templates - templates/store-setup.md - Store setup templates - templates/component-usage.md - Component usage templates

1. Understanding Vuex

Vuex is a state management pattern and library for Vue.js applications. It serves as a centralized store for all the components in an application.

Key Concepts:

  • Store: Centralized state container
  • State: Application state (data)
  • Getters: Computed properties for store
  • Mutations: Synchronous state changes
  • Actions: Asynchronous operations
  • Modules: Store organization

2. Installation

Using npm:

npm install vuex@3

Using yarn:

yarn add vuex@3

Using CDN:

<script src="https://unpkg.com/vuex@3"></script>

3. Basic Setup

// store/index.js
import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    count: 0
  },
  mutations: {
    increment(state) {
      state.count++
    }
  }
})

export default store
// main.js
import Vue from 'vue'
import store from './store'

new Vue({
  store,
  render: h => h(App)
}).$mount('#app')

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

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 Vuex API documentation structure (https://vuex.vuejs.org/zh/api/):

Store API (api/store-api.md)

  • Store constructor options
  • Store instance properties
  • Store instance methods

State API (api/state-api.md)

  • State definition
  • State access
  • State reactivity

Getters API (api/getters-api.md)

  • Getter definition
  • Getter access
  • Getter arguments

Mutations API (api/mutations-api.md)

  • Mutation definition
  • Mutation commit
  • Mutation payload

Actions API (api/actions-api.md)

  • Action definition
  • Action dispatch
  • Action context

Modules API (api/modules-api.md)

  • Module definition
  • Module namespacing
  • Module registration

Plugins API (api/plugins-api.md)

  • Plugin definition
  • Plugin usage
  • Built-in plugins

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. Use mutations for synchronous changes: Mutations must be synchronous
  2. Use actions for async operations: Actions can contain async operations
  3. Keep state normalized: Avoid nested state structures
  4. Use modules for large apps: Organize store with modules
  5. Use getters for computed state: Derive state with getters
  6. Follow naming conventions: Use consistent naming patterns
  7. Use TypeScript: Leverage TypeScript for type safety

Resources

Keywords

Vuex, vuex, Vue 2, state management, 状态管理, store, state, getters, mutations, actions, modules, 存储, 状态, 获取器, 变更, 动作, 模块, Vuex store, Vuex state, Vuex getters, Vuex mutations, Vuex actions, Vuex modules, Vuex plugins, centralized state, reactive state, synchronous mutations, asynchronous actions

平台分布

Codex

35.38%
按下载量换算67

Claude

32.7%
按下载量换算62

Cursor

20.28%
按下载量换算39

Gemini CLI

8.41%
按下载量换算16

安全审计

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

权限和风险

权限未标注

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

安装前确认

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

继续浏览同类 Skills