web-artifacts-builder

Bundle React and Vite frontends into a self-contained HTML artifact.

4|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/MagicBowen/dogent --skill web-artifacts-builder-magicbowen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/MagicBowen/dogent/tree/main/claude/skills/skills/web-artifacts-builder
Command: npx skills add https://github.com/MagicBowen/dogent --skill web-artifacts-builder-magicbowen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node, pnpm, parcel, html-inline, tar, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a ready-to-use framework and tooling to create, bundle, and share Claude-compatible HTML artifacts built with React, Vite, Tailwind, and shadcn/ui, enabling rapid development of complex interactive documents.

Core Features & Use Cases

  • End-to-end artifact workflow: bootstrap, develop, bundle, and deploy artifacts that run inside Claude conversations as self-contained HTML artifacts.
  • Multi-component support: handle stateful UIs, routing, and UI kits to build complex artifacts for sophisticated user interactions.
  • Use Case: Teams can rapidly prototype a Claude-enabled front-end artifact and share a single bundle.html for review and feedback.

Quick Start

Initialize a new artifact project with the init script and then bundle it into a single HTML artifact using the bundle script.

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 and Vite frontend into a single HTML artifact?

To bundle a React and Vite frontend into a single HTML artifact, this Skill automates the build process using pnpm, parcel, and html-inline to compile multi-component UIs into a shareable bundle.html file.

Can I use Tailwind and shadcn/ui when building Claude artifacts?

Yes, you can use Tailwind and shadcn/ui when building Claude artifacts. This Skill scaffolds projects with these frameworks to support complex stateful UIs and routing within a self-contained HTML output.

What's the best way to package a stateful React app as a self-contained HTML file?

The best way to package a stateful React app as a self-contained HTML file is using this Skill's automated workflow, which bootstraps the project and bundles components, state, and routing into one bundle.html.

Do I need Node.js and pnpm installed to build Claude-compatible HTML artifacts?

Yes, you need Node.js and pnpm installed, along with parcel and html-inline, to bootstrap the React scaffold and execute the bundling scripts that produce your Claude-compatible HTML artifact.

Why does my multi-component Claude artifact need bundling into a single file?

Multi-component Claude artifacts need bundling into a single file to ensure they run correctly inside Claude conversations. This Skill packages routing, state, and UI kits into a portable bundle.html for immediate review.

How does the web-artifacts-builder handle complex interactive documents for Claude?

The web-artifacts-builder handles complex interactive documents by providing an end-to-end workflow that bootstraps, develops, and bundles React applications with state and routing into a single self-contained HTML artifact.