Zum Inhalt springen
Skillpedia
Oberflächen (UI/UX)56k · #3281

build-ghost-app-ui

Was er macht

Diese Fähigkeit richtet Shade, das Designsystem von Ghost, in einer Ghost-App ein und lenkt den Agenten zu dessen Regeln. Sie ist für Entwickler gedacht, die Bildschirme für Ghost-Apps bauen und sie an Ghost Admin angleichen wollen.

Wann du ihn nutzt

  • ✓Wenn du die Bildschirme einer Ghost-App baust oder änderst.
  • ✓Wenn du Shade zu einer App hinzufügst, damit sie wie Ghost Admin aussieht.
  • ✓Wenn du die richtigen Shade-Regeln für einen bestimmten Teil der Oberfläche brauchst.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/build-ghost-app-ui/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Ich möchte, dass die Bildschirme meiner Ghost-App wie Ghost Admin aussehen, mit Shade.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent installiert das Shade-Paket, prüft die Einrichtung der App und liest die Dokumentation von Shade für die Komponente oder das Layout, das er braucht. Das installierte Paket legt fest, was es gibt, und die Dokumentation erklärt die Nutzung.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.
Häufige Fragen

Woher bekommt der Agent die Regeln von Shade?

Die Fähigkeit verweist auf die Online-Dokumentation von Shade, und das installierte Paket bestimmt, welche Komponenten und Props es gibt.

Braucht der Agent den Quellcode von Ghost?

Nein. Die Fähigkeit sagt, dass nie aus dem Quellcode von Ghost importiert werden soll, der nur als Referenz dient.

Richtet sie die Verbindung der App zu Ghost ein?

Nein. Die Verbindung zu Ghost Admin übernimmt die Fähigkeit build-ghost-app.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
56k
Platz im Ranking
#3281
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills