Communitygithub.com

Keimoshi/Silverloft

单页SaaS着陆页生成器:包含英雄区、功能、社交证明、定价和行动号召。严格遵循DESIGN.md中的颜色/排版/布局标记。

Silverloft 是什么?

该技能用于生成一个单页SaaS着陆页HTML文件。它会首先读取当前工作目录下的`DESIGN.md`文件,提取其中的颜色调色板、排版标记和布局原则。技能要求按照严格的顺序构建页面:英雄区、功能区块、社交证明(可选)、定价表(可选)、页脚CTA和页脚。所有颜色、字体和组件样式必须完全源自`DESIGN.md`的标记,不得自行创建十六进制颜色值。生成的`index.html`采用内联CSS,无外部JavaScript依赖,并包含语义化HTML标签及`data-od-id`属性以支持评论模式。最终输出前会进行自检,确保内容有意义、颜色引用正确、响应式断点匹配设计规范,且强调色使用不超过两次。支持Claude Code、OpenDelta等平台,通过自然语言触发如“saas landing”、“marketing page”、“product landing”。

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

在你喜欢的 AI 中提问

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

文档

SaaS 着陆页技能

生成一个单页 SaaS 着陆页。代理人,请严格按照以下工作流程执行。

1. 读取上下文

在编写任何内容之前:

  • 读取当前工作目录中的 DESIGN.md。如果缺失,停止并请求提供一个。
  • 识别颜色调色板、排版标记和布局原则。
  • 注意“代理人提示指南”部分——如果与本说明冲突,则以该部分为准。

2. 规划章节

按顺序必须包含的章节:

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

3. 应用设计系统

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

4. 编写文件

输出一个独立的 index.html,要求如下:

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

5. 自检

完成之前,请验证:

  • 所有文本内容有意义,而非 lorem ipsum(使用产品名称和标语输入;其余内容生成合理的具体文案)。
  • 无错误的颜色引用(每个 CSS 颜色值都在 DESIGN.md 的调色板中,或是有效的 alpha/后备变体)。
  • 响应式断点与 DESIGN.md 的“响应式行为”部分一致。
  • 页面在 1440w、768w 和 375w 宽度下视觉效果良好(进行心理模拟)。
  • 强调色总共使用不超过两次。

6. 完成

仅写入 index.html。不生成单独的 CSS 文件、JavaScript 文件或 README。


对于将此作为参考阅读的技能作者

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

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

需要注意的要点:

  • od: 前端数据块对于仅兼容 Claude-Code 是可选的,但添加它可以启用 OD 的键入输入、滑块、预览元数据和能力门控。
  • 前端数据块下方的工作流程是普通的 Markdown,代理人将其作为系统提示读取。
  • DESIGN.md 被视为合作者,而非覆盖项。该技能赋予代理人权威,在任务简介冲突时进行覆盖,但从不自行创建新的标记。
  • 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

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".

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.

相关技能