Web Artifacts Builder Skill
Build elaborate multi-component HTML artifacts for claude.ai. React + TypeScript + Tailwind + 40+ shadcn/ui components, bundled into a single shareable file.
By Anthropic
Source: github.com
Install
npx degit anthropics/skills/skills/web-artifacts-builder ~/.claude/skills/web-artifacts-builder web-artifacts-builder is the heavyweight cousin of single-file artifacts.
When you need state management, routing, multiple components, or shadcn/ui
primitives, this is what you reach for.
What’s in the box
- React 18 + TypeScript via Vite
- Tailwind CSS 3.4 with shadcn/ui theming
- 40+ shadcn/ui components pre-installed + Radix UI deps
- Path aliases (
@/) configured - Parcel for the final bundling step
- Single-file HTML output via
html-inline
The workflow
bash scripts/init-artifact.sh <project-name>— scaffolds the project- Edit the generated React code as you would any normal app
bash scripts/bundle-artifact.sh— producesbundle.html, fully inlined
The bundle has all JS, CSS, and dependencies inside one HTML file. Drop it into a Claude conversation as an artifact, share the file, host it on Cloudflare Pages — anywhere.
Anti-AI-slop guidance
The skill explicitly warns against the four tell-tale signs of “AI-looking” output: excessive centered layouts, purple gradients, uniform rounded corners, and over-relying on Inter. It will push back if you lean on those.
Composes with
frontend-design— the design layer above this stacktheme-factory— apply a coherent palettepolish/arrange/typeset— the design suite for fine-tuning
Example prompt
Use web-artifacts-builder to make a kanban board artifact:
three columns, drag-drop tasks between them, persistent state in
localStorage, dark mode support. Bundle to a single HTML file.
Related skills
Draw.io Architecture Diagram Skill
Generate Draw.io diagrams for ML models, network architectures, and algorithm flows. Two modes — generate from scratch or transfer-style from a reference image. By 小帅同学 (@xstongxue).
Excalidraw Diagram Skill
Generate hand-drawn-style architecture, flow, and data-structure diagrams as .excalidraw JSON. Open and continue editing in Excalidraw, Obsidian, or VS Code. By 小帅同学 (@xstongxue).
Frontend Design Skill
Distinctive, production-grade web interfaces. React + Tailwind + shadcn/ui by default. Avoids generic AI aesthetics.