ckm-brand
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBrand
品牌
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 --jsonValidate 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
undefinedbash
undefined1. 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 variablesnode scripts/inject-brand-context.cjs --json | head -20
**同步的文件:**
- `docs/brand-guidelines.md` → 权威参考源
- `assets/design-tokens.json` → 令牌定义
- `assets/design-tokens.css` → CSS变量Subcommands
子命令
| Subcommand | Description | Reference |
|---|---|---|
| Update brand identity and sync to all design systems | |
| 子命令 | 说明 | 参考文件 |
|---|---|---|
| 更新品牌识别并同步至所有设计系统 | |
References
参考资料
| Topic | File |
|---|---|
| Voice Framework | |
| Visual Identity | |
| Messaging | |
| Consistency | |
| Guidelines Template | |
| Asset Organization | |
| Color Management | |
| Typography | |
| Logo Usage | |
| Approval Checklist | |
| 主题 | 文件 |
|---|---|
| 语调框架 | |
| 视觉识别 | |
| 信息传达 | |
| 一致性检查 | |
| 指南模板 | |
| 资产管理 | |
| 调色板管理 | |
| 排版规范 | |
| Logo使用规范 | |
| 审批检查清单 | |
Scripts
脚本
| Script | Purpose |
|---|---|
| Extract brand context for prompt injection |
| Sync brand-guidelines.md → design-tokens.json/css |
| Validate asset naming, size, format |
| Extract and compare colors against palette |
| 脚本 | 用途 |
|---|---|
| 提取品牌上下文用于提示词注入 |
| 将brand-guidelines.md同步至design-tokens.json/css |
| 验证资产的命名、尺寸、格式 |
| 提取颜色并与调色板对比 |
Templates
模板
| Template | Purpose |
|---|---|
| Complete starter template for new brands |
| 模板 | 用途 |
|---|---|
| 面向新品牌的完整入门模板 |
Routing
路由逻辑
- Parse subcommand from (first word)
$ARGUMENTS - Load corresponding
references/{subcommand}.md - Execute with remaining arguments
- 从中解析子命令(第一个单词)
$ARGUMENTS - 加载对应的文件
references/{subcommand}.md - 使用剩余参数执行命令