web-artifacts-builder

Bootstrap React and Vite projects and bundle them into a single HTML file.

15|2|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/OutlineDriven/odin-codex-plugin --skill web-artifacts-builder-outlinedriven
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/OutlineDriven/odin-codex-plugin/tree/main/skills/web-artifacts-builder
Command: npx skills add https://github.com/OutlineDriven/odin-codex-plugin --skill web-artifacts-builder-outlinedriven

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline, and includes scripts (resource) components.

What problem does it solve?

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

Core Features & Use Cases

  • Bootstrap a React + TypeScript project with Tailwind and shadcn/ui integration, including path aliases and Radix UI components.
  • Bundle all assets into a single HTML file for easy sharing in Claude conversations, including inlined JS/CSS.
  • Provide a repeatable workflow for building multi-component artifacts that require routing, state management, and UI components, suitable for demos, prototypes, and collaboration scenarios.

Quick Start

Initialize a new artifact project using the provided init-artifact.sh script and then bundle it into a single HTML 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 project into a single HTML file for Claude artifacts?

Bundle React, Tailwind, and shadcn/ui components into single-file HTML artifacts using a Parcel workflow with html-inline inlining. This approach supports complex artifacts requiring state management and routing for Claude conversations.

When should I use this React bundling workflow instead of writing simple HTML artifacts?

Use this workflow for complex, multi-component artifacts requiring routing, state management, or shadcn/ui components. For simple single-file HTML or JSX artifacts, standard inline coding is more appropriate than this multi-step bundling process.

How do I initialize a new shadcn/ui artifact project with Tailwind CSS?

Initialize a new shadcn/ui artifact project by running the provided init-artifact.sh script. This bootstraps a React and TypeScript environment with Tailwind CSS, path aliases, and Radix UI components pre-configured for artifact development.

Does the artifact bundler support path aliases for TypeScript projects?

Yes, the artifact bundler supports TypeScript path aliases using the parcel-resolver-tspaths dependency. This allows developers to use aliased import paths in multi-component React artifacts before inlining them into a single bundle.html file.

What is the best way to share multi-component React artifacts in Claude conversations?

The best way to share multi-component React artifacts is to compile them into a single HTML file with inlined JS and CSS. This workflow uses Parcel and html-inline to compile React, Tailwind, and shadcn/ui code into one shareable file.