skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
eyadsibai/ltk62 installs

react-artifacts

Use when "building React artifacts", "creating HTML artifacts", "bundling React apps", "single HTML file", or asking about "artifact builder", "shadcn components", "Tailwind artifacts"

How do I install this agent skill?

npx skills add https://github.com/eyadsibai/ltk --skill react-artifacts
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides a workflow for building React-based HTML artifacts using standard development tools like Vite, Parcel, and Tailwind CSS. It references local shell scripts for automation. No malicious code, obfuscation, or safety bypasses were found.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    1 file scanned · No issues

What does this agent skill do?

<!-- Adapted from: awesome-claude-skills/artifacts-builder -->

React Artifacts Builder

Create elaborate, multi-component claude.ai HTML artifacts using React, Tailwind CSS, and shadcn/ui.

When to Use

  • Building complex React artifacts for claude.ai
  • Creating interactive demos needing state management
  • Using shadcn/ui components in artifacts
  • Bundling React apps into single HTML files
  • NOT for simple single-file HTML/JSX artifacts

Stack

  • React 18 + TypeScript + Vite
  • Parcel (bundling)
  • Tailwind CSS
  • shadcn/ui (40+ pre-installed components)

Workflow

  1. Initialize - Create project with init script
  2. Develop - Build your artifact
  3. Bundle - Convert to single HTML file
  4. Share - Display artifact to user

Project Initialization

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

Creates project with:

  • React + TypeScript via Vite
  • Tailwind CSS with shadcn theming
  • Path aliases (@/) configured
  • 40+ shadcn/ui components pre-installed
  • All Radix UI dependencies
  • Parcel configured for bundling

Bundling to Single HTML

# Bundle entire React app to one HTML file
bash scripts/bundle-artifact.sh

Creates bundle.html - self-contained artifact with all JS, CSS, and dependencies inlined.

Design Guidelines

Avoid "AI slop":

  • No excessive centered layouts
  • No purple gradients
  • No uniform rounded corners
  • Vary from Inter font

Best Practices:

  • Match content to subject
  • Clear visual hierarchy
  • Consistent patterns
  • Accessible design

shadcn/ui Components

Reference: https://ui.shadcn.com/docs/components

Pre-installed components include:

  • Button, Card, Dialog, Drawer
  • Form, Input, Select, Checkbox
  • Table, Tabs, Toast
  • And many more...

Example Structure

import { Button } from "@/components/ui/button"
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"

export default function App() {
  return (
    <Card>
      <CardHeader>
        <CardTitle>My Artifact</CardTitle>
      </CardHeader>
      <CardContent>
        <Button>Click me</Button>
      </CardContent>
    </Card>
  )
}

Tips

  • Develop normally, bundle at the end
  • Test in browser before bundling
  • Keep bundle size reasonable
  • Use Tailwind for responsive design

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/eyadsibai/ltk/react-artifacts">View react-artifacts on skillZs</a>