artifacts-builder

Bundle React+TypeScript apps with Tailwind and shadcn/ui into a single self-contained HTML file for Claude.

3|1|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/bobmatnyc/termpilot --skill artifacts-builder-bobmatnyc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: artifacts-builder
Source: https://github.com/bobmatnyc/termpilot/tree/main/.claude/skills/universal-main-artifacts-builder
Command: npx skills add https://github.com/bobmatnyc/termpilot --skill artifacts-builder-bobmatnyc

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?

Creating sophisticated, interactive HTML artifacts for Claude often involves complex setup and bundling. This skill streamlines the process of building elaborate, multi-component artifacts using a modern frontend stack, bundled into a single, shareable HTML file.

Core Features & Use Cases

  • React + TypeScript Foundation: Initializes a fully configured React project with TypeScript via Vite.
  • Tailwind CSS & shadcn/ui: Integrates Tailwind CSS with shadcn/ui for beautiful, accessible components.
  • Single-File Bundling: Compiles the entire application into a self-contained bundle.html for easy sharing.
  • Streamlined Workflow: Provides scripts for quick project initialization and bundling, reducing manual effort.

Quick Start

Use the artifacts-builder skill to initialize a new React project named 'dashboard-widget' and then bundle it into a single HTML file.

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 application with TypeScript into a single HTML file?

Bundling React with TypeScript into a single HTML file compiles your entire application—including components, styles, and assets—into one self-contained artifact. This Skill uses Parcel to bundle React 18 + TypeScript + Tailwind CSS + shadcn/ui projects into bundle.html, requiring only an index.html in your project root for deployment or sharing.

Can I use shadcn/ui components in Claude artifacts?

Yes. This Skill integrates shadcn/ui components within a React + TypeScript + Tailwind CSS environment, bundling them into a single HTML artifact. The workflow supports complex, multi-component UI patterns with full state management and styling.

What's the difference between building React artifacts manually versus using this bundler?

Manual setup requires configuring Vite, Tailwind CSS, shadcn/ui, and Parcel separately, then bundling and inlining assets by hand. This Skill automates project initialization and bundling into bundle.html with scripts, eliminating repetitive configuration and reducing manual effort.

Do I need Vite to create interactive HTML artifacts with React?

Vite provides fast development and optimized builds for React + TypeScript projects. This Skill uses Vite as its foundation, then bundles the output via Parcel into a single HTML file—combining Vite's developer experience with single-file portability.

What happens if my React project doesn't have an index.html file?

An index.html file in your project root is required by this Skill's bundling workflow. It serves as the entry point for Parcel to bundle your React application and all dependencies into bundle.html.