ckm-brand

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Brand

品牌

Brand identity, voice, messaging, asset management, and consistency frameworks.
品牌识别、语调、信息传达、资产管理及一致性框架。

When to Use

使用场景

  • Brand voice definition and content tone guidance
  • Visual identity standards and style guide development
  • Messaging framework creation
  • Brand consistency review and audit
  • Asset organization, naming, and approval
  • Color palette management and typography specs
  • 品牌语调定义与内容语调指导
  • 视觉识别标准与风格指南制定
  • 信息框架创建
  • 品牌一致性审核与检查
  • 资产整理、命名与审批
  • 调色板管理与排版规范

Quick Start

快速开始

Inject brand context into prompts:
bash
node scripts/inject-brand-context.cjs
node scripts/inject-brand-context.cjs --json
Validate an asset:
bash
node scripts/validate-asset.cjs <asset-path>
Extract/compare colors:
bash
node scripts/extract-colors.cjs --palette
node scripts/extract-colors.cjs <image-path>
在提示词中注入品牌上下文:
bash
node scripts/inject-brand-context.cjs
node scripts/inject-brand-context.cjs --json
验证资产:
bash
node scripts/validate-asset.cjs <asset-path>
提取/对比颜色:
bash
node scripts/extract-colors.cjs --palette
node scripts/extract-colors.cjs <image-path>

Brand Sync Workflow

品牌同步工作流

bash
undefined
bash
undefined

1. Edit docs/brand-guidelines.md (or use /brand update)

1. 编辑docs/brand-guidelines.md(或使用/brand update命令)

2. Sync to design tokens

2. 同步到设计令牌

node scripts/sync-brand-to-tokens.cjs
node scripts/sync-brand-to-tokens.cjs

3. Verify

3. 验证

node scripts/inject-brand-context.cjs --json | head -20

**Files synced:**
- `docs/brand-guidelines.md` → Source of truth
- `assets/design-tokens.json` → Token definitions
- `assets/design-tokens.css` → CSS variables
node scripts/inject-brand-context.cjs --json | head -20

**同步的文件:**
- `docs/brand-guidelines.md` → 权威参考源
- `assets/design-tokens.json` → 令牌定义
- `assets/design-tokens.css` → CSS变量

Subcommands

子命令

SubcommandDescriptionReference
update
Update brand identity and sync to all design systems
references/update.md
子命令说明参考文件
update
更新品牌识别并同步至所有设计系统
references/update.md

References

参考资料

TopicFile
Voice Framework
references/voice-framework.md
Visual Identity
references/visual-identity.md
Messaging
references/messaging-framework.md
Consistency
references/consistency-checklist.md
Guidelines Template
references/brand-guideline-template.md
Asset Organization
references/asset-organization.md
Color Management
references/color-palette-management.md
Typography
references/typography-specifications.md
Logo Usage
references/logo-usage-rules.md
Approval Checklist
references/approval-checklist.md
主题文件
语调框架
references/voice-framework.md
视觉识别
references/visual-identity.md
信息传达
references/messaging-framework.md
一致性检查
references/consistency-checklist.md
指南模板
references/brand-guideline-template.md
资产管理
references/asset-organization.md
调色板管理
references/color-palette-management.md
排版规范
references/typography-specifications.md
Logo使用规范
references/logo-usage-rules.md
审批检查清单
references/approval-checklist.md

Scripts

脚本

ScriptPurpose
scripts/inject-brand-context.cjs
Extract brand context for prompt injection
scripts/sync-brand-to-tokens.cjs
Sync brand-guidelines.md → design-tokens.json/css
scripts/validate-asset.cjs
Validate asset naming, size, format
scripts/extract-colors.cjs
Extract and compare colors against palette
脚本用途
scripts/inject-brand-context.cjs
提取品牌上下文用于提示词注入
scripts/sync-brand-to-tokens.cjs
将brand-guidelines.md同步至design-tokens.json/css
scripts/validate-asset.cjs
验证资产的命名、尺寸、格式
scripts/extract-colors.cjs
提取颜色并与调色板对比

Templates

模板

TemplatePurpose
templates/brand-guidelines-starter.md
Complete starter template for new brands
模板用途
templates/brand-guidelines-starter.md
面向新品牌的完整入门模板

Routing

路由逻辑

  1. Parse subcommand from
    $ARGUMENTS
    (first word)
  2. Load corresponding
    references/{subcommand}.md
  3. Execute with remaining arguments
  1. $ARGUMENTS
    中解析子命令(第一个单词)
  2. 加载对应的
    references/{subcommand}.md
    文件
  3. 使用剩余参数执行命令