Pular para o conteúdo
Kitbay
Skill

design-prototype

NOASSERTIONAtualizado em 11 de nov. de 202684.974Estrelas no GitHubInclui scripts

A skill in the LobeHub repository for building interactive HTML prototypes with LobeHub's real interface stack, the @lobehub/ui components and theme tokens, as a single file that opens by double-click with no server or build step.

O que a skill ensina

A skill in the LobeHub repository for building interactive HTML prototypes with LobeHub's real interface stack, the @lobehub/ui components and theme tokens, as a single file that opens by double-click with no server or build step. A script bundles the runtime once from the repository's own packages; the agent copies a template, writes production-style React for the screen, and checks it with a headless Playwright run for console errors and screenshots in light and dark modes. Prototypes must show at least one non-happy state such as empty, loading or error, avoid controls that do nothing, and style through theme variables rather than fixed colours, so promoting one to production is mostly splitting files.

O que faz

  • Build a single-file HTML prototype
  • Use LobeHub's UI components and theme tokens
  • Check prototypes with headless Playwright
  • Show empty, loading and error states