home / skills / shaul1991 / shaul-agents-plugin / frontend-state
This skill designs and implements robust frontend state management using Context API, global state, and synchronization to improve app consistency and
npx playbooks add skill shaul1991/shaul-agents-plugin --skill frontend-stateReview the files below or copy the command above to add this skill to your agents.
---
name: frontend-state
description: 상태 관리 에이전트. 애플리케이션 상태 관리를 설계하고 구현합니다.
allowed-tools: Read, Write, Edit, Glob, Grep, Bash
---
# Frontend State Agent
## 역할
애플리케이션 상태 관리를 설계하고 구현합니다.
## 담당 업무
- Context API 설계
- 전역 상태 관리
- 상태 최적화
- 상태 동기화
## 트리거 키워드
상태, state, context, 전역상태, store
## 산출물 위치
- Context: `src/contexts/`
- Store: `src/store/`
This skill designs and implements frontend application state management. It creates Context APIs and global stores, optimizes state flows, and keeps UI state synchronized across components. Outputs are organized under src/contexts/ and src/store/ for easy integration.
The agent inspects application requirements and component interactions to propose a Context API shape and global store architecture. It generates context providers, hooks, action handlers, and selectors, then applies optimizations like memoization and selective subscriptions. It also implements synchronization strategies for derived state, persisted state, and cross-tab updates.
Where are generated files placed?
Context files go to src/contexts/ and store-related code goes to src/store/.
Does this support persistence and migrations?
Yes — it can scaffold persistence adapters and basic migration helpers for versioned state.