← marketplace
engineerstoolOfficialsha:8eedcf2f97ffd8c6manual
web-artifacts-builder
Use when building an elaborate multi-component claude.ai HTML artifact with React, Tailwind, and shadcn/ui that needs state, routing, or shadcn components — not for simple single-file artifacts.
source: https://github.com/anthropics/skills/tree/main/skills/web-artifacts-builder ↗anthropics/skills· ★ 158k
Install confidence
curl --create-dirs -fsSL https://skillmake.xyz/i/web-artifacts-builder -o ~/.claude/skills/web-artifacts-builder/SKILL.md
Pinned content
sha:8eedcf2f97ffd8c6
Generated with
manual
Source
github.com
The file served at /api/marketplace/web-artifacts-builder-8eedcf2f/raw matches this hash. Inspect before install, then copy the command.
3,174 chars · ~794 tokens
--- name: web-artifacts-builder description: Use when building an elaborate multi-component claude.ai HTML artifact with React, Tailwind, and shadcn/ui that needs state, routing, or shadcn components — not for simple single-file artifacts. source: https://github.com/anthropics/skills/tree/main/skills/web-artifacts-builder generated: 2026-07-02T18:43:50.272Z category: tool audience: engineers --- ## When to use - Building a claude.ai artifact that needs real state management or client-side routing - Assembling an artifact from multiple shadcn/ui components rather than a single JSX blob - Bundling a React + TypeScript + Vite app down to one self-contained shareable HTML file - Deciding whether an artifact is complex enough to warrant the full frontend toolchain over inline HTML ## Key concepts ### React + Vite + Parcel + Tailwind + shadcn/ui stack The artifact is developed as a React 18 + TypeScript project via Vite, styled with Tailwind and shadcn/ui, then bundled with Parcel into a single HTML file. ### init-artifact.sh scaffold scripts/init-artifact.sh creates a fully configured project: Tailwind 3.4.1 with shadcn theming, @/ path aliases, 40+ shadcn components, Radix deps, Parcel config, and Node 18+ compatibility. ### bundle-artifact.sh single-file output scripts/bundle-artifact.sh builds with Parcel and inlines all JS, CSS, and dependencies into bundle.html — a self-contained artifact you can drop directly into a Claude conversation. ### Avoiding AI slop The skill explicitly warns against excessive centered layouts, purple gradients, uniform rounded corners, and the Inter font — the tells of generic AI-generated UI. ### Test-later workflow Present the finished artifact first; testing/visualizing (via Playwright, Puppeteer, or other tools) is optional and deferred to avoid latency, done only if requested or if issues arise. ## API reference ``` npx skills add anthropics/skills --skill web-artifacts-builder ``` Install the web artifacts builder skill. ``` npx skills add anthropics/skills --skill web-artifacts-builder ``` ``` bash scripts/init-artifact.sh <project-name> ``` Scaffold a fully configured React + Tailwind + shadcn/ui artifact project. ``` bash scripts/init-artifact.sh my-artifact cd my-artifact ``` ``` bash scripts/bundle-artifact.sh ``` Bundle the React app into a single self-contained bundle.html for sharing. ``` bash scripts/bundle-artifact.sh ``` ## Gotchas - Don't reach for this on simple single-file HTML/JSX artifacts — the toolchain overhead isn't worth it - bundle-artifact.sh requires an index.html in the project root or the build fails - Avoid AI-slop tells: excessive centered layouts, purple gradients, uniform rounded corners, and the Inter font - Don't test the artifact upfront — it adds latency between the request and a viewable result; test after presenting if needed - The scaffold auto-detects and pins a Vite version for Node 18+ compatibility; running on older Node can break setup --- Generated by SkillMake from https://github.com/anthropics/skills/tree/main/skills/web-artifacts-builder on 2026-07-02T18:43:50.272Z. Verify against source before relying on details.
File: ~/.claude/skills/web-artifacts-builder/SKILL.md