Brand Consistency
Reads your app's homepage to extract brand colors, fonts, and visual patterns, then applies them consistently across everything you build. No manual color definitions needed.
Skill prompt
Brand Consistency
Overview
This skill ensures brand consistency across your application by extracting your existing brand identity and applying it everywhere.
Keywords: branding, visual identity, styling, brand colors, typography, visual formatting, visual design, consistency
How It Works
Rather than defining colors or fonts here, this skill instructs the Hercules agent to derive your brand from what already exists in your app.
Step 1: Extract Brand Identity
Read the main homepage (or primary landing page) of the application and identify:
Colors:
- Primary background color(s)
- Primary text color(s)
- Accent/highlight color(s) used for buttons, links, or interactive elements
- Secondary/muted colors used for borders, subtle backgrounds, or secondary text
- Any gradient patterns
Typography:
- Heading font family and weight
- Body text font family and weight
- Font sizes and scale (heading hierarchy, body, small/caption text)
- Line heights and letter spacing patterns
Visual patterns:
- Border radius conventions (sharp, slightly rounded, fully rounded)
- Spacing scale (tight, comfortable, loose)
- Shadow usage (flat, subtle elevation, pronounced depth)
- Icon style (outlined, filled, duotone)
Step 2: Document What You Find
Before making changes, output a short summary of the brand identity you extracted:
Brand colors: [list the hex values and their roles]
Typography: [font families, weights, sizes]
Visual style: [border radius, shadows, spacing feel]
Step 3: Apply Consistently
When creating or modifying any file (components, pages, emails, presentations, documents), use the extracted brand values. Specifically:
- Use the exact hex/rgb values from the existing app
- Match the heading and body font families
- Follow the same spacing and sizing patterns
- Keep accent color usage consistent with how the app already uses them
- Preserve the existing visual hierarchy (what is bold, what is muted, what draws attention)
Guidelines
- Always look at the actual source code or rendered output of the app's homepage before applying styles
- If the app uses CSS variables or a design token system, reference those tokens instead of hardcoding values
- If the app uses a component library (shadcn, Tailwind, etc.), follow its conventions
- When in doubt, match what already exists rather than introducing new patterns
- If no clear brand exists yet, flag this and ask the user before inventing one
When to Use This Skill
Use this skill when:
- Creating new pages or components that need to match the existing look
- Building email templates that should feel on-brand
- Generating presentations or documents with company styling
- Auditing visual consistency across different parts of the app
- Applying brand colors and typography to any file
Related
Accessibility Check
Make your app usable by everyone, including keyboard navigation, screen readers, and color contrast.
Content & Documentation
Write clear documentation and content together with an AI co-author.
Design Review
Audit your app's design for visual consistency, polish, spacing, typography, and usability patterns.