bespoke-design-system

bespoke-design-system is a skill for Claude Code from XRenSiu/claude-code-forge. It costs 239 tokens per session (10,615 once invoked), scanned A, original, MIT.

A skill that creates a tailored DESIGN.md file from a product brief and a collection of existing design systems. The file records visual rules and the reasoning behind them.

In plain words
What is it for?
Use it to generate a new design system in automatic or interactive mode, or maintain a rule library by importing and analyzing additional DESIGN.md files.
Why use it?
It helps turn scattered design examples into a coherent, explainable starting point for a product interface, while leaving final taste and approval to a human.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./bespoke-design/<slug>/.

Part of the bespoke-design-system plugin — 1 skill, 2 agents shipped together

Good fit Use it to generate a new design system in automatic or interactive mode, or maintain a rule library by importing and analyzing additional DESIGN.md files.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/XRenSiu/claude-code-forge
agentmods
npx agentmods add skills/xrensiu/claude-code-forge/bespoke-design-system

Made for: Claude Code.

Or install bespoke-design-system, the plugin that ships this one along with the rest of its 1 skill, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bespoke-design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/xrensiu/claude-code-forge/bespoke-design-system/github.svg)](https://agentmods.dev/skills/xrensiu/claude-code-forge/bespoke-design-system)
Your own site
<a href="https://agentmods.dev/skills/xrensiu/claude-code-forge/bespoke-design-system"><img src="https://agentmods.dev/badge/skills/xrensiu/claude-code-forge/bespoke-design-system/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bespoke-design-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/xrensiu/claude-code-forge/bespoke-design-system"><img src="https://agentmods.dev/badge/skills/xrensiu/claude-code-forge/bespoke-design-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 239 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,615 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00239 $0.10615
Opus 5.5 $0.00096 $0.04246
Sonnet 5.5 $0.00048 $0.02123
Haiku 4.5 $0.00024 $0.01061

Measured 1mo ago against content hash 2e379d95db4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bespoke-design-system scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 6 executable files (checks/_shared/color_math.py, checks/_shared/scale_math.py, checks/archetype_check.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/bespoke-design-system/skills/bespoke-design-system/SKILL.md · 533 lines

How it starts

The opening of the file, as written. The whole thing — 533 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bespoke Design System — 专属设计系统生成器

你被调用来处理 $ARGUMENTS:可能是为一个产品需求生成专属 DESIGN.md(主流程,99% 调用),也可能是维护规则库(增量拆解新素材、批量导入集合、沉淀高频 adaptation、重建关系图)。

开始时告诉用户:

  • 主流程:" I'm using the bespoke-design-system skill to generate a tailored DESIGN.md for your product. "
  • 维护流程:" I'm using the bespoke-design-system skill in maintenance mode to <update / import / extract / consolidate>. "

一、本质(必读,每次都要在心里过一遍)

把任意一组 DESIGN.md 素材里 " 做对了的设计判断 " 形式化成可计算、可组合、可演化的设计语法,然后用这套语法为每个新用户做一次新的设计判断,且每个判断都必须能回答 " 为什么对这个用户对 "。

产品诚实声明(v4 新增)

本 skill 产出的是带论证的 DESIGN.md 初稿,不是成品。

它能做到的:

  • 内在协调性(配色/排版/间距的数学关系正确)— 完全可量化
  • 语境贴合性(匹配 archetype 和 Kansei 画像)— 离散判据 + 半量化
  • 不抄袭(不是某现有系统换个强调色)— neighbor 独特性带可量化下限(v1.11.0)
  • 不平庸(有一个能说清的 POV / 签名动作,不是品类默认值堆叠)— taste-critic 可判的平庸下限(v1.12.0)

⚠️ v1.12.0 起不再声称"不出格"。旧版用"不会跑出已知好设计的范围"当卖点,恰恰是把下限焊成天花板、逼出平庸的病根(详见 bespoke-design/skill-issue-2026-06-18.md)。现在的定位是在协调的前提下争取独特,而不是"安全地待在已知范围内"。

它做不到的:

  • 判断"这份设计有大师级品味" — taste-critic 能判"没有观点"(下限),判不了"有伟大品味"(上限)。学界共识:tacit knowledge 无法形式化(Polanyi 1966;CHI 2024)
  • 替代设计师的最终判断 — 品味这一关必须由人完成

定位上,它替代的是"用户硬选 5 个固定方向"或"硬选别人的 DESIGN.md"这个低质量起点,不是替代设计师。详见 references/tacit-knowledge-boundary.md。

五条铁律

  1. 双向 Rationale 对称:拆解时怎么提取 rationale,生成时就怎么产出 rationale。生成时的 rationale 必须三段式:inheritance(来源)+ adaptation(调适)+ justification(协同)。
  2. 一次性追问铁律(interactive):所有澄清问题必须在 B1a 一次性问完,硬上限 7 条,超过则强制 B1a 重新规划聚焦。B2 之后绝不向用户追问任何信息——不管是 B3 冲突、B4 决策、B5 闸门失败,都不许打断用户。
  3. 品味需自审(v4 新增 / v1.12.0 加 taste-critic):B5 的 6 项 check 全过 ≠ 这份 DESIGN.md 有品味。taste-critic 把"很普通"变成可判的平庸下限,但"有大师级品味"仍是上限、需人审。B6 的 negotiation-summary 必须明确告知用户"品味终审需由人完成"。引用 references/tacit-knowledge-boundary.md。
  4. 不产生 AI slop:紫渐变 + Inter + 圆角卡片那一套是 anti-pattern。每个决策都要在 references/anti-slop-blacklist.md 上过一遍。
  5. 模式选择交给用户:模式是用户对 " 我愿意花多少时间换多少精度 " 的偏好,不是技术问题。skill 不替用户决定。

二、触发分流(第一步必做)

解析 $ARGUMENTS 与最近的用户消息,判断走哪条主路径:

主流程:生成 DESIGN.md

触发条件:用户描述产品需求并希望得到设计系统、调性方案、UI 风格指南、设计 token、设计基底等。即使用户表述很模糊(例如 " 我想做个八字 SaaS"、" 给我做个设计调性 "),只要意图是 " 获得设计系统 ",都走这里。

Read the full file on GitHub · 533 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 533 lines · 239 tokens per session scan A 2e379d95db4c

Subscribe to this mod's changes

bespoke-design-system is a skill published in the GitHub repository XRenSiu/claude-code-forge (2 stars, last pushed 29d ago), licensed MIT. It adds 239 tokens to every session and 10,615 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens