Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Architects large or state-heavy Langfuse frontend features, covering virtualized tables, Zustand stores, and render performance.
52% 87%+35 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 12 of 23 without it.
3 of 3 safety checks passed
Not used yet
Use this skill when building, changing, or refactoring a large frontend surface.
In this skill, "controller" means a component or hook that owns feature logic: data fetching, view state, table/list state, effects, actions, and expensive rendering. The problem is not the name; it is one place owning too many changing responsibilities.
When a feature grows, split rendering from logic. Most components should be view-only. Data preparation should be pure. Complex user actions should live in external async functions or local-store actions. Effects are integration boundaries, not the normal way to derive state.
For the full rules, read
references/big-feature-rules.md.
UI is a pure function of state. Do not use useEffect to derive, prepare, or
sync data:
const title = data?.name ?? ""),
never mirrored into state by an effect. Client state that refers to server
data stores only the user's intent (an id) and derives the effective value
by merging with query data in render.<Spinner /> as minimal fallback); the inner component receives
the loaded value as an initialValue prop and seeds useState(initialValue).
Do not render UI before its data is ready.useCallback/useMemo are premature optimization; fix re-render problems by
splitting components, not memoizing.Next to this one in the catalogue, plus more from the same author.