Communitygithub.com

galyarder-design-landing

建立一個世界級單頁編輯式落地頁(或投影片簡報),採用 Atelier Zero 視覺語言(Monocle / Apartamento / Études 編輯式拼貼風格)——與 Galyarder Design 自身行銷頁面相同的美學。代理程式會從品牌簡報填入型別化的 `inputs.json`,可選透過 gpt-image-2 生成 16 個拼貼素材,然後執行純函數組合器產生自包含的 HTML 檔案;另一途徑可鏡像到 `apps/landing-page/` 中的 Astro 行銷站點。滾動觸發動畫和 Headroom 風格的黏性導覽會自動配置。

galyarder-design-landing 是什麼?

Galyarder Design Landing 是一個 AI 代理技能,旨在根據使用者提供的品牌簡報,自動化建立單頁編輯風格落地頁(或投影片簡報)。其視覺風格基於 **Atelier Zero** 設計系統,特點包括暖紙色背景、Inter Tight 與 Playfair Display 字體組合、斜體襯線強調、虛線細分隔線、珊瑚色圓點結尾,以及 16 張超現實拼貼圖版。該技能完全參數化:代理程式從使用者簡報收集資訊填入型別化的 `inputs.json`,並支援三種圖片策略(佔位符、透過 gpt-image-2 生成、或使用者自備)。組合器將 JSON 與規範的 `styles.css` 結合,輸出一個自包含的 HTML 檔案,內嵌所有樣式、滾動觸發動畫(IntersectionObserver)和黏性導覽(Headroom 風格)。此外,可選地將產出鏡像到 `apps/landing-page/` 中的 Astro 行銷站點,以獲得可部署的生產環境輸出。該技能適用於 Claude Code、Cursor、Codex 等開發平台,協助行銷團隊、設計工作室或個人開發者快速建立具有強烈編輯風格的品牌落地頁。

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

在你喜歡的 AI 中提問

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

預覽

來自技能 README

galyarder-design-landing preview

說明文件

galyarder-design-landing 是做什麼的?

建立一個單頁編輯式落地頁(或投影片簡報——請參閱同系列 galyarder-design-landing-deck 技能) 採用 Atelier Zero 設計系統:暖紙色背景、Inter Tight + Playfair Display 字體、斜體襯線強調、虛線細分隔線、 珊瑚色結尾圓點、滾動觸發動畫,以及 16 張超現實拼貼圖版。

這是 Galyarder Design 標準的行銷頁面配方——範例輸出 就是你在 galyarder-design 看到的頁面。

該技能已完全參數化。代理程式會從使用者的簡報填入一個型別化的 inputs.json;組合器將該 JSON + 規範的 styles.css 轉換成可部署的成品。

inputs.json + styles.css                       16 個圖片插槽
        │                                            │
        └──────────► scripts/compose.ts ◄────────────┘
                            │
                            ▼
              <out>/index.html  (自包含)
              <out>/assets/      (PNG 或 SVG)

你將獲得

一個包含所有以下內容的單一 HTML 檔案:

  • 編輯式頂部橫幅(卷號 / 期號 / 語言列)、Headroom 風格的 黏性導覽列(含即時 GitHub 星數)。
  • 8 個以羅馬數字編號的章節,帶有紙紋背景: 英雄區(包含 3 個統計環 + 4 步驟索引)、關於、能力(4 張卡片)、 實驗室(5 張卡片 + 篩選標籤 + 進度條)、方法(4 步驟附縮圖)、 精選作品(深色板塊 + 2 張傾斜卡片)、推薦(引用引言 + 5 個合作夥伴圖示)、 行動呼籲(橫幅 + 電子郵件按鈕)。
  • 頁尾包含 4 個連結欄 + 巨大的斜體襯線結尾詞。
  • 每個章節的滾動觸發動畫(IntersectionObserver,尊重 prefers-reduced-motion)。
  • 完全響應式,支援 1280 / 1080 / 880 / 560 斷點。

工作流程合約

按順序執行以下四個步驟。代理程式應在繼續前完成 每個步驟,並優先向使用者提出針對性問題,而非自行編造文案。

1. 收集品牌輸入

使用 AskQuestion(或你的 UI 中的等效功能)分塊收集品牌 簡報;不要將整個 schema.ts 傾倒給使用者。 將其答案對應填入符合型別形狀的 inputs.json。

八個問題組,按順序:

組別Schema 欄位最少答案備註
1brand.{name,mark,tagline,description,location}5Mark = 單一字元符號(Ø, ▲, ★…)
2brand.{license,version,year,primary_url,contact_email}4URL 為必填;license 預設 Apache-2.0
3nav[] (最多 5 個)3可選計數徽章
4hero.{label,headline,lead,primary,secondary,stats}全部Headline 為 MixedText(sans+em+dot)
5about + capabilities.cards[4]全部4 張卡片 × {num,tag,title,body}
6labs.cards[5] + method.steps[4]全部兩個網格固定數量
7work.cards[2] + testimonial全部5 個合作夥伴圖示為內聯 SVG path 資料
8cta + footer.{columns[4],mega}全部Mega 結尾詞為 MixedText,如同 headline

打開 inputs.example.json 查看完整的 工作範例(Galyarder Design 本身)。

2. 決定圖片策略

策略何時選擇成本 / 延遲
placeholder第一版。展示。內部簡報。尚無圖片預算。$0, <1s
generate最終交付。品牌想要原創拼貼。~$0.40, ~6 分鐘
bring-your-own使用者已有藝術指導的 PNG。將其放在 assets_path。$0, 0s

相應設定 inputs.imagery.strategy。

placeholder — 框架模式

npx tsx scripts/placeholder.ts <out>/assets/

將 16 個 .svg 檔案(附帶 .png 別名以確保相容性)寫入 <out>/assets/。每個佔位符會顯示插槽 ID、比例、像素 尺寸以及來自 image-manifest.json 的提示提示。 組合器的 <img src='./assets/hero.png'> 等都能正常運作。

generate — gpt-image-2 模式

FAL_KEY=... npx tsx scripts/imagegen.ts <inputs.json> --out=<out>/assets/

對每個插槽呼叫 fal.ai 的 openai/gpt-image-2 同步端點。 組合提示為:風格錨點(紙拼貼編輯系統)

  • 品牌變數(從 inputs.json 提取的名稱 / 導覽 / 標題 / 斜體強調)
  • 每個插槽的構圖(例如,裁切的石膏頭像 + 穿過拱門生長的樹木)。 如果目標檔案已存在則跳過該插槽;傳遞 --force 以重新渲染。

如果沒有 FAL_KEY,腳本會列印提示,讓操作員可以手動將其引導至 /gpt-image-fal 斜線指令技能。

bring-your-own

將符合 assets/image-manifest.json 檔名的 16 個 PNG 放在 inputs.imagery.assets_path。完成。

3. 組合成品

npx tsx scripts/compose.ts <inputs.json> <out>/index.html

組合器讀取 inputs.json 和 ../styles.css,然後寫入一個 自包含的 HTML 檔案。該頁面包含:

  • 完整的 Atelier Zero 樣式表(內聯)。
  • 所有章節標記,帶有 data-reveal 屬性以實現交錯 滾動動畫。
  • 內聯 IntersectionObserver 腳本(鏡像 apps/landing-page/app/_components/reveal-root.tsx)。
  • 內聯 Headroom 導覽腳本(鏡像 header.tsx)。
  • 內聯 GitHub 星數擷取器(自動從 brand.primary_url 偵測)。

4.(可選)鏡像可部署的 Astro 站點

對於可部署的生產輸出,複製 apps/landing-page/ 套件:將其複製到你的工作空間,用你的 inputs.json 中的內容 對齊 app/page.tsx,並將你的 <out>/assets/*.png 複製到 app/image-assets.ts / R2 URL 所預期的路徑。使用 pnpm --filter @galyarder-design/landing-page build 建置,以獲得靜態 out/ 匯出,準備好部署到任何 CDN。

未來的迭代可能會包含一個組合器,能夠從 inputs.json 一步發出完整的 apps/landing-page/ 樹。在那之前, 複製並編輯是支援的路徑。


交付前自我檢查

在標記完成之前,代理程式必須驗證:

  • <out>/index.html 在瀏覽器中開啟,沒有控制台錯誤。
  • 所有 16 個圖片插槽都能載入(開發者工具網路分頁中沒有 404)。
  • 標題中的斜體強調部分以 Playfair 字體顯示(而非無襯線)。
  • 每個 display 等級的 h1/h2 結尾處都出現珊瑚色結尾圓點。
  • 從上到下滾動;每個章節都動畫播放一次。
  • 在 880px 和 560px 寬度下調整大小;沒有橫向滾動條,沒有重疊。
  • prefers-reduced-motion: reduce(開發者工具 → 渲染)可以乾淨地 停用過渡效果。
  • Lighthouse:對比度 AA、font-display swap、英雄區沒有版面偏移(CLS < 0.05)。

此技能中的檔案

skills/galyarder-design-landing/
├── SKILL.md                 # 此合約
├── README.md                # 快速入門
├── schema.ts                # 型別化輸入(單一事實來源)
├── styles.css               # Atelier Zero 樣式表(單一事實來源)
├── inputs.example.json      # Galyarder Design 作為工作範例
├── example.html             # 標準渲染(從 inputs.example.json 重新生成)
├── scripts/
│   ├── compose.ts           # inputs.json + styles.css → index.html
│   ├── imagegen.ts          # gpt-image-2 包裝器(fal.ai)
│   └── placeholder.ts       # SVG 紙紋框架
└── assets/
    ├── *.png                # 16 張拼貼圖版(Galyarder Design 實例)
    ├── image-manifest.json  # 插槽 → 檔案/尺寸/提示對應
    └── imagegen-prompts.md  # 人類可讀的提示包

邊界

  • 不要發明新的顏色或字型。Token 位於 design-systems/atelier-zero/DESIGN.md;在新增色階之前先擴展設計系統。
  • 不要從生成的標記中移除 data-reveal 屬性。 沒有它們,頁面將變得靜態且感覺死板。
  • 不要將組合後的 HTML 包裝在會注入其自身樣式表順序的框架中 ——Atelier Zero 依賴樣式表串聯層疊來實現紙紋和側欄的 z-index。
  • 不要為 Astro 登陸頁面複製品添加單獨的樣式表檔案; 直接將 styles.css 逐字複製到 app/globals.css 中, 以確保視覺一致性完全一致。

參見

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

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

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.

相關技能