skills/kuzenbodev/kuzenbo/kuzenbo-notifications-usage

kuzenbo-notifications-usage

SKILL.md

Kuzenbo Notifications Usage

Use this skill for external app code that consumes the stable public package @kuzenbo/notifications@0.0.6.

Runtime Setup

  1. Install runtime dependencies:
npm install @kuzenbo/notifications @kuzenbo/core @kuzenbo/theme
  1. Load theme CSS once:
import "@kuzenbo/theme/prebuilt/kuzenbo.css";
  1. Add ToastProvider near app root before using notification hooks.

Toast Workflow

  1. Import from @kuzenbo/notifications/ui/toast.
  2. Use useToast() for most flows (success, error, info, warning, loading, promise).
  3. Use namespace primitives (Toast.Root, Toast.Content, etc.) only when custom composition is needed.
  4. Keep toast copy short, action-oriented, and non-blocking.

Guardrails

  • ToastProvider must exist in tree before calling useToast.
  • Use public @kuzenbo/notifications/ui/toast surface only.
  • Prefer toast.promise(...) for async lifecycle feedback.
  • If a requested capability is missing, fall back to exported primitives in references/toast-api.md.

References

  • references/toast-api.md
Weekly Installs
3
GitHub Stars
1
First Seen
14 days ago
Installed on
opencode3
gemini-cli3
claude-code3
github-copilot3
codex3
kimi-cli3