원클릭으로
react-hooks
Resolves React hook violations (rules of hooks, useEffect dependencies, hook ordering).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Resolves React hook violations (rules of hooks, useEffect dependencies, hook ordering).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Standardized patterns for Git branching, worktrees, and lifecycle management.
Expertise in mobile responsiveness, specifically table patterns and standard UI component styling.
Security & Authentication Specialist - Expert in JWT, cookie-based auth, MFA, and generic security patterns
Systematic multi-perspective code review with consistent quality gates.
Systematic debugging with structured reproduction and root cause analysis.
Database, auth, and backend expertise for Supabase operations in [PROJECT_NAME]
SOC 직업 분류 기준
| name | react-hooks |
| description | Resolves React hook violations (rules of hooks, useEffect dependencies, hook ordering). |
Handles common React hook patterns and violations across the codebase.
// WRONG - return before hooks
if (!isAuthenticated) {
return <Login />; // ❌ Hook call below is unreachable sometimes
}
const user = useUser(); // VIOLATION
// RIGHT - hooks always execute
const user = useUser();
if (!isAuthenticated) {
return <Login />;
}
// WRONG - missing dependency
const context = useContext(MyContext);
useEffect(() => {
doSomething(context);
}, []); // ❌ Missing `context`
// RIGHT - include all dependencies
useEffect(() => {
doSomething(context);
}, [context]);
// WRONG - context object changes on every render
const Provider = ({ children }) => {
const value = { user: currentUser }; // New object every render
return (
<MyContext.Provider value={value}> // ❌ Causes infinite loop
{children}
</MyContext.Provider>
);
};
// RIGHT - memoize context value
const Provider = ({ children }) => {
const value = useMemo(() => ({ user: currentUser }), [currentUser]);
return (
<MyContext.Provider value={value}>
{children}
</MyContext.Provider>
);
};
./scripts/log-skill.sh react-hooks