What problem does it solve?
This skill streamlines the process of adding a new Jotai atom by generating type definitions, updating the atom registry, and exposing the atom via the Store API, reducing boilerplate and ensuring consistency across the codebase.
Core Features & Use Cases
- Automatic type definitions: Adds TypeScript interfaces and AtomTypeMap entries for the new atom.
- Registry integration: Registers the atom in the central lookup for easy access.
- Store API exposure: Provides read, write, and subscribe capabilities through the Store API.
- Guided implementation: Includes a structured workflow to define state, register, export, and import the atom across modules.
Quick Start
Create a new <AtomName> atom by defining its state, registering it in the lookup, and exposing it via the Store API.