
- Installs
- 42
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/nexu-io/html-anything --skill frame-liquid-bg-hero- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads frame-liquid-bg-hero automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
【模板: 流体背景 Hero】 【意图】可作为视频片头帧、SaaS landing 顶部 hero、海报底图。WebGL 流体感, 但用 CSS / canvas 退化绘制, 确保单文件可双击打开。Inspired by hyperframes vfx-liquid-background。
【画布】1920×1080 (横) 或 1080×1920 (竖), 二选一。背景占满。
【流体背景 — 3 种实现, 按用户偏好选】
- CSS 多层 radial-gradient 错位呼吸 (最稳, 默认推荐):
- 3-5 个大椭圆
radial-gradient(...), 颜色取自调色板。 - 每个椭圆套
@keyframes平移 + scale + hue-rotate, 周期 8-14s, 错峰; 整个画面叠mix-blend-mode: screen或overlay。 - 顶层加 1 层
backdrop-filter: blur(80px)让边缘更糊。
- 3-5 个大椭圆
- Canvas + simple perlin noise (中阶):
- 80 行 inline JS, 用
requestAnimationFrame画 metaballs 或 simplex noise field。 - 性能允许时启用,
prefers-reduced-motion时降回静态截图。
- 80 行 inline JS, 用
- WebGL fragment shader (高阶, 慎用):
- 用 jsdelivr CDN 引
regl或 inline plain WebGL。 - shader 写 domain-warp noise; 单个 quad, 一个 uniform
u_time。
- 用 jsdelivr CDN 引
【顶层文字层】
- 居中或左下: 一句巨型金句 (5-7vw, 衬线或粗 sans), 字体:
Source Serif Pro/Inter Tight/Manrope Black。 - 文字色用 paper white
#fafaf8或 ink, 取决于背景明暗; 加mix-blend-mode: difference让它在任何流体颜色上都可读。 - 副标 (小 sans, opacity 0.7) 一行。
- 底部可选 CTA chip 或 hairline + 元数据 row。
【调色 — 4 选 1, 不要彩虹】
- 🌅 Solar Peach —
#ffb18a+#f78b4c+#d97757, 暖橙桃。 - 🌊 Ocean Aqua —
#5ac8fa+#0a84ff+#1e3a8a, 海蓝。 - 🌌 Aurora Violet —
#a78bfa+#7c5cff+#1e1b4b, 极光紫。 - 🌿 Forest Mint —
#86efac+#34d399+#065f46, 苔森林。
【设计细节】
- 严禁: 多色彩虹 (>4 个色相)、PowerPoint 渐变、霓虹荧光叠加。
- 字体: 中文用
Noto Serif SC(display) /Noto Sans SC(副标)。 - 严禁外链图片; 全部 CSS + SVG + 可选 canvas。
- 必须用用户提供的金句 / 标题; 如果用户输入是数据 → 提炼一句 ≤ 18 字的金句。
- 单文件 HTML, 可被
prefers-reduced-motion关动效。
FAQ
What does the frame-liquid-bg-hero skill do?
WebGL 风流体置换背景 + 顶部叠加金句, 适合视频片头 / landing hero / 海报
How do I install frame-liquid-bg-hero?
Run npx skills add https://github.com/nexu-io/html-anything --skill frame-liquid-bg-hero in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/frame-liquid-bg-hero/ (personal) or .claude/skills/frame-liquid-bg-hero/ (project).
Which AI agents can use frame-liquid-bg-hero?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is frame-liquid-bg-hero safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains frame-liquid-bg-hero?
It is published by nexu-io in nexu-io/html-anything. It has 42 recorded installs.
More from nexu-io/html-anything
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.