bespoke-design-system

bespoke-design-system is a skill for Claude Code, Codex 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 CodeCodex

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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

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

Made for: Claude Code, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00239 $0.10615
Opus 5 $0.00120 $0.05307
Sonnet 5 $0.00048 $0.02123
Haiku 4.5 $0.00024 $0.01061

Measured 5d ago against content hash 2e379d95db4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 today), licensed MIT. It adds 239 tokens to every session and 10,615 once invoked, about $0.0012 per session on Opus 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens