web-artifacts-builder

Build React, TypeScript, Vite, Tailwind CSS, and shadcn/ui artifacts into a single HTML file.

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

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 using modern frontend technologies, streamlining the development process for complex user interfaces.

Core Features & Use Cases

  • Project Initialization: Quickly set up a new React project with pre-configured Vite, TypeScript, Tailwind CSS, and shadcn/ui.
  • Component Integration: Seamlessly use a wide array of shadcn/ui components and Radix UI primitives.
  • Bundling: Consolidate the entire application into a single, self-contained HTML file for easy deployment as an artifact.
  • Use Case: Develop an interactive dashboard artifact with dynamic data visualization, user input forms, and a responsive layout, all bundled into a single HTML file.

Quick Start

Run the initialization script to create a new React project named 'my-artifact' and then bundle the project into a single HTML file.

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 for Claude artifacts, this Skill uses Parcel to consolidate the entire application, including JavaScript, CSS, and assets, into a self-contained HTML file for easy deployment.

Can I use shadcn/ui components to build complex web artifacts with state management?

Yes, you can build complex web artifacts with state management using shadcn/ui. This Skill integrates Radix UI primitives, React Hook Form, and Zod to facilitate sophisticated UI creation and dynamic data handling.

What is the best way to set up a React project with Vite, TypeScript, and Tailwind CSS?

The best way to set up a React project with Vite, TypeScript, and Tailwind CSS is using this Skill's initialization script, which pre-configures the environment alongside shadcn/ui to streamline complex frontend development.

Does this web artifact builder support routing and advanced UI components like carousels and dialogs?

This web artifact builder supports routing and advanced UI components by providing a wide array of pre-configured shadcn/ui primitives, including dialogs, dropdowns, carousels via Embla, and resizable panels for elaborate interfaces.

Why use Vite and Parcel together for building web artifacts?

Using Vite and Parcel together for building web artifacts leverages Vite's fast development server for project initialization while utilizing Parcel's bundling capability to output a single, self-contained HTML file for artifact deployment.