Artifacts Builder

composiohq/awesome-claude-skills/artifacts-builder

by composiohqbe2a406907dbComplete terms in LICENSE.txt81K starsListed Nov 20, 2026Updated Nov 20, 2026Repository updated 2 months ago

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.

Includes scriptsSoftware Development
AI-generated overview

Scaffolds, builds and bundles multi-component React artifacts into a single self-contained HTML file for claude.ai.

What it does
Initializes a React 18 + TypeScript + Vite project with Tailwind CSS, shadcn/ui theming and 40+ pre-installed components, then guides editing of the generated code. A bundling script uses Parcel and html-inline to produce bundle.html with all JavaScript, CSS and dependencies inlined. It also offers optional design guidance and optional testing of the finished artifact.
When to use it
Use when building elaborate claude.ai HTML artifacts that need state management, routing or shadcn/ui components. Not intended for simple single-file HTML or JSX artifacts.
Requirements
Node 18+ with npm and network access to install dependencies; ships two bash scripts (init-artifact.sh, bundle-artifact.sh) and a shadcn components archive. The project needs an index.html at its root before bundling.

How AI overviews are written and checked

Artifacts Builder

To build powerful frontend claude.ai artifacts, follow these steps:

  1. Initialize the frontend repo using scripts/init-artifact.sh
  2. Develop your artifact by editing the generated code
  3. Bundle all code into a single HTML file using scripts/bundle-artifact.sh
  4. Display artifact to user
  5. (Optional) Test the artifact

Stack: React 18 + TypeScript + Vite + Parcel (bundling) + Tailwind CSS + shadcn/ui

Design & Style Guidelines

VERY IMPORTANT: To avoid what is often referred to as "AI slop", avoid using excessive centered layouts, purple gradients, uniform rounded corners, and Inter font.

Quick Start

Step 1: Initialize Project

Run the initialization script to create a new React project:

bash scripts/init-artifact.sh <project-name>
cd <project-name>

This creates a fully configured project with:

  • ✅ React + TypeScript (via Vite)
  • ✅ Tailwind CSS 3.4.1 with shadcn/ui theming system
  • ✅ Path aliases (@/) configured
  • ✅ 40+ shadcn/ui components pre-installed
  • ✅ All Radix UI dependencies included
  • ✅ Parcel configured for bundling (via .parcelrc)
  • ✅ Node 18+ compatibility (auto-detects and pins Vite version)

Step 2: Develop Your Artifact

To build the artifact, edit the generated files. See Common Development Tasks below for guidance.

Step 3: Bundle to Single HTML File

To bundle the React app into a single HTML artifact:

bash scripts/bundle-artifact.sh

This creates bundle.html - a self-contained artifact with all JavaScript, CSS, and dependencies inlined. This file can be directly shared in Claude conversations as an artifact.

Requirements: Your project must have an index.html in the root directory.

What the script does:

  • Installs bundling dependencies (parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline)
  • Creates .parcelrc config with path alias support
  • Builds with Parcel (no source maps)
  • Inlines all assets into single HTML using html-inline

Step 4: Share Artifact with User

Finally, share the bundled HTML file in conversation with the user so they can view it as an artifact.

Step 5: Testing/Visualizing the Artifact (Optional)

Note: This is a completely optional step. Only perform if necessary or requested.

To test/visualize the artifact, use available tools (including other Skills or built-in tools like Playwright or Puppeteer). In general, avoid testing the artifact upfront as it adds latency between the request and when the finished artifact can be seen. Test later, after presenting the artifact, if requested or if issues arise.

Reference

Source and attribution

Source:composiohq/awesome-claude-skillsinartifacts-builderat commitbe2a406

License: Complete terms in LICENSE.txt

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Add a badge to your README

Show readers this skill is listed on SourceWeft. The badge links to this page.

Preview of the “Listed on SourceWeft” badge
[![Listed on SourceWeft](https://sourceweft.com/badge/skills/gh-composiohq-awesome-claude-skills-artifacts-builder.svg)](https://sourceweft.com/skills/gh-composiohq-awesome-claude-skills-artifacts-builder?utm_source=readme&utm_medium=badge)

Report or request removal

More from composiohq/awesome-claude-skills

Developer Growth Analysis

composiohq

Analyzes recent Claude Code chat history to find coding gaps, curates HackerNews resources, and sends a growth report to Slack DMs.

Productivity & Workflow81Kupdated 2 months ago

Added to 1 workspace

Webapp Testing

composiohq

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

Includes scripts
Awaiting classification81Kupdated 2 months ago

Slack Gif Creator

composiohq

Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".

Includes scripts
Awaiting classification81Kupdated 2 months ago

Mcp Builder

composiohq

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

Includes scripts
Awaiting classification81Kupdated 2 months ago

Connect

composiohq

Connect Claude to any app. Send emails, create issues, post messages, update databases - take real actions across Gmail, Slack, GitHub, Notion, and 1000+ services.

Awaiting classification81Kupdated 2 months ago

Twitter Algorithm Optimizer

composiohq

Analyzes and rewrites tweets to improve reach using Twitter's open-source ranking algorithm concepts.

Marketing & Sales81Kupdated 2 months ago