web-artifacts-builder

Bundle React apps into a single HTML artifact with inlined JavaScript and CSS.

2|1|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/dalehurley/phpbot --skill web-artifacts-builder-dalehurley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/dalehurley/phpbot/tree/main/skills/web-artifacts-builder
Command: npx skills add https://github.com/dalehurley/phpbot --skill web-artifacts-builder-dalehurley

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires 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?

Suite of tools for creating elaborate, multi-component 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

  • Bundles multi-component frontend projects into a single, Claude-friendly HTML artifact for easy sharing and offline demos.
  • Supports modern stacks (React, TypeScript, Vite, Parcel, Tailwind CSS, shadcn/ui) to preserve state, routing, and UI components in a portable bundle.
  • Use Case: Transform a complex frontend prototype into bundle.html that can be dropped into Claude conversations for quick validation.

Quick Start

Initialize a new React project with the included scripts and bundle it into a single HTML artifact for Claude conversations.

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 conversations?

To bundle a React app into a single HTML file, this tool uses Parcel to compile the project and inline all JavaScript and CSS assets directly into a self-contained bundle.html output suitable for Claude conversations.

What is the best way to share a multi-component frontend prototype with state management as a single artifact?

The best way to share a multi-component frontend prototype is to bundle the React, Tailwind CSS, and shadcn/ui project into a compact, self-contained HTML artifact that preserves state management, routing, and UI components.

Does this bundling process work with Vite and Tailwind CSS projects?

Yes, the bundling process works with Vite and Tailwind CSS projects. It supports modern frontend stacks including React, TypeScript, Vite, Parcel, and Tailwind CSS to transform complex prototypes into portable bundles.

Can I use shadcn/ui components when creating Claude HTML artifacts?

Yes, you can use shadcn/ui components when creating Claude HTML artifacts. The tool is specifically designed for complex artifacts requiring state management, routing, or shadcn/ui components.

When should I avoid using this approach for frontend artifact creation?

You should avoid using this approach for simple single-file HTML or JSX artifacts. It is specifically built for elaborate, multi-component frontend projects that require bundling into a single shareable file.

What project structure do I need to bundle a React app into an HTML artifact?

You need a frontend project containing an index.html file along with your React components. The bundler processes this project structure and outputs a final bundle.html with all assets inlined.