How careerhackeralex/visualize works
1. What this repo is
This is not a traditional app backend/frontend codebase. It is a Claude Code plugin repository whose primary job is to guide an LLM to generate single-file HTML visualizations. The “runtime” is mostly Claude Code plus browser rendering of the generated output.
2. Package / plugin boundary
The .claude-plugin/ directory is the installable plugin surface. plugin.json and marketplace.json define how Claude Code discovers, installs, and updates the plugin. For an architecture diagram, this is the outer distribution boundary.
3. Core behavior spec
skills/visualize/SKILL.md is the main control document. It encodes the visualization behavior: what kinds of outputs to create, layout and composition rules, theme handling, accessibility expectations, and when to use interactive elements. This is the central “business logic,” but expressed as instructions rather than code.
4. Design system and pattern library
skills/visualize/references/ contains the reusable guidance the skill draws from: typography, color, CSS techniques, skeleton/layout patterns, menu behavior, animations, data types, library choices, and evaluation criteria. These files form a reference layer that shapes output consistency and quality.
5. Generation model
The repo’s intended output is a self-contained HTML file with inline CSS/JS. The HTML may optionally load CDN libraries when needed, such as Chart.js, D3, Mermaid, Three.js, Leaflet, or Reveal.js. In the architecture, external libraries are optional dependencies used by the generated artifact, not by the repo itself.
6. Output categories
The examples/ directory holds representative finished artifacts: dashboards, slide decks, infographics, posters, timelines, comparisons, and more. These act as canonical output samples and serve as a visual contract for the system.
7. Evaluation subsystem
The eval/ tree is a substantial QA loop for improving generation quality. It includes stress tests, loop/process documentation, round-by-round analyses, screenshots, score files, and archived results. This is the main feedback system for validating whether the skill still produces strong visualizations.
8. Automated scoring pipeline
eval/pipeline/ is the executable evaluation harness. It includes orchestration (run.js), format detection, visual evaluation (vision-eval.js), and rule-based checks for accessibility, charts, layout, menus, technical quality, theme, and typography. The pipeline aggregates results into round scores and analysis artifacts.
9. Evaluation data flow
The eval loop is roughly: generate outputs from stress tests → inspect via screenshots/vision and rule checks → score each dimension → record scores.json, analyses, and screenshots → revise the skill/references → rerun. The repo stores many historical rounds under eval/rounds/ and eval/archive/, showing that iteration history is part of the system.
10. Documentation / control plane
README.md, CLAUDE.md, and docs/plans/ provide operational context and roadmap material. They do not execute at runtime, but they define how the plugin is used, what quality bar it must hit, and how future rebuilds or revisions should be approached.
11. Important architectural boundary
The repo has no conventional application server, database, or build pipeline for a shipped app. Its main boundary is between:
- instruction assets in the repo,
- Claude Code interpreting those instructions,
- and the browser rendering the generated HTML visualization.
12. What to show in a diagram
A clear diagram should center the flow from user prompt → Claude Code plugin/skill → reference guidance → generated HTML artifact → browser, with a parallel evaluation loop feeding back from test cases and screenshots into the skill/references. That feedback loop is the main engineering system in this repository.
Main entry points: SKILL.md Visualize skill · run.js Eval pipeline · rounds Rounds archive · plugin.json Plugin config
Components 23
External runtime
User, Claude Code, browser, and optional CDN libraries that surround the repo artifacts
- User prompt · Request that Claude Code turns into a visualization artifact
- Claude Code · Interprets the plugin and skill instructions to generate the artifact
- Browser · Renders the generated standalone HTML visualization
- CDN libs · Optional external libraries loaded by generated HTML when needed
Plugin surface
Installable Claude Code plugin boundary
- Plugin config · Claude Code plugin metadata and install surface
.claude-plugin/plugin.json - Marketplace · Discovery and update metadata for the plugin
.claude-plugin/marketplace.json
Visualization skill
Core instruction set and reusable guidance for generating single-file HTML visualizations
- Visualize skill · Primary control document for generating single-file HTML visualizations
skills/visualize/SKILL.md - Design system · Typography, color, layout, and visual consistency guidance
skills/visualize/references/design-system.md - CSS patterns · Reusable CSS techniques and implementation patterns
skills/visualize/references/css-techniques.md - Layout skeletons · Structural composition patterns for common visualization layouts
skills/visualize/references/skeleton.md - Menu behavior · Navigation and interaction guidance for menus and controls
skills/visualize/references/menu.md - Animations · Motion and transition guidance for visual polish
skills/visualize/references/animations.md - Data types · Structured content and data-shape guidance for outputs
skills/visualize/references/types.md - Libraries · When and how to use optional visualization libraries
skills/visualize/references/libraries.md
Example outputs
Representative finished artifacts used as output contracts
- Examples · Canonical finished HTML artifacts spanning dashboards, posters, decks, and infographics
examples
Evaluation loop
Automated scoring, screenshots, archives, and iterative improvement history
- Eval pipeline · Executable orchestration for detection, checks, and vision-based evaluation
eval/pipeline/run.js - Rule checks · Accessibility, charts, layout, menu, technical, theme, and typography checks
eval/pipeline/checks - Vision eval · Screenshot-based assessment of generated artifacts
eval/pipeline/vision-eval.js - Rounds archive · Round-by-round analyses, scores, personas, and research artifacts
eval/rounds - Archive · Older rounds, screenshots, and raw evaluation records
eval/archive
Docs and planning
Operational docs and roadmap materials
- README · Top-level repository description and usage context
README.md - CLAUDE guide · Operational guidance for working with the repository in Claude Code
CLAUDE.md - Plans · Evaluation rebuild design and implementation plans
docs/plans
Connections 23
- User prompt → Claude Code: requests · A user asks for a visualization
- Plugin config → Claude Code: installs · Plugin manifest makes the skill discoverable in Claude Code
- Marketplace → Plugin config: publishes · Marketplace metadata points to the installable plugin
- Claude Code → Visualize skill: applies · Claude Code follows the main visualization skill
- Visualize skill → Design system: draws from · Core behavior references the design system guidance
- Visualize skill → CSS patterns: draws from · CSS implementation guidance shapes the output
- Visualize skill → Layout skeletons: draws from · Layout composition guidance shapes the structure
- Visualize skill → Menu behavior: draws from · Interaction guidance constrains menus and controls
- Visualize skill → Animations: draws from · Motion guidance informs visual polish
- Visualize skill → Data types: draws from · Data-shape guidance informs content structure
- Visualize skill → Libraries: draws from · Optional library policy is defined here
- Claude Code → Examples: models output on · Examples act as canonical finished artifacts
- Claude Code → CDN libs: may use · Generated HTML can load optional external libraries
- Claude Code → Browser: produces · The intended artifact is a self-contained HTML file rendered in a browser
- Eval pipeline → Rule checks: runs · The harness executes rule-based checks
- Eval pipeline → Vision eval: runs · The harness also performs screenshot and vision scoring
- Eval pipeline → Rounds archive: records · Scores and analyses are stored by round
- Eval pipeline → Archive: archives · Older results and screenshots are retained historically
- Rounds archive → Visualize skill: feeds back · Round analyses inform skill revisions
- Rounds archive → Design system: feeds back · Evaluation findings refine the reference guidance
- README → CLAUDE guide: orients · Top-level docs provide usage and operational context
- CLAUDE guide → Plans: guides · Planning docs describe the rebuild and quality roadmap
- Archive → Plans: informs · Historical failures and fixes shape future work