Zum Inhalt springen
Kitbay
Skill

Shade new component

MITAktualisiert am 11. Nov. 202655.770GitHub-Sterne

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

Was der Skill vermittelt

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.

Funktionen

  • 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