跳到正文
Skillpedia
网站与界面(前端)40k · #7344

premium-frontend-ui

它能做什么

这个技能可以帮你打造好看、动效出色的网站。它专注于让网站看起来专业又现代,带有流畅的动画和高品质的视觉效果。

适用场景

  • ✓当你想要一个非常现代、专业外观的网站时。
  • ✓想要做出能随滚动而变化的动画时。
  • ✓如果你需要“磨砂玻璃”效果或自定义光标。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/premium-frontend-ui/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/premium-frontend-ui/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 to 12vw), while body copy remains incredibly crisp (16px-18px minimum).

…

常见问题

什么是“入场动画”?

这些是视觉效果,让内容(文字、图片)在页面加载或你滚动时以动画形式出现在屏幕上。

什么是“自定义光标”?

它是一种与电脑默认样式不同的鼠标光标,可能有特别的设计,移动得更顺滑或更有互动性。

这会让我的网站变慢吗?

不会,这个技能重视性能。它会采用一些技术,确保动画流畅,同时不让网站变得臃肿。

详情

作者的原始描述

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能