Pular para o conteúdo
Kitbay
Skill

Shade new component

MITAtualizado em 11 de nov. de 202655.770Estrelas no GitHub

A checklist skill in the Ghost repository that runs automatically when files in Shade, Ghost's design system app, are edited.

O que a skill ensina

A checklist skill in the Ghost repository that runs automatically when files in Shade, Ghost's design system app, are edited. Before a component or pattern counts as done, the agent decides its layer with a sibling skill, names files in kebab case with PascalCase exports, adds a sibling Storybook story, keeps variant configs and hooks in their own modules, forwards and merges class names, uses cva for variants and limits props to visual or interactive ones. Every interactive component must show default, hover, focus-visible and disabled states in its story, form controls use the shared input surface recipe, colours come only from semantic tokens without dark variants, and lint, tests and Storybook must pass.

O que faz

  • Check naming and file layout of a component
  • Require stories for all interactive states
  • Enforce semantic colour tokens
  • Run lint, tests and Storybook before finishing