A comprehensive logo-design skill for Claude, Gemini CLI, Codex and other AI agents: principles, process, SVG craft, testing tools and a 1,400+ logo reference library.
Board: finance & SaaS presets, payment card, larger app icon (v1.4.0)
Kaan01d5073db0a3
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 899cf68..87a0575 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -6,14 +6,14 @@},"metadata": {"description": "A comprehensive logo-design skill for Claude: principles, process, SVG craft, testing tools and a 1,432-logo reference library.",- "version": "1.3.0"+ "version": "1.4.0"},"plugins": [{"name": "logo-design","source": "./","description": "Design, critique and deliver professional logos: brief, concepts, geometric SVG construction, optical refinement, colour, typography, testing, presentation and brand guidelines — with a searchable library of 1,432 classified SVG logos.",- "version": "1.3.0",+ "version": "1.4.0","category": "design","keywords": ["logo", "branding", "identity", "svg", "design", "wordmark", "icon"]}diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex 09f67c0..1121e49 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "logo-design","description": "Design, critique and deliver professional logos: brief, concepts, geometric SVG construction, optical refinement, colour, typography, testing, presentation and brand guidelines — with a searchable library of 1,432 classified SVG logos.",- "version": "1.3.0",+ "version": "1.4.0","author": {"name": "kaankiziltug","url": "https://github.com/kaankiziltug"diff --git a/skills/logo-design/SKILL.md b/skills/logo-design/SKILL.mdindex c008251..e8c0349 100644--- a/skills/logo-design/SKILL.md+++ b/skills/logo-design/SKILL.md@@ -45,7 +45,7 @@ All scripts are dependency-free Python 3 and live in this skill's `scripts/` fol| `search_library.py` | Find reference logos by `--type`, `--technique`, `--geometry`, `--subject`, `--industry`, `--color`, `--mood`…; `--summary` shows a category's conventions; `--format paths` gives files to read || `svg_audit.py` | Check an SVG: live text, rasters, filters, colour count, gradients, strokes, near-miss angles, tiny details, centring, complexity vs. the library || `preview_sheet.py` | HTML test sheet: size ladder, 16/32 px pixel test, backgrounds, one-colour, squint blur, mirror/rotate, favicon/app-icon/header/card contexts, side-by-side, shelf test vs. competitors |-| `presentation_board.py` | Client presentation (brief, each concept with rationale + 6 **industry-specific** mockups — cup, packaging, README, terminal, signage…; comparison, recommendation) from a JSON spec (`templates/presentation-spec.example.json`); `--png-dir` exports every slide as PNG; `--list-mockups` |+| `presentation_board.py` | Client presentation (brief, each concept with rationale + 6 **industry-specific** mockups — cup, packaging, payment card, README, terminal, signage…; comparison, recommendation) from a JSON spec (`templates/presentation-spec.example.json`); `--png-dir` exports every slide as PNG; `--list-mockups` || `render_png.py` | Render SVG → transparent PNG at exact sizes (for looking at your work and for deliverables); screenshots HTML sheets/boards (Chrome); builds `favicon.ico`; `--which` lists renderers || `export_variants.py` | Black, white, brand-mono, square, favicon and app-icon SVGs; `--png` sizes; `--web-icons` = favicon.ico + PNG icon set + webmanifest + `<head>` snippet; `--favicon-source` for a simplified small-size drawing || `build_catalog.py` | Maintainers only: rebuild the library catalog |diff --git a/skills/logo-design/references/presentation-delivery.md b/skills/logo-design/references/presentation-delivery.mdindex e48ef41..801a66d 100644--- a/skills/logo-design/references/presentation-delivery.md+++ b/skills/logo-design/references/presentation-delivery.md@@ -38,7 +38,7 @@ Form must stand on its own.## 2. Structure of a concept presentationFor the checkpoint, the concept overview image plus a short chat message is enough (see SKILL.md). For a fuller-client presentation (round 2, or when the user asks for one), use `scripts/presentation_board.py` to generate an HTML board — set `"industry"` (coffee, food, retail, fashion, software, consumer-app, services, event, education, health) or an explicit `"mockups"` list so every context fits the business (`--list-mockups` shows all) — or follow this outline in chat/slides:+client presentation (round 2, or when the user asks for one), use `scripts/presentation_board.py` to generate an HTML board — set `"industry"` (coffee, food, retail, fashion, software, saas, finance, consumer-app, services, event, education, health) or an explicit `"mockups"` list so every context fits the business (`--list-mockups` shows all) — or follow this outline in chat/slides:1. **Title** — client, project, date, designer(s).2. **What we heard** — the brief in a few lines: audience, adjectives, the problem, success criteria. This remindsdiff --git a/skills/logo-design/scripts/presentation_board.py b/skills/logo-design/scripts/presentation_board.pyindex 38ee4bf..d4aac3b 100644--- a/skills/logo-design/scripts/presentation_board.py+++ b/skills/logo-design/scripts/presentation_board.py@@ -54,13 +54,17 @@ PRESETS = {"event": ["badge", "tshirt", "website", "social", "sticker", "signage"],"education": ["website", "badge", "tshirt", "social", "business-card", "app-icon"],"health": ["website", "app-icon", "signage", "business-card", "social", "box"],+ "finance": ["payment-card", "app-icon", "website", "social", "business-card", "favicon-tab"],+ "saas": ["website", "favicon-tab", "app-icon", "social", "sticker", "business-card"],}ALIASES = {- "developer": "software", "developer-tools": "software", "devtool": "software", "saas": "software", "tech": "software",+ "fintech": "finance", "bank": "finance", "banking": "finance", "payments": "finance", "insurance": "finance",+ "accounting": "finance", "b2b-saas": "saas", "startup": "saas",+ "developer": "software", "developer-tools": "software", "devtool": "software", "tech": "software","open-source": "software", "ai": "software", "app": "consumer-app", "mobile": "consumer-app", "cafe": "coffee","café": "coffee", "roaster": "coffee", "restaurant": "food", "bakery": "food", "beverage": "food", "drink": "food","ecommerce": "retail", "shop": "retail", "store": "retail", "agency": "services", "consulting": "services",- "finance": "services", "legal": "services", "conference": "event", "festival": "event", "school": "education",+ "legal": "services", "conference": "event", "festival": "event", "school": "education","university": "education", "clinic": "health", "wellness": "health",}DEFAULT_NAV = {"software": ["Docs", "Pricing", "GitHub"], "coffee": ["Shop", "Cafés", "Story"],@@ -86,9 +90,11 @@ ul.rat{padding-left:18px;margin:0}ul.rat li{margin:6px 0}.bc{width:250px;height:143px;background:#fff;border-radius:5px;box-shadow:0 10px 26px rgba(0,0,0,.22);padding:16px;display:flex;flex-direction:column;justify-content:space-between;transform:translate(-50px,-38px) rotate(-4deg)}.bc2{position:absolute;width:250px;height:143px;border-radius:5px;transform:translate(70px,52px) rotate(6deg);box-shadow:0 10px 26px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center}.bc .t{font-size:9px;line-height:1.5;color:#333}-.phone{width:172px;height:250px;border-radius:26px;background:#10151c;padding:10px;box-shadow:0 10px 30px rgba(0,0,0,.3)}-.screen{width:100%;height:100%;border-radius:18px;background:linear-gradient(170deg,#e9edf1,#cfd7df);display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:18px 12px;align-content:start}-.ai{width:34px;height:34px;border-radius:9px;background:rgba(0,0,0,.08);justify-self:center}+.phone{width:150px;height:224px;margin-bottom:14px;border-radius:24px;background:#10151c;padding:9px;box-shadow:0 10px 30px rgba(0,0,0,.3)}+.screen{width:100%;height:100%;border-radius:16px;background:linear-gradient(170deg,#e9edf1,#cfd7df);display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:16px 10px;align-content:start}+.ai{width:32px;height:32px;border-radius:8px;background:rgba(0,0,0,.08);justify-self:center}+.bigapp{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:12px;font-weight:600;color:#333;margin-left:30px}+.bigapp .bi{width:108px;height:108px;border-radius:25px;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 26px rgba(0,0,0,.2)}.web{width:340px;height:210px;background:#fff;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.15);overflow:hidden}.web .bar{height:22px;background:#eceff2;display:flex;gap:5px;align-items:center;padding:0 8px}.web .bar i{width:7px;height:7px;border-radius:50%;background:#c9ced4}.web .nav{height:44px;display:flex;align-items:center;padding:0 16px;gap:14px;font-size:9px;color:#666;border-bottom:1px solid #eee}@@ -126,6 +132,11 @@ ul.rat{padding-left:18px;margin:0}ul.rat li{margin:6px 0}.badge{width:170px;height:235px;background:#fff;border-radius:10px;box-shadow:0 10px 24px rgba(0,0,0,.2);display:flex;flex-direction:column;align-items:center;padding:20px 14px;gap:14px;position:relative;margin-top:30px}.badge:before{content:"";position:absolute;top:-60px;left:50%;width:22px;height:62px;transform:translateX(-50%)}.badge .hole{width:40px;height:8px;border-radius:4px;background:#ddd}.badge .nm{font-size:15px;font-weight:600}.badge .rl{font-size:10px;color:#777}+.pcard{position:relative;width:300px;height:189px;border-radius:14px;box-shadow:0 14px 30px rgba(0,0,0,.28);font:600 12px ui-monospace,Menlo,monospace}+.pcard .chip{position:absolute;left:22px;top:76px;width:40px;height:30px;border-radius:6px;background:linear-gradient(135deg,#e9d8a6,#c9a95c)}+.pcard .num{position:absolute;left:22px;top:122px;letter-spacing:.12em;font-size:14px}+.pcard .holder{position:absolute;left:22px;bottom:18px;font-size:10px;letter-spacing:.14em;opacity:.85}+.pcard .brandline{position:absolute;right:20px;bottom:16px;font:700 13px system-ui,sans-serif;opacity:.9}.tabbar{width:340px;background:#dfe1e5;border-radius:10px;padding:8px 8px 0}.tab{width:230px;height:36px;background:#fff;border-radius:10px 10px 0 0;display:flex;align-items:center;gap:8px;padding:0 12px;font-size:11px;color:#333}.addr{height:40px;background:#fff;display:flex;align-items:center;padding:0 12px;font-size:10px;color:#777;border-top:1px solid #eee}@@ -141,6 +152,20 @@ def uri(path, base):return svglib.svg_data_uri(p)+def text_on(bg):+ """White text while it keeps 3:1 on the background, near-black below that (white if the colour can't be parsed)."""+ h = (bg or "").strip().lstrip("#")+ if len(h) == 3:+ h = "".join(ch * 2 for ch in h)+ try:+ rgb = [int(h[i:i + 2], 16) / 255 for i in (0, 2, 4)]+ except ValueError:+ return "#fff"+ lin = [v / 12.92 if v <= 0.04045 else ((v + 0.055) / 1.055) ** 2.4 for v in rgb]+ lum = 0.2126 * lin[0] + 0.7152 * lin[1] + 0.0722 * lin[2]+ return "#fff" if 1.05 / (lum + 0.05) >= 3 else "#161616"++def mock_html(kind, c):"""c: dict with sym, lock, avatar, color, cls, name, tag, nav."""sym, lock, av, cls, name, tag = c["sym"], c["lock"], c["avatar"], c["cls"], c["name"], c["tag"]@@ -162,9 +187,12 @@ def mock_html(kind, c):if kind == "app-icon":cells = "".join('<div class="ai"></div>' for _ in range(4))icon = (f'<div class="ai" style="background:{tile};display:flex;align-items:center;justify-content:center">'- f'<img class="{wat}" src="{avt}" style="max-height:20px;max-width:22px"></div>')+ f'<img class="{wat}" src="{avt}" style="max-height:19px;max-width:21px"></div>')+ # the home screen shows the icon among others; the large tile beside it shows it at store size+ big = (f'<div class="bigapp"><div class="bi" style="background:{tile}"><img class="{wat}" src="{avt}" '+ f'style="max-height:62px;max-width:70px"></div>{n}</div>')return (f'<div class="m" style="background:#eef0f2"><div class="phone"><div class="screen">{cells}{icon}'- + "".join('<div class="ai"></div>' for _ in range(7)) + '</div></div><span class="lbl">App icon</span></div>')+ + "".join('<div class="ai"></div>' for _ in range(7)) + f'</div></div>{big}<span class="lbl">App icon</span></div>')if kind == "website":nav = "".join(f"<span>{html.escape(x)}</span>" for x in c["nav"])return (f'<div class="m" style="background:#e4e8ec"><div class="web"><div class="bar"><i></i><i></i><i></i></div>'@@ -213,13 +241,19 @@ def mock_html(kind, c):if kind == "badge":return (f'<div class="m" style="background:#d9dde2"><div class="badge"><div class="hole"></div><img class="{cls}" src="{stack}" style="max-height:{70 if stack != lock else 34}px;max-width:130px">''<div class="nm">Alex Morgan</div><div class="rl">Speaker</div></div><span class="lbl">Event badge</span></div>')+ if kind == "payment-card":+ return (f'<div class="m" style="background:#dfe3e8"><div class="pcard" style="background:{tile};color:{text_on(tile)}">'+ f'<img class="{wat}" src="{avt}" style="position:absolute;left:22px;top:20px;max-height:34px;max-width:70px">'+ f'<div class="chip"></div><div class="num">•••• •••• •••• 4821</div>'+ f'<div class="holder">ALEX MORGAN</div><div class="brandline">{n}</div></div>'+ '<span class="lbl">Payment card</span></div>')if kind == "favicon-tab":return (f'<div class="m" style="background:#eceff1"><div class="tabbar"><div class="tab"><img class="{cls}" src="{av}" style="width:16px;height:16px;object-fit:contain">'f'{n} — Home<span style="margin-left:auto">✕</span></div><div class="addr">https://{handle}.com</div></div><span class="lbl">Browser tab</span></div>')raise KeyError(kind)-ALL_MOCKUPS = ["business-card", "app-icon", "website", "signage", "tote", "social", "cup", "bag", "shopping-bag", "box",+ALL_MOCKUPS = ["payment-card", "business-card", "app-icon", "website", "signage", "tote", "social", "cup", "bag", "shopping-bag", "box","readme", "terminal", "sticker", "tshirt", "badge", "favicon-tab"]@@ -228,7 +262,7 @@ def pick_mockups(spec):chosen = [m for m in spec["mockups"] if m in ALL_MOCKUPS]else:ind = str(spec.get("industry", "")).lower()- key = ALIASES.get(ind, ind)+ key = ind if ind in PRESETS else ALIASES.get(ind, ind) # a real preset name always wins over an aliaschosen = PRESETS.get(key, PRESETS["services"])return chosen[:6] if len(chosen) >= 6 else (chosen + [m for m in PRESETS["services"] if m not in chosen])[:6]@@ -304,6 +338,9 @@ def main():dark = {}if not grey:pick = lambda *keys: next((c[k] for k in keys if c.get(k)), None)+ if c.get("symbol_on_dark") and not c.get("symbol_on_tile"):+ print(f"note: concept {chr(65 + i)} has no symbol_on_tile; symbol_on_dark is used on the {tile} tiles "+ "(app icon, cards) — check its contrast there, or pass a dedicated tile file")for k, src in (("avatar_tile", pick("symbol_on_tile", "symbol_on_dark")),("stack_tile", pick("stacked_on_tile", "lockup_on_tile")),("avatar_dark", pick("symbol_on_dark")), ("lock_dark", pick("lockup_on_dark")),diff --git a/skills/logo-design/scripts/search_library.py b/skills/logo-design/scripts/search_library.pyindex 0fec6e4..19a6fd9 100644--- a/skills/logo-design/scripts/search_library.py+++ b/skills/logo-design/scripts/search_library.py@@ -140,6 +140,40 @@ def main():print("mood (top 40):", ", ".join(k for k, _ in moods.most_common(40)))return+ # forgive near-miss filter values: "security" -> "security-identity", "fintech" -> "payments-fintech"+ for attr, field in (("industry", "industry"), ("type", "mark_type"), ("symbol_type", "symbol_type"),+ ("type_style", "type_style"), ("aspect", "aspect_class"), ("primary_color", "primary_family")):+ val = getattr(a, attr)+ if not val:+ continue+ known = sorted({str(r.get(field)) for r in cat if r.get(field)})+ if val in known:+ continue+ close = [k for k in known if val.lower() in k.lower() or k.lower() in val.lower()]+ if len(close) == 1:+ print(f"(--{attr.replace('_', '-')} '{val}' → using '{close[0]}')")+ setattr(a, attr, close[0])+ else:+ hint = ", ".join(close) if close else ", ".join(known)+ sys.exit(f"unknown --{attr.replace('_', '-')} '{val}'. Did you mean: {hint}")+ for attr, field in (("technique", "techniques"), ("geometry", "geometry")):+ val = getattr(a, attr)+ if not val:+ continue+ known = sorted({v for r in cat for v in r.get(field, [])})+ fixed = []+ for part in val.split(","):+ if part in known:+ fixed.append(part)+ continue+ close = [k for k in known if part.lower() in k.lower()]+ if len(close) == 1:+ print(f"(--{attr} '{part}' → using '{close[0]}')")+ fixed.append(close[0])+ else:+ sys.exit(f"unknown --{attr} '{part}'. Did you mean: {', '.join(close) if close else ', '.join(known)}")+ setattr(a, attr, ",".join(fixed))+rows = [r for r in cat if matches(r, a)]rows.sort(key=lambda r: (not r.get("exemplary"), r.get("anchors", 0)))if a.summary: