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

frontend

它能做什么

这个工具可以帮你创建和改进网站及应用的外观。它负责设计、配色、布局和动画,让一切看起来美观,也便于使用。

适用场景

  • ✓当你希望网站呈现某种特定风格时。
  • ✓当你要制作按钮、菜单或其他界面组件时。
  • ✓当你想让网站更有动感或更具现代感时。

技能链接

https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/shared-skills/skills/frontend/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“创建一个现代简约风格的网站,并带有细微的按钮动画。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会分析你的需求,参考设计指南和示例来生成所需的代码。它还会检查最终效果是否美观、功能是否正常。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Frontend

This file is a router, not a rulebook. The rules live in four rulesets under references/, and reading them is the work, not the preamble to it. Before touching any file, name the references the request routes to and the one reason each is needed, then read exactly those. Declaring the set first is what makes the choice reviewable: a reference you never named is one you decided to skip, and a reference you named but never opened is a gap you still owe. Freestyling past the routed set produces the generic AI-slop output this skill exists to prevent.

The bar is not clean-and-correct — it is work a senior designer at Linear, Stripe, or Supabase would ship. Correct-but-flat is a failure, not a finish. Protect the surface as hard as you protect the build: design is a first-class deliverable, not a one-shot decision you lock and walk away from.

Phase 0 — Route (before any UI work)

Request involves… Read
ANY UI implementation, styling, redesign, mockup, or visual decision references/design/README.md FIRST. It enforces two mandatory gates — the Design System Gate (a DESIGN.md must exist before any component is written) and the React Dev Tooling Gate (react-grab / react-scan / react-doctor installed by default) — then routes to the taste and brand references below.
Spatial structure — app shells, scroll ownership, "what goes where", "this layout breaks at X" ALSO references/design/layout-skill.md for the mechanics, then references/design/stylegallery.md to fetch a named pattern contract for that exact spatial problem. Both stack on the style skill and add no visual direction.
Paged output — a PDF report, a print stylesheet, a headless-Chrome print pipeline, an HTML deck printed to paper, or any "why is this page half empty" break defect ALSO references/design/print-paged-media.md for the page box, the fragmentation properties, the atomic-block set, and the keep-together side effect that strands a block on a near-empty page. It adds no visual direction and stacks on the routed style skill.
Interaction or motion work — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, "make it feel alive" ALSO references/design/interaction-skill.md. The beui.dev catalog is the mandatory interaction reference: find the nearest pattern, read its real source through the file's curl recipe, and adapt the mechanism to DESIGN.md motion tokens. It stacks on the routed style skill — never replaces it.
Hero atmosphere or ambience — an animated, shader, particle, or grid background; a typographic reveal (split, blur, shimmer, typewriter, count-up, marquee); scroll storytelling; spotlight / tilt / glare / glowing-border card surfaces; "make the hero stunning", "add a living background", "animate the headline" ALSO references/design/ambience-skill.md. The react-bits catalog is the mandatory ambience reference: find the nearest pattern in its intent map, read its real source through the file's curl recipe, extract the mechanism, and run its retrofit checklist (reduced motion, off-screen pause, compositor-only, tokens, budget) before shipping. It stacks on the routed style skill — never replaces it, and never vendors react-bits code.
The brief's tone or surface falls outside both anchors — AI-agent UI, charts, landing sections, a brutalist or Tailwind-only build — or an anchor has no nearest pattern ALSO references/design/component-catalogs.md: which catalog to read for that tone, the exploration procedure, and the licence and terms gate for every other catalog.
Writing or modifying frontend code, OR auditing performance / SEO / accessibility / quality ALSO references/perfection/README.md. Lighthouse 100 in every category, measured on real Playwright Chromium (never the lighthouse CLI), achieved through architecture — never by dropping animations or hiding content.
Looking up a concrete style, palette, font pairing, chart type, landing structure, or UX guideline — or generating a design system from keywords references/ui-ux-db/README.md. A searchable CSV database with a CLI: a lookup tool, not a posture. design stays the source of truth for taste and the DESIGN.md contract.

…

常见问题

“UI”和“UX”是什么?

UI(用户界面)指的是屏幕上的视觉呈现。UX(用户体验)指的是使用它们时是否方便、是否愉快。

使用这个工具需要会编程吗?

不需要,你只要描述你希望界面怎样显示或怎样工作就行。

“references”是什么?

这些是工具用来确保设计质量并遵循最佳实践的规则集和示例。

详情

作者的原始描述

Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.

repo: code-yeongyu/oh-my-openagent

热度

GitHub 星标
70k
排名
#3133
许可证
NOASSERTION
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能