Web artifacts builder

From workspace-dex/open-agent · View interactive version

Web artifacts builder is an AI agent skill from the GitHub repository workspace-dex/open-agent. Create HTML/React artifacts with Tailwind, shadcn/ui for claude.ai

How to use this skill

Skill file

Web Artifacts Builder

Create rich HTML artifacts using React + Tailwind CSS.

Quick Start

# Initialize artifact project (run once)
npx create-react-app my-artifact --templateType react
cd my-artifact
npm install

# Development
npm run dev

Design Guidelines

For distinctive, NON-generic AI aesthetics:

Stack

Example Artifact

export default function App() {
  const [count, setCount] = React.useState(0)
  return (
    <div className="min-h-screen bg-stone-900 text-white p-8">
      <h1 className="text-4xl font-bold mb-4">Counter: {count}</h1>
      <button 
        onClick={() => setCount(c => c + 1)}
        className="bg-emerald-500 hover:bg-emerald-600 px-4 py-2 rounded"
      >
        Increment
      </button>
    </div>
  )
}

Bundling

# Bundle to single HTML
npx parcel build src/index.js --dist-dir dist --no-source-maps
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.