brand

brand is a command for Claude Code from jiushiwon/wg-skills. It costs 0 tokens per session (1,358 once invoked), scanned A, original, Apache-2.0.

A command that applies a chosen brand’s visual style to a project’s interface. It uses the brand’s colors, fonts, component styles, spacing, corners, shadows, and motion rules.

In plain words
What is it for?
Use it to apply a selected brand style to buttons, cards, navigation, or all supported components at a project path. It supports named brands such as Stripe, Linear, Vercel, Apple, Supabase, and others.
Why use it?
It reduces the manual work of translating a brand guide into interface styles. A preview option lets you inspect the result before changing the project.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/detect-stack.mjs [path].

Good fit Use it to apply a selected brand style to buttons, cards, navigation, or all supported components at a project path. It supports named brands such as Stripe, Linear, Vercel, Apple, Supabase, and others.

Compare 6 commands 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/jiushiwon/wg-skills
agentmods
npx agentmods add commands/jiushiwon/wg-skills/brand

Made for: Claude Code.

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 brand

README.md
[![agentmods](https://agentmods.dev/badge/commands/jiushiwon/wg-skills/brand/github.svg)](https://agentmods.dev/commands/jiushiwon/wg-skills/brand)
Your own site
<a href="https://agentmods.dev/commands/jiushiwon/wg-skills/brand"><img src="https://agentmods.dev/badge/commands/jiushiwon/wg-skills/brand/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 brand

Your own site · 80×15
<a href="https://agentmods.dev/commands/jiushiwon/wg-skills/brand"><img src="https://agentmods.dev/badge/commands/jiushiwon/wg-skills/brand.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,358 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.00000 $0.01358
Opus 5 $0.00000 $0.00679
Sonnet 5 $0.00000 $0.00272
Haiku 4.5 $0.00000 $0.00136

Measured 10d ago against content hash 0975199961c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

brand 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 10d ago.

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.

vibeCoding/frontend/frontend-ui-foundry/references/commands/brand.md · 188 lines

How it starts

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

brand — 品牌风格套用

将指定品牌的视觉语言(调色 + 字体 + 组件风格)套用到目标项目。

用法

brand <name> [path] [--component button|card|nav|all] [--preview]

品牌选择

引用 references/brands/index.md,支持 58 个品牌。

参数

参数 说明 默认
<name> 必填,品牌名
[path] 目标路径 cwd
--component 套用到哪些组件 all
--preview 只预览不修改

支持的品牌(10 个详细卡)

stripe / linear / vercel / apple / supabase / mintlify / revolut / lovable / cursor / claude

其他 48 个品牌用通用规则(见 brands/index.md)。

流程

1. 加载品牌

读取 references/brands/<name>.md,获取:

  • 风格 DNA
  • 配色(OKLCH / HEX)
  • 字体配对
  • 关键组件
  • 适用/不适用场景
  • 反 AI Slop 关键

2. 检测目标

node scripts/detect-stack.mjs [path]

识别技术栈,决定如何应用。

3. 派生 Token

按品牌规格生成 Token:

  • 调色板(主/副/辅/背景/文字/边框/状态)
  • 字体(家族/字号阶/字重/行高)
  • 圆角(按品牌调性)
  • 阴影(按品牌调性)
  • 动效(按品牌调性)

4. 应用组件(按 --component

button(按钮)
/* 例:Stripe 风格 */
.button-primary {
  background: var(--color-primary);  /* 紫蓝 */
  color: var(--color-primary-foreground);
  border-radius: var(--radius-md);
  padding: 0 var(--space-4);
  height: 40px;
  font-weight: 500;
  transition: background-color 150ms var(--ease-out-quart);
}
.button-primary:hover {
  background: var(--color-primary-hover);
}
.button-primary:active {
  transform: scale(0.98);
}
card(卡片)
/* 例:Linear 风格(紧凑几何) */
.card {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);  /* 8px,克制 */
  padding: var(--space-4);
  transition: border-color 150ms;
}
.card:hover {
  border-color: var(--color-border-strong);
}
nav(导航)

按品牌风格调整(顶栏 vs 侧栏、紧凑 vs 宽松、阴影 vs 边框)。

5. 预览 / 应用

--preview:在临时文件渲染,不写实际项目 不加:直接修改 src/styles/tokens.css

输出:brand-report.md

# Brand Apply Report — <name>

> 品牌:Stripe
> 目标:/path/to/project
> 技术栈:React Next.js 14
> 时间:2024-XX-XX

---

## 品牌画像

### 风格 DNA
- 暖色 Committed
- 排版戏剧性
- 细节狂魔
- 非典型落地页

### 调色板
- 主色:#ff6e40 橙红
- 副色:#635bff 紫蓝
- 强调:#d4a574 金黄
- 背景:#fffbf5 暖白

### 字体
- 标题:Cabinet Grotesk(替代 Sohne)
- 正文:Cabinet Grotesk
- 等宽:JetBrains Mono(替代 Berkeley Mono)

## 套用范围

- [x] 全局 Token(颜色/字体/间距/圆角/阴影/动效)
- [x] 基础组件(Button、Input、Card)
- [x] 导航(Header、Footer)
- [ ] 业务组件(保留业务逻辑)

## 修改清单

| # | 文件 | 修改 |
|---|------|------|
| 1 | src/styles/tokens.css | 完整替换为 Stripe 调色 |
| 2 | tailwind.config.ts | 更新 colors 映射 |
| 3 | components/Button.tsx | 调整圆角到 8px |
| ... |

## 风险评估

- 调色板变更:中等(需验证所有页面)
- 字体变更:低(提供回退)
- 圆角变更:低(统一阶梯)
- 阴影变更:低

## 回滚

```bash
git checkout HEAD -- src/styles/tokens.css tailwind.config.ts components/Button.tsx

Read the full file on GitHub · 188 lines

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. 10d ago First seen · 188 lines · 0 tokens per session scan A 0975199961c5

Subscribe to this mod's changes

brand is a command published in the GitHub repository jiushiwon/wg-skills (98 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,358 tokens. 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-30.