executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
react-native-state-managementImplement local and global state with Context, Zustand, and Redux Toolkit in React Native. Use when choosing or implementing state management in React Native with Context, Zustand, or Redux.
Independent GitHub snapshot · Automated classification · Original documentation governs
useState for component-scoped state (forms, UI toggles).@tanstack/react-query for API data (caching, refetching).const ThemeContext = createContext<ThemeContextType | undefined>(undefined);
export function useTheme() {
const ctx = useContext(ThemeContext);
if (!ctx) throw new Error('useTheme must be inside ThemeProvider');
return ctx;
}
import { create } from 'zustand';
const useStore = create((set) => ({
count: 0,
increment: () => set((state) => ({ count: state.count + 1 })),
}));
// Usage
const count = useStore((state) => state.count);
See references/REFERENCE.md for Context patterns, Zustand store setup, Redux Toolkit, and React Query.
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant: