Best for
- "Review this Instagram ad image against our brand guidelines"
- "Check if this hero image follows brand standards"
- "Score this AI-generated ad for brand compliance"
treasure-data/td-skills/creative-skills/image-brand-compliance/SKILL.md
Review image files (PNG/JPEG) against brand guidelines — score visual compliance across 8 dimensions, identify violations with exact fixes, and apply corrections via Pillow or AI regeneration. Use when reviewing ad creatives, social media images, or AI-generated visuals for brand alignment. Triggers on "check this image against brand", "review this ad image", "score this creative", "is this image on-brand", "fix brand violations on this image". For HTML/email/SMS content review, use the brand-co
Decision brief
Review image files (PNG/JPEG) against brand guidelines. Score across 8 visual compliance dimensions, identify violations with exact locations, and apply fixes when the user accepts them.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/treasure-data/td-skills --skill "creative-skills/image-brand-compliance"Inspect the Agent Skill "image-brand-compliance" from https://github.com/treasure-data/td-skills/blob/ff381378c99b4baa952610f6ccd5e31c41041e4d/creative-skills/image-brand-compliance/SKILL.md at commit ff381378c99b4baa952610f6ccd5e31c41041e4d. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Read the provided brand guidelines and extract image-relevant rules: - Color palette: Primary, secondary, CTA, background hex codes and usage context rules - Logo: Variants (dark/light), placement zones, minimum size, clear space, allowed backgrounds - Typography: Font families,…
Read the provided brand guidelines and extract image-relevant rules: - Color palette: Primary, secondary, CTA, background hex codes and usage context rules - Logo: Variants (dark/light), placement zones, minimum size, clear space, allowed backgrounds - Typography: Font families,…
Read the image file visually. Assess each compliance dimension against the extracted guidelines:
Score across 8 dimensions (0–5 each, 40 points max). Only score dimensions where guidelines are configured.
Generate an HTML compliance dashboard and save it as brand-compliance-report-{asset-name}.html in the working directory.
Permission review
The documentation asks the agent to read local files, directories, or repositories.
Read the image file visually. Assess each compliance dimension against the extracted guidelines:The documentation asks the agent to run terminal commands or scripts.
python3 -c "import PIL" 2>/dev/null || echo "MISSING"The documentation asks the agent to create, modify, or delete local files.
For Python/Pillow edits: write a self-contained script to a temp file, run it with Bash, save the corrected image alongside the original (e.g., `{name}-fixed.png`).Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 91/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 21 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Review image files (PNG/JPEG) against brand guidelines. Score across 8 visual compliance dimensions, identify violations with exact locations, and apply fixes when the user accepts them.
For HTML emails, SMS copy, or text-based content, use the brand-compliance skill instead. This skill focuses on pixel-level visual analysis of image files.
Use this skill when:
Use brand-compliance instead when:
Image — file path to a PNG or JPEG (e.g., /tmp/instagram-ad.png)
Brand Guidelines — one of:
./brand-guidelines.md)brand-guidelines.md in the current working directoryIf either input is missing, ask for it before proceeding. If no brand guidelines are available, prompt the user to create one using brand-compliance/references/brand-guidelines.md as a template.
Read the provided brand guidelines and extract image-relevant rules:
Note which sections are unconfigured — only score against configured sections.
Read the image file visually. Assess each compliance dimension against the extracted guidelines:
Identify specific violations with exact location (e.g., "CTA button area uses #FF3333 instead of brand CTA #CC262C").
Score across 8 dimensions (0–5 each, 40 points max). Only score dimensions where guidelines are configured.
| # | Dimension | What is checked |
|---|---|---|
| 1 | Color Palette Accuracy | Dominant colors match brand hex codes, no off-palette colors in prominent areas, correct color context usage (e.g., CTA color reserved for CTAs only) |
| 2 | Logo & Visual Identity | Logo present where required, correct variant (dark/light for background), proper placement zone, adequate clear space, meets minimum size, not distorted |
| 3 | Typography & Text Overlays | Correct font family on headline/body overlays, proper weight and size, readable over background, brand-consistent styling |
| 4 | Imagery Style & Mood | Photography mood matches brand personality (candid vs staged), subject framing, lighting quality, avoids prohibited aesthetics (heavy filters, stock-photo feel) |
| 5 | Messaging & Copy | Text overlays use approved terminology, avoid prohibited terms, match brand voice, tagline/signature present if required |
| 6 | Legal & Disclosures | Required marks visible — FTC #ad for sponsored content, copyright notice, trademark symbols, disclaimers appropriately sized and placed |
| 7 | Accessibility | Text overlay contrast >= 4.5:1 against background, minimum font size met, recommend alt text for the image |
| 8 | Channel Specifications | Image dimensions match target channel (1080x1080 Instagram feed, 1080x1920 story, etc.), file size within limits, correct aspect ratio |
Compliance tiers:
For detailed scoring criteria per dimension, see references/image-scoring-rubric.md.
Generate an HTML compliance dashboard and save it as brand-compliance-report-{asset-name}.html in the working directory.
Image embedding: When including the reviewed image or any reference images in the HTML dashboard, always embed them as base64 data URIs (data:image/png;base64,...) directly in the src attribute. Never use local file paths — the viewer cannot resolve them. Use Python to encode:
import base64
with open("image.png", "rb") as f:
src = "data:image/png;base64," + base64.b64encode(f.read()).decode()
Dashboard structure:
<details>, grouped by dimension, each with: what was found, where in the image, exact fix recommendation<details>, prioritized Critical > High > Medium > Low, each with projected score impactOpen with mcp__work__open_file if available. If the MCP tool is unavailable, print the file path for the user to open manually.
Also summarize violations in plain text in the chat so the user can act without switching to the dashboard.
When the user says "apply fixes", "yes", "make the changes", or accepts specific fixes:
Prerequisites check: Before running any Pillow scripts, verify the dependency:
python3 -c "import PIL" 2>/dev/null || echo "MISSING"
If missing, instruct the user to run pip install Pillow before proceeding.
Fix methods by violation type:
| Violation type | Fix method |
|---|---|
| Text overlay color or position | Python (Pillow) — composite corrected text over image |
| Logo missing or misplaced | Python (Pillow) — composite logo at correct position with clear space |
| Color overlay or tint correction | Python (Pillow) — apply color adjustment |
| Wrong dimensions or aspect ratio | Python (Pillow) — resize/crop to target specs |
| Wrong subject, mood, or composition | Regenerate with mcp__work__generate_image using a corrected prompt built from brand guidelines. If the MCP tool is unavailable, provide the corrected prompt for the user to run with the image-gen skill. |
For Python/Pillow edits: write a self-contained script to a temp file, run it with Bash, save the corrected image alongside the original (e.g., {name}-fixed.png).
After all fixes are applied, re-run the full scoring analysis on the updated image and produce a new compliance dashboard showing:
Brand Compliance Score: [X]/40 — [Tier]
Violations ([N] found):
1. [Dimension] — [what] at [location]
Fix: [exact change]
2. ...
Type 'apply fixes' to implement all changes.
Updated Score: [X]/40 — [Tier] (was [Y]/40)
Changes applied:
- [Fix 1]
- [Fix 2]
Remaining: [N violations] — [list or "None — fully compliant"]
brand-compliance/references/brand-guidelines.md as a template to follow.#B35D33" enables precise matchingFor a complete worked example showing an image review, scoring, violation identification, fix application, and re-scoring, see examples/image-review-example.md.
Frequently asked questions
Review image files (PNG/JPEG) against brand guidelines. Score across 8 visual compliance dimensions, identify violations with exact locations, and apply fixes when the user accepts them.
The source record exposes this install command: npx skills add https://github.com/treasure-data/td-skills --skill "creative-skills/image-brand-compliance". Inspect the command and pinned source before running it.
Static rules flagged read-files, exec-script, write-files in the source; the page lists the matching lines and excerpts.
Alternatives
KerberosClaw/kc_ai_skills
Use when the user wants to turn a Markdown report into a presentation-quality .pptx via interactive design decisions and a reusable hand-coded build script. Drives pre-analysis, global style choices, optional per-slide layout dialogue, python-pptx composition, and optional LibreOffice render self-check. NOT a generic auto-converter, NOT for PDF output, and NOT a fixed brand-template pipeline — brand integration is handled ad hoc through helper primitives.
maquina-app/rails-claude-code
Create comprehensive MVP documentation for Rails applications. Use this skill whenever a user describes a new app idea, wants to explore a SaaS concept, needs competitor research, or is starting a new project from scratch — even if they don't explicitly say "MVP". Triggers on "I have an idea for...", "I want to build...", "help me plan...", "research competitors for...", "create a business plan for...", "design a brand for my app", "set up Claude for my Rails project", "bootstrap an app", or any
higgsfield-ai/skills
Generate images/videos/3D assets/audio via Higgsfield AI. Defaults: GPT Image 2 for image/design/text, Seedance 2.0 for video, Nano Banana 2/Lite/Pro for character/reference images, Marketing Studio for ads, Seed Audio 1.0 for audio. Use when: "generate an image", "make a video", "animate this photo", "image-to-video", "edit/stylize/remix this image", "reframe this video", "edit this video from a sketch", "create a 3D model/GLB", "create a sound effect", "make music", "text-to-audio", "create an
flaqai/Awesome_SEO_Writing_Skill
LinkedIn-native long-form article and newsletter writing workflow for LinkedIn and Google-to-LinkedIn topic discovery, business-depth research, professional thought leadership, evidence-led drafting, final humanization, discussion design, SEO settings, auditing, and publish-ready packaging. Use when creating, outlining, researching, enriching, rewriting, humanizing, auditing, or packaging LinkedIn Articles, LinkedIn newsletters, LinkedIn long-form posts, LinkedIn thought leadership, LinkedIn B2B