Quick brand check
brand_checkChecks text, color, font, and CSS against brand guidelines during writing, returning specific fixes for violations to maintain consistency in tight editing loops.
Instructions
Inline brand linter — call this WHILE writing content or code, the way you call a type-checker. <50ms pass/fail on any combination of text (voice/never-say/AI-isms), color (palette match with ΔE distance), font (typography match), or css (anti-pattern violations). Designed for tight loops: write a sentence, brand_check it, fix, continue. Returns specific actionable fixes per failed input. Requires brand_compile to have run first. NOT a publish-time gate — use brand_check_compliance for the single PASS/FAIL verdict before shipping. NOT for 0-100 scoring — use brand_audit_content. NOT for HTML/CSS rule violations — use brand_preflight.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | CSS snippet to check for visual anti-pattern violations (shadows, gradients, etc.). Example: "box-shadow: 0 2px 4px rgba(0,0,0,0.1)" | |
| font | No | Font family name to check against brand typography. Example: "Helvetica" | |
| text | No | Text to check for voice violations (never-say words, anchor term misuse, AI-isms). Example: "We leverage cutting-edge AI solutions" | |
| color | No | Hex color to check against the brand palette. Returns nearest brand color with perceptual distance (ΔE). Example: "#3b82f6" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pass | No | ||
| error | No | ||
| flags | No | ||
| checked | No | ||
| _metadata | Yes | ||
| brand_palette | No |