web-artifacts-builder

Automate creation of React and TypeScript HTML artifacts for Claude.ai.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Xinm123/MyRecall --skill web-artifacts-builder-xinm123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-artifacts-builder
Source: https://github.com/Xinm123/MyRecall/tree/main/openrecall/.trae/skills/web-artifacts-builder
Command: npx skills add https://github.com/Xinm123/MyRecall --skill web-artifacts-builder-xinm123

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates the creation of elaborate Claude.ai HTML artifacts using a modern React + TypeScript stack, enabling complex UI, routing, and design systems to be packaged into shareable artifacts.

Core Features & Use Cases

  • Multi-component Artifacts: Build interactive artifacts with stateful components, routing, and UI systems (Tailwind + shadcn/ui).
  • Single HTML bundling: Inlines JavaScript/CSS into a self-contained bundle for Claude conversations.
  • Reusable templates: Starter projects that can be customized quickly for diverse use cases.
  • Use Case: When you need to deliver a feature-rich interactive Claude artifact that can be dropped into a chat.

Quick Start

  • Initialize the frontend repo using bash scripts/init-artifact.sh <project-name>
  • cd <project-name>
  • This creates a fully configured project with React + TypeScript, Tailwind CSS, shadcn/ui, and bundling via Parcel
  • To bundle into a single HTML artifact, run bash scripts/bundle-artifact.sh

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

You can bundle a React and TypeScript project into a single HTML file by running the provided bundle-artifact.sh script, which inlines all JavaScript and CSS into a self-contained bundle using Parcel.

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

Yes, you can use Tailwind CSS and shadcn/ui when building Claude HTML artifacts. The initialization script configures a React and TypeScript project with these UI systems to support complex, stateful components.

What is the best way to create interactive Claude artifacts with routing and stateful components?

The best way to create interactive Claude artifacts with routing and stateful components is to initialize a project using the init-artifact.sh script, which sets up a React stack with Vite and Parcel tailored for complex UI systems.

Does the Claude artifact bundling process support Vite for frontend development?

Yes, the Claude artifact bundling process supports Vite for frontend development. The automated project initialization configures Vite alongside React and TypeScript to streamline the development of elaborate artifacts.

How do I initialize a frontend repository for generating Claude HTML artifacts?

To initialize a frontend repository for generating Claude HTML artifacts, run the bash command scripts/init-artifact.sh followed by your project name, which creates a fully configured React and TypeScript starter project.