artifacts-builder

Bundle React, TypeScript, and Tailwind projects into a single HTML artifact.

6|Updated Aug 19, 2025
One-click install
npx skills add https://github.com/lv416e/dotfiles --skill artifacts-builder-lv416e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: artifacts-builder
Source: https://github.com/lv416e/dotfiles/tree/main/dot_claude/skills/artifacts-builder
Command: npx skills add https://github.com/lv416e/dotfiles --skill artifacts-builder-lv416e

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node.js, pnpm, vite, parcel, tailwindcss, shadcn/ui, react, typescript, radix-ui, zod, and includes scripts (resource) components.

What problem does it solve?

Creating complex, interactive HTML artifacts for AI conversations often requires setting up a full frontend development environment and bundling it into a single file. This skill automates the entire process, from project initialization to final bundling.

Core Features & Use Cases

  • Project Initialization: Sets up a React 18 + TypeScript + Vite project with Tailwind CSS and shadcn/ui theming.
  • Shadcn/ui Integration: Pre-installs 40+ shadcn/ui components and Radix UI dependencies for rapid UI development.
  • Single HTML Bundling: Bundles the entire React app into a self-contained bundle.html file for easy sharing as an artifact.
  • Node 18+ Compatibility: Automatically detects and pins Vite version for compatibility across Node.js environments.

Quick Start

Use the artifacts-builder skill to initialize a new React project named 'my-dashboard' 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 app into a single HTML artifact?

Bundling a React app into a single HTML artifact involves initializing a project with React, TypeScript, and Vite, then using a bundling script to inline all assets—CSS, JavaScript, images—into one self-contained HTML file. This skill automates that entire process, outputting a `bundle.html` ready to share.

Can I use shadcn/ui components when building interactive web artifacts?

Yes. This skill pre-installs 40+ shadcn/ui components and Radix UI dependencies, letting you build complex multi-component layouts with pre-styled UI elements. You can immediately start composing interactive interfaces without manual component setup.

What's required to initialize a React project with Tailwind CSS and modern tooling?

Initializing a React project with Tailwind CSS requires Node.js 18+, a bundler like Vite, TypeScript configuration, and dependency installation. This skill handles project setup automatically, detecting your Node version and pinning compatible Vite versions across environments.

Do I need to manually configure path aliases and asset inlining for HTML artifacts?

Manual configuration adds friction when building self-contained artifacts. This skill handles path alias resolution and inlines all assets—fonts, images, styles—during bundling, so your output HTML works standalone without external dependencies.

Can I use React Router and state management in artifacts that need to be single HTML files?

Yes. This skill supports complex artifact requirements including multi-component layouts, state management, and routing. The bundling process preserves your React application structure, enabling full app functionality within a single HTML file.