artifacts-builder

Bundle React frontend projects into a single self-contained HTML artifact.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/illogical/InstructionLibrary --skill artifacts-builder-illogical
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: artifacts-builder
Source: https://github.com/illogical/InstructionLibrary/tree/main/skills/artifacts-builder
Command: npx skills add https://github.com/illogical/InstructionLibrary --skill artifacts-builder-illogical

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a toolkit to create elaborate, multi-component Claude.ai HTML artifacts by bundling React-based front-end code (with Tailwind and shadcn/ui) into a single, portable HTML artifact.

Core Features & Use Cases

  • Single-file artifact bundling: produce a self-contained HTML artifact suitable for Claude conversations or offline sharing.
  • Supports React + Tailwind + shadcn/ui components with stateful routing and UI composition.
  • Flexible initialization and bundling workflow via scripts/init-artifact.sh and scripts/bundle-artifact.sh; bundling uses Parcel and html-inline to inline assets.

Quick Start

Use the artifacts-builder skill to create a new artifact project:

  1. Initialize the frontend repo: bash scripts/init-artifact.sh <project-name>
  2. Change directory: cd <project-name>
  3. Develop your artifact by editing the generated code
  4. Bundle the artifact: bash scripts/bundle-artifact.sh
  5. Share the bundled artifact: use bundle.html
  6. Optional: test/visualize the artifact with your preferred tooling

Frequently Asked Questions about artifacts-builder

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

FAQPage Schema
How do I bundle multi-component React artifacts into a single HTML file?

To bundle multi-component React artifacts into a single HTML file, use a Node.js toolchain with Parcel and html-inline to compile and inline assets, producing a self-contained bundle for sharing and deployment.

Can I use shadcn/ui components with state management and routing in a bundled Claude artifact?

Yes, you can use shadcn/ui components with state management and routing in a bundled Claude artifact. This workflow supports React, Tailwind, and shadcn/ui composition to produce portable, self-contained bundles.

What is the best way to share complex frontend React projects as offline HTML files?

The best way to share complex frontend React projects as offline HTML files is to bundle them into a self-contained artifact using Parcel and html-inline, consolidating all assets into a single portable bundle.html file.

Does the artifact bundling process require any specific package manager or environment?

Yes, the artifact bundling process requires a Node.js-based environment using pnpm. This toolchain manages dependencies and executes the Parcel bundler alongside html-inline to inline assets into the final output.

What are the steps to initialize and bundle a Tailwind and shadcn/ui frontend project?

To initialize and bundle a Tailwind and shadcn/ui frontend project, run the init script to generate the repository, develop your code, then execute the bundle script to output a single self-contained HTML artifact.

Why do my Claude.ai HTML artifacts break when I try to share multi-component React apps?

Multi-component React apps break during sharing when assets are not properly inlined. Using an artifact bundling process with Parcel and html-inline consolidates all dependencies into a single self-contained file, resolving sharing issues.