Shade imports

From TryGhost/Ghost · View interactive version

Shade imports is an AI agent skill from the GitHub repository TryGhost/Ghost. Import Shade from its layer subpaths and set up its stylesheet and ShadeApp for the surface. Use when importing from `@tryghost/shade` or adding Shade to an app.

How to use this skill

Skill file

Shade imports

Each Shade layer has its own import subpath, and whether an app loads Shade's

stylesheet and ShadeApp depends on who owns its document. The rules live in

Shade: Imports.

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. Take each import from the subpath table in

Imports.

  1. When adding Shade to an app, decide whether it is embedded or standalone

with

Embedded and standalone setup.

  1. For a standalone app, such as a Ghost app, follow

CODE0.

Self-check

at its root; an embedded Admin app has neither.

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.