premium-frontend-ui
它能做什么
这个技能可以帮你打造好看、动效出色的网站。它专注于让网站看起来专业又现代,带有流畅的动画和高品质的视觉效果。
适用场景
- ✓当你想要一个非常现代、专业外观的网站时。
- ✓想要做出能随滚动而变化的动画时。
- ✓如果你需要“磨砂玻璃”效果或自定义光标。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/premium-frontend-ui/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一个作品集页面,文字要有入场动画,并且加一个会跟随鼠标移动的自定义光标。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会运用进阶的设计和动画技术来搭建网站。它会考虑元素如何移动、文字如何出现,以及用户交互时网站给人的感觉。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Immersive Frontend UI Craftsmanship
As an AI engineering assistant, your role when building premium frontend experiences goes beyond outputting functional HTML and CSS. You must architect immersive digital environments. This skill provides the blueprint for generating highly intentional, award-level web applications that prioritize aesthetic quality, deep interactivity, and flawless performance.
When a user requests a high-end landing page, an interactive portfolio, or a specialized component that requires top-tier visual polish, apply the following rigorous standards to every line of code you generate.
1. Establishing the Creative Foundation
Before generating layout code, ensure you understand the core emotional resonance the UI should deliver. Do not default to generic, unopinionated code.
Commit to a strong visual identity in your CSS and component structure:
- Editorial Brutalism: High-contrast monochromatic palettes, oversized typography, sharp rectangular edges, and raw grid structures.
- Organic Fluidity: Soft gradients, deeply rounded corners, glassmorphism overlays, and bouncy spring-based physics.
- Cyber / Technical: Dark mode dominance, glowing neon accents, monospaced typography, and rapid, staggered reveal animations.
- Cinematic Pacing: Full-viewport imagery, slow cross-fades, profound use of negative space, and scroll-dependent storytelling.
2. Structural Requirements for Immersive UI
When scaffolding a page or generating core components, include the following architectural layers to transform a standard page into an experience.
2.1 The Entry Sequence (Preloading & Initialization)
A blank screen is unacceptable. The user's first interaction must set expectations.
- Implementation: Generate a lightweight preloader component that handles asset resolution (fonts, initial images, 3D models).
- Animation: Output code that transitions the preloader away fluidly—such as a split-door reveal, a scale-up zoom, or a staggered text sweep.
2.2 The Hero Architecture
The top fold must command attention immediately.
- Visuals: Output code that implements full-bleed containers (
100vh/100dvh). - Typography Engine: Ensure headlines are broken down syntactically (e.g., span wrapping by word or character) to allow for cascading entrance animations.
- Depth: Utilize subtle floating elements or background clipping paths to create a sense of scale and depth behind the primary copy.
2.3 Fluid & Contextual Navigation
- Implementation: Do not generate standard static navbars. Output sticky headers that react toscroll direction (hide on scroll down, reveal on scroll up).
- Interactivity: Include hover states that reveal rich content (e.g., mega-menus that display image previews of the hovered link).
3. The Motion Design System
Animation is not an afterthought; it is the connective tissue of a premium site. Always implement the following motion principles:
3.1 Scroll-Driven Narratives
Generate code utilizing modern scroll libraries (like GSAP's ScrollTrigger) to tie animations to user progress.
- Pinned Containers: Create sections that lock into the viewport while secondary content flows past or reveals itself.
- Horizontal Journeys: Translate vertical scroll data into horizontal movement for specific galleries or showcases.
- Parallax Mapping: Assign subtle, varying scroll-speeds to background elements, midground text, and foreground imagery.
3.2 High-Fidelity Micro-Interactions
The cursor is the user's avatar. Build interactions around it.
- Magnetic Components: Write logic that calculates the distance between the mouse pointer and a button, pulling the button towards the cursor dynamically.
- Custom Tracking Elements: Generate custom cursor components that follow the mouse with calculated interpolation (lerp) for a smooth drag effect.
- Dimensional Hover States: Use CSS Transforms (
scale,rotateX,translate3d) to give interactive elements weight and tactile feedback.
4. Typography & Visual Texture
The aesthetics of your generated code must reflect premium craftsmanship.
- Type Hierarchy: Enforce massive contrast in scale. Headlines should utilize extreme sizing (
clamp()functions spanning up to12vw), while body copy remains incredibly crisp (16px-18pxminimum).
…
常见问题
什么是“入场动画”?
这些是视觉效果,让内容(文字、图片)在页面加载或你滚动时以动画形式出现在屏幕上。
什么是“自定义光标”?
它是一种与电脑默认样式不同的鼠标光标,可能有特别的设计,移动得更顺滑或更有互动性。
这会让我的网站变慢吗?
不会,这个技能重视性能。它会采用一些技术,确保动画流畅,同时不让网站变得臃肿。
详情
作者的原始描述
A comprehensive guide for GitHub Copilot to craft immersive, high-performance web experiences with advanced motion, typography, and architectural craftsmanship.
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7344
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。