Communitygithub.com

Keimoshi/Silverloft

建立單頁 SaaS 登陸頁面,包含英雄區、功能、社會證明、定價與行動呼籲。遵循現有 DESIGN.md 中的顏色/排版/佈局代碼。

Silverloft 是什麼?

這個 AI 技能用於生成一個完整的單頁 SaaS 登陸頁面,適合產品行銷或創業專案。它會自動讀取工作目錄中的 DESIGN.md 檔案,提取設計代碼(顏色、字體、佈局規則),並按照指定的分區順序輸出 HTML:英雄區、功能區、社會證明、定價區、頁尾行動呼籲、頁尾連結。支援事件驅動觸發(例如「saas landing」、「marketing page」),並可根據參數(如 hero_density、proof_count、has_pricing)調整佈局與內容。輸出為單一自含的 index.html,所有 CSS 內嵌、無外部 JS,並使用 data-od-id 標記每個可編輯元素以支援註解模式。適合用於 Claude Code 或 Cursor 等 AI 編碼工具,幫助開發者快速建立專業的行銷登陸頁。

相容平台✓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 登陸頁面。代理,請嚴格按照以下工作流程進行。

1. 閱讀情境

開始撰寫之前:

  • 讀取當前工作目錄中的 DESIGN.md。若缺少,則停止並要求提供一份。
  • 識別色板、排版記號與佈局原則。
  • 注意「代理提示指南」區塊——若與此處的任何指示衝突,則以該區塊為準。

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,代理將其視為系統提示。
  • 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

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

相關技能