web-artifacts-builder

Bundle React projects into a single HTML artifact with Parcel.

97|17|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/antoniolg/agent-kit --skill web-artifacts-builder-antoniolg
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/antoniolg/agent-kit/tree/main/skills/3rd-web-artifacts-builder
Command: npx skills add https://github.com/antoniolg/agent-kit --skill web-artifacts-builder-antoniolg

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?

Bundling frontend React projects into a single, self-contained HTML artifact enables easy sharing in chat environments (like Claude) without hosting or external dependencies.

Core Features & Use Cases

  • Automates turning a multi-file frontend project into a single HTML artifact with inlined JS/CSS.
  • Removes hosting friction by producing portable artifacts suitable for chat-based workflows and offline demonstrations.
  • Use Case: share a complex UI prototype in Claude as a single-file artifact that includes Tailwind styles and shadcn/ui components.

Quick Start

Run the bundling script to produce bundle.html from your React project.

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 project into a single HTML file?▼

You can bundle a React project into a single HTML file by running a scripted workflow that uses Parcel to build the project and output a portable bundle.html with inlined JS and CSS.

Can I include Tailwind CSS and shadcn/ui components in a single-file HTML artifact?▼

Yes, Tailwind CSS and shadcn/ui components are fully supported. The bundling workflow processes these complex frontend libraries directly into the final self-contained bundle.html.

What's the best way to share interactive UI prototypes in Claude chat without hosting?▼

The best way to share interactive UI prototypes without hosting is to bundle them into a self-contained HTML artifact. This removes external dependencies and enables offline sharing directly in chat-based workflows.

Does this single-file bundle workflow support TypeScript path aliasing?▼

Yes, the single-file bundle workflow supports TypeScript path aliasing. It satisfies path aliasing requirements during the build process by utilizing the parcel-resolver-tspaths dependency.

Why do I need Parcel to generate a self-contained frontend bundle?▼

You need Parcel to generate a self-contained frontend bundle because it automates tooling installation, handles the project build, and uses html-inline to inline all JavaScript and CSS assets into the output file.