web-artifacts-builder

Bundle React and Tailwind CSS components into single HTML artifacts.

1|Updated Nov 21, 2025
One-click install
npx skills add https://github.com/bamecho/my-claude-skills --skill web-artifacts-builder-bamecho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/bamecho/my-claude-skills/tree/main/skills/web-artifacts-builder
Command: npx skills add https://github.com/bamecho/my-claude-skills --skill web-artifacts-builder-bamecho

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pnpm, parcel, parcel-resolver-tspaths, html-inline, vite, tailwindcss, postcss, autoprefixer, tailwindcss-animate, class-variance-authority, clsx, tailwind-merge, lucide-react, next-themes, @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?

Suite of tools for creating elaborate Claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

Core Features & Use Cases

  • Frontend scaffolding with React + TypeScript + Vite
  • Tailwind CSS with shadcn/ui theming and a base design system
  • Bundling and inlining into a single HTML artifact via dedicated scripts
  • Reusable UI component libraries and routing support for multi-component artifacts
  • Optional extraction of shadcn/ui components from provided tarball for rapid setup

Quick Start

Run the initialization script to scaffold a new artifact project and then bundle it into a single HTML 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 multi-component React artifacts into a single HTML file for Claude?

Bundling multi-component React artifacts into a single HTML file requires using the dedicated scripts to initialize a Vite project with Tailwind and shadcn/ui, then inlining the output into a standalone Claude artifact.

What's the best way to use shadcn/ui components in Claude artifacts?

Using shadcn/ui components in Claude artifacts involves scaffolding a React project with Tailwind CSS and Radix UI dependencies, then bundling the multi-component application into a single inlined HTML file.

Do I need Node.js and pnpm to build Claude artifacts with React?

Yes, building Claude artifacts with React requires Node.js and pnpm to manage dependencies like Vite, Tailwind CSS, and Radix UI, and to run the scripts that initialize and bundle the project.

When should I use a React bundling script instead of simple HTML for Claude artifacts?

Use a React bundling script for complex Claude artifacts requiring state management, routing, or shadcn/ui components, whereas simple single-file HTML or JSX artifacts do not need this setup.

Can I use Vite and Tailwind CSS to build Claude artifacts with routing support?

Yes, you can use Vite and Tailwind CSS to build Claude artifacts with routing support. The Skill scaffolds a React project with these tools and bundles the multi-component application into a single HTML file.

Why does my multi-component Claude artifact fail to bundle without a tool like Vite?

Multi-component Claude artifacts fail to bundle without Vite because complex React applications with state management and shadcn/ui require proper dependency resolution and inlining to produce a single HTML file.