Shade page header
TryGhost/Ghost/.agents/skills/shade-page-header/SKILL.md
Construct or revise Admin page headers and header controls using the shared PageHeader contract. Use when adding a header, changing its actions, or reviewing ordering, responsive behavior, search, filtering, dropdowns, or tooltips in a header.
Skill55k starsChanged 56 days ago
What's in it
- Construct a Shade page header
--- name: Shade page header description: Construct or revise Admin page headers and header controls using the shared PageHeader contract. Use when adding a header, changing its actions, or reviewing ordering, responsive behavior, search, filtering, dropdowns, or tooltips in a header. --- # Construct a Shade page header 1. Read the canonical [PageHeader design contract](../../../apps/shade/src/components/patterns/page-header.mdx) and its [live stories](../../../apps/shade/src/components/patterns/page-header.stories.tsx). Identify the screen's labelled secondaries, icon utilities and optional primary; decide the frequency order within each group before composing them. 2. Use the existing PageHeader compound controls and slots. Keep permissions, routing, queries and shortcut bindings in the feature. For page-template choice, use [Shade page templates](../shade-page-templates/SKILL.md). 3. Read the current PageHeader API and nearby header before implementing. Use shared defaults for appearance and spacing; preserve the previous structure through `useShade().isAdmin7` while compatibility exists. 4. Exercise every state affected by the change using the contract's review checklist. Report which routes, widths, themes and compatibility modes were verified, and address failures before marking the header complete. When the shared convention changes, update the component and its attached Storybook contract together. Keep the design rules in that canonical document.
More agent context in TryGhost/Ghost
22 other files this repository gives its agents.
AGENTS.md
Skill
- Add Admin API Endpoint.agents/skills/add-admin-api-endpoint/SKILL.md
- add-private-feature-flag.agents/skills/add-private-feature-flag/SKILL.md
- admin7-feature-flags.agents/skills/admin7-feature-flags/SKILL.md
- commit.agents/skills/commit/SKILL.md
- convert-internal-package-to-typescript.agents/skills/convert-internal-package-to-typescript/SKILL.md
- Create database migration.agents/skills/create-database-migration/SKILL.md
- Format numbers.agents/skills/format-number/SKILL.md
- migrate-internal-package.agents/skills/migrate-internal-package/SKILL.md
- Shade component decision.agents/skills/shade-component-decision/SKILL.md
- Shade dropdown surface contract.agents/skills/shade-dropdown-surface-contract/SKILL.md
- Shade imports.agents/skills/shade-imports/SKILL.md
- Shade inputSurface recipe.agents/skills/shade-input-surface-recipe/SKILL.md
- Shade new component.agents/skills/shade-new-component/SKILL.md
- Shade no dark variants.agents/skills/shade-no-dark-variants/SKILL.md
- Shade page templates.agents/skills/shade-page-templates/SKILL.md
- Shade ShadCN install.agents/skills/shade-shadcn-install/SKILL.md
- Shade tokens, not hex.agents/skills/shade-tokens-not-hex/SKILL.md
- Shade use primitives.agents/skills/shade-use-primitives/SKILL.md
- tinybird-cli-guidelines.agents/skills/tinybird-cli-guidelines/SKILL.md
- tinybird.agents/skills/tinybird/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

