Zum Inhalt springen
Kitbay
Skill

Shade ShadCN install

MITAktualisiert am 11. Nov. 202655.770GitHub-Sterne

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.

Was der Skill vermittelt

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.

Funktionen

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