web-artifacts-builder

Builds multi-component React HTML artifacts with Tailwind and shadcn/ui for claude.ai.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline, and includes scripts (resource) components.

What problem does it solve? Building complex claude.ai artifacts with state management, routing, or multiple components exceeds what a single hand-written HTML/JSX file can handle, and manually configuring React, Tailwind, and bundling tooling is slow and error-prone. ## Core Features & Use Cases - Project Scaffolding: Initializes a fully configured React 18 + TypeScript + Vite project with Tailwind CSS, 40+ pre-installed shadcn/ui components, Radix UI dependencies, and path aliases via scripts/init-artifact.sh. - Single-File Bundling: Bundles the entire React app into one self-contained HTML file with all JavaScript and CSS inlined using Parcel and html-inline via scripts/bundle-artifact.sh. - Use Case: When a user asks for an interactive dashboard with tabs, forms, and charts as a claude.ai artifact, use this Skill to scaffold the project, develop the components, and bundle everything into a single shareable HTML artifact. ## Quick Start Ask the AI to build a complex interactive React artifact, and it will run the init script, develop the components, and bundle the result into a single HTML file for you.

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 a React artifact for claude.ai?▼

Run scripts/init-artifact.sh with a project name to scaffold a React + TypeScript + Vite project, develop your components, then run scripts/bundle-artifact.sh to produce a single self-contained bundle.html file shareable as an artifact.

How to bundle a React app into a single HTML file?▼

The bundle-artifact.sh script installs parcel, @parcel/config-default, parcel-resolver-tspaths, and html-inline, builds the app with Parcel without source maps, and inlines all assets into one HTML file. Your project needs an index.html in the root directory.

When should I not use the web-artifacts-builder skill?▼

Do not use it for simple single-file HTML or JSX artifacts; build those directly instead. This Skill is intended only for complex artifacts needing state management, routing, or multiple components.

Does the project support shadcn/ui components?▼

Yes, the initialized project includes 40+ pre-installed shadcn/ui components with the full Tailwind CSS 3.4.1 theming system and all Radix UI dependencies. Path aliases (@/) are preconfigured for imports.

What Node version is required for the artifact project?▼

The initialization script supports Node 18+ and automatically detects and pins the appropriate Vite version for compatibility.