Skip to main content

shade-page-header

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.

Source facts

Repository
TryGhost/Ghost
Last source activity
October 29, 2026 at 13:31
Detected SKILL.md language
English
Stars
55,685
Forks
12,105

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
shade-page-header
description
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.
# Shade page header The rules live in the [PageHeader design contract](https://shade.ghost.org/docs/components/patterns/page-header.md). 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](https://shade.ghost.org/docs/components/patterns/page-header.md#order-and-hierarchy). 2. Compose the header from its [Slots](https://shade.ghost.org/docs/components/patterns/page-header.md#slots) and the controls in [Constructing controls](https://shade.ghost.org/docs/components/patterns/page-header.md#constructing-controls). For the page around it, use [`shade-page-templates`](../shade-page-templates/SKILL.md). 3. Read PageHeader's current type declarations and any nearby header before implementing. Take appearance and spacing from the shared defaults. 4. Exercise every state the change affects with [Review a header](https://shade.ghost.org/docs/components/patterns/page-header.md#review-a-header). ## Self-check - Every state in the review list that your change touches has been exercised. - Report which routes, widths and themes you verified, and fix failures before marking the header complete.
View on GitHub