store

Generates src/store/index.ts with Vuex store configuration and namespaced modules for state management.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 30, 2025⬇️1downloads

When & Why to Use This Skill

This Claude skill automates the creation of a Vuex store configuration file (`src/store/index.ts`) for Vue.js applications. It streamlines state management setup by generating namespaced modules and a global module structure, ensuring a scalable and organized frontend architecture while reducing manual boilerplate code.

Use Cases

  • Project Initialization: Rapidly scaffold the core state management structure when starting a new Vue.js project to ensure best practices from the outset.
  • Architectural Standardization: Enforce consistent Vuex configurations and namespacing conventions across multiple team members or micro-frontend modules.
  • Development Efficiency: Eliminate repetitive manual coding of store index files, allowing developers to focus on implementing business logic rather than configuration.
namestore
descriptionGenerates src/store/index.ts with Vuex store configuration and namespaced modules for state management.

Store Skill

Purpose

Generate the src/store/index.ts file with Vuex store configuration.

Output

Create the file: src/store/index.ts

Notes

  • Create a Vuex store with a module called global
  • All modules use namespaced: true for cleaner state management