Communitygithub.com

jhy0285/monofield

当用户需要黑色纯单色新闻简报/内容平台落地页时(Mindloop):全屏视频首屏、Instrument-Serif 斜体强调词、液玻控件、滚动驱动的逐词使命揭示以及 HLS 视频行动号召。触发词包括“Mindloop 落地页”、“黑色单色新闻简报落地页”、“视频首屏内容平台”或用户提及 Mindloop 模板时。

monofield 是什么?

此技能专门为构建 Mindloop(一个以深色单色为主题的新闻简报/内容平台)的落地页而生。它生成一个纯黑色(#000)和白色(#fff)的极简页面,严格遵循锁定的设计系统,包括精确的 HSL 颜色变量、液玻(liquid-glass)组件效果、使用 Instrument Serif 斜体字体强调的特定标题词汇以及全屏视频首屏。该技能完全锁定单色配色方案,禁止引入任何其他品牌颜色或渐变。它可以从一个自包含的 HTML 种子文件(example.html)启动,用户只需复制并调整文本内容,无需改动 CSS 或视觉语言。技能文档提供了完整的页面结构指南,从固定导航栏、带有嵌入式头像和订阅表单的首屏,到“搜索已改变”这一部分展示的三个平台图标(ChatGPT、Perplexity、Google AI),再到通过滚动驱动的逐词揭示的使命部分。如果用户明确要求,该技能还可以将设计移植到一个完整的 React + Vite + TypeScript + Tailwind CSS + shadcn/ui + Framer Motion 项目。该实现依赖于稳定的 CDN 视频资产和行内 data URI 图标,以确保在沙盒环境中预览时不会因外部请求超时而显示为空白。

兼容平台~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 令牌、液玻处理、字体、区块布局、淡入揭示、滚动驱动的使命揭示以及 HLS 行动号召。

这是权威的构建简报。请严格遵循——HSL 变量、字体、视频 URL 和动画模式均已锁定。

单色已硬锁定。 背景为纯黑色 #000(0 0% 0%),前景为纯白色。超出单色范围没有颜色或渐变——唯一的非灰色令牌是 --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。相同的令牌,相同的标记结构。安装 hls.js 和 framer-motion。通过 @fontsource/inter(400, 500, 600, 700)和 @fontsource/instrument-serif(400, 400-italic)引入字体。使用 lucide-react 图标。使用 tailwindcss-animate 插件。移植时不要改变设计。
  • Motion 加载(已锁定)。 如果你生成的是单个自包含行内 JSX 文件而不是 Vite 项目,Motion 的 React 钩子(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 令牌(: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) 使用令牌。

液玻(.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(阈值 ~0.08,rootMargin: -100px),它添加一个 .in 类;父元素内的兄弟元素会获得交错的 transition-delay(~0.08s 步长)。保持 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 按钮内。

首屏——全视口高度

  • 背景:自动播放/循环/静音/内联播放的 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+ people already subscribed"(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();回退到原生 HLS(canPlayType('application/vnd.apple.mpegurl'))用于 Safari。
  • 叠加层: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 以下折叠为单列(或两列)。
  • 使命视频和首屏视频为 object-cover,绝不出现黑边。

颜色规则——严格

仅限纯黑/白单色。使用的唯一令牌是灰色渐变加上 --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.

相关技能