build-ghost-app-ui
Skill này làm gì
Skill này thiết lập Shade, hệ thống thiết kế của Ghost, trong một ứng dụng Ghost và chỉ dẫn agent theo các quy tắc của nó. Skill dành cho lập trình viên xây dựng màn hình cho ứng dụng Ghost và muốn chúng khớp với Ghost Admin.
Khi nào nên dùng
- ✓Khi bạn xây dựng hoặc thay đổi các màn hình của một ứng dụng Ghost.
- ✓Khi bạn muốn thêm Shade vào một ứng dụng để nó trông giống Ghost Admin.
- ✓Khi bạn cần đúng quy tắc Shade cho một phần cụ thể của giao diện.
Liên kết skill
https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/build-ghost-app-ui/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn các màn hình của ứng dụng Ghost trông giống Ghost Admin, dùng Shade.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent cài gói Shade, kiểm tra thiết lập của ứng dụng rồi đọc tài liệu Shade cho thành phần hoặc bố cục nó cần. Gói đã cài quyết định những gì tồn tại, còn tài liệu giải thích cách dùng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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:
- The installed
@tryghost/shadepackage (its code and type definitions; it ships no docs) decides what exists: components, props and imports. Its types match the install. - The docs at the address above decide how to use it.
- 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:
Install
@tryghost/shade@alphaand its peers from npm;latestis older.npm create vitescaffolds React 19, which npm refuses beside Shade, so move the React packages and types first, as Install shows.Set up Tailwind and the stylesheet.
Load the Fonts.
Follow Admin's Light and dark theme.
Set the Page frame and margins.
If the app keeps state in the query string, follow App state in the URL.
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
- Start from the page template with
shade-page-templates. - As the screen needs them, use
shade-page-headerfor the header,shade-use-primitivesfor layout,shade-tokens-not-hexfor colour,shade-no-dark-variantsfor dark mode andshade-importsfor imports. - 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.fontslists 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.mdhas the Shade section.
Câu hỏi thường gặp
Agent lấy quy tắc của Shade ở đâu?
Skill chỉ đến tài liệu trực tuyến của Shade, và gói đã cài quyết định những thành phần và props nào tồn tại.
Agent có cần mã nguồn của Ghost không?
Không. Skill yêu cầu không bao giờ import từ mã nguồn của Ghost, vì đó chỉ để tham khảo.
Nó có thiết lập kết nối của ứng dụng với Ghost không?
Không. Việc kết nối ứng dụng với Ghost Admin do skill build-ghost-app đảm nhiệm.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 56k
- Vị trí xếp hạng
- #3281
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
tinybird-cli-guidelines
56kHướng dẫn agent của bạn dùng các lệnh Tinybird CLI để phát triển cục bộ, làm việc với nhánh, build, deploy và quản lý dữ liệu.
tinybird
56kDạy agent của bạn định dạng file, quy tắc SQL và các mẫu hiệu năng của Tinybird cho datasource, pipe, endpoint và materialized view.
build-ghost-app
56kGiúp agent của bạn xây dựng một ứng dụng Ghost bằng Vite và React, kết nối nó với Ghost Admin, rồi thiết lập manifest và liên kết cài đặt.
shade-imports
56kGiúp agent của bạn import các thành phần Shade từ đúng đường dẫn theo layer và thiết lập stylesheet cùng ShadeApp cho đúng.
Skill tương tự
canvas
394kCho phép agent của bạn hiện một widget trực quan được lưu trữ trên bảng Mac đã kết nối, rồi ẩn bảng hoặc chuyển nó sang trang khác.
control-ui
394kGiúp agent của bạn sắp xếp và khắc phục sự cố Control UI của OpenClaw, gồm các phiên, bảng điều khiển và Gateway đã kết nối.
diagram-maker
394kGiúp agent của bạn vẽ sơ đồ rõ ràng dạng SVG, HTML hoặc Excalidraw có thể sửa, cho quy trình, kiến trúc hệ thống và bản phác bảng trắng.