web-artifacts-builder

Scaffold React and TypeScript projects and bundle them into a single HTML artifact.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/doghelWang/amr_studio_v4 --skill web-artifacts-builder-doghelwang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/doghelWang/amr_studio_v4/tree/main/skills/web-artifacts-builder
Command: npx skills add https://github.com/doghelWang/amr_studio_v4 --skill web-artifacts-builder-doghelwang

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?

This skill provides a streamlined workflow to create elaborate Claude.ai HTML artifacts by scaffolding modern frontend projects (React, TypeScript, Vite, Tailwind, shadcn/ui) and bundling them into a single self-contained HTML artifact for Claude conversations.

Core Features & Use Cases

  • Project scaffolding for React + TypeScript with Vite
  • Tailwind CSS + shadcn/ui integration
  • Single-file artifact bundling (bundle.html) via scripts/bundle-artifact.sh
  • Optional steps: init-artifact, test, etc.

Quick Start

Initialize a new React-based artifact with scripts/init-artifact.sh, bundle it into a single HTML file with scripts/bundle-artifact.sh, and deploy 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 and TypeScript project into a single HTML file?

You can bundle a React and TypeScript project into a single HTML file by running the scripts/bundle-artifact.sh script, which uses Parcel and html-inline to inline all assets into a self-contained bundle.html.

What is the best way to create Claude artifacts using React and Tailwind CSS?

The best way to create Claude artifacts with React and Tailwind is to scaffold a project using scripts/init-artifact.sh, which sets up React, TypeScript, and shadcn/ui styling before bundling into a single HTML file.

Does this single-file bundling approach support shadcn/ui components?

Yes, this single-file bundling approach supports shadcn/ui components. The initialization script scaffolds a React and TypeScript environment pre-configured with Tailwind CSS and shadcn/ui for styling.

How does the inlining process work for frontend assets in Claude HTML artifacts?

The inlining process works by using Parcel to build the multi-component frontend template and html-inline to embed all JavaScript and styling assets directly into a self-contained bundle.html file.

Why use Parcel instead of Vite for bundling React artifacts into one file?

Parcel is used for bundling React artifacts because it integrates with parcel-resolver-tspaths and html-inline to consolidate multi-component templates into a single self-contained HTML file suitable for Claude delivery.

What are the limitations of bundling a full-stack frontend template into a self-contained HTML file?

A limitation of bundling a full-stack frontend template into a self-contained HTML file is that the final bundle.html contains all inlined assets, which can increase file size and complicate runtime debugging for complex React applications.