composiohq avatar

Artifacts Builder

This is for building complex React artifacts that go beyond simple single-file HTML. It sets up a full React 18 + TypeScript + Vite stack with Tailwind CSS and 40+ pre-installed shadcn/ui components, then bundles everything into a single HTML file that Claude can display as an artifact. You get state management, routing, and modern UI components without manual dependency wrangling. The bundling script uses Parcel to inline all JavaScript, CSS, and assets into one self-contained file. Worth noting: it explicitly warns against "AI slop" design patterns like excessive purple gradients and centered layouts, which is refreshingly self-aware. Best for interactive dashboards, multi-page apps, or anything needing proper component architecture.

skills.sh installs
4.8K
GitHub stars
79.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add composiohq/awesome-claude-skills --skill artifacts-builder --agent claude-code

Installs into .claude/skills of the current project.

Files

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)

Sponsors

Details

Repository
github.com/composiohq/awesome-claude-skills
Category
Frontend Development

More from composiohq/awesome-claude-skills

All 32
1tw93 avataruitw93/wazaProduces distinctive, production-grade UI for pages, components, visual interfaces, typography, and screenshot-driven polish. Use when users ask in any language4.7Kskills.sh installs
2grafana avatarapp-observabilitygrafana/skillsGet RED metrics + service maps + frontend RUM + AI/LLM monitoring out of Grafana Cloud — Application Observability (`traces_spanmetrics_*` from OTel traces, p504.7Kskills.sh installs
3cosscom avatarcosscosscom/cossHelps implement coss UI components correctly. Use when building UIs with coss primitives (buttons, dialogs, selects, forms, menus, tabs, inputs, toasts, etc.), 4.7Kskills.sh installs
4uni-stack avataruniwinduni-stack/uniwindUniwind — Tailwind CSS v4 styling for React Native. Use when adding, building, or debugging components in a React Native project that uses Uniwind classNames. C4.6Kskills.sh installs
5grafana avatarapp-sdk-conceptsgrafana/skillsUse when starting any grafana-app-sdk work — scaffolding a Grafana app, initializing a Grafana App Platform app, picking a deployment mode (standalone operator 4.5Kskills.sh installs
6grafana avatartestinggrafana/skillsProbe, load-test, and instrument frontends from Grafana Cloud. Covers Synthetic Monitoring (HTTP / DNS / TCP / Ping / Traceroute / Multihttp / k6-browser script4.5Kskills.sh installs