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.
presentation_board: clean handles for names with punctuation (v1.4.4) (#4)
Kaan5a02a1ab650e
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex d64b890..af6115e 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,400+ logo reference library.",- "version": "1.4.3"+ "version": "1.4.4"},"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,400+ classified SVG logos.",- "version": "1.4.3",+ "version": "1.4.4","category": "design","keywords": ["logo", "branding", "identity", "svg", "design", "wordmark", "icon"]}diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex cd52b95..e4690d1 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,400+ classified SVG logos.",- "version": "1.4.3",+ "version": "1.4.4","author": {"name": "kaankiziltug","url": "https://github.com/kaankiziltug"diff --git a/skills/logo-design/scripts/presentation_board.py b/skills/logo-design/scripts/presentation_board.pyindex d4aac3b..5a40195 100644--- a/skills/logo-design/scripts/presentation_board.py+++ b/skills/logo-design/scripts/presentation_board.py@@ -37,7 +37,9 @@ import datetimeimport htmlimport jsonimport os+import reimport sys+import unicodedatasys.dont_write_bytecode = True # keep the skill folder clean (no __pycache__)sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))@@ -178,7 +180,8 @@ def mock_html(kind, c):lkd, wlk = (c["lock_dark"], "") if c.get("lock_dark") else (lock, "w")skd, wsk = ((c.get("stack_dark") or c["lock_dark"]), "") if (c.get("stack_dark") or c.get("lock_dark")) else (stack, "w")tile = c["tile"]- handle = html.escape(name.lower().replace(" ", ""))+ # e-mail / social handle / domain: plain ASCII letters and digits ("Marlow & Finch" -> "marlowfinch")+ handle = re.sub(r"[^a-z0-9]", "", unicodedata.normalize("NFKD", name).encode("ascii", "ignore").decode().lower())n = html.escape(name)if kind == "business-card":return (f'<div class="m" style="background:#d9d4cb"><div class="bc"><img class="{cls}" src="{lock}" style="max-height:34px;max-width:170px">'diff --git a/tools/smoke_test.py b/tools/smoke_test.pyindex 50f1506..09fddb9 100644--- a/tools/smoke_test.py+++ b/tools/smoke_test.py@@ -103,7 +103,7 @@ def main():run("preview_sheet", [S("preview_sheet.py"), sym, lock, "--refs-industry", "finance-banking","-o", os.path.join(tmp, "preview.html")], [os.path.join(tmp, "preview.html")])run("presentation_board --list-mockups", [S("presentation_board.py"), "--list-mockups"], ["payment-card"])- spec = {"brand": "Smoke", "tagline": "Test", "brief": "A test brief.", "adjectives": ["calm"],+ spec = {"brand": "Smoke & Café", "tagline": "Test", "brief": "A test brief.", "adjectives": ["calm"],"industry": "finance", "brand_color": "#0F7C80", "final": True, "greyscale": False,"concepts": [{"name": "Test", "symbol": sym, "lockup": lock, "idea": "An idea.","rationale": ["One", "Two"]}]}@@ -112,6 +112,11 @@ def main():json.dump(spec, fh)run("presentation_board", [S("presentation_board.py"), spec_path, "-o", os.path.join(tmp, "board.html")],[os.path.join(tmp, "board.html")])+ board = open(os.path.join(tmp, "board.html"), encoding="utf-8").read()+ ok = "@smokecafe" in board and "[email protected]" in board+ print(f"[{'ok ' if ok else 'FAIL'}] presentation_board handles strip punctuation and accents")+ if not ok:+ failures.append("presentation_board handles")run("export_variants (SVG)", [S("export_variants.py"), sym, "--out-dir", os.path.join(tmp, "export"),"--mono", "#0F7C80", "--icon-bg", "#0F7C80"])which = run("render_png --which", [S("render_png.py"), "--which"])