Skip to content
Back to skills

Add Brand

ASecurity

[ADD v0.11.0] View project branding — accent color, palette, drift detection, image gen status

  • 11 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 6, 2026
ai-agentsgodocumentation

Works with

  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 6, 2026

npx -y skills add MountainUnicorn/add --skill add-brand --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Brand?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Brand
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mountainunicorn-add-brand/badge)](https://www.skillsdirectory.com/skills/mountainunicorn-add-brand)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-brand
description: "[ADD v0.11.0] View project branding — accent color, palette, drift detection, image gen status"
---

# ADD Brand Command v0.11.0

Display the current branding configuration for this ADD-managed project. Shows accent color, palette, fonts, tone, where branding is applied, detects brand drift in generated artifacts, and reports image generation capability status.

## Pre-Flight

1. Check if `.add/config.json` exists. If not, tell the user to run `/add-init` first.
2. Read `.add/config.json` and extract the `branding` section.
3. If no `branding` section exists, inform the user: "No branding configured. Run `/add-brand-update` to set up branding, or re-run `/add-init --reconfigure` to add it during setup."

## Phase 1: Display Current Branding

Read branding from `.add/config.json` and display:

```
PROJECT BRANDING

  Accent Color:   {accentColor} ({presetName or "custom"})
  Palette:
    Gradient:     {gradientStart} → {gradientMid} → {gradientEnd}
    Light/Dark:   {accentLight} / {accentDark}
    Muted:        {accentMuted}
    Success:      {palette.success}

  Fonts:          {fonts.heading}, {fonts.body}, {fonts.code} — or "Not configured (using system defaults)"
  Tone:           {tone} — or "Not configured"
  Logo:           {logoPath} — or "Not configured"
  Style Guide:    {styleGuideSource} — or "Not configured"

  Preset:         {presetName or "Custom color"}
```

## Phase 2: Artifact Scan & Drift Detection

Scan known artifact locations for brand consistency:

### Step 2.1: Find Generated Artifacts

Check for the existence of:
- `docs/infographic.svg`
- `reports/*.html` (glob for any HTML reports)
- `README.md` (check for embedded infographic reference)

### Step 2.2: Check for Color Drift

For each found artifact:

**SVG Infographic (`docs/infographic.svg`):**
- Read the file
- Search for hex color values in `linearGradient` elements and `fill`/`stroke` attributes
- Compare against configured `branding.palette` colors
- Flag any accent/gradient colors that don't match the configured palette

**HTML Reports (`reports/*.html`):**
- Read each file
- Search for CSS `--accent:` variable value
- Compare against configured `branding.accentColor`
- Flag mismatches

### Step 2.3: Report Drift

If drift detected:
```
BRAND DRIFT DETECTED

  docs/infographic.svg
    ⚠ Uses #6366f1 in accentGrad — configured accent is #b00149
    ⚠ Uses #8b5cf6 in gradientMid — configured gradientMid is #d4326d

  reports/spike-2026-02-14.html
    ⚠ CSS --accent: #6366f1 — configured accent is #b00149

  Run /add-brand-update to fix these artifacts.
```

If no drift:
```
BRAND CONSISTENCY: ✓ All artifacts match configured branding.
```

If no artifacts found:
```
GENERATED ARTIFACTS: None found yet.
  Run /add-infographic to generate a project infographic.
```

## Phase 3: Image Generation Status

Read `imageGeneration` section from `.add/config.json` (if it exists).

**If image gen is configured and enabled:**
```
IMAGE GENERATION: ✓ Configured
  Tool:    {imageGeneration.plugin} ({imageGeneration.tool})
  Status:  Active
```

**If image gen is not configured:**
```
IMAGE GENERATION: Not configured
  Adding a Google Vertex AI image gen MCP server enhances your
  project documentation with AI-generated visuals for infographics and reports.

  To set up:
    1. Configure a Vertex AI MCP server in your .mcp.json
    2. Run any visual skill (/add-infographic) — detection is automatic
```

**If imageGeneration section doesn't exist in config:**
Skip this section silently (feature not yet enabled for this project).

## Phase 4: Summary

```
BRANDING SUMMARY

  Color:      {accentColor} ({presetName})
  Artifacts:  {N} found, {M} with drift
  Image Gen:  {Configured | Not configured}

  Commands:
    /add-brand-update    Update branding and audit artifacts
    /add-infographic     Generate project infographic
```

Files in this skill

  • SKILL.md3.8 KB
  • agents/openai.yaml220 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…