Shade use primitives

From TryGhost/Ghost · View interactive version

Shade use primitives is an AI agent skill from the GitHub repository TryGhost/Ghost. 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.

How to use this skill

Skill file

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

CODE0; a recurring

product shape may already be a pattern in

Patterns.

  1. Pick the primitive for each wrapper with

Use a primitive when.

  1. Set gaps and padding from the

Spacing scale.

  1. Reserve className for what

the props don't cover.

  1. When laying out content lists or table rows, follow

Lists and tables.

Self-check

and justification come from props.

diff.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.