asyncredux-state-design

Community

Design immutable AppState with copy() patterns

Authormarcglasberg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables developers to design immutable AppState models for AsyncRedux, ensuring that state is never mutated in place and changes yield new instances.

Core Features & Use Cases

  • Final fields and a static initialState() factory to provide default values.
  • copy() methods to create modified state instances without mutating the original.
  • Nested state composition (e.g., AppState with TodoList, User, Settings) with consistent initialState() and copy() implementations.
  • Optional integration with fast_immutable_collections for IList, ISet, and IMap to manage collections efficiently.

Quick Start

Define a sample AppState with final fields and a static initialState() method. Implement a copy() method to produce new instances without mutating the original. Show a nested example by including TodoList and User inside AppState to demonstrate composition.

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: asyncredux-state-design
Download link: https://github.com/marcglasberg/async_redux/archive/main.zip#asyncredux-state-design

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.