Sign in
Explore
Skills · SkillWeb & UIDesign systemsFrontend frameworksCSS & TailwindReviewed

web-artifacts-builder

Builds multi-component claude.ai HTML artifacts with React, Tailwind and shadcn/ui, bundled into one HTML file.

Kind
Skill
Works with
Claude Code
Languages
TypeScript / JavaScript
Source
anthropics/skills @ 33375500bcea
Path
skills/web-artifacts-builder/SKILL.md
Jobs
Implementation
Topics
Design systems, Frontend frameworks, CSS & Tailwind

Credit

Made by
anthropics
Original
github.com/anthropics/skills/blob/33375500bcea98d610eb30ce10a…
License
Apache-2.0

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/web-artifacts-builder/ (the skill folder)
  • 2 file(s) the skill refers to
  • 3 other files in the folder: LICENSE.txt, scripts/bundle-artifact.sh, scripts/init-artifact.sh
Runs scripts
Yes
  • scripts/init-artifact.sh
  • scripts/bundle-artifact.sh
  • shell block in the text
  • command line in the text (LICENSE.txt)
Uses the network
Yes
  • downloads npm packages (scripts/bundle-artifact.sh)
  • downloads npm packages (scripts/init-artifact.sh)
Needs secrets
None found
Reads environment variables
  • FILE_SIZE
  • NODE_VERSION
  • VITE_VERSION
  • OSTYPE
  • BASH_SOURCE
  • SCRIPT_DIR
Calls other skills
  • /title
  • /components
Value without its scripts
Low
  • The main file runs scripts/bundle-artifact.sh, scripts/init-artifact.sh in its opening lines, so its main job needs the script.
  • scripts/bundle-artifact.sh
  • scripts/init-artifact.sh: Exit on error
Source revision
33375500bcea
Licence
Apache-2.0
Last activity
16 Nov 2026
Source changed after the scan
Yes
  • Last push 16 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Web Artifacts Builder

To build powerful frontend claude.ai artifacts, follow these steps:
1. Initialize the frontend repo using `scripts/init-artifact.sh`
2. Develop your artifact by editing the generated code
3. Bundle all code into a single HTML file using `scripts/bundle-artifact.sh`
4. Display artifact to user
5. (Optional) Test the artifact

**Stack**: React 18 + TypeScript + Vite + Parcel (bundling) + Tailwind CSS + shadcn/ui

## Design & Style Guidelines

VERY IMPORTANT: To avoid what is often referred to as "AI slop", avoid using excessive centered layouts, purple gradients, uniform rounded corners, and Inter font.

## Quick Start

### Step 1: Initialize Project

Run the initialization script to create a new React project:
```bash
bash scripts/init-artifact.sh <project-name>
cd <project-name>
```

This creates a fully configured project with:
- ✅ React + TypeScript (via Vite)
- ✅ Tailwind CSS 3.4.1 with shadcn/ui theming system
- ✅ Path aliases (`@/`) configured
- ✅ 40+ shadcn/ui components pre-installed
- ✅ All Radix UI dependencies included
- ✅ Parcel configured for bundling (via .parcelrc)
- ✅ Node 18+ compatibility (auto-detects and pins Vite version)
…