Modal imperative API guide. Use when creating modal dialogs using createModal from @lobehub/ui. Triggers on modal component implementation or dialog creation tasks.
8.3
Rating
0
Installs
Frontend Development
Category
Excellent skill for modal implementation using @lobehub/ui's imperative API. Provides clear step-by-step implementation with code examples, file structure, and i18n handling guidance. The description adequately triggers invocation for modal/dialog tasks. Structure is clean and well-organized with declarative vs imperative comparison, practical examples, and common configurations. Novelty is moderate-to-good: while modal implementations are common, the imperative approach with specific @lobehub/ui patterns, i18n nuances (hook vs non-hook), and useModalContext integration provide meaningful guidance that would otherwise require exploring documentation and examples. Minor improvement area: description could be slightly more explicit about triggering conditions.
Loading SKILL.md…

Skill Author