跳到主要内容
知仓学习社ZHICANG

brand

Brand voice, visual identity, messaging frameworks, asset management, brand consistency. Activate for branded content, tone of voice, marketing asse…

执行命令读文件写文件严重 0 · 高危 2nextlevelbuilder/ui-ux-pro-max-skill

它会碰到什么

扫了多少18 个文本文件,90 KB
它会碰到什么执行命令读文件写文件
命中总数11 处
命中统计严重 0 · 高 2 · 中 9 · 低 0
逐条看命中(2 条严重或高危)
  • scripts/sync-brand-to-tokens.cjs:14exec-spawn
    const { execFileSync } = require('child_process');
  • scripts/tests/test_sync_brand_to_tokens.py:31exec-spawn
    return subprocess.run(

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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

Script Paths

Script paths in this skill and its references/ are relative to the directory that contains this SKILL.md, not to the project: scripts/<file> is this skill's own scripts/ folder, and ../<skill>/scripts/<file> is a sibling sub-skill installed alongside it. Build the full path from that directory (Claude Code reports it as the skill's base directory when the skill loads) and keep the working directory at the project root — the scripts read and write project files such as docs/brand-guidelines.md, assets/design-tokens.json or src/ relative to it.

Quick Start

Inject brand context into prompts:

node scripts/inject-brand-context.cjs
node scripts/inject-brand-context.cjs --json

Validate an asset:

node scripts/validate-asset.cjs <asset-path>

Extract/compare colors:

node scripts/extract-colors.cjs --palette
node scripts/extract-colors.cjs <image-path>

Brand Sync Workflow

# 1. Edit docs/brand-guidelines.md (or use /brand update)
# 2. Sync to design tokens
node scripts/sync-brand-to-tokens.cjs
# 3. Verify
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

Subcommands

| Subcommand | Description | Reference |

|------------|-------------|-----------|

| update | Update brand identity and sync to all design systems | references/update.md |

References

| Topic | File |

|-------|------|

| 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 |

Scripts

| Script | Purpose |

|--------|---------|

| 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 |

Templates

| Template | Purpose |

|----------|---------|

| templates/brand-guidelines-starter.md | Complete starter template for new brands |

Routing

  1. Parse subcommand from $ARGUMENTS (first word)
  2. Load corresponding references/{subcommand}.md
  3. Execute with remaining arguments

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 128,124
本站分层T1
该仓技能数13
原文件路径.claude/skills/brand/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 13 个技能

同名技能的其他版本

有 2 个不同仓库或目录里都有叫 brand 的技能。它们内容并不相同,别混用: