Client state management standards: local-vs-global decisions, store structure, selectors, and re-render performance. TRIGGER when: creating a store, managing global state, or deciding local vs global state. SKIP: component/hook structure (use react-patterns); visual styling (use mui-styling). (Examples use Zustand.)
$npx -y skills add komluk/scaffolding --skill state-managementInstalls into the current project.
Run `npx skills use "https://github.com/komluk/scaffolding" --skill "komluk/scaffolding/state-management"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/komluk/scaffolding" that are relevant to the current task. Run `npx skills add "https://github.com/komluk/scaffolding"` and select the relevant skills, then follow their instructions.