web-artifacts-builder

Bundle frontend artifacts into a single HTML file for Claude.

Updated Jun 8, 2025
One-click install
npx skills add https://github.com/noartem/kawa --skill web-artifacts-builder-noartem
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/noartem/kawa/tree/main/ui/.ai/skills/web-artifacts-builder
Command: npx skills add https://github.com/noartem/kawa --skill web-artifacts-builder-noartem

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pnpm, parcel, parcel-resolver-tspaths, html-inline, vite, tailwindcss, postcss, autoprefixer, @types/node, tailwindcss-animate, class-variance-authority, 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?

Designing and deploying rich Claude.artifacts can be complex and time-consuming without a repeatable build pipeline.

Core Features & Use Cases

  • Automates scaffolding, bundling, and inlining of frontend artifacts for Claude conversations.
  • Supports React + Tailwind + shadcn/ui based artifacts with multi-component architectures.
  • Use Case: Create a shareable artifact that demonstrates a multi-step UI within Claude.

Quick Start

Run the bundle-artifact.sh script from your project root to generate a single, Claude-ready bundle.html.

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 React artifacts into a single HTML file for Claude?

To bundle React artifacts into a single HTML file for Claude, you run the `bundle-artifact.sh` script from your project root. This uses Parcel and html-inline to compile and inline all assets, generating a deterministic `bundle.html` ready for Claude conversations.

What is the best way to create complex Claude artifacts with state management and routing?

The best way to create complex Claude artifacts with state management and routing is using a deterministic build pipeline. This Skill automates scaffolding and bundling for React, Tailwind, and shadcn/ui architectures into a single shareable HTML file.

Does this artifact bundling pipeline support shadcn/ui and Tailwind CSS?

Yes, this artifact bundling pipeline fully supports shadcn/ui and Tailwind CSS. It is specifically designed to handle React-based artifacts utilizing these frameworks, including multi-component architectures with Radix UI dependencies.

Do I need pnpm to build frontend artifacts for Claude conversations?

Yes, you need pnpm to install dependencies for building frontend artifacts for Claude. The deterministic build pipeline relies on pnpm alongside Parcel and html-inline to successfully scaffold and inline assets into a single file.

Why does my Claude artifact require a single HTML file?

Your Claude artifact requires a single HTML file because Claude conversations expect fully self-contained outputs. Inlining JavaScript, CSS, and other assets into one HTML file ensures the complex multi-step UI functions correctly without external dependency requests.

Can I use Vite instead of Parcel to inline React components for Claude?

While Vite is included as a dependency, the core deterministic build pipeline uses Parcel and html-inline to inline React components for Claude. Vite may be configured for alternative development workflows within the project structure.