Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 1.72 KB

File metadata and controls

35 lines (31 loc) · 1.72 KB

Shade agent guidance

Read the human documentation before changing Shade:

Required workflow

  • Use the repository Shade skills for the relevant task. In particular, use shade-component-decision before adding a component or pattern, and follow shade-new-component for the acceptance checklist.
  • Import from layer-specific Shade subpaths, never the root barrel. Inside Shade, use the @/ alias for cross-file imports.
  • Never overwrite an existing component when using the ShadCN CLI. Follow the shade-shadcn-install skill.
  • Do not import @tryghost/shade/styles.css or add another ShadeApp wrapper in an embedded Admin app; Admin owns the shared CSS and application wrapper.
  • Use semantic tokens rather than raw colours or colour dark: variants, and use Shade primitives for layout-only wrappers.
  • Run pnpm lint and pnpm test. Visually verify changed UI and stories in Storybook.
  • Update the Storybook human documentation when a shared Shade convention changes; do not make this file the only source.