Pular para o conteúdo
Kitbay
Skill

figma-to-angular

NOASSERTIONAtualizado em 11 de nov. de 202614.208Estrelas no GitHub

A skill kept in Bitwarden's clients monorepo that turns a Figma frame into an Angular component with Storybook stories.

O que a skill ensina

A skill kept in Bitwarden's clients monorepo that turns a Figma frame into an Angular component with Storybook stories. Given a Figma link, the agent pulls the design through the Figma MCP server's design context tool and treats the returned React and Tailwind code only as a guide. It explores neighbouring components, the Tailwind setup and translation files, maps Figma colors and sizes to Bitwarden's tokens, and has the user approve a plan before writing files. The component uses signal inputs, OnPush change detection and Bitwarden's own buttons and labels. The agent then checks the story in a local Storybook through the Playwright MCP server and compares it with the design.

O que faz

  • Read a Figma frame's design context
  • Map Figma values to Tailwind tokens
  • Generate an Angular component with stories
  • Compare the result in Storybook