Communitygithub.com

jhy0285/monofield

產生一份使用 Atelier Zero 視覺語言的單一檔案投影片組,包含暖紙背景、斜體襯線強調、珊瑚色終止點與超現實拼貼圖板。

monofield 是什麼?

此技能會將一份 `inputs.json` 配置檔編譯成單一自包含的 HTML 投影片組,採用水平雜誌風格的滑動翻頁模式。它借鑒了 `guizang-ppt` 技能的導航模型(←/→ 方向鍵、滾輪/觸控滑動、ESC 總覽網格),並復用了姊妹技能 `open-design-landing` 的 Atelier Zero 樣式表與 16 個圖像插槽,確保品牌一致性。投影片支援七種佈局類型(封面、章節、內容、統計、引言、行動呼籲、結束),並包含每投影片的 chrome 條、珊瑚色進度條、圓點導航指示器以及 ESC 總覽網格。此技能專為在 Cursor、Claude Code 或 Codex 等 AI 代理環境中使用而設計,開發者只需編輯 `inputs.json` 並執行 `compose.ts` 指令碼即可產出成品。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jhy0285/monofield/tree/HEAD/design-templates/open-design-landing-deck

在你喜歡的 AI 中提問

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

說明文件

open-design-landing-deck

姊妹技能,與 open-design-landing 相對應。同樣使用 Atelier Zero 視覺系統(暖紙、Inter Tight + Playfair Display、 斜體襯線強調、珊瑚色圓點),但以水平雜誌風格的滑動投影片組 呈現,而非長頁面滾動。

導航模型特意借鑒自 guizang-ppt 技能——←/→ 方向鍵、滾輪 / 觸控滑動、ESC 總覽網格——使其感覺像是一本印刷雜誌逐頁翻動, 而非網頁投影片組的滾動效果。

inputs.json + ../open-design-landing/styles.css
        │
        └──────────► scripts/compose.ts
                            │
                            ▼
                   <out>/index.html
                   (每個投影片一個視口,水平滑動)

你會得到什麼

  • 一個單一的自包含 HTML 檔案,包含 N 個視口大小的投影片,水平排列在一條轉換後的彈性軌道上。
  • 鍵盤導航:←/→ · ↑/↓ · PageUp/PageDown · Space · Home/End。
  • 滾輪 + 觸控滑動(包含動量防護,防止單次觸控板輕彈導致過衝)。
  • 每投影片 chrome 條:品牌標記、投影片組標題、地點、 羅馬數字年份、即時投影片計數器(01 / 11)。
  • 珊瑚色進度條在底部,隨著前進而填滿。
  • 圓點指示器條在底部附近;點擊任何圓點即可跳轉。
  • ESC 總覽網格——每張投影片的縮放縮圖,點擊即可跳轉。 模仿 guizang-ppt 的總覽使用體驗。
  • 復用姊妹技能的相同 16 插槽圖像庫——無重複素材。

投影片類型

種類用途
cover開頭的標題頁。雙欄文案 + 拼貼藝術。
section章節之間的羅馬數字分隔頁。置中,滿版出血。
content眉毛標題 + 主標題 + 內文 + 項目符號 + 可選拼貼藝術。
stats最多 4 個大型統計數據格(數值 · 標籤 · 子標籤)。
quote引文 + 作者。右側可選肖像拼貼。
cta結尾提案 + 1-2 個按鈕。
end大型斜體襯線醒目字 + 簽名頁尾。

典型的 11 張投影片提案:

1. cover     — 標題頁,主視覺拼貼
2. section   — "I. 問題"
3. content   — 關於 / 宣言,項目符號
4. content   — 能力,項目符號
5. stats     — 4 個數字
6. section   — "II. 感受如何"
7. content   — 方法,項目符號
8. content   — 精選作品
9. quote     — 客戶見證
10. cta      — 主要 + 次要行動
11. end      — 大型醒目字 + 簽名

工作流程

1. 編輯 inputs.json

從 inputs.example.json 開始(Open Design 提案投影片組)。品牌區塊、圖像策略和素材路徑與姊妹技能對應——如果你已經填寫過 open-design-landing 簡報,可以直接將 brand 和 imagery 複製過來。

對於每張投影片,選擇一個 kind 並根據 schema.ts 填寫類型化欄位。MixedText(無襯線基線 + 斜體襯線強調範圍 + 珊瑚色終止點)與姊妹技能使用相同的編碼——請參考其 inputs.example.json。

2. (可選) 生成或建立圖像佔位

此技能不附帶自己的圖像生成器或佔位腳本——它與 open-design-landing 共用 16 插槽圖像庫。若要重新生成或建立佔位:

# 透過 gpt-image-2 (fal.ai) 生成
FAL_KEY=... npx tsx ../open-design-landing/scripts/imagegen.ts ../open-design-landing/inputs.example.json --out=../open-design-landing/assets/

# 或使用紙質紋理的 SVG 佔位
npx tsx ../open-design-landing/scripts/placeholder.ts ../open-design-landing/assets/

將你的投影片組 inputs.imagery.assets_path 設定為這些 PNG 檔案的路徑 (範例中預設值為 ../open-design-landing/assets/)。

3. 編譯投影片組

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

編譯器讀取 inputs.json,從 ../open-design-landing/styles.css 載入標準的 Atelier Zero 樣式表,疊加投影片組專用的規則(水平彈性軌道、投影片佈局、 HUD、圓點導航、ESC 總覽、鍵盤/滾輪/觸控處理器), 並輸出一個自包含的 HTML 檔案。

4. 自我檢查

  • 在新的瀏覽器分頁中開啟 HTML;第 1 張投影片(封面)顯示 右上角 chrome 條顯示 01 / N。
  • 按下 →(或 Space、或向下滾動)。平滑地向右滑動一個 視口;圓點導航前進;珊瑚色進度條向前移動。
  • 按下 End。跳至最後一張投影片。
  • 按下 Home。返回第 1 張投影片。
  • 按下 Esc。總覽網格出現,顯示縮放縮圖; 點擊任何圖塊即可跳轉並關閉總覽。
  • 將視窗調整為 1080px 和 640px。封面/內容投影片摺疊為 單欄;圓點導航仍然有效;chrome 條縮小。
  • prefers-reduced-motion: reduce(DevTools → 算繪):頁面 轉場保持靈敏,不會引起暈動。
  • Lighthouse:對比度 AA、font-display: swap、無版面位移。

邊界

  • 復用姊妹技能的樣式表。 編譯器在建置時讀取 ../open-design-landing/styles.css。請勿在此處維護重複副本;如果 Atelier Zero 標記演進,請在姊妹技能中一次性編輯。
  • 復用姊妹技能的圖像庫。 無需重新提示或重新算繪——相同的 16 個圖板適用於兩種表面。
  • 保持投影片單一視口。 如果投影片內容在 1280×800 下無法適應 100vh × 100vw,將會溢出並感到擁擠。請精簡文案或拆分為兩張投影片。
  • 不要切換到垂直滾動貼齊。 水平滑動姿勢是此技能感覺像雜誌跨頁的關鍵; 垂直滾動器只會變成一個長頁面。
  • 不要加入路由。 這是一個單一檔案成品。多頁投影片組超出範圍; 如需多組投影片體驗,請分別渲染每組投影片並從上層索引連結。

參見

Individual skills in this repo

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

jhy0285/monofield

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.

jhy0285/monofield

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.

jhy0285/monofield

A standalone pricing page — header, plan tiers, feature comparison table, and an FAQ. Use when the brief asks for "pricing", "plans", "subscription tiers", or a "compare plans" page.

jhy0285/monofield

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

jhy0285/monofield

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.

jhy0285/monofield

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

jhy0285/monofield

Use this plugin when the user wants a premium, GSAP-driven cinematic B2B landing page: a scroll-driven full-screen video slider hero with clip-path ellipse transitions, SplitText char-reveal headlines, a masonry product gallery, scroll-reveal about text, a partner marquee, Lottie-style feature cards, and a multi-office footer. Invoke for 'cinematic landing page', 'video hero landing', 'bakery / food-service landing', 'GSAP scroll site', or when the user references the Cinematic Landing Page template.

jhy0285/monofield

Use this plugin when the user wants a single-page immersive parallax landing page with a scroll-driven portal/curtain entrance and a curved arc card slider — a 'dreamcore' / 'reverie' hero that scales a portal image toward the viewer as the user scrolls into a second dream-world scene. Invoke for 'parallax landing', 'scroll cinematic hero', 'portal zoom landing', 'arc card slider', or when the user references the Dreamcore Landing template.

jhy0285/monofield

Use this plugin when the user wants a dark, pure-monochrome newsletter / content-platform landing page (Mindloop): fullscreen video hero, Instrument-Serif italic accent words, liquid-glass controls, scroll-driven word-by-word mission reveal, and an HLS-video CTA. Invoke for 'Mindloop landing', 'black monochrome newsletter landing page', 'video hero content platform', or when the user references the Mindloop template.

jhy0285/monofield

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

相關技能