web-artifacts-builder

Initialize React, TypeScript, Vite, and Tailwind projects and bundle them into a single HTML file.

2.6k|130|Updated Jun 6, 2025
One-click install
npx skills add https://github.com/UnicomAI/wanwu --skill web-artifacts-builder-unicomai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/UnicomAI/wanwu/tree/main/configs/microservice/bff-service/configs/agent-skills/anthropics/web-artifacts-builder
Command: npx skills add https://github.com/UnicomAI/wanwu --skill web-artifacts-builder-unicomai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline, @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) and references (resource) components.

What problem does it solve?

This Skill provides a robust framework for creating sophisticated, multi-component web artifacts for platforms like Claude, moving beyond simple HTML/JSX to full-fledged React applications.

Core Features & Use Cases

  • Project Initialization: Quickly set up a new React + TypeScript project with Vite, Tailwind CSS, and shadcn/ui pre-configured.
  • Component Library: Includes over 40 shadcn/ui components for building modern, accessible user interfaces.
  • Bundling: Compiles the entire React application into a single, self-contained HTML file for easy deployment as an artifact.
  • Use Case: Develop an interactive data visualization dashboard or a complex form with dynamic validation and multi-step processes, all packaged as a single, shareable web artifact.

Quick Start

Run bash scripts/init-artifact.sh my-new-artifact to create a new project named 'my-new-artifact'.

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 application into a single HTML file for deployment?▼

To bundle a React application into a single HTML file, this Skill compiles the entire project using Vite and Parcel into a self-contained output. It packages your React, TypeScript, and Tailwind CSS code into one deployable web artifact.

Can I use shadcn/ui components to build complex web artifacts?▼

Yes, you can use shadcn/ui components to build web artifacts. This Skill includes over 40 pre-configured shadcn/ui components, allowing you to create modern, accessible user interfaces within your bundled React application.

How do I initialize a new React and TypeScript project with Tailwind CSS and Vite?▼

To initialize a new React and TypeScript project, run the provided initialization script. This sets up a new project with Vite, Tailwind CSS, and shadcn/ui pre-configured, giving you a ready-to-develop environment for web artifacts.

Does this bundling approach support dynamic form validation and multi-step processes?▼

Yes, this bundling approach supports dynamic form validation and multi-step processes. It utilizes react-hook-form and Zod resolvers to handle sophisticated, interactive frontend experiences within the compiled single-file artifact.

What is the best way to create interactive data visualization dashboards as web artifacts?▼

The best way to create interactive data visualization dashboards as web artifacts is using this Skill's framework. It provides the necessary React, TypeScript, and shadcn/ui architecture to develop and bundle complex dashboards into a single HTML file.

Why bundle a React app into a single HTML file instead of standard asset deployment?▼

Bundling a React app into a single HTML file addresses the need for deploying sophisticated, interactive frontend experiences on artifact-based platforms. It moves beyond simple HTML to full-fledged React applications packaged for easy sharing.