state-safety-action-creator-guard
CommunityEnforce safe state updates with action creators.
AuthorDaFum
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Review or refactor state updates to enforce invariants (money >= 0, harmony > 0) and prefer action creators/ActionTypes. Use when reviewing PRs for state safety or adjusting reducers/hooks.
Core Features & Use Cases
- canonical action creators usage to replace raw dispatch calls.
- reducer clamps for money and harmony invariants.
- unit tests coverage for action creators and reducers.
Quick Start
Review your PRs to ensure all state updates go through action creators, verify clamps in reducers, and confirm tests cover negative-value scenarios.
Dependency Matrix
Required Modules
None requiredComponents
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: state-safety-action-creator-guard Download link: https://github.com/DaFum/neurotoxic-game/archive/main.zip#state-safety-action-creator-guard Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.