artifacts-builder_skill

This skill helps you build complex claude.ai HTML artifacts with React, Tailwind, and shadcn/ui, enabling multi-component routing and state management.
  • Python

2.5k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill artifacts-builder

  • _meta.json288 B
  • SKILL.md3.0 KB

Overview

This skill is a suite of tools for creating elaborate, multi-component HTML artifacts for claude.ai using modern frontend technologies (React, TypeScript, Tailwind CSS, shadcn/ui). It scaffolds a full Vite-based React app, provides a bundling pipeline that inlines everything into a single HTML file, and includes a rich set of preinstalled UI components. Use it when you need state, routing, or complex shadcn/ui components that exceed single-file snippets.

How this skill works

The skill generates a ready-to-develop React + TypeScript project using an initialization script, then runs a bundler script that compiles and inlines the entire app into bundle.html. The bundling step installs Parcel and helpers, builds without source maps, and uses html-inline to produce a self-contained HTML artifact. The resulting file contains all JS, CSS, and assets so it can be shared directly in a conversation.

When to use it

  • When the artifact requires state management, routing, or multiple pages.
  • When you want to use shadcn/ui components or Radix-backed UI patterns.
  • When a self-contained HTML artifact is required for sharing or archival.
  • When you need a Vite + React + TypeScript starter with Tailwind configured.
  • When single-file HTML/JSX snippets are insufficient for your UI complexity.

Best practices

  • Start with scripts/init-artifact.sh to scaffold the project and avoid manual setup.
  • Follow the design guideline: avoid centered-heavy layouts, purple gradients, and Inter-only typography to reduce "AI slop."
  • Keep index.html well-structured; the bundler expects an index.html at project root.
  • Develop iteratively locally, then run scripts/bundle-artifact.sh only when ready to share.
  • Prefer testing after delivering the artifact to users unless debugging is required.

Example use cases

  • A multi-step form with client-side validation, complex state, and conditional routing.
  • A dashboard with multiple shadcn/ui components, modals, and keyboard interactions.
  • A portable UI demo that must be archived and reopened later without build tooling.
  • A rich interactive help widget that uses Tailwind theming and custom component composition.

FAQ

Yes. scripts/bundle-artifact.sh produces bundle.html that inlines JS, CSS, and assets for direct sharing.

What stack is preconfigured?

React 18 + TypeScript (Vite), Tailwind CSS, shadcn/ui, Radix deps, and Parcel for bundling.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
artifacts-builder skill by openclaw/skills | VeilStrat