web-artifacts-builder

Bundle React apps into single HTML files for Claude artifacts.

1|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/Codcyber101/Doc-Consult-Agent --skill web-artifacts-builder-codcyber101
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/Codcyber101/Doc-Consult-Agent/tree/main/skills/web-artifacts-builder
Command: npx skills add https://github.com/Codcyber101/Doc-Consult-Agent --skill web-artifacts-builder-codcyber101

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline, vite, tailwindcss, postcss, autoprefixer, tailwindcss-animate, 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 Skill automates building self-contained Claude-ready web artifacts by bundling a React app into a single HTML file.

Core Features & Use Cases

  • Automated project scaffolding with Tailwind CSS and shadcn/ui
  • Single-file HTML artifact bundling with all JS/CSS inlined
  • Use cases: share interactive frontend artifacts in Claude; deploy multi-component artifacts for policy docs; rapid prototyping of Claude artifacts using modern frontend tech

Quick Start

Use the provided scripts:

  • Run: bash scripts/init-artifact.sh <project-name>
  • Navigate: cd <project-name>
  • Build bundle: bash scripts/bundle-artifact.sh
  • Share: use bundle.html in Claude conversation

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

To bundle a React app into a single HTML file, run the provided scripts to scaffold a Vite project with Tailwind CSS and shadcn/ui, then execute the bundle script to inline all JS and CSS into a shareable bundle.html file.

What is the best way to create self-contained Claude-ready web artifacts using Vite and Tailwind?

The best way to create self-contained Claude-ready web artifacts is to scaffold a project using Vite and Tailwind CSS, build your interactive components with shadcn/ui, and use an automated bundling script to generate an inlined HTML file.

Does this React bundling workflow include shadcn/ui and Radix UI components?

Yes, the React bundling workflow includes shadcn/ui and Radix UI components. The project setup provides dependencies for Radix UI primitives, Tailwind CSS animations, and lucide-react icons to build interactive interfaces.

How do I share interactive frontend prototypes inside a Claude discussion?

You can share interactive frontend prototypes inside a Claude discussion by bundling your multi-component React application into a single self-contained HTML file with all assets inlined, then sharing that bundle in the conversation.

Can I use Vite and Parcel together to inline CSS and JS into a single bundle?

Yes, you can use Vite and Parcel together. The workflow uses Vite for development and standard front-end tooling, while leveraging Parcel and html-inline configurations to generate the final inlined bundle.html.

What are the limitations when bundling a React app into a single file for Claude?

A limitation when bundling a React app into a single file is that all assets must be inlined into one HTML document, requiring specific build scripts to manage Vite configurations and ensure standard front-end tooling outputs a valid bundle.