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

tastegate

它能做什么

Tastegate 可以帮你构建看起来像人工设计、而不是 AI 生成的网站和界面。它会检查设计在手机和电脑上的表现,确保不会出现难看的元素重叠,也不会有难以阅读的配色。

适用场景

  • ✓当你要搭建新网站或新页面时。
  • ✓当你要重新设计或优化现有网站时。
  • ✓当你希望网站看起来更专业、少一些“机器感”时。

技能链接

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

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请检查这个网站,确保它看起来专业,并且在手机和电脑上都能正常显示。”

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

工作原理

首先,你需要定义页面想要的风格。然后,Tastegate 会检查代码是否符合基本设计规范,例如可读性良好、没有元素重叠。最后,它会在不同屏幕尺寸下测试页面,确保所有内容都位于正确的位置。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Tastegate

Overview

Two skills in one, plus the part both leave to the model: proof.

  1. Taste decides what the page should be, before any code.
  2. The craft floor holds the mechanics every page must meet.
  3. The gate renders the page in a real browser at phone and desktop width and refuses "done" while any hard finding is open.

A model that wrote the CSS cannot see that its hero overlaps its nav at 390px. The browser can. Work through the four steps in order, and apply the checklists rather than announcing them.

When to Use

  • Use for any UI build: landing page, marketing site, dashboard, app screen, component
  • Use for a redesign, a polish pass, or a "make it look better" request
  • Use when a page needs to stop looking AI-generated
  • Use before calling any frontend work done, as the proof step

How It Works

Step 1: Read the room (2 minutes, before code)

Write one line before building:

Reading this as: <page kind> for <audience>, in a <vibe> language, built on <type pairing> + <palette family> + <one signature detail>.

  • The audience picks the look, not your habit. A B2B buyer, a design-savvy consumer and a public-sector visitor need three different pages.
  • Set three dials from that read (1 to 10): variance (symmetry to art), motion (still to cinematic), density (gallery to cockpit). Default landing page: 7 / 6 / 4. Trust-first or regulated: 3 / 2 / 5.
  • Name one signature detail the page will be remembered by: a type treatment, a material, an interaction, a way the product is shown. One, done well.
  • If the brief pins fonts, colors or an era, the brief wins over every rule here.

Step 2: Build on the craft floor

  • Type: a real display face with character, paired with a readable text face. Not Inter, Roboto, Arial or the system stack as the display voice unless the brief asks for neutral. Body 16px or more, 60 to 75 characters a line, clear size and weight steps.
  • Color: one neutral family, one accent, locked across the page. No purple-to-blue "AI glow" gradients, no gradient text, no colored glow halos. Secondary text tinted from its surface, never plain gray on color. Body contrast 4.5:1 or better.
  • Layout: the hero fits the first screen with its call to action visible. No small uppercase eyebrow label over every heading. No row of three same-size cards as the page's structure. Each section uses a different layout family. Spacing tighter inside a group than between groups.
  • Icons and copy: real SVG icons in one stroke weight, never emoji. The product's own words: no lorem ipsum, no "Acme", no "John Doe", no "Unlock the power of".
  • States: hover, focus-visible, active, disabled, loading, empty and error exist for every control that has them. Style the browser parts too: selection color, focus ring, scrollbar, caret.
  • Motion: one authored moment, eased out, from an already-visible default. Respect prefers-reduced-motion.
  • Phone first: every multi-column block declares what it becomes under 768px. Tap targets at least 44px. Nothing scrolls sideways.

Step 3: Run the gate

python3 skills/tastegate/scripts/gate.py <path/to/index.html or http://localhost:3000> --out .tastegate

(Run it from the repo root, or use the path to wherever this skill is installed.)

It renders the page in headless Chromium at 390x844 and 1440x900, prints every finding with its rule, viewport and element, saves full-page screenshots, and exits 1 while any fail finding is open. First run only: pip install playwright && python3 -m playwright install chromium.

Fix every fail finding in one batch, then run the gate again. Warnings are judgment calls: fix them unless the brief asked for that thing.

Step 4: Look at it yourself

Open both screenshots the gate saved (.tastegate/desktop.png, .tastegate/mobile.png). The gate catches mechanics; it cannot tell you the page is boring. Ask: would a designer at a good studio ship this? Does the signature detail land in the first viewport? Is anything still a default you did not choose? Fix what you see, rerun the gate, then stop.

Examples

Example 1: A landing page that passes review but fails the gate

The copy and sections are right, so the work reads as done. The gate at 390px reports the hero heading overlapping the nav, a 3.1:1 contrast ratio on secondary text, and sideways scroll from an un-wrapped feature row. Three real defects, none visible in the markup.

…

常见问题

什么是“AI 垃圾设计”(AI slop)?

这是指由 AI 自动生成、看起来千篇一律或粗制滥造的设计,比如奇怪的配色、默认字体和重复的布局。

为什么要同时在手机和电脑上测试?

这样可以确保网站对所有用户都好用,无论他们使用哪种设备访问。

什么是“未通过项”(fail findings)?

这是 Tastegate 发现的问题,会导致页面无法被视为完成,例如元素重叠,或文字与背景对比度不足。

详情

作者的原始描述

Build or fix a frontend so it looks designed, not AI-generated, then prove it in a real browser: renders at phone and desktop width and fails on overlap, low contrast and AI-slop defaults.

repo: sickn33/agentic-awesome-skills

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能