web-artifacts-builder

Builds single-file HTML artifacts from React/TypeScript projects with Tailwind and shadcn/ui.

Updated Dec 21, 2025
One-click install
npx skills add https://github.com/ai-wes/glassbox-operator --skill web-artifacts-builder-ai-wes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/ai-wes/glassbox-operator/tree/main/skills/skills/web-artifacts-builder
Command: npx skills add https://github.com/ai-wes/glassbox-operator --skill web-artifacts-builder-ai-wes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @parcel/config-default, @hookform/resolvers, @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, @types/node, autoprefixer, class-variance-authority, clsx, cmdk, date-fns, embla-carousel-react, html-inline, lucide-react, next-themes, parcel, parcel-resolver-tspaths, postcss, react-day-picker, react-hook-form, react-resizable-panels, sonner, tailwind-merge, tailwindcss, tailwindcss-animate, vaul, vite, zod, @vitejs/plugin-react, and includes scripts (resource) components.

What problem does it solve?

This Skill turns complex frontend ideas into polished, shareable Claude artifact projects without manually wiring up React, styling, or bundling.

Core Features & Use Cases

  • Project Bootstrapping: Creates a ready-to-edit React + TypeScript + Vite app with Tailwind and shadcn/ui already configured.
  • Artifact Bundling: Packages the finished app into a single inlined HTML file for easy sharing and direct preview.
  • Use Case: Use it when you need an interactive dashboard, editor, or multi-step UI that requires state, routing, and reusable component libraries.

Quick Start

Ask me to initialize a new web artifact project and bundle it into a single HTML file using this skill.

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 sharing?

You can bundle a React app into a single HTML file using this Skill, which leverages Vite and Parcel bundling with HTML inlining to compile multi-component UIs, routing, and state into one shareable file.

Can I use shadcn/ui and Tailwind CSS in a single-file web artifact?

Yes, you can use shadcn/ui and Tailwind CSS in a single-file web artifact. This Skill pre-configures React 18 with TypeScript and Tailwind styling to compose interfaces before bundling them with Parcel.

What is the best way to build interactive dashboards with React and export them as HTML?

The best way to build interactive dashboards and export them as HTML is bootstrapping a React project with shadcn/ui for state and routing, then using this Skill's Parcel bundling to inline everything into one shareable file.

Does this React bundling approach support TypeScript path aliases?

Yes, this React bundling approach supports TypeScript path aliases. It uses the parcel-resolver-tspaths plugin during the Vite and Parcel build process to ensure deterministic single-file artifact generation.

How do I package a multi-step UI with routing into a shareable artifact?

To package a multi-step UI with routing into a shareable artifact, initialize a React 18 project using this Skill, configure your components, and bundle the output with Parcel into a single inlined HTML file.