Shade page header

From TryGhost/Ghost · View interactive version

Shade page header is an AI agent skill from the GitHub repository TryGhost/Ghost. Build or revise a page header with Shade's PageHeader contract. Use when adding a page header, changing its actions, or reviewing action order, search, filtering, dropdowns, tooltips or responsive behaviour in a header.

How to use this skill

Skill file

Shade page header

The rules live in the

PageHeader design contract.

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. Read the contract. Sort the screen's actions into icon-only utilities,

labelled secondaries and an optional primary, and decide the order within

each group, following

Order and hierarchy.

  1. Compose the header from its

Slots and the

controls in

Constructing controls.

For the page around it, use

CODE0.

  1. Read PageHeader's current type declarations and any nearby header before

implementing. Take appearance and spacing from the shared defaults.

  1. Exercise every state the change affects with

Review a header.

Self-check

marking the header complete.

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.