← ClaudeAtlas

html-artifact-builderlisted

Turn a request or an existing Markdown document into ONE self-contained HTML file that opens offline with no external references. Two paths - compose a page with React + TypeScript + Vite + Tailwind + shadcn/ui (43 components) for interactive tabs, accordions, charts or rich layout; or render an existing .md with a sidebar table of contents, full-text search, syntax highlighting and copy buttons. Use when someone wants a shareable single-file page, a navigable HTML version of a document, or a deliverable with more layout control than Markdown gives.
python012/html-artifact-builder · ★ 0 · Web & Frontend · score 75
Install: claude install-skill python012/html-artifact-builder
# HTML Artifacts Builder Build a **single, self-contained HTML file** that far outclasses Markdown in expressiveness. No server, no sharing required — just open the file. Bundling uses **Vite + vite-plugin-singlefile**. Do not switch back to Parcel: Parcel 2.16 cannot resolve `@radix-ui/primitive`'s nested `development` / `production` export conditions, and every shadcn/ui component fails to build. The full history of that decision, and the other ways this skill diverges from Anthropic's `web-artifacts-builder`, is in `DECISIONS.md`. ## Stack React 18 + TypeScript + Vite + Tailwind CSS 3.4.1 + shadcn/ui (43 components) + lucide-react ## Platform The scripts are **bash**. Run them with `bash scripts/<name>.sh …` — never paste them into PowerShell or `cmd`, where `bash` may not resolve. | Host | How to run | |---|---| | macOS / Linux | Native shell | | Windows | **Git for Windows → Git Bash**, or WSL. Not PowerShell, not `cmd` | | Python | Resolved automatically: `python3` → `python` → `py` (Python 3 only) | Never hardcode `python3` in a new script: on Windows a python.org install only provides `python.exe` / `py.exe`, and the Microsoft Store alias leaves a `python3.exe` stub that exists but fails. Probe with `"$cmd" -c 'import sys; sys.exit(0 if sys.version_info[0] == 3 else 1)'`. ## Quick Start — the main path (React) Compose the page in React, then bundle it to one file. Use the Markdown renderer further down only when the content already exists as a `.md`. ### S