返回知识剪藏

文章 · 收录 10.29

Taste Skill — README

文章 · 2026-10-29 · GitHub · Taste Skill

去原文查看

Taste Skill — README

来源:视频号「青青-wang」《好看哭了的神级网页Skill》(2026-10-29)→ 对应开源仓库 Leonxlnx/taste-skill(MIT)。
视频链接:https://weixin.qq.com/sph/AFm6auFuMs
官网:https://tasteskill.dev
剪藏时间:2026-11-08(Asia/Shanghai)

相关概念:Taste Skill · Agent Skill · design-taste-frontend · Claude Code · Codex · Cursor

辨认说明:视频未点名仓库;文案强调「布局、字体、配色、间距、动效写成设计规则 / Claude Code·Cursor·Codex」,与本仓库公开定位高度吻合。若你确认是别的 Skill,告诉我再改。

English

 

 

 

Sponsors

interfaces.dev · A design engineering magazine by Jakub Krehel

React Bits · animated React components for creative interfaces

IMG.LY · CreativeEditor SDK

Sent.dm · messaging APIs for SMS, WhatsApp, and RCS

Become a sponsor

Taste Skill (tasteskill 2.5.1) is an Agent Skill that makes coding agents build professional company websites at the figma.com and x.ai level instead of assembling a generic landing page. Every build uses plain copy, one design system, one section per screen, equal left and right edges, real photographs (licensed stand-ins when the client has none), real brand icons and real product UI, a hero entrance and one or two dealt moments on every page, quiet micro-interactions, and shader effects and scroll scenes kept strictly for tech, gaming and software pages, all verified in a real browser by a checker and a finish gate that enforce the rules.

Pages built from a single brief in earlier v2 runs:

The photographs are real, found in open archives and credited by the skill (credits). Watch the launch film.

Install

npx skills add https://github.com/Leonxlnx/taste-skill --skill "design-taste-frontend"

That installs the skill with the npx skills CLI.

The skill runs its scripts with Node 22+ and an installed Chrome, Edge or Chromium (set CHROME_PATH if it is in a non-standard place). Optional: ffmpeg on the PATH, for WebP output and the phone crop of a hero photograph in photos.mjs. It installs nothing and needs no API keys. Bundled Wikimedia Commons photographs work offline; fetching additional photographs or icons uses network access.

Claude Code plugin

Run these inside Claude Code. The skill is namespaced under taste-skill:, so it does not collide with your other skills.

/plugin marketplace add Leonxlnx/taste-skill
/plugin install taste-skill@taste-skill

/plugin update upgrades it later.

Codex plugin

codex plugin marketplace add Leonxlnx/taste-skill
codex plugin add taste-skill@taste-skill

Start a new Codex session afterwards so the skill is loaded.

From a clone, linked instead of copied

./install.sh symlinks the skill into Claude Code (--codex for Codex, --all-agents for both), so a git pull updates it in place. On Windows (Git Bash) it makes a real link, or a directory junction when symlinks are not allowed, and it reports an older copied folder instead of skipping it silently.

Already have the skill? Run the install command again; the install name did not change. Looking for one of the older skills? See Moved skills.

How 2.5 works

Use it by asking your agent to build or redesign a company site; the agent loads the skill, copies assets/ into the project, starts from assets/starter.html and runs the checker before it hands the page over. Every build starts by classifying the client’s business (software, gaming, tech, product, service or place) and planning the page screen by screen before writing markup:

  1. Deal tokens and layout. scripts/start.mjs deals a palette made for the trade and a Google Fonts pairing for the page kind (library/palettes.json, library/type.json), and assets/layout/deal.mjs deals a hero layout (split, centred, product, photo, place, collage, editorial, word, film, statement or triptych).
  2. Start from one system. assets/starter.html, assets/system.css and assets/layout/layout.css enforce one section per screen at desktop (1440x900), equal left and right content edges, a fixed navigation bar and a single-screen closing footer (footer.closing).
  3. Show real product UI and real photographs. Software and tech pages populate lit feature cards (assets/ui/cards.css) with rewritten HTML UI fragments (assets/ui/) and node-and-line diagrams (assets/diagrams/), with real brand and interface SVGs resolved locally by scripts/icons.mjs. Place, shop, hospitality and non-technical product pages lead with curated photographs (scripts/photos.mjs, assets/photos/), typography and flat colour, crediting sources in one expandable footer line with no captions under images.
  4. Keep effects for tech and gaming pages. Shader grounds (scripts/effects.mjs), scroll scenes (assets/scenes/) and procedural 3D prints (assets/objects/) are dealt only on software, tech and gaming pages within a four-context WebGL cap, with static fallbacks for phones and reduced motion. Every page gets a hero entrance and one or two moments from scripts/moments.mjs; cafes, hotels, shops, studios and services get only the photo- and type-led ones, and zero WebGL.
  5. Check in a real browser over HTTP. scripts/consistency.mjs, assets/layout/check.mjs, scripts/perf.mjs and scripts/shoot.mjs render the built page in headless Chrome across 1440, 1024, 768 and 390, catching empty visuals, broken shaders, contrast drops, misaligned columns, section-height drift, placeholder text, invented street numbers and slow-network image gaps before the build ships. scripts/gate.mjs then holds the finish until no fixable FAIL is left, three rounds at most.

Details of what changed from 2.1.x are in the changelog.

The tools

Everything is a plain Node 22+ script in the skill folder; none installs anything.

Tool What it does
scripts/start.mjs Deals a palette and a Google Fonts pairing for the page kind and prints the ` links and:root` tokens.
assets/layout/deal.mjs Deals one of eleven tested hero layouts; assets/layout/check.mjs checks it with long-headline stress tests.
scripts/photos.mjs Deals vetted photographs by trade, enforces image weight and writes the one footer credit line.
scripts/icons.mjs Resolves real brand and interface icons into local SVG files.
scripts/effects.mjs, scripts/moments.mjs Deal shader grounds for tech, gaming and software pages, and the moments for every kind.
scripts/gate.mjs, scripts/copy-lint.mjs The finish gate (also a Stop hook) and the copy linter it runs.
scripts/consistency.mjs The checker: renders the page in headless Chrome over HTTP at 1440, 1024, 820, 768 and 390 and prints PASS, WARN or FAIL per rule.
scripts/perf.mjs, scripts/shoot.mjs Page weight and speed, and full-page and per-section screenshots.

First run, from the project folder (a deal also arms the finish gate there): node scripts/start.mjs deal --page software (kinds: software, gaming, tech, product, service, place). Check a built page with node scripts/consistency.mjs --page.

Moved skills

This repo holds one skill, design-taste-frontend. The others moved to repos of their own and kept their install names:

Install name Where it lives now
high-end-visual-design, minimalist-ui, industrial-brutalist-ui, gpt-taste, stitch-design-taste, design-taste-frontend-v1, design-taste-frontend-v2-experimental Leonxlnx/taste-skill-classics
imagegen-frontend-web, imagegen-frontend-mobile, brandkit, image-to-code Leonxlnx/imagegen-skills
redesign-existing-projects Part of design-taste-frontend, which audits an existing page in a real browser before changing anything
full-output-enforcement Removed. For the same problem, see Leonxlnx/unlazy

Install a moved skill from its new repo under the same name:

npx skills add https://github.com/Leonxlnx/taste-skill-classics --skill "high-end-visual-design"

Common Questions

What does the skill need?
Node 22 or newer and Chrome, Edge or Chromium; ffmpeg is optional (WebP photographs and the phone crop of a hero photograph). It installs nothing and uses no API keys. Bundled Commons photographs are stored locally; network access is used only when downloading additional photographs, Google Fonts or brand icons.

Where do the pictures come from, and can I use them?
From the skill’s vetted photograph library (assets/photos/photos.json, including bundled Wikimedia Commons WebP sets and Unsplash photographs) dealt by scripts/photos.mjs. Library frames are used for trade and material details (or marked explicitly as draft stand-ins when the client has no photographs yet), never passed off as the client’s own room, staff or product, and credited in one expandable footer line (photos.mjs credits).

Does it work with React, Vue, Svelte, plain HTML?
An empty folder gets a static page from assets/starter.html. An existing React, Vue, Svelte, Astro or Tailwind project is built in its own stack, with the kit served from its public folder; a Next.js brief is built as a static export. The browser checks run on the served or built page.

When does a page get shaders or scroll effects?
Shaders only on software, tech (technical hardware) and gaming pages, and always within a four-context WebGL budget with static phone and reduced-motion fallbacks. Places, shops, cafes, hotels, studios, services and everyday physical products stay calm: photographs, sharp typography and flat colour, with a hero entrance and one or two photo- or type-led moments in their own sections.

Support the project

If Taste Skill helps you, consider sponsoring:

Sponsor on GitHub

Open Source Supporters

Get a Kimi API key: taste-skill users get 10% bonus API credits on their first purchase.

Community Sponsors

Feedback: open an issue or pull request, DM @lexnlin or @blueemi99, or email hello@tasteskill.dev.

Taste Skill has no official token, coin, or crypto project. Any token using my name, image, or project is unaffiliated and not endorsed by me.

License

MIT License · Copyright (c) 2026 Leonxlnx

中文

赞助商

interfaces.dev · Jakub Krehel 的设计工程杂志

React Bits · 面向创意界面的动画 React 组件

IMG.LY · CreativeEditor SDK

Sent.dm · 面向短信、WhatsApp 和 RCS 的消息 API

成为赞助商

Taste Skill(tasteskill 2.5.1)是一个 Agent Skill,让编码代理构建达到 figma.com 和 x.ai 水准的专业公司网站,而不是拼凑出一个通用的落地页。每次构建都使用平实的文案、一套设计系统、每屏一个版块、左右等宽边距、真实照片(客户没有时使用已授权的替代图)、真实品牌图标和真实产品 UI、每个页面都有主视觉入场动画和一两个精心设计的瞬间、克制的微交互,以及严格限于科技、游戏和软件页面的着色器效果和滚动场景,全部由检查器和收尾关卡在真实浏览器中验证,强制执行这些规则。

以下页面均基于早期 v2 版本中的单一简报构建:

这些照片是真实的,来自开放档案,并由该技能标注来源(致谢)。观看发布影片。

安装

npx skills add https://github.com/Leonxlnx/taste-skill --skill "design-taste-frontend"

这会通过 npx skills CLI 安装该技能。

该技能使用 Node 22+ 和已安装的 Chrome、Edge 或 Chromium 运行其脚本(如果位于非标准位置,请设置 CHROME_PATH)。可选:PATH 中的 ffmpeg,用于 WebP 输出以及 photos.mjs 中主视觉照片的手机裁剪。它不安装任何东西,也不需要 API 密钥。捆绑的 Wikimedia Commons 照片可离线使用;获取额外照片或图标需要网络访问。

Claude Code 插件

在 Claude Code 内运行这些命令。该技能命名空间为 taste-skill:,因此不会与你其他技能冲突。

/plugin marketplace add Leonxlnx/taste-skill
/plugin install taste-skill@taste-skill

之后用 /plugin update 升级。

Codex 插件

codex plugin marketplace add Leonxlnx/taste-skill
codex plugin add taste-skill@taste-skill

之后启动一个新的 Codex 会话以加载该技能。

从克隆仓库链接而非复制

./install.sh 会将技能符号链接到 Claude Code(--codex 用于 Codex,--all-agents 用于两者),因此 git pull 会就地更新。在 Windows(Git Bash)上,它会创建真实链接,或在不允许符号链接时创建目录联接,并且会报告较旧的复制文件夹而不是静默跳过。

已有该技能?再次运行安装命令即可;安装名称没有改变。在寻找旧版技能之一?参见已迁移技能。

2.5 如何工作

通过让你的代理构建或重新设计一个公司网站来使用它;代理会加载该技能,将 assets/ 复制到项目中,从 assets/starter.html 开始,并在交付页面前运行检查器。每次构建都先对客户的业务进行分类(software、gaming、tech、product、service 或 place),并在编写标记之前逐屏规划页面:

  1. 发牌生成令牌和布局。 scripts/start.mjs 为该行业发配一套调色板,以及为页面类型发配一套 Google Fonts 字体搭配(library/palettes.json、library/type.json),assets/layout/deal.mjs 发配一种主视觉布局(split、centred、product、photo、place、collage、editorial、word、film、statement 或 triptych)。
  2. 从一套系统开始。 assets/starter.html、assets/system.css 和 assets/layout/layout.css 在桌面端(1440x900)强制每屏一个版块、左右内容边距相等、固定导航栏和单屏收尾页脚(footer.closing)。
  3. 展示真实产品 UI 和真实照片。 软件和科技页面用重写的 HTML UI 片段(assets/ui/)和节点连线图(assets/diagrams/)填充带亮光的特性卡片(assets/ui/cards.css),真实品牌和界面 SVG 由 scripts/icons.mjs 在本地解析。地点、商店、酒店和非技术产品页面以精选照片(scripts/photos.mjs、assets/photos/)、排版和纯色为主,在页脚一行可展开的文本中标注来源,图片下方不加说明文字。
  4. 将效果保留给科技和游戏页面。 着色器背景(scripts/effects.mjs)、滚动场景(assets/scenes/)和程序化 3D 印品(assets/objects/)仅在 software、tech 和 gaming 页面上发配,受四个 WebGL 上下文上限约束,并为手机和减少动态效果提供静态回退。每个页面都有主视觉入场动画和一两个来自 scripts/moments.mjs 的瞬间;咖啡馆、酒店、商店、工作室和服务业只获得照片和排版主导的瞬间,且零 WebGL。
  5. 通过 HTTP 在真实浏览器中检查。 scripts/consistency.mjs、assets/layout/check.mjs、scripts/perf.mjs 和 scripts/shoot.mjs 在无头 Chrome 中跨 1440、1024、768 和 390 渲染构建的页面,在构建交付前捕获空白视觉、损坏的着色器、对比度下降、列错位、版块高度漂移、占位文本、编造的街道号码和慢速网络下的图片缺失。随后 scripts/gate.mjs 保持收尾直到没有可修复的 FAIL 剩余,最多三轮。

从 2.1.x 变更的详情见变更日志。

工具

一切都是技能文件夹中的普通 Node 22+ 脚本;都不安装任何东西。

工具 作用
scripts/start.mjs 为页面类型发配一套调色板和一套 Google Fonts 字体搭配,并打印 ` 链接和:root` 令牌。
assets/layout/deal.mjs 发配十一种经过测试的主视觉布局之一;assets/layout/check.mjs 用长标题压力测试检查它。
scripts/photos.mjs 按行业发配经过审核的照片,强制图片重量,并写入那一行页脚致谢。
scripts/icons.mjs 将真实品牌和界面图标解析为本地 SVG 文件。
scripts/effects.mjs、scripts/moments.mjs 为科技、游戏和软件页面发配着色器背景,以及为每种类型发配瞬间。
scripts/gate.mjs、scripts/copy-lint.mjs 收尾关卡(同时也是一个 Stop 钩子)及其运行的文案 linter。
scripts/consistency.mjs 检查器:通过 HTTP 在无头 Chrome 中跨 1440、1024、820、768 和 390 渲染页面,并打印每条规则的 PASS、WARN 或 FAIL。
scripts/perf.mjs、scripts/shoot.mjs 页面重量和速度,以及整页和逐版块截图。

首次运行,在项目文件夹中(发牌也会在该处武装收尾关卡):node scripts/start.mjs deal --page software(类型:software、gaming、tech、product、service、place)。用 node scripts/consistency.mjs --page 检查已构建的页面。

已迁移技能

此仓库包含一个技能,design-taste-frontend。其他技能已迁移到各自的仓库并保留其安装名称:

安装名称 现在所在位置
high-end-visual-design、minimalist-ui、industrial-brutalist-ui、gpt-taste、stitch-design-taste、design-taste-frontend-v1、design-taste-frontend-v2-experimental Leonxlnx/taste-skill-classics
imagegen-frontend-web、imagegen-frontend-mobile、brandkit、image-to-code Leonxlnx/imagegen-skills
redesign-existing-projects design-taste-frontend 的一部分,后者在更改任何内容之前会在真实浏览器中审计现有页面
full-output-enforcement 已移除。对于同样的问题,参见 Leonxlnx/unlazy

从其新仓库以相同名称安装已迁移的技能:

npx skills add https://github.com/Leonxlnx/taste-skill-classics --skill "high-end-visual-design"

常见问题

该技能需要什么?
Node 22 或更新版本,以及 Chrome、Edge 或 Chromium;ffmpeg 是可选的(WebP 照片和主视觉照片的手机裁剪)。它不安装任何东西,也不使用 API 密钥。捆绑的 Commons 照片存储在本地;仅在下载额外照片、Google Fonts 或品牌图标时使用网络访问。

图片来自哪里,我可以使用它们吗?
来自该技能经过审核的照片库(assets/photos/photos.json,包括捆绑的 Wikimedia Commons WebP 集和 Unsplash 照片),由 scripts/photos.mjs 发配。图库帧用于行业和材料细节(或在客户尚无照片时明确标记为草稿替代图),绝不会冒充客户自己的房间、员工或产品,并在页脚一行可展开的文本中致谢(photos.mjs credits)。

它适用于 React、Vue、Svelte、纯 HTML 吗?
空文件夹会从 assets/starter.html 获得一个静态页面。现有的 React、Vue、Svelte、Astro 或 Tailwind 项目在其自己的技术栈中构建,套件从其公共文件夹提供;Next.js 简报会构建为静态导出。浏览器检查在已提供或已构建的页面上运行。

页面何时使用着色器或滚动效果?
着色器仅用于 software、tech(技术硬件)和 gaming 页面,且始终在四个 WebGL 上下文预算内,并带有静态手机和减少动态效果回退。地点、商店、咖啡馆、酒店、工作室、服务和日常物理产品保持平静:照片、锐利的排版和纯色,并带有主视觉入场动画和其自身版块中一两个照片或排版主导的瞬间。

支持项目

如果 Taste Skill 对你有帮助,考虑赞助:

在 GitHub 上赞助

开源支持者

获取 Kimi API 密钥:taste-skill 用户首次购买可获得 10% 额外 API 积分。

社区赞助商

反馈:提交 issue 或 pull request,私信 @lexnlin 或 @blueemi99,或发送邮件至 hello@tasteskill.dev。

Taste Skill 没有官方代币、硬币或加密项目。任何使用我的名字、图像或项目的代币均无关联,也未获我认可。

许可证

MIT License · Copyright (c) 2026 Leonxlnx

相关剪藏(指向库内已有笔记,不新建概念页):星瞰AI — ziwei-doushu开源Skill保姆级实操 · AI编程学习站 — 成为AI调教大师。同为开源 Skill / 提示词类剪藏。