Aller au contenu
Skillpedia
Interfaces (UI/UX)56k · #3281

build-ghost-app-ui

Ce qu’il fait

Cette compétence installe Shade, le système de design de Ghost, dans une application Ghost et oriente l'agent vers ses règles. Elle s'adresse aux développeurs qui construisent des écrans pour des applications Ghost et veulent qu'ils ressemblent à Ghost Admin.

Quand l’utiliser

  • ✓Quand vous construisez ou modifiez les écrans d'une application Ghost.
  • ✓Quand vous voulez ajouter Shade à une application pour qu'elle ressemble à Ghost Admin.
  • ✓Quand vous avez besoin des règles Shade adaptées à une partie précise de l'interface.

Lien du skill

https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/build-ghost-app-ui/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/build-ghost-app-ui/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Je veux que les écrans de mon application Ghost ressemblent à Ghost Admin, en utilisant Shade.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent installe le paquet Shade, vérifie la configuration de l'application, puis lit la documentation de Shade pour le composant ou la mise en page dont il a besoin. Le paquet installé détermine ce qui existe, et la documentation explique comment l'utiliser.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Build a Ghost app's UI

A Ghost app's screens use Shade (@tryghost/shade), the design system Ghost Admin is built with. This skill sets Shade up and routes to the Shade skills installed beside it; the rules live in Shade's docs. The app's manifest, connect() and install belong to the build-ghost-app skill.

The docs

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. At an address, start from <address>/llms.txt and fetch web pages with curl -s <address>/docs/<page>.md, so the text arrives exact: a web fetch tool summarises it and refuses localhost.

When sources disagree, trust them in this order:

  1. The installed @tryghost/shade package (its code and type definitions; it ships no docs) decides what exists: components, props and imports. Its types match the install.
  2. The docs at the address above decide how to use it.
  3. Ghost's source, if it's on disk, is reference only. Never import from it, and skip its Admin-only rules.

Set up

Check each step against the app, and do the ones it's missing:

  1. Install @tryghost/shade@alpha and its peers from npm; latest is older. npm create vite scaffolds React 19, which npm refuses beside Shade, so move the React packages and types first, as Install shows.

  2. Set up Tailwind and the stylesheet.

  3. Load the Fonts.

  4. Wrap the app in ShadeApp.

  5. Follow Admin's Light and dark theme.

  6. Set the Page frame and margins.

  7. If the app keeps state in the query string, follow App state in the URL.

  8. Add this section to the app's AGENTS.md, creating the file if needed. Keep any line already there that says where Shade's docs are.

    ## Shade
    
    Before building or changing a screen, use the `build-ghost-app-ui` skill.
    Shade docs: https://shade.ghost.org
    

Build a screen

  1. Start from the page template with shade-page-templates.
  2. As the screen needs them, use shade-page-header for the header, shade-use-primitives for layout, shade-tokens-not-hex for colour, shade-no-dark-variants for dark mode and shade-imports for imports.
  3. Read only the docs that apply to apps.

Self-check

Before finishing, confirm in Admin:

  • The screen looks right in Admin's light and dark theme, and switches with it.
  • Inter loads: document.fonts lists it at each weight in Fonts.
  • The page has no outer padding of its own.
  • Nothing is styled by hand where Shade has a component, primitive or token.
  • Every state (empty, loading, error) is reachable with the sample data, and uses Shade components.
  • The app's AGENTS.md has the Shade section.
Questions fréquentes

D'où l'agent tire-t-il les règles de Shade ?

La compétence renvoie vers la documentation en ligne de Shade, et le paquet installé détermine les composants et les propriétés disponibles.

L'agent a-t-il besoin du code source de Ghost ?

Non. La compétence interdit d'importer depuis le code source de Ghost, qui ne sert que de référence.

Configure-t-elle la connexion de l'application à Ghost ?

Non. La connexion de l'application à Ghost Admin est gérée par la compétence build-ghost-app.

Détails

Description originale de l’auteur

Build a Ghost app's screens with Shade, Ghost's design system, and find its docs and skills. Use when building or changing a Ghost app's UI, or adding Shade to an app.

repo: TryGhost/Ghost

Popularité

Étoiles GitHub
56k
Position au classement
#3281
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires