Kuzenbo Hooks Usage
Use this skill for external app code that consumes the stable public package @kuzenbo/hooks@0.0.6 .
Runtime Setup
- Install:
npm install @kuzenbo/hooks
- For Next.js/client components that use browser APIs, add:
"use client";
Hook Selection Workflow
-
Read references/hooks-by-category.md to choose the right hook family.
-
Confirm the hook is in references/hook-exports.md before implementation.
-
Prefer dedicated hooks instead of manual event listeners, timers, or storage plumbing.
-
Keep business logic in app code and use hooks for state/effect wiring.
Guardrails
-
Use only exported hooks from @kuzenbo/hooks .
-
Use useFullscreenDocument or useFullscreenElement (not useFullscreen ).
-
Browser-only hooks must run in client components.
-
If a hook is missing from exports, state the gap and propose the closest exported alternative.
References
-
references/hooks-by-category.md
-
references/hook-exports.md