web-artifacts-builder

Bundle React projects into self-contained HTML artifacts for Claude.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/zyx77550/RESIDUAL-MISHKAT --skill web-artifacts-builder-zyx77550
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/zyx77550/RESIDUAL-MISHKAT/tree/main/.agents/skills/web-artifacts-builder
Command: npx skills add https://github.com/zyx77550/RESIDUAL-MISHKAT --skill web-artifacts-builder-zyx77550

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline, vite, tailwindcss, postcss, autoprefixer, @types/node, tailwindcss-animate, class-variance-authority, clsx, tailwind-merge, lucide-react, next-themes, @radix-ui/react-accordion, @radix-ui/react-aspect-ratio, @radix-ui/react-avatar, @radix-ui/react-checkbox, @radix-ui/react-collapsible, @radix-ui/react-context-menu, @radix-ui/react-dialog, @radix-ui/react-dropdown-menu, @radix-ui/react-hover-card, @radix-ui/react-label, @radix-ui/react-menubar, @radix-ui/react-navigation-menu, @radix-ui/react-popover, @radix-ui/react-progress, @radix-ui/react-radio-group, @radix-ui/react-scroll-area, @radix-ui/react-select, @radix-ui/react-separator, @radix-ui/react-slider, @radix-ui/react-slot, @radix-ui/react-switch, @radix-ui/react-tabs, @radix-ui/react-toast, @radix-ui/react-toggle, @radix-ui/react-toggle-group, @radix-ui/react-tooltip, sonner, cmdk, vaul, embla-carousel-react, react-day-picker, react-resizable-panels, date-fns, react-hook-form, @hookform/resolvers, zod, and includes scripts (resource) components.

What problem does it solve?

This tool helps developers ship Claude-ready, self-contained HTML artifacts by bundling React-based projects into a single HTML file.

Core Features & Use Cases

  • Multi-component artifact scaffolding with React, TypeScript, Vite, and Parcel-based bundling.
  • One-file artifact output suitable for Claude conversations, demos, and sharing.
  • Use cases include building interactive frontends that can be pasted into Claude chats for rich experiences.

Quick Start

Initialize a new artifact project with scripts/init-artifact.sh, develop your artifact, then bundle it into a single HTML file with scripts/bundle-artifact.sh.

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 for Claude artifacts?

You can bundle a multi-component React project into a single self-contained HTML file by running the scripts/bundle-artifact.sh script, which uses Vite and Parcel to compile the codebase into one output file suitable for Claude conversations.

What dependencies do I need to create React HTML artifacts?

Creating React HTML artifacts requires an environment with Node.js and pnpm installed, along with an existing project containing an index.html file and the necessary React, Tailwind, and shadcn/ui dependencies configured.

Can I use shadcn/ui components in my Claude-ready HTML artifacts?

Yes, you can use shadcn/ui components in Claude-ready HTML artifacts because the bundler supports projects utilizing Radix UI primitives, Tailwind CSS, and class-variance-authority to compile complex interfaces into a single file.

What is the best way to scaffold a multi-component React artifact with state management?

The best way to scaffold a multi-component React artifact is to run the scripts/init-artifact.sh script, which initializes a TypeScript project configured with Vite, Tailwind, and state management libraries like react-hook-form and zod.

Does the artifact bundler support complex routing and UI components?

Yes, the artifact bundler supports complex artifacts requiring routing, state management, and UI components by compiling React, Tailwind, and shadcn/ui dependencies into a self-contained HTML file.

Why does my React artifact bundle fail during compilation?

Your React artifact bundle may fail if the project lacks a valid index.html file, or if the Node.js and pnpm environment is not properly configured to support the Vite and Parcel bundling pipeline.