Web Artifacts Builder

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.

Dokhacgiakhoa Updated 505 repo stars

File contents

Web 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

🧠 Knowledge Modules (Fractal Skills)

1. Step 1: Initialize Project

2. Step 2: Develop Your Artifact

3. Step 3: Bundle to Single HTML File

4. Step 4: Share Artifact with User

5. Step 5: Testing/Visualizing the Artifact (Optional)

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI/tree/main/.agent/skills/web-artifacts-builder commit 0ab36e38cb

Frequently asked questions

npx skillmds@latest add dokhacgiakhoa/web-artifacts-builder