跳到正文
Skillpedia
界面(UI/UX)48k · #4431

design-taste-frontend

它能做什么

这个工具可以帮你打造美观、现代的网站和应用界面。它能确保设计独具特色,配色考究,布局能适应各种屏幕,动画也流畅自然。

适用场景

  • ✓当你想做出一个与众不同的网站或应用外观时。
  • ✓想优化现有编程项目的设计时。
  • ✓需要在颜色、字体或元素在屏幕上的动态效果等设计细节上获得帮助时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-taste-frontend/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请审查这个界面设计,告诉我最大的问题有哪些,以及我该如何修改。”

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

工作原理

AI 会运用一系列具体规则,避免千篇一律的设计。它会调整颜色、字体和间距,遵循主流的设计最佳实践,打造专业而独特的外观。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

High-Agency Frontend Skill

When to Use

  • Use when the user asks to create, improve, or review frontend UI with strong design taste and anti-generic constraints.
  • Use when React, Next.js, Tailwind, motion, component states, typography, spacing, color, or responsive behavior need senior-level design judgment.
  • Use when the output must override common LLM UI biases such as centered heroes, purple gradients, card overuse, poor states, and fragile layouts.

Example

User request:

Review this interface with @design-taste-frontend, identify the highest-impact design problems, and propose an implementation-ready improvement.

Limitations

  • This skill provides frontend design and implementation guidance; it does not replace project-specific product requirements, accessibility review, or user testing.
  • Verify framework versions, installed dependencies, responsive behavior, and build output in the target repository before treating generated UI as production-ready.
  • Do not force these design rules when the existing product, brand system, or platform conventions require a different visual direction.

1. ACTIVE BASELINE CONFIGURATION

  • DESIGN_VARIANCE: 8 (1=Perfect Symmetry, 10=Artsy Chaos)
  • MOTION_INTENSITY: 6 (1=Static/No movement, 10=Cinematic/Magic Physics)
  • VISUAL_DENSITY: 4 (1=Art Gallery/Airy, 10=Pilot Cockpit/Packed Data)

AI Instruction: The standard baseline for all generations is strictly set to these values (8, 6, 4). Do not ask the user to edit this file. Otherwise, ALWAYS listen to the user: adapt these values dynamically based on what they explicitly request in their chat prompts. Use these baseline (or user-overridden) values as your global variables to drive the specific logic in Sections 3 through 7.

2. DEFAULT ARCHITECTURE & CONVENTIONS

Unless the user explicitly specifies a different stack, adhere to these structural constraints to maintain consistency:

  • DEPENDENCY VERIFICATION [MANDATORY]: Before importing ANY 3rd party library (e.g. framer-motion, lucide-react, zustand), you MUST check package.json. If the package is missing, you MUST output the installation command (e.g. npm install package-name) before providing the code. Never assume a library exists.
  • Framework & Interactivity: React or Next.js. Default to Server Components (RSC).
    • RSC SAFETY: Global state works ONLY in Client Components. In Next.js, wrap providers in a "use client" component.
    • INTERACTIVITY ISOLATION: If Sections 4 or 7 (Motion/Liquid Glass) are active, the specific interactive UI component MUST be extracted as an isolated leaf component with 'use client' at the very top. Server Components must exclusively render static layouts.
  • State Management: Use local useState/useReducer for isolated UI. Use global state strictly for deep prop-drilling avoidance.
  • Styling Policy: Use Tailwind CSS (v3/v4) for 90% of styling.
    • TAILWIND VERSION LOCK: Check package.json first. Do not use v4 syntax in v3 projects.
    • T4 CONFIG GUARD: For v4, do NOT use tailwindcss plugin in postcss.config.js. Use @tailwindcss/postcss or the Vite plugin.
  • ANTI-EMOJI POLICY [CRITICAL]: NEVER use emojis in code, markup, text content, or alt text. Replace symbols with high-quality icons (Radix, Phosphor) or clean SVG primitives. Emojis are BANNED.
  • Responsiveness & Spacing:
    • Standardize breakpoints (sm, md, lg, xl).
    • Contain page layouts using max-w-[1400px] mx-auto or max-w-7xl.
    • Viewport Stability [CRITICAL]: NEVER use h-screen for full-height Hero sections. ALWAYS use min-h-[100dvh] to prevent catastrophic layout jumping on mobile browsers (iOS Safari).
    • Grid over Flex-Math: NEVER use complex flexbox percentage math (w-[calc(33%-1rem)]). ALWAYS use CSS Grid (grid grid-cols-1 md:grid-cols-3 gap-6) for reliable structures.
  • Icons: You MUST use exactly @phosphor-icons/react or @radix-ui/react-icons as the import paths (check installed version). Standardize strokeWidth globally (e.g., exclusively use 1.5 or 2.0).

3. DESIGN ENGINEERING DIRECTIVES (Bias Correction)

LLMs have statistical biases toward specific UI cliché patterns. Proactively construct premium interfaces using these engineered rules:

Rule 1: Deterministic Typography

  • Display/Headlines: Default to text-4xl md:text-6xl tracking-tighter leading-none.

…

常见问题

“高自主性前端”是什么意思?

它指的是打造有明确意图、精致考究、风格鲜明的用户界面(也就是用户在网站或应用中看到并与之互动的部分),而不是千篇一律的样子。

它使用哪些技术?

它主要围绕 React 或 Next.js 等技术展开,并使用 Tailwind CSS 来编写样式,确保页面在不同屏幕尺寸下都能良好显示。

它能独立完成整个设计吗?

不能,它只是一个助手。它能帮你做设计和实现,但不能替代你明确产品需求、进行用户测试,或确保完整的无障碍支持。

详情

作者的原始描述

Use when building high-agency frontend interfaces with strict design taste, calibrated color, responsive layout, and motion rules.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4431
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能