design-taste-frontend
Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.
1How It Works & Mechanism
Anti-slop is achieved entirely through prompt orchestration: the skill directory contains only a single file, SKILL.md (87,253 bytes / 1,206 lines of markdown), with zero scripts or data files; rules enforce pre-output self-filtering via 'hard prohibitions + countable thresholds + self-check checklists'.
[taste-skill]="skills/taste-skill/SKILL.md"
'Read the brief' before applying rules: three dials (DESIGN_VARIANCE/MOTION_INTENSITY/VISUAL_DENSITY) act as global pseudo-variables throughout the text with baselines of 8/6/4; all layout, motion, and density decisions are gated by them, and rules take effect only within the context of these variables.
**Baseline:** `8 / 6 / 4`. Use these unless the design read overrides them. Do not ask the user to edit this file - overrides happen conversationally.
Anti-slop rules function as an actionable 'AI Tells Blacklist': high-frequency LLM flaws are cataloged as identifiable signatures (em-dashes, eyebrow counts, split 3-card layouts, split-screen headers, solid-color version footers, etc.) paired with countable thresholds, most of which offer explicit override paths.
**Em-dash (`—`) is COMPLETELY banned.** It is the LLM's signature stylistic crutch and it is the #1 visual Tell in production tests. There is no "limited use" allowance, no "natural language frequency" allowance, no "in body copy is fine" allowance. None.
Enforced final check matrix: §14 PRE-FLIGHT CHECK provides 50+ checkboxes covering all preceding rules, requiring item-by-item self-verification prior to output; if any item cannot be checked, the status remains 'not done'.
Run this matrix before outputting code. This is the last filter. **THIS IS NOT OPTIONAL. Run every box. If any box fails, the output is not done.**
Provides copy-paste-ready canonical code skeletons and real installation commands to prevent agents from hallucinating incorrect libraries: §5.A/B/C inlines canonical TSX skeletons for GSAP/Motion, Appendix A provides real install commands for various design systems, and Appendix B links to official documentation.
The sections below are vendored reference content. They give the agent real install commands, real canonical doc links, and real working starter snippets for each design system named in Section 2. Use them to ground decisions in production reality, not training-data fiction.
Cross-project rotation mechanisms counteract 'model prior reuse': fonts and premium color palettes are barred from being reused across consecutive projects, enforcing diversification.
**Palette-rotation rule:** if the previous premium-consumer project you generated used the beige+brass family, this one MUST use a different family. Do not ship the same warm-craft palette twice in a row.
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| cli | npx shadcn@latest |
| cli | npm install / yarn add(设计系统安装指令) |
| package | 设计系统:@fluentui/react-components、@material/web、@carbon/react、@primer/css、@radix-ui/themes、govuk-frontend、uswds、bootstrap、@atlaskit/* |
| package | 动效库:motion(motion/react)、gsap、three.js |
| package | 图标库:@phosphor-icons/react、hugeicons-react、@radix-ui/react-icons、@tabler/icons-react(lucide 降级) |
| network | 素材源(写进生成页面):picsum.photos 占位摄影 / cdn.simpleicons.org 品牌 logo / unsplash、pexels(若明确允许) |
| network | Polaris Web Components CDN script(仅 Shopify app 场景,写入生成页面 head) |
| tool | 图像生成工具(条件式):generate_image / MCP image tool / IDE-integrated gen / OpenAI image tools——仅在宿主环境可用时 |
| network | 官方文档链接(仅参考不抓取):github.com、developer.mozilla.org、各设计系统官网、developer.apple.com 等 50+ 条 |
4Recommended Governance & Evidence
- SKILL.md: Pure prompt directives and rule text; no script execution or external side effects.
5Second-Pass Verification
- [ok] 『无脚本、单文件』 — git ls-tree 确认 skills/taste-skill/ 下仅 SKILL.md;仓库根 skill.sh 只是 SKILL.md 路径注册表,非 skill 运行代码
- [ok] 『无网络外发』 — 全量提取 55 个 http(s) URL,全部为官方文档链接或写给生成页面的素材/CDN 源;SKILL.md 内无 fetch/axios/curl/wget
- [ok] 『无凭证读取』 — 全文唯一命中 api-key 的是 Polaris 模板中的 <meta name="shopify-api-key" content="%SHOPIFY_API_KEY%" /> 占位符,写入的是用户页面;无 env/keychain/密钥读取指令
- [ok] 『安装命令仅文字指示』 — npm/npx/yarn 只出现在 Appendix A 代码块与 §2.A 表格,作为给 agent 的安装提示;npx shadcn 为官方初始化器
- [discrepancy] §12 引用的 blocks/ 目录 — SKILL.md 内唯一内部路径引用 skills/taste-skill/blocks/(§12.A)在本 commit 不存在;正文已自述 'Blocks will be added iteratively',属未兑现契约而非缺陷
- [ok] em-dash 自洽性(正文宣称全禁却含 em-dash) — 全文仅 5 个 —,均为禁令规则演示文本;git log 339afcb 证实 'purge em-dashes throughout (177 -> 6)',与声明一致
- [ok] 『strict pre-flight check』是否夸大 — §14 确实给出 50+ 勾选盒矩阵并声明 'THIS IS NOT OPTIONAL';但它是认知自检而非程序化校验——文档未声称有自动化,无夸大
- [ok] 『real design systems when applicable』是否夸大 — §2.A 表 + Appendix B 官方文档 + Appendix A 真实安装命令俱全;Appendix C 主动声明 Apple Liquid Glass 无官方 web 实现,诚实度高于多数同类 skill
6Verdict & Scenarios
1cf075267bf20c7a…