shade-use-primitives
What it does
This skill tells an AI agent to use Shade's layout building blocks instead of hand-written layout classes. It is for developers building interfaces who want consistent spacing and structure.
When to use it
- ✓When you lay out a screen, section, or row in a Shade-based app.
- ✓When you need to space, align, stack, or wrap elements.
- ✓When you are tempted to add layout classes to a plain wrapper element.
Skill link
https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-use-primitives/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I want to lay out the form fields on my settings page with even spacing, using Shade's layout blocks.”
5 new skills a week. 1 minute to read.
How it works
The agent picks a layout block for each wrapper, such as Stack for vertical groups or Inline for rows. It sets gaps and padding from Shade's named spacing steps, and uses class names only for what the props do not cover.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
- Check for a larger shape first. A whole page starts from
shade-page-templates; a recurring product shape may already be a pattern in Patterns. - Pick the primitive for each wrapper with Use a primitive when.
- Set gaps and padding from the Spacing scale.
- Reserve
classNamefor what the props don't cover.
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.
FAQ
What are the main layout blocks?
The skill names Stack, Inline, Box, Grid, Container, and Text as the building blocks.
Should I still write flex or grid classes?
The skill says layout should read by intent, so the primitives replace most hand-written flex and grid classes.
Is there a shortcut for a whole page?
Yes. A whole page starts from a page template, and recurring shapes may already exist as a pattern.
Details
Original description by the author
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.
repo: TryGhost/Ghost
Popularity
- GitHub stars
- 56k
- Ranking position
- #3287
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
tinybird-cli-guidelines
56kGuides your agent through Tinybird CLI commands for local development, branch work, building, deploying, and managing data.
tinybird
56kTeaches your agent Tinybird file formats, SQL rules, and performance patterns for datasources, pipes, endpoints, and materialized views.
build-ghost-app
56kHelps your agent build a Ghost app with Vite and React, connect it to Ghost Admin, and set up its manifest and install link.
build-ghost-app-ui
56kHelps your agent build the screens of a Ghost app with Shade, Ghost's design system, and points it to the right docs and skills.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.