Communitygithub.com

jhy0285/monofield

當使用者想要一個深色、純單色調的新聞信/內容平台著陸頁(Mindloop)時使用此技能:全螢幕影片英雄區、Instrument-Serif 斜體強調詞、液態玻璃控制項、捲動驅動的逐字任務揭示,以及 HLS 影片行動呼籲按鈕。在提及「Mindloop 著陸頁」、「黑色單色調新聞信著陸頁」、「影片英雄內容平台」或使用者引用 Mindloop 模板時呼叫。

monofield 是什麼?

此技能為 Mindloop(一個新聞信/內容平台)產生一個高級、純黑色單色調的登陸頁面。它鎖定在嚴格的單色調色盤(純黑 `#000` 與純白 `#000`),無任何彩色或漸層,創造出大膽、極簡且高對比的視覺識別。技能包含一個完整的 `example.html` 參考實作,應作為起點:複製該檔案,調整文案與資料,但不得改寫 CSS 或發明新的視覺語言。 技能在單一自包含 HTML 檔案中提供全功能頁面,包含所有必要資產(頭像、平台圖示以 base64 data URI 內嵌,背景影片則來自穩定 CDN)。頁面結構包含固定導覽列、全螢幕影片英雄區(附電子郵件註冊表單)、「搜尋已經改變」區段(展示 ChatGPT、Perplexity 和 Google AI 的平台卡片)、一個使用 `useScroll` 與 `useTransform`(或 IntersectionObserver)的捲動驅動逐字任務揭示區段、解決方案區段,以及一個使用 `hls.js` 串流背景影片的行動呼籲區段。 設計系統使用鎖定的 HSL tokens、液態玻璃樣式(`.liquid-glass`)以及 Framer Motion 或 IntersectionObserver 的 fadeUp 動畫模式。若使用者明確要求,技能可將種子檔案移植至 React + Vite + TypeScript + Tailwind CSS + shadcn/ui + Framer Motion,同時維持完全相同的設計及資產限制。重要事項:資產必須保持內嵌 data URI 形式,不得使用外部頭像/圖示主機(如 `i.pravatar.cc` 或 `api.dicebear.com`),以避免在預覽沙箱中損壞。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jhy0285/monofield/tree/HEAD/plugins/_official/examples/mindloop-landing

在你喜歡的 AI 中提問

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

說明文件

Mindloop — 深色單色調內容平台登陸頁

產生一個高級、純黑色單色調的登陸頁面,用於 Mindloop(一個新聞信 / 內容平台)。完整的渲染參考實作與此技能一同附在 example.html 中 — 從它開始。複製 example.html,然後調整文案與資料;不得改寫 CSS 或發明新的視覺語言。種子檔案已編碼了精確的 HSL tokens、液態玻璃處理、字型、區塊佈局、fadeUp 揭示、捲動驅動的任務揭示以及 HLS 行動呼籲按鈕。

這是權威的建置簡報。請嚴格遵循 — HSL 變數、字型、影片 URL 和動畫模式都已鎖定。

單色調已硬鎖。 背景是純黑色 #000(0 0% 0%),前景是純白色。除了單色調之外沒有其他顏色或漸層 — 唯一的非灰色 token 是 --accent: 170 15% 45%(一種柔和的藍灰色),且在可見的 UI 中基本上未使用。請勿引入品牌顏色、藍色、紫色或鮮豔的漸層。

資產(重要): example.html 已將 3 個英雄頭像和 3 個平台圖示(ChatGPT / Perplexity / Google AI)作為內嵌 data:image/svg+xml;base64,… URI 附上。請保持它們原樣。請勿將它們替換為 i.pravatar.cc、api.dicebear.com、dicebear 或任何其他遠端頭像 / 圖示主機 — 外部主機在預覽沙箱內會速率限制或回傳 403 錯誤並渲染損壞。僅在使用者提供真實圖片時才替換資產,且優先使用 data URI 而非遠端 URL。四個大型背景影片則保留在其穩定的 cloudfront.net / stream.mux.com CDN 上。

技術棧

  • 預設輸出:單一自包含 HTML 檔案(example.html 種子)。它已包含所有內嵌內容。
  • 若使用者明確要求完整專案,則將種子忠實移植至 React + Vite + TypeScript + Tailwind CSS + shadcn/ui + Framer Motion。相同的 tokens,相同的標記結構。安裝 hls.js 和 framer-motion。字型透過 @fontsource/inter(400、500、600、700)和 @fontsource/instrument-serif(400、400-italic)。使用 lucide-react 處理圖示。使用 tailwindcss-animate 外掛。移植時不得更改設計。
  • 動畫載入(已鎖定)。 如果你釋出單一自包含內嵌 JSX 檔案而非 Vite 專案,Motion 的 React hooks(useScroll、useTransform、useAnimationFrame…)僅存在於 React UMD 建置中:載入 <script src="https://unpkg.com/[email protected]/dist/framer-motion.js"></script> 並從 window.Motion 讀取它們 — 絕不要使用 vanilla https://unpkg.com/motion@.../dist/motion.js DOM 套件,因為缺少 useScroll 且會渲染出空白頁面。(Vite 專案從 npm 匯入,不受影響。)

字型

  • Inter(無襯線) — 主體與 UI,字重 400/500/600/700。
  • Instrument Serif(襯線、斜體) — 僅用於標題內的斜體強調詞(.serif:font-style: italic; font-weight: 400)。在種子中從 Google Fonts 載入;React 移植版則使用 @fontsource/instrument-serif。

設計系統 — 已鎖定 HSL tokens(:root,僅數值,不含 hsl() 包裝)

--background: 0 0% 0%
--foreground: 0 0% 100%
--card: 0 0% 5%
--card-foreground: 0 0% 100%
--primary: 0 0% 100%
--primary-foreground: 0 0% 0%
--secondary: 0 0% 12%
--secondary-foreground: 0 0% 85%
--muted: 0 0% 15%
--muted-foreground: 0 0% 65%
--accent: 170 15% 45%
--accent-foreground: 0 0% 100%
--border: 0 0% 20%
--input: 0 0% 18%
--ring: 0 0% 40%
--hero-subtitle: 210 17% 95%

透過 hsl(var(--token)) / hsl(var(--token) / 0.3) 使用 tokens。

液態玻璃(.liquid-glass)— 已鎖定

.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

用於:3 個導覽列社群按鈕(圓形 w-10 h-10)、英雄區電子郵件表單容器(rounded-full)以及「開始寫作」行動呼籲按鈕(rounded-lg)。

動畫模式 — fadeUp(Framer-Motion whileInView)

可重複使用的交錯揭示。在 React 中:

const fadeUp = (delay: number) => ({
  initial: { opacity: 0, y: 20 },
  whileInView: { opacity: 1, y: 0 },
  viewport: { once: true, margin: "-100px" },
  transition: { duration: 0.6, delay, ease: "easeOut" },
});

在種子中,這對應到一個 IntersectionObserver(threshold ~0.08,rootMargin: -100px),會添加一個 .in 類別;父層中的同層元素會獲得交錯的 transition-delay(約 0.08 秒步長)。保持 once: true 語意(揭示後取消觀察)。

頁面結構(從上到下)

導覽列 — 固定、透明、top-0 z-50、內距 px-8 md:px-28 py-4

  • 左側:同心圓標誌(外圈 w-7 h-7 border-2 border-foreground/60,內圈 w-3 h-3 border border-foreground/60)+ 粗體「Mindloop」。
  • 左中:導覽連結 ["Home", "How It Works", "Philosophy", "Use Cases"],以 • 點分隔;連結使用 text-muted-foreground hover:text-foreground。在行動裝置上隱藏。
  • 右側:3 個社群圖示(Instagram、LinkedIn、Twitter — 在移植版中使用 lucide-react,種子中使用內嵌 SVG),放在液態玻璃圓形 w-10 h-10 rounded-full 按鈕內。

英雄區 — 滿視口高度

  • 背景:自動播放/循環/靜音/playsInline MP4 影片,覆蓋該區塊,object-cover。
    • URL:https://plugin-assets.open-design.ai/plugins/mindloop-landing/hf_20260325_120549_0cd82c36-56b3-4dd9-b190-069cfc3a623f-9b476a.mp4
  • 底部漸層:h-64(256px)bg-gradient-to-t from-background to-transparent,用於平滑淡出至黑色。
  • 內容(置中、z-10、pt-28 md:pt-32):
    • 頭像列:3 個重疊的圓形頭像(-space-x-2、w-8 h-8 rounded-full border-2 border-background、內嵌 data URI)+「已有 7,000+ 人訂閱」(text-muted-foreground text-sm)。
    • 標題:text-5xl md:text-7xl lg:text-8xl font-medium tracking-[-2px] —「Get Inspired with Us」,其中 「Inspired」 使用 .serif(Instrument Serif 斜體,font-normal)。
    • 副標題:text-lg,顏色 hsl(var(--hero-subtitle)) —「Join our feed for meaningful updates, news around technology and a shared journey toward depth and direction.」
    • 電子郵件表單:liquid-glass rounded-full p-2 max-w-lg,包含一個電子郵件輸入框和一個 bg-foreground text-background rounded-full px-8 py-3 的「SUBSCRIBE」按鈕(whileHover scale 1.03、whileTap scale 0.98)。

「搜尋已經改變」區段 — pt-52 md:pt-64 pb-6 md:pb-9、置中

  • 標題:text-5xl md:text-7xl lg:text-8xl —「Search has changed. Have you?」其中 「changed.」 使用襯線斜體。
  • 副標題:text-muted-foreground text-lg max-w-2xl mx-auto mb-24。
  • 3 個平台卡片(grid md:grid-cols-3 gap-12 md:gap-8 mb-20):每個 = 一個約 200×200 的圖示圖片置中、平台名稱(font-semibold text-base)、描述(text-muted-foreground text-sm)。
    • ChatGPT → 內嵌 icon-chatgpt data URI。Perplexity → 內嵌 icon-perplexity data URI。Google AI → 內嵌 icon-google data URI。
  • 底部標語:「If you don't answer the questions, someone else will.」(text-muted-foreground text-sm text-center)。

任務區段 — pt-0 pb-32 md:pb-44、置中

  • 大型約 800×800 循環自動播放靜音影片,置中。
    • URL:https://plugin-assets.open-design.ai/plugins/mindloop-landing/hf_20260325_132944_a0d124bb-eaa1-4082-aa30-2310efb42b4b-d0e30d.mp4
  • 捲動驅動的逐字揭示(在移植版中使用 useScroll + useTransform;在種子中使用被動 scroll 監聽器,將每個單詞的視口位置映射到透明度 0.15 → 1)。
    • 段落 1(text-2xl md:text-4xl lg:text-5xl font-medium tracking-[-1px]):「We're building a space where curiosity meets clarity — where readers find depth, writers find reach, and every newsletter becomes a conversation worth having.」單詞 「curiosity」、「meets」、「clarity」 使用 --foreground;其餘使用 --hero-subtitle。
    • 段落 2(text-xl md:text-2xl lg:text-3xl font-medium mt-10):「A platform where content, community, and insight flow together — with less noise, less friction, and more meaning for everyone involved.」

解決方案區段 — py-32 md:py-44、border-t border-border/30

  • 標籤:「SOLUTION」(text-xs tracking-[3px] uppercase text-muted-foreground)。
  • 標題:text-4xl md:text-6xl —「The platform for meaningful content」(在 「meaningful」 上使用襯線斜體)。
  • 影片:rounded-2xl aspect-[3/1] object-cover。
    • URL:https://plugin-assets.open-design.ai/plugins/mindloop-landing/hf_20260325_125119_8e5ae31c-0021-4396-bc08-f7aebeb877a2-1f0a78.mp4
  • 4 欄功能網格(md:grid-cols-4 gap-8):精選內容、寫作工具、社群、發布 — 每個標題(font-semibold text-base)+ 描述(text-muted-foreground text-sm)。

行動呼籲區段 — py-32 md:py-44、border-t border-border/30、overflow-hidden

  • 透過 HLS(hls.js) 的背景影片:absolute inset-0 object-cover z-0。
    • HLS URL:https://stream.mux.com/8wrHPCX2dC3msyYU9ObwqNdm00u3ViXvOSHUMRYSEe5Q.m3u8
    • 使用 Hls.isSupported();對 Safari 則回退至原生 HLS(canPlayType('application/vnd.apple.mpegurl'))。
  • 覆蓋層:absolute inset-0 bg-background/45 z-[1]。
  • 內容(z-10、置中):同心圓標誌(外圈 w-10 h-10,內圈 w-5 h-5);標題「Start Your Journey」(在「Journey」上使用襯線斜體);副標題 text-muted-foreground;兩個按鈕 —「Subscribe Now」(bg-foreground text-background rounded-lg px-8 py-3.5)和「Start Writing」(liquid-glass rounded-lg)。

頁尾 — py-12 px-8 md:px-28

  • 左側:「© 2026 Mindloop. All rights reserved.」(text-muted-foreground text-sm)。
  • 右側:隱私權、條款、聯絡我們(text-muted-foreground text-sm hover:text-foreground)。

響應式

  • 標題使用 clamped / md:/lg: 斷點,完全按照列表;行動版移除導覽列中央連結。
  • platform-grid 和 feature-grid 在 md 以下會折疊為單一(或 2)欄。
  • 任務影片和英雄影片為 object-cover,絕不加黑邊。

顏色規則 — 嚴格

僅限純黑/白單色調。唯一使用的 tokens 是灰階漸層加上 --hero-subtitle(接近白色的 210 17% 95%),用於英雄/任務主體文字。可見 UI 中沒有強調色 — 沒有藍色、紫色、藍綠色塊,沒有鮮豔的漸層。 唯一允許的漸層是英雄區黑色到透明的底部淡出以及液態玻璃邊框高光。保持單色調。

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

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

相關技能