Shade Use Primitives shade-use-primitives

Lay out Ghost UI with Shade's layout primitives.

Use it when laying out a screen, section or row, or when spacing, aligning, stacking or wrapping elements.

Works in Claude, ChatGPT, Codex and more
Our test
—
not tested yet
GitHub stars
56k
tryghost/ghost
Added by
0
members
Updated
Dec 6
commit fea511f
Content
1 file
no scripts · 2 KB
License
MIT
free to use

What our test found

Not tested yet. Our model tries every skill on a realistic request and scores the result, the most popular skills first. Until then, the safety checks on the right still apply.

View on GitHub ↗
name: shade-use-primitives
description: Lay out Ghost UI with Shade's layout primitives. Use when laying out a screen, section or row, or when spacing, aligning, stacking or wrapping elements.

Shade use primitives

Layout in Ghost UI reads by intent: Stack, Inline, Box, Grid, Container and Text replace hand-written flex and grid classes. The rules live in Primitives.

Docs links use https://shade.ghost.org. If the project's AGENTS.md says where Shade's docs are (another address, or a source folder), use that instead. Fetch web pages with curl -s.

Workflow

  1. Check for a larger shape first. A whole page starts from ; a recurring product shape may already be a pattern in Patterns.
  2. Pick the primitive for each wrapper with Use a primitive when.
  3. Set gaps and padding from the Spacing scale.
  4. Reserve className for what the props don't cover.
  5. When laying out content lists or table rows, follow Lists and tables.

Self-check

  • No wrapper element in your diff carries only layout classes.
  • Spacing on primitives uses the named steps, and direction, gap, alignment and justification come from props.
  • Nothing in Don't applies to your diff.