Web Artifacts Builder
OfficialOfficial skill for scaffolding complex claude.ai artifacts with React, Tailwind, and shadcn/ui, then bundling them into a single HTML file.
Dev & CodingIntermediate★ 167,132⑂ 19,920AI score 8/10Last updated: Aug 7, 2026
What it does
- Runs
scripts/init-artifact.shto scaffold a React 18 + TypeScript + Vite project with Tailwind 3.4.1 and 40+ shadcn/ui components pre-installed. - Configures
@/path aliases, Radix UI dependencies, and Parcel bundling (.parcelrc) automatically. - Uses
scripts/bundle-artifact.shto inline all JS, CSS, and assets into a self-containedbundle.htmlyou can drop straight into a Claude conversation as an artifact. - Includes explicit anti-"AI slop" design rules: avoid excessive centered layouts, purple gradients, uniform rounded corners, and Inter font.
- Testing with Playwright/Puppeteer is optional and deliberately deferred to keep artifact delivery fast.
Who it's for
- Anyone building complex claude.ai artifacts that need state management, routing, or many components.
- Frontend devs and designers who want fast shadcn/ui prototypes.
- Not for simple single-file HTML/JSX artifacts — it's overkill there.
Example uses
- "Build a Kanban board artifact" → scaffold the project, compose drag-friendly columns from shadcn Cards, bundle to one HTML file.
- "Show me a dashboard with tabs, charts, and filters" → a multi-view app with routing and shared state, delivered as bundle.html.
- "Create a multi-step survey wizard" → shadcn Form/Dialog components wired into a stepper, shipped as an artifact.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/anthropics/skills/HEAD/skills/web-artifacts-builder/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/web-artifacts-builder folder from the GitHub repo anthropics/skills into my ~/.claude/skills/web-artifacts-builder/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/anthropics/skills.git && mkdir -p ~/.claude/skills && cp -r skills/skills/web-artifacts-builder ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Make sure Node.js 18+ and git are installed (
node -v). - Clone the repo:
git clone https://github.com/anthropics/skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r skills/skills/web-artifacts-builder ~/.claude/skills/ - Make the scripts executable:
chmod +x ~/.claude/skills/web-artifacts-builder/scripts/*.sh - Restart Claude Code and ask something like "build a dashboard artifact with React and shadcn/ui" to trigger the skill.