vuex-module-to-pinia-store

Community

Migrate Vuex to Pinia

AuthorJuanJoseGonGi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the complex process of migrating a Vuex codebase to Pinia, addressing module conversion, commit/dispatch patterns, and map helper replacements to ensure a smooth transition.

Core Features & Use Cases

  • Module Conversion: Transforms namespaced Vuex modules into Pinia's defineStore pattern.
  • Commit/Dispatch Migration: Replaces Vuex's commit and dispatch calls with Pinia's direct state updates and actions.
  • Map Helper Replacement: Updates mapState, mapGetters, mapActions, and mapMutations to Pinia's reactive access patterns.
  • Use Case: A large Vue.js application heavily relies on Vuex. This Skill can be used to systematically migrate its state management to Pinia, module by module, minimizing disruption and ensuring compatibility.

Quick Start

Use the vuex-module-to-pinia-store skill to convert the 'users' Vuex module to a Pinia store.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vuex-module-to-pinia-store
Download link: https://github.com/JuanJoseGonGi/skills/archive/main.zip#vuex-module-to-pinia-store

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.