web-artifacts-builder

Bundle a React, Tailwind, and shadcn/ui frontend into a single HTML artifact.

Updated May 4, 2026
One-click install
npx skills add https://github.com/234194027-cpu/xianclaw --skill web-artifacts-builder-234194027-cpu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/234194027-cpu/xianclaw/tree/main/resources/openclaw/config/skills/web-artifacts-builder
Command: npx skills add https://github.com/234194027-cpu/xianclaw --skill web-artifacts-builder-234194027-cpu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you generate complex, stateful claude.ai HTML artifacts by converting a modern React + Tailwind + shadcn/ui app into a single self-contained HTML file you can share in Claude.

Core Features & Use Cases

  • Multi-component artifact bundling: Packages a React/Vite/shadcn/ui frontend into one bundle.html with inlined assets.
  • State management and routing-ready: Supports artifacts that need interactive UI behavior beyond single-file HTML/JSX.
  • Frontend consistency with shadcn/ui: Prepares a UI kit foundation (Tailwind theme + shadcn components) to reduce design and implementation friction.
  • Use Case: Build an interactive dashboard artifact (filters, tabs, dialogs, and navigation) that Claude can render reliably without external dependencies.

Quick Start

Initialize the artifact project by running the initialization script with your desired project name.

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 and Tailwind app into a single HTML file for Claude?

Bundle a React and Tailwind app into a single HTML file by initializing a project with the provided script, building it with Parcel, and inlining all assets into a self-contained bundle.html.

Can I use shadcn/ui components to build interactive Claude web artifacts?

Yes, you can use shadcn/ui components to build interactive Claude web artifacts. The Skill prepares a Tailwind theme and shadcn foundation to reduce design friction when creating stateful UIs.

What's the best way to create stateful UIs with routing and dialogs in Claude?

Create stateful UIs with routing and dialogs in Claude by developing a multi-component React application locally, then bundling it into one inlined HTML artifact using Parcel.

Do I need pnpm and Node to generate self-contained web artifacts?

Yes, you need pnpm and Node installed. The bundling process relies on pnpm to manage dependencies and Parcel to build and inline the React project into a single HTML file.

Can I share a multi-component React dashboard as a Claude artifact without external dependencies?

Yes, you can share a multi-component React dashboard as a Claude artifact. The Skill packages the frontend and inlines all assets into a single bundle.html file that renders reliably without external dependencies.

Why does my complex frontend not render properly as a single Claude HTML artifact?

A complex frontend may not render properly as a single Claude HTML artifact without proper inlining. This Skill solves that by using Parcel and html-inline to bundle all assets into one self-contained file.