/victorhahn-skills:visualizefrom victorhahn-skills
Build a single-file, self-contained HTML artifact instead of markdown prose whenever a rendered page would communicate the answer more clearly — and fire proactively, without waiting to be asked. Also invoked explicitly via /visualize, "visualize this", "make this a page", "give me an artifact", "turn this into a page". Output shapes range freely: comparison grids, dashboards, plan/spec pages, architecture diagrams, decision matrices, kanbans, slide decks, mockups, wireframes, ERDs, flowcharts, mindmaps, timelines, FAQs, tutorials, calculators, status pages, code walkthroughs, reference docs. Heuristic: if the answer would take more than 30 seconds to scan as markdown, an artifact almost certainly serves it better. Skip for short factual answers (under 3 sentences), single code snippets, conversational back-and-forth, or when the user says "keep it simple".
Ships in victorhahn-skills. 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.
The artifact is part of the conversation, not the deliverable. A page the user can open, scroll, click through, and screenshot closes the loop in a way a wall of bullets can't. Build to think with them — if the artifact is wrong, the next prompt rewrites it.
assets/template.html (sibling to this file) gives you a tuned starting point: Geist type, cool-neutral zinc palette, dark mode, and a set of card/grid/pill/stat primitives. Use it when you want a fast consistent base and plan to restyle from there. Skip it when committing to a fully custom aesthetic — the most distinctive artifacts come from picking a direction and owning it. Either way, reach for references/aesthetics.md when the content has a clear tone.
Don't wait for /visualize. Build the artifact when any of these match:
30-second rule: if scanning the markdown version would take more than 30 seconds, build the artifact instead.
A bad artifact is worse than a clear paragraph. If you find yourself padding to fill a page, just answer.
<div>, you should have written markdown. The shape communicates before the text does.references/aesthetics.md for curated anchors when taste calibration matters.assets/template.html and the artifact has sliders, knobs, or editable decisions: set window.__artifactState from each change handler, then call window.__enableCopyButton() once after setup. This reveals a small clipboard icon in the top-right toolbar. Skip it for static artifacts — the button is hidden by default and a no-op until explicitly enabled.aria-label on icon-only controls, :focus-visible outlines, WCAG AA contrast, respect prefers-reduced-motion.<script src> and <link rel="stylesheet"> to pinned CDN versions are fine; no split local files of your own. Chart.js / D3 / <canvas> don't read CSS custom properties — pass explicit hex/rgba matched to the theme.Most requests imply a shape. Some common ones (mix freely, invent your own):
| The user is trying to… | Likely shape |
|---|---|
| Compare N options | Grid of N panels, shared attribute rows |
| Understand a system | Annotated architecture diagram (SVG with labeled arrows + callouts) |
| Read a plan or spec | Long-form page: goals, mockups, snippets, open questions |
| Review a PR / diff | Diff with margin annotations + severity color-coding |
| Decide between things | Decision matrix — rows × criteria, colored cells |
| Prioritize work | Kanban (Now / Next / Later / Cut), drag-and-drop, localStorage |
| Tune a system | Sliders / knobs that update SVG / chart / computed value live |
| Look at data | Dashboard — KPI tiles, charts, filter controls, sortable table |
| Trace a sequence | Mermaid sequence diagram embedded in a page |
| Mock a UI | High-fidelity mockup with realistic data |
| Sketch a UI | Wireframe, grayscale, intentionally rough |
| Model data | ERD with entities, attributes, PK/FK, cardinality |
| Present | Slide deck (Reveal.js), one section per slide |
| Show time | Timeline / Gantt (horizontal for projects, vertical for stories) |
| Riff off live | Reference page with diagrams + key data + jump-to sections |
| Explore hierarchy | Mindmap, radial from center, collapsible branches |
| Reference / cheatsheet | Sticky sidebar nav + sectioned long-form, anchor links |
| Tutorial | Progress indicator + step-by-step reveal + prev/next |
| FAQ | Collapsible Q&A, one open at a time |
The grid-of-N panels is the signature move for comparisons. Beyond that, pick what fits — and if the conversation suggests a hybrid shape (a reference page with an embedded diagram and a mockup), build the hybrid. Don't force a request into one shape because the table says so.
references/aesthetics.md has 8 curated anchors (editorial-longform, ops-terminal, pitch-display, audit-restrained, whimsy-kitchen, brutalist-newsprint, technical-schematic, consumer-warm). Each names specific Google Fonts, a palette with hex values, and when to reach for it. Consult it whenever the content has a clear tone — read just the anchor that fits. Remix, blend, ignore — these are starting points, not house styles.
The one rule: don't default to the same look across artifacts. Default-modern-SaaS on everything is the AI tell.
Vanilla HTML/CSS/JS is the default — fast, predictable, lets the aesthetic shine. Reach for libraries only when the shape genuinely needs them; pin CDN versions:
https://cdn.jsdelivr.net/npm/chart.js@4https://d3js.org/d3.v7.min.jshttps://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.min.jshttps://cdn.jsdelivr.net/npm/reveal.js@5 (+ matching CSS)https://cdn.jsdelivr.net/npm/highlight.js@11https://cdn.jsdelivr.net/npm/lucide@latest/dist/umd/lucide.min.jshttps://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.jshttps://fonts.googleapis.com/css2?family=...Don't reach for Tailwind/daisyUI by default — utility-class soup tends to flatten artifacts into looking the same. Use them only when the artifact's shape genuinely benefits.
schema.prisma"): read and analyze the source first, then build the artifact from what you found. Visualize the thing the file describes, not the file.visualize-auth-flow.html"): read it and modify in place. The user's edits and state live in it. Suffix with -2 only when explicitly asked for a fresh start.Default to the current working directory with a meaningful kebab-case filename: comparison-auth-options.html, arch-payment-flow.html, kanban-q2-roadmap.html. Otherwise visualize-<topic-slug>.html. The artifact lives next to the work it's about — the user can git add it, .gitignore it, or delete it. Don't write to /tmp/ (GC'd) or a global cache (divorces the artifact from its project).
Run open ./<filename>.html (macOS) or xdg-open (Linux) with dangerouslyDisableSandbox: true on the first try — open uses LaunchServices XPC which the Claude Code sandbox blocks. No permissions.allow entry fixes this; bypass the sandbox directly. The artifact lands in the user's browser as part of your reply. That's the loop.
One sentence before the artifact — name the shape and the aesthetic direction. Then build it, save it, open it. Don't summarize what's on the page after; let the artifact do the work. If you made a meaningful simplification ("I omitted the retry path — happy to add it"), one sentence. Otherwise stay quiet.
Good:
"Laying these four approaches out as a comparison grid with an editorial-longform feel — opening it now."
[writes file, runs open ...]
Too much:
"I'll create an HTML visualization to help you compare these approaches. The page will show each approach with its tradeoffs and let you scan them side by side. Let me know if you'd like a different layout. Here it is: ..."
None of this is taste; it's whether the page renders.
", not smart quotes from a paste).<script> swallows the rest of the page.xmlns="http://www.w3.org/2000/svg" on every root <svg>, with explicit viewBox.await in classic <script> blocks.document.createElement + textContent for any DOM-building done after page load — setting raw HTML strings at runtime trips Claude Code's security hook (and is XSS-risky).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (victorhahn/skills) — no native marketplace selected
npx claudepluginhub p/victorhahn-victorhahn-skills18 skills in this plugin
/ai-engineering-digestFetch a weekly briefing of what's trending and being discussed in the AI engineering landscape — HN, Reddit, GitHub — and synthesize it into a structured digest covering technical signal, notable projects, and the professional/cultural discourse around AI. Use when the user says "/ai-engineering-digest", "run the digest", "what's the ai meta this week", "weekly ai pulse", "what's trending in ai dev", or wants a broad briefing on the current state of AI engineering. Accepts an optional topic arg for on-demand narrower queries ("/ai-engineering-digest mcp")./aws-solutions-architectExpert AWS solutions architect with deep knowledge of AWS services, architecture patterns, best practices, cost optimization strategies, and Terraform AWS provider implementation. Use this skill whenever the user asks about AWS architecture, AWS service selection, infrastructure design, cost optimization, rightsizing, savings plans, Reserved Instances, AWS debugging, CloudWatch, IAM, networking (VPCs, subnets, security groups, Transit Gateway), ECS/EKS, Lambda, DynamoDB, RDS, S3, SQS/SNS, API Gateway, or any AWS service question. Also trigger for Terraform AWS provider questions, terraform-aws module usage, writing or reviewing .tf files that use AWS resources, and any question that starts with "what's the best way to..." in an AWS or infrastructure context. When in doubt about whether this is an AWS question, use this skill — it's better to over-apply than miss a relevant question.