Communitygithub.com

jhy0285/monofield

生成可列印品質的單頁 kami(紙)文件——溫暖羊皮紙底色、墨藍色強調、粗細統一的襯線字體,無斜體、無冷灰色。輸出結果讀起來像是專業白皮書或工作室單頁簡報,而非應用程式 UI。天生支援多語言(EN · zh-CN · ja)。單一自包含 HTML 檔案,零依賴。

monofield 是什麼?

此技能旨在生成高品質、單頁的「kami(紙)」設計系統文件。其美學借鑑編輯印刷、技術白皮書與老式打字機書信,目標是呈現「優質紙張上的優質內容」,而非現代應用程式 UI。技能輸出的自包含 HTML 檔案具有明確的視覺規則:溫暖的羊皮紙底色(#f5f4ed)、單一的墨藍色強調色(#1B365D),以及僅使用一種粗細(500)的襯線字體,並且完全禁止斜體和冷灰色調。頁面結構包含特定的章節,如簡介行、英雄區塊、宣言、指標列、章節與頁尾,並在各種響應式斷點下維持可讀性。技能的工作流程要求使用「AskQuestion」分兩輪引導式收集品牌資訊,然後根據文件主體語言選擇適當的襯線字體堆疊(英文為 Charter、簡體中文為 TsangerJinKai02 或 Source Han Serif、日文為 YuMincho),最後生成一個符合所有設計約束條件的 HTML 檔案。此技能支援 Claude Code、Coder、Cursor 和 Codex 等平台。

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

在你喜歡的 AI 中提問

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

說明文件

kami-landing

在 kami(紙) 設計系統中生成單頁文件。 此美學借鑑自編輯印刷、技術白皮書與老式打字機書信——目標是呈現好紙上的好內容,而非現代應用程式 UI。

設計系統權威來源:design-systems/kami/DESIGN.md。 在交付前務必閱讀。權杖(Token)、字體規則、「十不變原則」與禁用顏色皆定義於其中。

你將獲得

一個完全自包含的 HTML 檔案,包含:

  • 溫暖羊皮紙底色(#f5f4ed)——絕不使用 #ffffff。
  • 單一色相強調色——墨藍色(#1B365D),用於章節編號、標題強調詞、宣言的左側線條以及指標數值。在其他任何位置,墨藍色覆蓋面積不得超過文件可視區域的 5%。
  • 一種粗細(500)的襯線字體用於層級結構——根據 language 參數選擇 Charter(英文)、TsangerJinKai02 / 思源宋體(簡體中文)或 YuMincho(日文)。任何地方都不使用斜體。
  • 緊湊的印刷節奏——行高 1.10–1.55,字距因語言而異(英文為 0,簡體中文為 0.35px,日文為 0.02em)。
  • 數字堆疊設定為 font-variant-numeric: tabular-nums,使指標欄位與分頁數字能整齊對齊。
  • 透過 1px 邊框與極淡陰影營造深度(0 4px 24px rgba(0,0,0,0.05))。無硬邊投影、無新擬態、無 backdrop-filter 模糊效果。
  • 標籤填色使用純色十六進位碼(例如 #E4ECF5),絕不使用 rgba()—— 印刷渲染器會雙重繪製 alpha 透明度的標籤。
  • 響應式設計,支援 1280 / 980 / 768 / 560 像素寬度。

頁面結構

1. 簡介行     — 語言切換器 · 版本 · 版號(12px 無襯線大寫)
2. 英雄區塊    — 顯示用標題(96–106px 襯線 500)、標語(21px)、
                 三個英雄權杖標籤(紙色調)
3. 宣言       — 襯線 400、20px、行高 1.65 的拉引段落,帶有
                 墨藍色左側線條與簽名頁尾
4. 指標列     — 3-6 個儲存格:數值(24px 襯線 500 墨藍色,tabular-nums)、
                 標籤(12px 襯線 500 橄欖色)
5. 章節       — 編號(`01`、`02`、…)墨藍色襯線 500 14px、
                 章節標題 28-32px、內文 14-15px
6. 頁尾       — 標誌詞(超大襯線 500)、授權 · 年份 · 聯絡方式、
                 三欄網站索引,12px 襯線 500

工作流程合約

1. 收集品牌簡報

使用 AskQuestion(或類似功能)分批收集品牌簡報。請勿一次性將整個輸入列表丟給使用者;應分兩輪詢問:

  1. 識別輪次——名稱、標語、地點、版本/版號、主要 URL、主要語言。
  2. 內容輪次——宣言段落 + 簽名、3-6 個指標圖塊、3-5 個章節(標題 + 引文 + 內文)條目。

2. 選擇語言堆疊

language 參數控制設定在 :root 上的 --serif 堆疊。根據宣言和章節內文的主要語言選擇:

language--serif備註
enCharter, Georgia, Palatino, Times New Roman, serif預設
zh-CNTsangerJinKai02, Source Han Serif SC, Songti SC, Georgia內文字距 0.35px
jaYuMincho, Hiragino Mincho ProN, Source Han Serif JP同時將 --olive 覆寫為 #4d4c48(YuMincho 筆畫較細)

混合文字內聯內容沒有問題——瀏覽器會透過逐字形後備鏈結處理。請勿將所有三種字體系列串聯在單一 font-family 宣告中;這會稀釋字元特性。

3. 編寫 index.html

輸出單一檔案,所有 CSS 皆為內聯。模仿 example.html 的結構,並僅使用 design-systems/kami/DESIGN.md 中的權杖。請勿發明新的顏色、粗細或字體家族。

可隨時套用的元件基礎(全部定義於範例的 <style> 區塊中):

  • .eyebrow、.label——無襯線頂線
  • .metric——數值 + 標籤垂直配對
  • .section-num + .section-title + .section-lede
  • .tag.standard、.tag.brush——純色十六進位標籤(每頁最多一個 brush 標籤)
  • .quote——左側線條襯線 500 引言
  • ul.dash——墨藍色破折號項目符號
  • .code——象牙色背景、1px 邊框代碼區塊
  • .footer-kicker——超大襯線 500 詞語

為每個可編輯元素標記 data-od-id="<unique-slug>",以便主機應用程式的註解模式可以定位到它。

4. 交付前自我檢查

  • 頁面背景為羊皮紙色(#f5f4ed),絕非 #ffffff。
  • 墨藍色(#1B365D)覆蓋不超過可視表面的 5%——計算 章節編號、宣言線條、指標數值、標題強調詞。總計 ≤ 5%。
  • 所有灰色皆為暖色調(R ≈ G > B)。沒有 slate-*,沒有 #f3f4f6。
  • 襯線字體粗細維持在 500——襯線文字任何地方都沒有 font-weight: 700 或 900。
  • 任何地方都沒有 font-style: italic。強調改用墨藍色 或 .tag 標籤。
  • 所有數字堆疊(指標數值、分頁、日期、財務數字) 都帶有 font-variant-numeric: tabular-nums。
  • 所有標籤填色皆為純色十六進位(例如 #E4ECF5),絕非 rgba()。
  • 陰影:最多 1px 邊框或 0 4px 24px rgba(0,0,0,0.05) 極淡陰影。沒有硬邊投影。
  • 顯示尺寸的標題 ≤ 6 個單詞;中日韓(CJK)文字 ≤ 8 個字元。
  • 在 768px 和 560px 解析度下佈局摺疊為單一欄位,無水平滾動。

此技能中的檔案

skills/kami-landing/
├── SKILL.md                 # 此合約
├── README.md                # 人類快速入門指南
└── example.html             # 標準 Open Design 渲染

界限

  • 請勿發明新的顏色或字體。kami 色板是固定的;如果簡報要求品牌色,請提出異議,或僅將品牌色呈現為單一的 .tag.brush 強調色。
  • 請勿引入第二個強調色。要嘛選擇墨藍色,要嘛什麼都不選。
  • 請勿在單一宣告中混合所有三種字體堆疊;選擇主要語言,在 :root 上覆寫 --serif,然後讓瀏覽器透過逐字形後備鏈結解析混合文字的內聯內容。
  • 請勿對標籤填色使用 rgba()——印刷渲染器會雙重繪製 alpha 透明度的標籤。請使用 design-systems/kami/DESIGN.md §2 表格中預先混合的純色十六進位碼。
  • 請勿為了動畫效果新增 JavaScript。頁面是紙,不是應用程式——動作應屬於讀者的滾動行為。

參見

Individual skills in this repo

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

jhy0285/monofield

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.

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.

相關技能