frontend-design by pbakaus/impeccable
npx skills add https://github.com/pbakaus/impeccable --skill frontend-design该技能指导创建独特、生产级的前端界面,避免通用的“AI 垃圾”美学。实现真正可工作的代码,并特别关注美学细节和创意选择。
设计技能在没有项目上下文的情况下会产生通用输出。在进行任何设计工作之前,您必须确认设计上下文。
必需上下文 — 每个设计技能至少需要:
个别技能可能需要额外的上下文 — 请查看技能的准备部分以了解具体要求。
关键:您不能通过阅读代码库来推断此上下文。代码告诉您构建了什么,而不是为谁构建或它应该给人什么感觉。只有创建者才能提供此上下文。
收集顺序:
.impeccable.md 文件。如果该文件存在且包含所需上下文,请继续。/teach-impeccable。不要跳过此步骤。不要试图从代码库推断上下文。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
致力于一个大胆的美学方向:
关键:选择一个清晰的概念方向并精确执行。大胆的极繁主义和精致的极简主义都有效 — 关键在于意图,而非强度。
然后实现可工作的代码,要求:
→ 关于比例、配对和加载策略,请查阅排版参考。
选择美观、独特且有趣的字体。将独特的展示字体与精致的正文字体配对。
应做:使用具有流体尺寸(clamp)的模块化字体比例 应做:改变字体粗细和大小以创建清晰的视觉层次 不应做:使用过度使用的字体 — Inter、Roboto、Arial、Open Sans、系统默认字体 不应做:使用等宽字体作为“技术/开发者”氛围的偷懒简写 不应做:在每个标题上方放置带圆角的大图标 — 它们很少增加价值,并使网站看起来像模板
→ 关于 OKLCH、调色板和深色模式,请查阅色彩参考。
致力于一个协调的调色板。具有鲜明强调色的主色调胜过胆怯、均匀分布的调色板。
应做:使用现代 CSS 色彩函数(oklch、color-mix、light-dark)来创建感知均匀、可维护的调色板 应做:将中性色向品牌色调微调 — 即使是微妙的暗示也能创造潜意识的协调感 不应做:在彩色背景上使用灰色文字 — 看起来褪色;应改用背景色的阴影 不应做:使用纯黑(#000)或纯白(#fff) — 始终要微调;自然界中从不出现纯黑/纯白 不应做:使用 AI 调色板:深色背景上的青色、紫色到蓝色的渐变、深色背景上的霓虹强调色 不应做:为了“冲击力”而使用渐变文字 — 尤其是在指标或标题上;它是装饰性的而非有意义的 不应做:默认使用带发光强调色的深色模式 — 它看起来很“酷”,但不需要实际的设计决策
→ 关于网格、节奏和容器查询,请查阅空间参考。
通过变化的间距创造视觉节奏 — 而不是到处都用相同的内边距。拥抱不对称和意想不到的构图。为了强调而有意打破网格。
应做:通过变化的间距创造视觉节奏 — 紧密的分组、宽松的分离 应做:使用带 clamp() 的流体间距,使其在大屏幕上呼吸 应做:使用不对称和意想不到的构图;为了强调而有意打破网格 不应做:把所有东西都包装在卡片里 — 不是所有东西都需要容器 不应做:卡片嵌套卡片 — 视觉噪音,扁平化层次结构 不应做:使用相同的卡片网格 — 相同大小的卡片,包含图标 + 标题 + 文本,无限重复 不应做:使用英雄指标布局模板 — 大数字、小标签、支持性统计数据、渐变强调色 不应做:将所有内容居中 — 左对齐文本配合不对称布局感觉更有设计感 不应做:到处使用相同的间距 — 没有节奏,布局感觉单调
应做:使用有意的、有目的的装饰元素来强化品牌 不应做:到处使用玻璃态拟物 — 模糊效果、玻璃卡片、发光边框被用作装饰而非有目的 不应做:使用一侧有粗彩色边框的圆角元素 — 一种几乎从不显得有意的偷懒强调手法 不应做:使用迷你图作为装饰 — 看起来复杂但传达不了任何有意义信息的小图表 不应做:使用带通用投影的圆角矩形 — 安全、易忘,可能是任何 AI 的输出 不应做:使用模态框,除非确实没有更好的替代方案 — 模态框是偷懒的做法
→ 关于时机、缓动和减少动效,请查阅动效参考。
专注于高影响力的时刻:一个精心编排的页面加载,配合交错的显示,比分散的微交互更能创造愉悦感。
应做:使用动效来传达状态变化 — 进入、退出、反馈 应做:使用指数缓动(ease-out-quart/quint/expo)实现自然的减速效果 应做:对于高度动画,使用 grid-template-rows 过渡,而不是直接动画化 height 属性 不应做:动画化布局属性(width、height、padding、margin) — 仅使用 transform 和 opacity 不应做:使用弹跳或弹性缓动 — 它们感觉过时且俗气;真实物体是平滑减速的
→ 关于表单、焦点和加载模式,请查阅交互参考。
让交互感觉快速。使用乐观 UI — 立即更新,稍后同步。
应做:使用渐进式披露 — 从简单开始,通过交互展现复杂性(基本选项在前,高级选项在可展开部分后;悬停状态显示次要操作) 应做:设计空状态来教授界面,而不仅仅是说“这里什么都没有” 应做:让每个交互表面都感觉有意图且响应灵敏 不应做:重复相同的信息 — 冗余的标题、重申标题的介绍 不应做:让每个按钮都成为主要按钮 — 使用幽灵按钮、文本链接、次要样式;层次结构很重要
→ 关于移动优先、流体设计和容器查询,请查阅响应式设计参考。
应做:使用容器查询(@container)实现组件级响应式 应做:为不同场景调整界面 — 不仅仅是缩小它 不应做:在移动端隐藏关键功能 — 调整界面,而不是截断它
→ 关于标签、错误和空状态,请查阅UX 文案参考。
应做:让每个词都物有所值 不应做:重复用户已经能看到的信息
关键质量检查:如果您将这个界面展示给某人并说“这是 AI 做的”,他们会立刻相信您吗?如果是,那就是问题所在。
一个独特的界面应该让人问“这是怎么做的?”,而不是“这是哪个 AI 做的?”
回顾上面的“不应做”指南 — 它们是 2024-2025 年 AI 生成作品的指纹。
使实现复杂度与美学愿景相匹配。极繁主义的设计需要精心设计的代码,包含大量的动画和效果。极简主义或精致的设计需要克制、精确,并仔细关注间距、排版和细微的细节。
创造性地解读,并做出意想不到的选择,使其感觉真正为上下文而设计。没有设计应该是相同的。在浅色和深色主题、不同字体、不同美学之间变化。绝不在不同代际中趋同于常见的选择。
记住:模型能够进行非凡的创造性工作。不要退缩 — 展示当跳出框框思考并完全致力于一个独特愿景时,真正能创造出什么。
每周安装量
30.0K
仓库
GitHub 星标数
13.4K
首次出现
Jan 20, 2026
安全审计
安装于
codex29.3K
opencode29.0K
github-copilot28.9K
gemini-cli28.9K
cursor28.9K
amp28.8K
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
Design skills produce generic output without project context. You MUST have confirmed design context before doing any design work.
Required context — every design skill needs at minimum:
Individual skills may require additional context — check the skill's preparation section for specifics.
CRITICAL : You cannot infer this context by reading the codebase. Code tells you what was built, not who it's for or what it should feel like. Only the creator can provide this context.
Gathering order:
.impeccable.md from the project root. If it exists and contains the required context, proceed.Commit to a BOLD aesthetic direction:
CRITICAL : Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work—the key is intentionality, not intensity.
Then implement working code that is:
→ Consulttypography reference for scales, pairing, and loading strategies.
Choose fonts that are beautiful, unique, and interesting. Pair a distinctive display font with a refined body font.
DO : Use a modular type scale with fluid sizing (clamp) DO : Vary font weights and sizes to create clear visual hierarchy DON'T : Use overused fonts—Inter, Roboto, Arial, Open Sans, system defaults DON'T : Use monospace typography as lazy shorthand for "technical/developer" vibes DON'T : Put large icons with rounded corners above every heading—they rarely add value and make sites look templated
→ Consultcolor reference for OKLCH, palettes, and dark mode.
Commit to a cohesive palette. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.
DO : Use modern CSS color functions (oklch, color-mix, light-dark) for perceptually uniform, maintainable palettes DO : Tint your neutrals toward your brand hue—even a subtle hint creates subconscious cohesion DON'T : Use gray text on colored backgrounds—it looks washed out; use a shade of the background color instead DON'T : Use pure black (#000) or pure white (#fff)—always tint; pure black/white never appears in nature DON'T : Use the AI color palette: cyan-on-dark, purple-to-blue gradients, neon accents on dark backgrounds DON'T : Use gradient text for "impact"—especially on metrics or headings; it's decorative rather than meaningful DON'T : Default to dark mode with glowing accents—it looks "cool" without requiring actual design decisions
→ Consultspatial reference for grids, rhythm, and container queries.
Create visual rhythm through varied spacing—not the same padding everywhere. Embrace asymmetry and unexpected compositions. Break the grid intentionally for emphasis.
DO : Create visual rhythm through varied spacing—tight groupings, generous separations DO : Use fluid spacing with clamp() that breathes on larger screens DO : Use asymmetry and unexpected compositions; break the grid intentionally for emphasis DON'T : Wrap everything in cards—not everything needs a container DON'T : Nest cards inside cards—visual noise, flatten the hierarchy DON'T : Use identical card grids—same-sized cards with icon + heading + text, repeated endlessly DON'T : Use the hero metric layout template—big number, small label, supporting stats, gradient accent DON'T : Center everything—left-aligned text with asymmetric layouts feels more designed DON'T : Use the same spacing everywhere—without rhythm, layouts feel monotonous
DO : Use intentional, purposeful decorative elements that reinforce brand DON'T : Use glassmorphism everywhere—blur effects, glass cards, glow borders used decoratively rather than purposefully DON'T : Use rounded elements with thick colored border on one side—a lazy accent that almost never looks intentional DON'T : Use sparklines as decoration—tiny charts that look sophisticated but convey nothing meaningful DON'T : Use rounded rectangles with generic drop shadows—safe, forgettable, could be any AI output DON'T : Use modals unless there's truly no better alternative—modals are lazy
→ Consultmotion reference for timing, easing, and reduced motion.
Focus on high-impact moments: one well-orchestrated page load with staggered reveals creates more delight than scattered micro-interactions.
DO : Use motion to convey state changes—entrances, exits, feedback DO : Use exponential easing (ease-out-quart/quint/expo) for natural deceleration DO : For height animations, use grid-template-rows transitions instead of animating height directly DON'T : Animate layout properties (width, height, padding, margin)—use transform and opacity only DON'T : Use bounce or elastic easing—they feel dated and tacky; real objects decelerate smoothly
→ Consultinteraction reference for forms, focus, and loading patterns.
Make interactions feel fast. Use optimistic UI—update immediately, sync later.
DO : Use progressive disclosure—start simple, reveal sophistication through interaction (basic options first, advanced behind expandable sections; hover states that reveal secondary actions) DO : Design empty states that teach the interface, not just say "nothing here" DO : Make every interactive surface feel intentional and responsive DON'T : Repeat the same information—redundant headers, intros that restate the heading DON'T : Make every button primary—use ghost buttons, text links, secondary styles; hierarchy matters
→ Consultresponsive reference for mobile-first, fluid design, and container queries.
DO : Use container queries (@container) for component-level responsiveness DO : Adapt the interface for different contexts—don't just shrink it DON'T : Hide critical functionality on mobile—adapt the interface, don't amputate it
→ Consultux-writing reference for labels, errors, and empty states.
DO : Make every word earn its place DON'T : Repeat information users can already see
Critical quality check : If you showed this interface to someone and said "AI made this," would they believe you immediately? If yes, that's the problem.
A distinctive interface should make someone ask "how was this made?" not "which AI made this?"
Review the DON'T guidelines above—they are the fingerprints of AI-generated work from 2024-2025.
Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details.
Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices across generations.
Remember: the model is capable of extraordinary creative work. Don't hold back—show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
Weekly Installs
30.0K
Repository
GitHub Stars
13.4K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketWarnSnykPass
Installed on
codex29.3K
opencode29.0K
github-copilot28.9K
gemini-cli28.9K
cursor28.9K
amp28.8K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装