shade-page-templates
它能做什么
这个技能告诉 AI 智能体为新界面选择正确的页面类型,并从其模板开始。适合在基于 Shade 的界面中构建新页面的开发者。
适用场景
- ✓当你在 Ghost 应用中开始一个新页面、路由或界面的时候。
- ✓当你想围绕页面内容重新组织布局的时候。
- ✓当你需要判断某个界面是列表页还是详情页的时候。
技能链接
https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-page-templates/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想在 Ghost 应用中为订单构建一个新的列表页,并从正确的模板开始。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会说明页面类型,例如列表或详情,然后从该模板开始。接着,它会使用相关技能添加页面头部和正文内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Shade page templates
A new screen starts with one question: what page type is this? The answer picks the template, and the template supplies the chrome. The rules live in Page types.
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
- Name the page type from Page types: list page, detail page, or one of the shapes not in the taxonomy.
- Start from that type's template and the Example. For shapes without a template, assemble the page as that section says.
- Compose it with Composing a page.
- Build the header's controls with
shade-page-header, and lay out the body withshade-use-primitives.
Self-check
- You can name the page type, and the template matches it.
- Every rule in Composing a page holds for your page.
常见问题
有哪些页面类型?
该技能列出了列表页和详情页,以及文档中列出的其他几种结构。
如果没有合适的模板怎么办?
该技能说明,对于没有模板的结构,应按照文档的描述来组装页面。
哪些技能与它配合使用?
它会把页面头部交给 shade-page-header 技能,把正文布局交给 shade-use-primitives 技能。
详情
作者的原始描述
Start a Ghost screen from the Shade page template for its page type. Use when starting a new page, route or screen, or when restructuring a page's chrome.
repo: TryGhost/Ghost
热度
- GitHub 星标
- 56k
- 排名
- #3285
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
tinybird-cli-guidelines
56k指导你的智能体使用 Tinybird CLI 命令进行本地开发、分支工作、构建、部署和数据管理。
tinybird
56k教你的智能体为数据源、管道、端点和物化视图编写 Tinybird 文件格式、SQL 规则和性能模式。
build-ghost-app
56k帮你的智能体使用 Vite 和 React 构建 Ghost 应用,将其连接到 Ghost Admin,并设置其清单和安装链接。
build-ghost-app-ui
56k帮你的智能体使用 Ghost 的设计系统 Shade 构建 Ghost 应用的界面,并将它指向正确的文档和技能。