Language:JapaneseEnglish

web-artifacts-builder Claude Code Skill

Author
Anthropic
Topics
Web & App Development · Design & Media Production
License
Apache-2.0(opens in a new tab)
First cataloged
2026-07-09 (UTC)
Explanation last updated
2026-11-16 (UTC)
Source (GitHub) last updated
2026-04-20 (UTC) (224 days ago)

The explanation below is AI-generated. Please verify it against the sources.

This skill helps build complex, multi-component HTML artifacts for claude.ai using React, TypeScript, Tailwind CSS, and shadcn/ui components. According to the SKILL.md, it provides shell scripts to initialize a pre-configured frontend project and to bundle the resulting code into a single self-contained HTML file. It is intended for artifacts that require state management, routing, or shadcn/ui components, rather than simple single-file HTML or JSX artifacts. The skill also includes design guidance aimed at avoiding generic, formulaic visual patterns often associated with AI-generated interfaces. Optional testing or visualization with tools such as Playwright or Puppeteer can be performed after the artifact is presented to the user.

What you can do with web-artifacts-builder

  • Initialize a React + TypeScript + Vite project pre-configured with Tailwind CSS and more than 40 shadcn/ui components using init-artifact.sh
  • Edit the generated project files to develop the artifact's functionality and layout
  • Bundle all code, styles, and dependencies into a single bundle.html file using Parcel and html-inline via bundle-artifact.sh
  • Share the resulting self-contained HTML file in a claude.ai conversation as an artifact
  • Optionally verify the artifact's appearance or behavior with tools like Playwright or Puppeteer after it is presented
  • Apply the included design guidance to avoid generic visual patterns such as centered layouts, purple gradients, and uniform rounded corners

Sources

Back to list