Pular para o conteúdo
Kitbay
Skill

Shade ShadCN install

MITAtualizado em 11 de nov. de 202655.770Estrelas no GitHub

A contributor skill in the Ghost repository with safety steps for adding a shadcn component to Shade, Ghost's design system, since the shadcn command overwrites files by default.

O que a skill ensina

A contributor skill in the Ghost repository with safety steps for adding a shadcn component to Shade, Ghost's design system, since the shadcn command overwrites files by default. It starts when such a command is proposed or a matching file appears in Shade's components folder. The agent works on a fresh branch, checks whether the component already exists and, if so, generates it elsewhere and copies parts across by hand, declines every overwrite prompt and runs the command with pnpm. Afterwards it swaps raw colours and dark variants for Shade's semantic tokens, uses alias imports, focus-visible styles, forwardRef and class merging, and adds a stories file.

O que faz

  • Add a shadcn component without overwriting files
  • Replace raw colours with semantic tokens
  • Add a stories file for the new component