brand-guidelines-enforcer
[Design System] Lightweight brand guidelines enforcement for UI copy and visual motifs. Use when (1) checking UI labels/buttons/error messages against brand tone, (2) validating color usage in specific contexts, (3) ensuring reserved components are used correctly, (4) user asks to 'check brand guidelines', 'validate brand compliance', 'review copy tone', or 'enforce design rules'.
When & Why to Use This Skill
The Brand Guidelines Enforcer is a specialized Claude skill designed to automate the validation of UI copy and visual motifs against established brand standards. It ensures consistency across digital products by identifying tone violations, incorrect color usage, and improper component implementation, helping teams maintain a professional and unified brand identity throughout the development lifecycle.
Use Cases
- UI Copy Audit: Automatically review buttons, labels, and error messages to ensure they align with the brand's specific voice and tone guidelines.
- Visual Compliance: Validate color usage within the codebase to prevent the application of off-brand colors or incorrect color-context pairings.
- Design System Governance: Ensure that reserved UI components are utilized correctly and only within authorized screens or functional contexts.
- Automated Quality Assurance: Scan source files for prohibited terminology, capitalization errors, and generic CTAs to maintain high-quality microcopy standards.
| name | brand-guidelines-enforcer |
|---|---|
| description | "[Design System] Lightweight brand guidelines enforcement for UI copy and visual motifs. Use when (1) checking UI labels/buttons/error messages against brand tone, (2) validating color usage in specific contexts, (3) ensuring reserved components are used correctly, (4) user asks to 'check brand guidelines', 'validate brand compliance', 'review copy tone', or 'enforce design rules'." |
Brand Guidelines Enforcer
Lightweight enforcement of brand guidelines for UI copy and visual motifs.
Quick Start
python3 scripts/enforce_brand.py --guidelines brand.yml --source src/
Violation Types
| Type | Severity | Description |
|---|---|---|
wrong-color-context |
warning | Color used outside allowed context |
tone-violation |
warning | Copy doesn't match brand voice |
reserved-component-misuse |
error | Reserved component in wrong screen |
prohibited-word |
error | Prohibited word/pattern found |
capitalization-error |
info | Wrong capitalization style |
Detection Examples
Tone Violations
// Violation: unfriendly error message
<ErrorMessage>Error occurred: Invalid input</ErrorMessage>
// Suggested: "Something went wrong. Please check this field."
// Violation: generic CTA
<Button>Click here</Button>
// Suggested: "Get started" or "Continue"