web-artifacts-builder

Bundle React projects with Tailwind and shadcn/ui into single HTML artifacts.

Updated Oct 28, 2025
One-click install
npx skills add https://github.com/sam-evolv/property-assistant --skill web-artifacts-builder-sam-evolv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/sam-evolv/property-assistant/tree/main/.skills/web-artifacts-builder
Command: npx skills add https://github.com/sam-evolv/property-assistant --skill web-artifacts-builder-sam-evolv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pnpm, parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline, vite, tailwindcss, postcss, autoprefixer, @types/node, tailwindcss-animate, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of self-contained Claude.ai frontend artifacts from React projects, enabling quick sharing of interactive UIs in Claude conversations.

Core Features & Use Cases

  • Single-file artifact bundling: Bundle a React app into a self-contained HTML artifact with all assets inlined.
  • Tailwind + shadcn/ui support: Preserves modern design tooling, enabling complex UI artifacts.
  • Use Case: Share a ready-to-run Claude artifact for demonstrations or product pitches without a live server.

Quick Start

Prepare a React project with index.html and a standard Vite setup. Run the initializer: bash scripts/init-artifact.sh <project-name> Bundle the artifact: bash scripts/bundle-artifact.sh Open bundle.html to review and share the artifact.

Frequently Asked Questions about web-artifacts-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bundle a React app into a single HTML file for Claude.ai?

You can bundle a React app into a single HTML file by running the provided shell scripts, which use Vite and Parcel to compile the project and inline all assets into a self-contained artifact for Claude.ai sharing.

What is a self-contained frontend artifact and when do I need one?

A self-contained frontend artifact is a single HTML file with all React, Tailwind, and shadcn/ui assets inlined. You need one when sharing interactive UIs or product demos in Claude conversations without requiring a live server.

Does this bundling process support Tailwind and shadcn/ui components?

Yes, the bundling process fully supports Tailwind and shadcn/ui components. It preserves modern design tooling during compilation, ensuring complex UI elements render correctly within the final inlined HTML artifact.

Do I need Node.js and pnpm to create Claude-ready artifacts?

Yes, you need Node.js 18+ and pnpm to create Claude-ready artifacts. These tools are required to install dependencies and execute the Vite, Parcel, and html-inline bundling pipeline for inlining assets.

Why does my React artifact lose styling when shared in Claude?

Your React artifact loses styling when shared if external CSS and assets are not inlined. This Skill uses html-inline and PostCSS to bundle Tailwind styles directly into the HTML file, preventing missing dependencies.