If you're working in a LobeHub codebase and need to open a dialog, this enforces the imperative pattern over declarative open state. It pushes you toward createModal from @lobehub/ui/base-ui instead of the older antd-based version or manual Modal components with boolean flags. You'll get the two-file layout (index.tsx exports the creator, Content.tsx uses useModalContext), the ModalHost mounting requirement, and how to handle i18n when you can't use hooks. The honest take: imperative modals do clean up call sites, but now you need to remember which package and which ModalHost goes with which createModal, and the migration story adds cognitive load if you're maintaining a mix of old and new code.
npx -y skills add lobehub/lobehub --skill modal --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
juliusbrussee/caveman
mattpocock/skills
shadcn/improve
obra/superpowers
forrestchang/andrej-karpathy-skills
vercel-labs/skills