Communitygithub.com

Keimoshi/Silverloft

生成单页SaaS落地页,包含英雄区、功能、社交证明、定价和行动号召。遵循活跃的DESIGN.md颜色/排版/布局标记。

Silverloft 是什么?

这是一个用于生成单页SaaS落地页的AI Agent技能。它能够根据项目目录中的 `DESIGN.md` 文件定义的设计标记(颜色、排版、布局),自动创建包含英雄区、功能块、社交证明、定价表和页脚行动号召等完整模块的落地页。该技能支持多平台(Claude Code、Cursor、Codex等),通过遵循严格的步骤工作流:先读取设计上下文,规划必需页面区块,应用设计系统,输出语义化的 `index.html`(内联CSS、无外部JS),最后进行自检以确保内容有意义、颜色引用无误、响应式布局正确。它利用 `data-od-id` 属性标记可编辑元素,以实现与宿主应用的评论模式兼容。该技能特别适合需要快速生成符合已有设计系统的营销页面或产品落地页的场景。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Keimoshi/Silverloft/tree/HEAD/open-design-port/docs/examples/saas-landing-skill

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

SaaS 落地页技能

生成一个单页 SaaS 落地页。Agent,请严格按照以下工作流程执行。

1. 读取上下文

在编写任何内容之前:

  • 读取当前工作目录下的 DESIGN.md。如果不存在,停止并请求提供一个。
  • 识别颜色调色板、排版标记和布局原则。
  • 注意“Agent Prompt Guide”部分——若与本指令冲突,则以该指南为准。

2. 规划区块

必需的区块,按顺序排列:

  1. 英雄区 — 标志或文字标记、标题行(标语输入)、副标题(1-2句)、主要行动号召按钮、次要行动号召按钮。使用 hero_density 参数作为垂直内边距(单位:px)。
  2. 功能 — 3-6个功能卡片。每个卡片包含:图标、简短标题、1-2句描述。
  3. 社交证明 — proof_count 个标志或推荐语。如果为0,则跳过此区块。
  4. 定价 — 2-3个层级。仅当 has_pricing 为 true 时包含。
  5. 页脚行动号召 — 一个大的强调色带,包含一个按钮行动号召。
  6. 页脚 — 最小化:链接 + 版权信息。

3. 应用设计系统

  • 所有颜色必须来自 DESIGN.md 的标记。不要创造十六进制值。
  • 排版:使用声明的显示字体作为标题,正文使用正文字体。
  • 布局:遵循网格、最大宽度和区块间距规则。
  • 组件:使用声明的按钮/卡片/输入模式。如果 DESIGN.md 的“深度与高度”部分标注为“最小”,则不要添加阴影。
  • 强调色:仅在英雄区使用一次,页脚行动号召区使用一次,所有链接使用一次。不要在页面中过度使用。

4. 编写文件

输出一个自包含的 index.html 文件,包含:

  • 所有 CSS 内联在 <head> 的 <style> 块中。
  • 如果 DESIGN.md 的字体无法从 Google Fonts 等加载,则使用系统字体回退。
  • 无外部 JS。
  • 语义化 HTML(<header>、<main>、<section>、<footer>)。
  • 每个可编辑元素标记带有 data-od-id="<unique-slug>",以便宿主应用的评论模式能够定位。

5. 自检

在完成之前,请验证:

  • 所有文本内容有意义,不是 lorem ipsum(使用 product_name 和 tagline 输入;其余部分生成合理的具体文案)。
  • 无损坏的颜色引用(每个 CSS 颜色值都在 DESIGN.md 的调色板中,或是有效的 alpha/回退变体)。
  • 响应式断点与 DESIGN.md 的“响应式行为”部分一致。
  • 页面在 1440w、768w 和 375w 宽度下看起来良好(脑中模拟)。
  • 强调色总共使用不超过两次。

6. 完成

只输出 index.html。不要生成独立的 CSS 文件、JS 文件或 README。


技能作者作为参考

这是一个最小但完整的技能。结构如下:

saas-landing-skill/
├── SKILL.md    ← 您正在阅读此文件
└── assets/
    └── base.html    (可选起始模板;本技能未使用)

注意点:

  • od: 前导块对于仅兼容 Claude Code 是可选的,但添加它可以开启 OD 的类型化输入、滑块、预览元数据和能力门控。
  • 前导块下方的工作流是纯 Markdown,Agent 将其作为系统提示读取。
  • DESIGN.md 被视为协作伙伴,而非覆盖。当简要内容冲突时,本技能赋予 Agent 覆盖权限,但绝不允许发明新的标记。
  • data-od-id 标记是我们将元素连接到评论模式的方式。希望支持评论模式的技能必须对其输出进行注解。

参见 ../../skills-protocol.md 获取完整协议。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

Keimoshi/Silverloft

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

Keimoshi/Silverloft

Produce a single-file slide deck in the Atelier Zero visual language (warm-paper background, italic-serif emphasis spans, coral terminating dots, surreal collage plates) — Open Design's brand deck recipe. The deck uses **horizontal magazine-style swipe pagination** (←/→, wheel, swipe), a per-slide chrome strip with brand mark and slide counter, an ESC overview grid, a coral progress bar, and inherits the canonical stylesheet + 16-slot image library from the sister `open-design-landing` skill.

Keimoshi/Silverloft

Produce a world-class single-page editorial landing site in the Atelier Zero visual language (Monocle / Apartamento / Études editorial collage) — the same aesthetic Open Design uses for its own marketing surface. The agent fills a typed `inputs.json` from a brand brief, optionally generates 16 collage assets via gpt-image-2, then runs a pure-function composer that emits a self-contained HTML file; a separate path can mirror the Astro marketing site in `apps/landing-page/`. Drop-in scroll-reveal motion and a Headroom-style sticky nav are wired automatically.

Keimoshi/Silverloft

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

相关技能