new-store

Community

Shared frontend store for cross-component state.

Authorweiloon1234
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a reusable shared frontend store to coordinate state across multiple components, pages, and hooks within a portal, removing the need for ad-hoc prop drilling or duplicate local state.

Core Features & Use Cases

  • Centralized store created with a generic createStore pattern, offering hydrate, set, and reset APIs, plus domain-specific verbs for mutations.
  • Narrow selector hooks that re-render only when the selected slice changes, and lifecycle management to hydrate on login and reset on logout.

Quick Start

Create and hydrate the shared-store on login, and reset it on logout.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: new-store
Download link: https://github.com/weiloon1234/Forge-Starter/archive/main.zip#new-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 471,000+ vetted skills library on demand.