artifacts-builder

Bundle a React frontend project into a single self-contained HTML file.

5|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/QuestForTech-Investments/claude-code-skills --skill artifacts-builder-questfortech-investments
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: artifacts-builder
Source: https://github.com/QuestForTech-Investments/claude-code-skills/tree/main/artifacts-builder
Command: npx skills add https://github.com/QuestForTech-Investments/claude-code-skills --skill artifacts-builder-questfortech-investments

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 addresses the challenge of sharing rich, interactive frontend artifacts by bundling a multi-file React/Vite project into a single, self-contained HTML artifact suitable for Claude queries and demonstrations.

Core Features & Use Cases

  • Initialize a complete React + Tailwind + shadcn/ui project with a single script.
  • Bundle the project into bundle.html with all JavaScript, CSS, and assets inlined.
  • Validate and share interactive artifacts that can run directly in Claude conversations or browsers without external dependencies.
  • Use cases: presenting UI demos, packaging complex artifacts for chat-based consultations, or archiving reusable UI components.

Quick Start

Run the initialization script: bash scripts/init-artifact.sh <project-name> Change to the project directory: cd <project-name> Bundle into a single HTML: bash scripts/bundle-artifact.sh

Frequently Asked Questions about 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 for Claude?▼

You can bundle a React project into a single HTML file by running the initialization and bundling scripts, which use pnpm, parcel, and html-inline to inline all JavaScript, CSS, and assets into a self-contained bundle.html.

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

Yes, Tailwind and shadcn/ui are supported. The initialization script sets up a complete React project pre-configured with Tailwind and shadcn/ui before bundling everything into one file.

What's the best way to share a complex interactive UI demo in a chat conversation?▼

Bundling the multi-component frontend into a self-contained HTML artifact allows interactive UI demos to run directly in Claude conversations or browsers without external dependencies.

Do I need pnpm installed to bundle React frontend artifacts?▼

Yes, pnpm is required. The end-to-end bundling workflow uses pnpm along with parcel and html-inline to initialize the project, manage dependencies, and produce the final inlined bundle.html.

Why does my multi-file React app not work when pasted directly into Claude?▼

Pasting multiple files directly fails because Claude requires a single self-contained file. Bundling inlines all state management, routing, JavaScript, and CSS into one HTML file to resolve this.

Does this single-file bundling process support React projects with routing and state management?▼

Yes, the bundling process is specifically designed for complex UI artifacts that include state management and routing, packaging them into a single HTML file for Claude queries and demonstrations.