Artifacts Builder

作成者: Anthropic

モダンなフロントエンドWeb技術(React、Tailwind CSS、shadcn/ui)を使用して、複雑で多要素からなるclaude.ai HTMLアーティファクトを作成するためのツールスイート。状態管理、ルーティング、またはshadcn/uiコンポーネントを必要とする複雑なアーティファクトに使用します。単純な単一ファイルのHTML/JSXアーティファクトには使用しません。 ライセンス:LICENSE.txtに完全な利用規約あり

npx skills add https://github.com/anthropics/skills --skill web-artifacts-builder

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

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)

Step 2: Develop Your Artifact

To build the artifact, edit the generated files. See Common Development Tasks below for guidance.

Step 3: Bundle to Single HTML File

To bundle the React app into a single HTML artifact:

bash scripts/bundle-artifact.sh

This creates bundle.html - a self-contained artifact with all JavaScript, CSS, and dependencies inlined. This file can be directly shared in Claude conversations as an artifact.

Requirements: Your project must have an index.html in the root directory.

What the script does:

  • Installs bundling dependencies (parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline)
  • Creates .parcelrc config with path alias support
  • Builds with Parcel (no source maps)
  • Inlines all assets into single HTML using html-inline

Step 4: Share Artifact with User

Finally, share the bundled HTML file in conversation with the user so they can view it as an artifact.

Step 5: Testing/Visualizing the Artifact (Optional)

Note: This is a completely optional step. Only perform if necessary or requested.

To test/visualize the artifact, use available tools (including other Skills or built-in tools like Playwright or Puppeteer). In general, avoid testing the artifact upfront as it adds latency between the request and when the finished artifact can be seen. Test later, after presenting the artifact, if requested or if issues arise.

Reference

Anthropicのその他のスキル

Algorithmic Art
Anthropic
p5.jsを使用したシード付き乱数とインタラクティブなパラメータ探索によるアルゴリズムアートの制作。ユーザーがコードを使ったアート制作、ジェネラティブアート、アルゴリズムアート、フローフィールド、パーティクルシステムをリクエストした場合に使用します。著作権侵害を避けるため、既存のアーティストの作品をコピーするのではなく、オリジナルのアルゴリズムアートを制作してください。 ライセンス:完全な利用規約はLICENSE.txtに記載されています。
creative
Internal Comms
Anthropic
社内で好んで使用されるフォーマットを活用し、あらゆる種類の社内コミュニケーションを作成するためのリソースセットです。ステータスレポート、リーダーシップ向けアップデート、3Pアップデート、社内ニュースレター、FAQ、インシデントレポート、プロジェクトアップデートなど、社内コミュニケーションの作成を依頼された際には、このスキルを使用する必要があります。 ライセンス:LICENSE.txtに完全な利用規約が記載されています。
Webapp Testing
Anthropic
Playwrightを使用してローカルWebアプリケーションと対話し、テストするためのツールキット。フロントエンド機能の検証、UI動作のデバッグ、ブラウザスクリーンショットの取得、ブラウザログの表示をサポートします。 ライセンス:LICENSE.txtに完全な利用規約が記載されています。
development
XLSX
Anthropic
スプレッドシートの作成、編集、分析を包括的にサポート。数式、書式設定、データ分析、可視化に対応。Claudeがスプレッドシート(.xlsx、.xlsm、.csv、.tsvなど)を扱う際に使用:(1)数式と書式設定を含む新規スプレッドシートの作成、(2)データの読み取りまたは分析、(3)既存スプレッドシートの数式を保持したままの修正、(4)スプレッドシート内でのデータ分析と可視化、(5)数式の再計算 ライセンス:プロプライエタリ。LICENSE.txtに完全な条件あり
document
Skill Creator
Anthropic
効果的なスキルを作成するためのガイドです。このスキルは、ユーザーが専門知識、ワークフロー、またはツール統合によってClaudeの機能を拡張する新しいスキルを作成(または既存のスキルを更新)したい場合に使用します。 ライセンス:LICENSE.txtに完全な利用規約が記載されています。
Slack Gif Creator
Anthropic
Slack用に最適化されたアニメーションGIFを作成するためのツールキット。サイズ制約のバリデーターと合成可能なアニメーションプリミティブを備えています。このスキルは、ユーザーが「XがYをしているSlack用のGIFを作って」といった説明から、Slack用のアニメーションGIFや絵文字アニメーションをリクエストした場合に適用されます。 ライセンス:LICENSE.txtに完全な利用条件が記載されています。
creative
Theme Factory
Anthropic
アーティファクトにテーマを適用してスタイリングするためのツールキット。これらのアーティファクトには、スライド、ドキュメント、レポート、HTMLランディングページなどが含まれます。作成済みの任意のアーティファクトに適用できる、色やフォントが設定された10種類のプリセットテーマが用意されており、その場で新しいテーマを生成することも可能です。 ライセンス:LICENSE.txtに完全な利用規約が記載されています。
creative
Brand Guidelines
Anthropic
Anthropicの公式ブランドカラーとタイポグラフィを、Anthropicのルックアンドフィールを活かすあらゆる種類のアーティファクトに適用します。ブランドカラーやスタイルガイドライン、視覚的フォーマット、企業のデザイン基準が適用される場合に使用してください。 ライセンス:LICENSE.txtに完全な利用規約が記載されています。
creative