web-artifacts-builder

Create React and TypeScript web artifacts bundled into a single HTML file.

Updated Jan 11, 2017
One-click install
npx skills add https://github.com/kaustubhhiware/dotfiles --skill web-artifacts-builder-kaustubhhiware
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/kaustubhhiware/dotfiles/tree/main/claude/plugins/marketplaces/anthropic-agent-skills/skills/web-artifacts-builder
Command: npx skills add https://github.com/kaustubhhiware/dotfiles --skill web-artifacts-builder-kaustubhhiware

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 simplifies the creation of sophisticated, multi-component web artifacts for platforms like Claude, which traditionally require complex frontend development workflows.

Core Features & Use Cases

  • Project Initialization: Sets up a new React + TypeScript project with Vite, Tailwind CSS, and shadcn/ui pre-configured.
  • Component Integration: Includes over 40 shadcn/ui components and necessary dependencies for modern UI development.
  • Bundling: Compiles the entire React application into a single, self-contained HTML file for easy sharing and deployment as an artifact.
  • Use Case: Develop an interactive dashboard or a data visualization tool as a Claude artifact, complete with dynamic components and custom styling.

Quick Start

Initialize a new web artifact project named 'my-dashboard' by running the command bash scripts/init-artifact.sh my-dashboard.

Frequently Asked Questions about web-artifacts-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build React web artifacts with Tailwind CSS and shadcn/ui?

Building React web artifacts with Tailwind CSS and shadcn/ui involves initializing a pre-configured project via a shell script, developing components, and bundling the application into a single self-contained HTML file for deployment.

Can I use shadcn/ui components in a single HTML file artifact?

Yes, you can use shadcn/ui components in a single HTML file artifact. The skill integrates over 40 Radix UI dependencies and compiles the entire React application into one self-contained HTML file for deployment.

How do I initialize a TypeScript project for Claude artifacts?

You initialize a TypeScript project for Claude artifacts by running the `scripts/init-artifact.sh` shell script with your project name. This sets up a React environment with Tailwind CSS, shadcn/ui, and necessary bundling configurations.

Does this artifact builder support form validation libraries like react-hook-form?

Yes, this artifact builder supports form validation libraries like react-hook-form. The project setup includes react-hook-form and zod resolvers as dependencies, allowing you to build complex data-driven forms within your web artifacts.

What is the best way to bundle a React application into a single HTML file?

The best way to bundle a React application into a single HTML file is using the integrated Parcel configuration. It automates project setup, component integration, and compiles all assets into one self-contained file for conversational platforms.

Why are my shadcn/ui components not working in my bundled HTML artifact?

If shadcn/ui components are not working in your bundled HTML artifact, verify that all required Radix UI dependencies are installed. The bundler compiles everything into a single file, so missing dependencies will cause runtime errors in the final output.