JotaiJotai

状態
Primitive and flexible state management for React

Skill

The skill helps coding agents write and review atom-based code. It can guide atom design, derived atoms, write-only action atoms, async atoms, Provider/store usage, render performance, TypeScript, tests, utilities, and extensions.

⚠️ Note: Feedback is welcome in the Github repo. Please file issues in the separate repo instead of jotai repo.

Install

Install it with:

npx skills add jotaijs/jotai-skills --skill jotai

Install it to a specific coding agent:

npx skills add jotaijs/jotai-skills --skill jotai --agent codex
npx skills add jotaijs/jotai-skills --skill jotai --agent claude-code

Install it globally:

npx skills add jotaijs/jotai-skills --skill jotai --global

Usage

After installing, ask a Jotai-related question:

Review the form atom design.
Refactor React Context state into atoms.
Reduce unrelated atom rerenders.
Use the Jotai skill to help migrate this project from Jotai v2 to v3.

See the v3 migration guide for requirements and API changes.