/claude-toolkit:svg-logo-systemfrom claude-toolkit
Designs a complete SVG logo system from a brand brief: generates 25 logo concepts, dark/light wordmarks, icon marks, HTML preview galleries, mockup pages, and multi-platform export assets. Uses golden ratio proportions. For Laravel projects, deploys to Blade components.
Ships in claude-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A four-phase methodology for designing production-ready SVG logo systems — from brand discovery
through multi-platform export. Follows the same workflow as the /design-logo Claude Code slash
command and produces compatible output files.
| Trigger | Start at |
|---|---|
| "design a logo", "I need a logo for X" | Phase 1 (full flow) |
| "refine my logo", "I have concepts already" | Phase 2 |
| "generate icon alternatives" | Phase 3 |
| "export my logo", "I need favicons" | Phase 4 |
Before any design work, extract the project's existing color scheme and conventions. Never hardcode default colors — always derive from the project.
Scan the following sources in order of priority:
resources/views/welcome.blade.php) — extract actual CSS
classes and color values in use (Tailwind classes like bg-emerald-600, text-cyan-500)tailwind.config.js) — custom color definitionsresources/views/components/*logo* to understand
current structureFrom the extracted context, establish:
| Variable | Source | Fallback |
|---|---|---|
--brand-primary | Most prominent accent color in UI | #059669 (emerald-600) |
--brand-secondary | Secondary/complementary color | #06B6D4 (cyan-500) |
--brand-accent | Highlight/CTA color | #10B981 (emerald-500) |
--dark-bg | Dark mode background | #18181B (zinc-900) |
--light-text | Text on dark | #E2E8F0 (slate-200) |
--muted-text | Subdued text | #A1A1AA (zinc-400) |
Lesson learned: Never assume
#0B1120navy or#6366F1indigo as defaults. Always check the project first. If the project uses Tailwind's emerald/cyan, the logo must match.
Check if the project is Laravel (artisan file exists), and note:
resources/views/components/)public/)resources/views/partials/head.blade.php or layouts)public/favicon.*, public/apple-touch-icon.png)Ask the user for the following. Keep it conversational — one message, not a form:
If the user already provided context (e.g. CLAUDE.md exists with product description), extract what you can and only ask for what's missing. If the project has a CLAUDE.md, reference it for brand context — don't ask the user to repeat what's already documented.
Generate exactly 25 diverse SVG logo concepts and save them as individual .svg files.
Naming: logo-01-conceptname.svg through logo-25-conceptname.svg
Ensure diversity across:
| Dimension | Variants to include |
|---|---|
| Type | Icon-only mark, wordmark, combination mark, lettermark, monogram |
| Shape language | Circle, shield, hexagon, square, organic, abstract |
| Style | Geometric, typographic, symbolic, illustrative, minimal |
| Layout | Stacked, horizontal, icon-left, icon-right |
| Visual metaphor | At least 5 different metaphors relevant to the brand |
Design constraints (enforce on every concept):
--dark-bg color (from Phase 0)0 0 400 200 for combination marks, 0 0 200 200 for icon-only<rect> in concepts (for preview), but production SVGs must NOTreferences/golden-ratio-construction.md)Inline the fill colors — do not rely on currentColor unless explicitly designing for theming.
Performance tip: Use <text> elements with font-family="system-ui, -apple-system, sans-serif"
for wordmarks. This is faster than crafting path-based letterforms and renders well cross-platform.
Create preview.html — a gallery with:
--brand-primary for the selected border colorRead references/preview-gallery-template.md for the HTML/JS template to follow.
Present all 26 files (logo-01.svg through logo-25.svg + preview.html).
Tell the user: "Open preview.html in your browser. Toggle dark/light mode and pick your favourite
direction. Come back and tell me the number (e.g. 'go with #12') or describe what you liked."
If the user asks to change colors after generation, use sed for bulk find-and-replace across
all SVG files in the directory. Never rewrite files one by one:
cd tinker/ && for f in logo-*.svg; do
sed -i '' 's/#OLD_COLOR/#NEW_COLOR/g' "$f"
done
Also update preview.html selected-border color to match.
User tells you which concept they prefer. Ask any clarifying questions needed (adjustments to color, weight, text, etc.) before proceeding.
Based on the selected concept, produce four polished SVG files:
| File | Description |
|---|---|
logo-dark.svg | Full wordmark, designed for dark backgrounds (NO background rect) |
logo-light.svg | Full wordmark, designed for white/light backgrounds (NO background rect) |
logo-icon-dark.svg | Icon mark only, 200×200 viewBox, for dark bg (NO background rect) |
logo-icon-light.svg | Icon mark only, 200×200 viewBox, for light bg (NO background rect) |
CRITICAL: Production SVGs must NOT include background
<rect>elements. They will be embedded in Blade components, HTML pages, etc. where the surrounding context provides the background. Only the Phase 1 concepts include background rects for standalone preview.
Rules:
--dark-bg for text) instead of light fillslogo-construction.svg (golden rectangle and the
mark's guides) and keep the ratio report; icons place the mark at tile ÷ φCreate logo-preview.html with real-world mockup sections:
references/production-readiness.md)Use the project's --dark-bg color (not hardcoded #0B1120) for all dark mockup sections.
Read references/preview-mockup-template.md for the HTML structure.
Present all 5 files (logo-dark.svg, logo-light.svg, logo-icon-dark.svg, logo-icon-light.svg,
logo-preview.html). Ask: "How does this feel? Any changes to the icon,
typography, or proportions? Or ready to move to icon alternatives (Phase 3)?"
If the user wants changes to the main logo, implement them and re-present the four production SVGs.
Generate 4 icon alternatives (A through D) in both dark and light mode = 8 SVG files:
icon-a-name-dark.svg, icon-a-name-light.svg, icon-b-name-dark.svg ... icon-d-name-light.svg
Each alternative must look meaningfully different: vary shape, weight, level of detail, or metaphor.
Create icon-compare.html showing all four alternatives:
User picks the winning icon. Update logo-icon-dark.svg and logo-icon-light.svg with the chosen
alternative. Re-present the final set.
Check for available CLI tools in this order:
command -v rsvg-convert && command -v magick
If tools are available (preferred path), generate all assets directly:
# Generate PNGs from SVG
rsvg-convert -w 16 -h 16 favicon.svg -o /tmp/favicon-16.png
rsvg-convert -w 32 -h 32 favicon.svg -o /tmp/favicon-32.png
rsvg-convert -w 48 -h 48 favicon.svg -o /tmp/favicon-48.png
rsvg-convert -w 180 -h 180 favicon.svg -o apple-touch-icon.png
# Generate multi-size ICO
magick /tmp/favicon-16.png /tmp/favicon-32.png /tmp/favicon-48.png favicon.ico
If tools are NOT available, generate _export-instructions.md with CLI commands the user
can run. Recommend brew install librsvg imagemagick on macOS.
Do NOT just generate instructions. Actually deploy the files:
public/ — overwrite the existing onepublic/ using CLI toolsresources/views/components/app-logo-icon.blade.php — replace with icon SVG inline,
accepting $attributes and class prop. Use currentColor trick for the highlight layer
so it adapts to Blade's dark mode:
@props(['class' => 'h-8 w-8'])
<svg {{ $attributes->merge(['class' => $class]) }} viewBox="0 0 200 200" ...>
<!-- gradient + main shape -->
<path ... fill="url(#gradient-id)"/>
<!-- highlight layer uses currentColor for theme adaptation -->
<path ... fill="currentColor" class="text-white/10 dark:text-white/10"/>
</svg>
resources/views/components/app-logo.blade.php — icon + app nameresources/views/components/logo.blade.php — clickable nav logo (if exists)<link rel="icon" type="image/svg+xml" href="{{ asset('favicon.svg') }}">
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
<link rel="apple-touch-icon" href="{{ asset('apple-touch-icon.png') }}">
hover:text-emerald-600 dark:hover:text-emerald-400)Lesson learned: The old skill only generated instructions. Users expect the skill to actually deploy the logo into their project. Do the work, don't delegate it back.
site.webmanifest — PWA manifest JSONbrowserconfig.xml — Microsoft tile configAfter deploying, present a summary table of what was updated:
| File | Change |
|---|---|
| public/favicon.svg | New lightning bolt icon |
| public/favicon.ico | Generated 16/32/48px |
| ... | ... |
All concept/preview files go in tinker/ (the project's scratch directory):
tinker/
├── logo-{01..25}-{name}.svg # Phase 1 concepts (with bg rect for preview)
├── preview.html # Phase 1 interactive gallery
├── logo-dark.svg # Phase 2 production (NO bg rect)
├── logo-light.svg
├── logo-icon-dark.svg
├── logo-icon-light.svg
├── logo-preview.html # Phase 2 mockup page
├── icon-{a..d}-{name}-{dark|light}.svg # Phase 3 alternatives
└── icon-compare.html # Phase 3 comparison
Deployed files go directly into the project structure (Phase 4):
public/
├── favicon.svg # Icon SVG
├── favicon.ico # Multi-size ICO (16/32/48)
└── apple-touch-icon.png # 180px PNG
resources/views/components/
├── app-logo-icon.blade.php # Inline SVG Blade component
├── app-logo.blade.php # Icon + app name
└── logo.blade.php # Clickable nav logo
resources/views/partials/
└── head.blade.php # Favicon meta tags added
These rules exist to avoid slow, repetitive workflows:
sed: When changing colors across multiple SVGs, use sed -i ''
in a loop. Never rewrite files individually for a color swap.rsvg-convert and magick upfront.
Generate assets directly instead of writing instruction docs.public/ files. Don't generate markdown instructions for the user to follow manually.| File | Read When |
|---|---|
references/preview-gallery-template.md | Building the Phase 1 gallery — HTML/JS template |
references/preview-mockup-template.md | Building the Phase 2 mockup page — HTML structure |
references/production-readiness.md | Mark levels, knockouts, colour spec, size tests per medium, perception tests, vendor pack |
references/golden-ratio-construction.md | Constructing every concept and production file on φ; construction drawing; ratio check |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nasrulhazim/claude --plugin claude-toolkit43 skills in this plugin
/business-cardSVG business card designer that takes contact details and brand preferences, then produces 12 front design concepts with optional back designs, interactive HTML preview galleries, individual card showcases with front/back flip animation, and print-ready SVG exports with bleed area and crop marks. Supports horizontal and vertical orientations, six layout styles (minimal, corporate, creative, elegant, bold, tech), multiple color schemes, QR code placeholders, social media icons, and logo integration. Use this skill whenever the user asks to design a business card, create a name card, make visiting cards, or says "design business card", "buat kad bisnes", "create name card", "reka kad perniagaan", "design kad nama", "I need a business card for X".
/ci-cd-pipelineCI/CD pipeline builder for Laravel projects — extends Kickoff's existing GitHub Actions CI with continuous deployment pipelines (staging/production), Docker containerisation, secret management, and failure notifications. Generates Dockerfiles, docker-compose.yml, deployment configs for VPS via SSH, container registry push workflows, and leverages Kickoff's /bin scripts (deploy.sh, backup.sh, setup.sh) in automated workflows. Use this skill whenever the user asks to set up deployment pipelines, containerise a Laravel app, configure CD for staging or production, push Docker images to a registry, manage deployment secrets, add failure notifications to CI, or integrate /bin scripts with GitHub Actions. Triggers for requests like "set up CD pipeline", "deploy to staging automatically", "dockerise my Laravel app", "add Docker to my project", "push image to registry", "manage secrets in CI", "notify on failure", "extend CI with deployment", "setup deploy pipeline", "nak deploy guna GitHub Actions", "tambah Docker dalam project", "setup CD untuk staging", "nak auto deploy ke production", "dockerise Laravel app aku", "tambah notification kalau CI fail", "macam mana nak manage secrets dalam GitHub Actions", or "integrate bin scripts dengan CI". Assumes Laravel Kickoff as the baseline — GitHub Actions CI (Pint, PHPStan, Rector, Pest) and /bin scripts (deploy.sh, backup.sh) are already configured. This skill extends that baseline with CD, Docker, and deployment automation.
/code-qualityPHP and Laravel code quality toolchain — static analysis with Larastan/PHPStan, code style enforcement with Pint, automated refactoring with Rector, baseline management for legacy codebases, and CI pipeline integration via GitHub Actions. Use this skill whenever the user asks to check code quality, fix linting errors, run static analysis, modernise PHP code, set up CI quality gates, manage PHPStan baselines, configure Pint presets, or apply Rector rules. Triggers for requests like "run quality check", "fix my code style", "analyse with larastan", "update phpstan baseline", "modernise my PHP code", "set up CI for quality", "check code quality", "pint tak jalan", "nak fix phpstan error", "setup rector", "betulkan code style", "tambah quality gate dalam CI", or "baseline phpstan untuk legacy code". Assumes Laravel Kickoff as the baseline — PHPStan, Pint, Rector, and GitHub Actions CI are already configured. This skill extends and customises that baseline.
/courseware-builderInteractive HTML courseware builder — turns any technical topic, flow, or process into a CD-Courseware-style interactive slide deck with animated diagrams, step-by-step simulation, syntax-highlighted code examples, and key points panels. Use this skill whenever the user wants to create teaching materials, interactive slides, animated flow diagrams, or step-by-step technical walkthroughs — even if they say "buatkan slides untuk topik X", "jadikan courseware", "buat interactive tutorial", or "create a lesson on X". Also triggers for "convert my diagram to interactive slides" or "build a visual walkthrough for my training".
/debuggingSystematic debugging and error recovery for Laravel and PHP projects — a five-step triage that goes reproduce, localise, reduce, fix, guard. Covers reading a stack trace properly, bisecting with git, isolating a failure to the smallest reproducer, telling a symptom apart from a root cause, and closing every fix with a regression test. Includes Laravel-specific traps: N+1 masked as a timeout, queue jobs failing silently on the wrong connection, cache and config caches serving stale values, Livewire state desync, and eloquent/model events firing in unexpected order. Use this skill whenever the user reports something broken, failing, flaky, slow-then-erroring, or behaving differently in production than locally — including "this test is flaky", "why is this failing", "debug this error", "it works locally but not on staging", "find the root cause", "this exception makes no sense", "the queue job never runs", "bisect this regression", "kenapa error ni", "tolong debug", "test ni kejap pass kejap fail", "cari punca sebenar", "jalan kat local tapi tak jalan kat production", or "job queue tak jalan". Pairs with kickoff-pest-testing for the regression test and log-monitor for production-log-driven investigations.
/deploy-appDeploys a Kickoff-based Laravel application to its host by running `bin/deploy` over SSH, then verifies the release and knows what each way it can stop means. Use this skill whenever the user asks to deploy an app, push the latest code to production, check what commit production is running, bring a site back up after a failed deploy, or roll back — "deploy latest", "deploy the app", "tolong deploy", "deploy latest dulu", "push to production", "apa commit dekat production", "site down after deploy", "keluarkan maintenance mode", "rollback production", "kenapa 503". Covers the deploy command and its flags, the post-deploy verification checklist, the recovery path for each failure mode, and the production traps that have already cost time. Does NOT cover provisioning a new host from bare metal (`bin/provision-host`), CI/CD pipeline design (`ci-cd-pipeline`), or writing deploy operations.
Other plugins' skills for the same job