web-artifacts-builder

Builds React/TypeScript web apps into a single HTML file for Claude.

Updated Jan 25, 2026
One-click install
npx skills add https://github.com/kunhai-88/skills --skill web-artifacts-builder-kunhai-88
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/kunhai-88/skills/tree/main/web-artifacts-builder
Command: npx skills add https://github.com/kunhai-88/skills --skill web-artifacts-builder-kunhai-88

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline, @radix-ui/react-accordion, @radix-ui/react-aspect-ratio, @radix-ui/react-avatar, @radix-ui/react-checkbox, @radix-ui/react-collapsible, @radix-ui/react-context-menu, @radix-ui/react-dialog, @radix-ui/react-dropdown-menu, @radix-ui/react-hover-card, @radix-ui/react-label, @radix-ui/react-menubar, @radix-ui/react-navigation-menu, @radix-ui/react-popover, @radix-ui/react-progress, @radix-ui/react-radio-group, @radix-ui/react-scroll-area, @radix-ui/react-select, @radix-ui/react-separator, @radix-ui/react-slider, @radix-ui/react-slot, @radix-ui/react-switch, @radix-ui/react-tabs, @radix-ui/react-toast, @radix-ui/react-toggle, @radix-ui/react-toggle-group, @radix-ui/react-tooltip, sonner, cmdk, vaul, embla-carousel-react, react-day-picker, react-resizable-panels, date-fns, react-hook-form, @hookform/resolvers/zod, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a streamlined toolkit for creating sophisticated, multi-component HTML artifacts for Claude, especially when complex state management, routing, or UI components like shadcn/ui are required. It moves beyond simple single-file HTML/JSX outputs.

Core Features & Use Cases

  • Project Initialization: Sets up a new React + TypeScript project with Vite, Tailwind CSS, and shadcn/ui pre-configured.
  • Component Integration: Includes over 40 shadcn/ui components and necessary Radix UI dependencies.
  • Bundling: Packages the entire React application into a single, self-contained HTML file using Parcel for easy deployment in Claude.
  • Use Case: Develop an interactive dashboard artifact for Claude that allows users to input data, visualize it with charts, and manage different views using routing.

Quick Start

Run the scripts/init-artifact.sh script, providing your desired project name as an argument.

Frequently Asked Questions about web-artifacts-builder

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

FAQPage Schema
How do I build complex React artifacts with shadcn/ui and Tailwind CSS?▼

Complex React artifacts are built by initializing a Vite project with Tailwind CSS and over 40 pre-configured shadcn/ui components, then bundling the application into a single self-contained HTML file using Parcel.

What is the best way to bundle a React application into a single HTML file?▼

Bundling a React application into a single HTML file is handled by Parcel, which packages the entire stateful Vite project into one self-contained file for easy deployment in Claude.

Can I use shadcn/ui components in Claude HTML artifacts?▼

Yes, you can use shadcn/ui components in Claude HTML artifacts. The environment includes over 40 shadcn/ui components and necessary Radix UI dependencies for interactive web components.

How do I set up a Vite and TypeScript project for Claude artifacts?▼

You set up a Vite and TypeScript project for Claude artifacts by running the initialization script, which pre-configures the environment with Tailwind CSS and shadcn/ui for immediate frontend development.

Does Parcel work with Vite to bundle React and Tailwind CSS projects?▼

Yes, Parcel works with Vite to bundle React and Tailwind CSS projects, taking the initialized multi-component application and packaging it into a single HTML artifact for Claude.

Why use Parcel instead of Vite for bundling HTML artifacts?▼

You use Parcel for bundling HTML artifacts because it handles the final packaging of the Vite-based React application into a single self-contained file, whereas Vite is used for the initial project setup and development.