Communitygithub.com

galyarderlabs/galyarder-design

生成單頁式 SaaS 登陸頁面,包含英雄區塊、功能介紹、社交證明、定價與行動呼籲。遵循 DESIGN.md 的顏色、字體與佈局標記。

galyarder-design 是什麼?

這是一個 AI 代理技能,用於產生一個完整的單頁 SaaS 登陸頁面 (index.html)。它強制代理必須先讀取專案目錄中的 DESIGN.md 檔案,從中提取顏色調色盤、字體標記與佈局原則,然後按照鎖定的區塊順序(英雄區塊、功能、社交證明、定價、頁尾 CTA、頁尾)輸出。技能支援常見的 AI 代理平台(如 Claude Code、Cursor、Codex),並透過 data-od-id 屬性與主機應用程式的註解模式整合。其獨特之處在於將設計系統視為共同協作者,而非單純的規定,代理有權在衝突時覆寫指示,但不能發明新標記。輸出為自包含的 HTML,所有 CSS 內嵌,無外部 JS,且必須進行自我檢查以確保內容有意義、顏色引用無誤、響應式斷點符合 DESIGN.md 規範。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/galyarderlabs/galyarder-design/tree/HEAD/design-templates/saas-landing

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

SaaS 登陸頁面技能

產生一個單頁式的 SaaS 登陸頁面。代理請嚴格遵循以下工作流程。

1. 讀取上下文

在開始撰寫任何內容之前:

  • 讀取當前工作目錄中的 DESIGN.md。如果檔案不存在,請停止並要求提供。
  • 辨識顏色調色盤、字體標記與佈局原則。
  • 注意「Agent Prompt Guide (代理提示指南)」章節——若與此處的指示衝突,以該指南為準。

2. 規劃區塊

必須包含的區塊,按順序排列:

  1. 英雄區塊 (Hero) — 標誌或文字標記、主標題 (標語輸入)、副標題 (1–2 句)、主要行動呼籲按鈕、次要行動呼籲按鈕。使用 hero_density 參數作為垂直內距 (單位 px)。
  2. 功能介紹 (Features) — 3–6 個功能方塊。每個方塊包含:圖示、短標題、1–2 句說明。
  3. 社交證明 (Social proof) — proof_count 個標誌或推薦。如果為 0,則跳過此區塊。
  4. 定價 (Pricing) — 2–3 個方案。僅在 has_pricing 為 true 時包含。
  5. 頁尾行動呼籲 (Footer CTA) — 大面積強調色帶,包含一個按鈕的行動呼籲。
  6. 頁尾 (Footer) — 精簡:連結 + 版權資訊。

3. 套用設計系統

  • 所有顏色必須來自 DESIGN.md 的標記。不得自行發明十六進位值。
  • 字體:主標題使用宣告的顯示字體,其餘文字使用正文字體。
  • 佈局:遵循網格、最大寬度與區塊間距規則。
  • 元件:使用宣告的按鈕/卡片/輸入框模式。若 DESIGN.md 的「Depth & Elevation」標明為極簡,則不應加入陰影。
  • 強調色:僅在英雄區塊使用一次、在頁尾行動呼籲區塊使用一次,並用於所有連結。不得過度使用。

4. 撰寫檔案

輸出一個自包含的 index.html,包含:

  • 所有 CSS 內嵌在 <head> 的 <style> 區塊中。
  • 若 DESIGN.md 的字體無法從 Google Fonts 等載入,則使用系統字體做為後備。
  • 不包含外部 JS。
  • 使用語義化 HTML (<header>、<main>、<section>、<footer>)。
  • 每個可編輯元素加上 data-od-id="<唯一標識>" 屬性,以便主機應用程式的註解模式能夠定位。

5. 自我檢查

在完成前,請確認:

  • 所有文字都是有意義的內容,而非 lorem ipsum(使用 product_name 和 tagline 輸入;其餘部分產生合理的具體文案)。
  • 沒有破碎的顏色引用(每個 CSS 顏色值都在 DESIGN.md 的調色盤中,或是有效的 alpha / 後備變體)。
  • 響應式斷點符合 DESIGN.md 的「Responsive Behavior (響應式行為)」章節。
  • 頁面在 1440px、768px 和 375px 寬度下看起來良好(心理模擬)。
  • 強調色總共使用不超過兩次。

6. 完成

僅輸出 index.html。不得產生獨立的 CSS 檔案、JS 檔案或 README。


給技能作者的參考說明

這是一個最簡但完整的技能。結構如下:

saas-landing-skill/
├── SKILL.md    ← 你正在這裡
└── assets/
    └── base.html    (可選的起始模板;本技能未使用)

值得注意的事項:

  • od: 前置元資料區塊對於 Claude-Code-only 的相容性來說是可選的,但加上它能夠啟用 OD 的類型化輸入、滑桿、預覽元資料以及功能控管。
  • 前置元資料下方的工作流程是純 Markdown,代理將其作為系統提示讀取。
  • DESIGN.md 被視為共同協作者,而非覆寫規則。技能賦予代理在簡報衝突時進行覆寫的權限,但絕不能發明新的標記。
  • data-od-id 標記是我們將元素連結到註解模式的方式。希望支援註解模式的技能必須對其輸出進行標註。

完整的協定請參閱 ../../docs/skills-protocol.md。

Individual skills in this repo

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

galyarderlabs/galyarder-design

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) — Galyarder 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 `galyarder-design-landing` skill.

galyarderlabs/galyarder-design

Produce a world-class single-page editorial landing site in the Atelier Zero visual language (Monocle / Apartamento / Études editorial collage) — the same aesthetic Galyarder 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.

galyarderlabs/galyarder-design

Produce a print-grade single-page kami (Paper) 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.

galyarderlabs/galyarder-design

Minimal pre-launch landing with email capture, brand logo, and optional decorative layer. Reads DESIGN.md for colors, typography, and layout rules. Best for: product launches, beta signups, early access programs, indie projects.

galyarderlabs/galyarder-design

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

galyarderlabs/galyarder-design

Programmatic video creation with React. Useful for branded explainers, social cuts, dashboards-to-video, and reproducible motion graphics.

相關技能