web-artifacts-builder

Bundle React and TypeScript frontend artifacts into a single self-contained HTML file.

14|3|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/kevinlin/cowork-z --skill web-artifacts-builder-kevinlin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/kevinlin/cowork-z/tree/main/src-tauri/resources/skill-templates/web-artifacts-builder
Command: npx skills add https://github.com/kevinlin/cowork-z --skill web-artifacts-builder-kevinlin

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 tool bundles frontend artifacts into a single, self-contained HTML artifact suitable for Claude prompts.

Core Features & Use Cases

  • Inlines JavaScript, CSS, and assets from React + TypeScript projects into bundle.html for offline sharing.
  • Supports modern frontend stacks (Vite, Tailwind CSS, shadcn/ui) with a minimal setup.
  • Use Case: Share a complete UI prototype in Claude conversations without dependency setup.

Quick Start

Bundle your React + TypeScript project into a self-contained, inlined 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 offline sharing?

To bundle a React app into a single HTML file, use this tool to inline JavaScript, CSS, and assets into a self-contained bundle.html, requiring a valid index.html in the project root to process the output.

Can I inline CSS and JavaScript from a Vite and Tailwind CSS project?

Yes, you can inline CSS and JavaScript from a Vite and Tailwind CSS project. The tool supports modern frontend stacks by compiling and embedding all assets directly into one HTML artifact.

What's the best way to share a complete UI prototype in Claude conversations without dependency setup?

The best way to share a UI prototype without dependency setup is bundling it into a self-contained HTML artifact. This process inlines all project resources, enabling seamless offline sharing within AI prompts.

Do I need Parcel to bundle a TypeScript project into an inlined HTML artifact?

Yes, you need Parcel and its configuration packages to bundle a TypeScript project. The bundling process relies on Parcel alongside html-inline to compile resources and generate the final inlined HTML artifact.

Does this bundling approach work with shadcn/ui components?

Yes, this bundling approach works with shadcn/ui components. The tool supports modern React stacks including shadcn/ui, ensuring component styles and scripts are correctly inlined into the final HTML artifact.

Why does my bundled React artifact require a valid index.html in the project root?

Your bundled React artifact requires a valid index.html in the project root because it serves as the entry point. The bundler parses this file to locate scripts, styles, and assets for inlining into the output.