Artifacts Builder

작성자: Anthropic

현대 프론트엔드 웹 기술(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에 있습니다.
creativeofficial
Brand Guidelines
Anthropic
Anthropic의 공식 브랜드 색상과 타이포그래피를 적용하여 Anthropic의 느낌을 살리는 데 도움이 되는 모든 아티팩트에 사용합니다. 브랜드 색상이나 스타일 가이드, 시각적 서식, 회사 디자인 표준이 적용될 때 사용하세요. 라이선스: LICENSE.txt에 전체 약관이 명시되어 있습니다.
creativeofficial
Canvas Design
Anthropic
디자인 철학을 사용하여 .png 및 .pdf 문서로 아름다운 시각 예술을 만듭니다. 사용자가 포스터, 예술 작품, 디자인 또는 기타 정적 작품을 요청할 때 이 스킬을 사용해야 합니다. 저작권 침해를 피하기 위해 기존 아티스트의 작품을 복사하지 않고 독창적인 시각 디자인을 만듭니다. 라이선스: LICENSE.txt에 전체 약관이 명시되어 있습니다.
creativeofficial
Docx
Anthropic
포괄적인 문서 생성, 편집 및 분석 기능을 제공하며, 변경 내용 추적, 주석, 서식 유지, 텍스트 추출을 지원합니다. Claude가 전문 문서(.docx 파일) 작업이 필요할 때: (1) 새 문서 생성, (2) 콘텐츠 수정 또는 편집, (3) 변경 내용 추적 작업, (4) 주석 추가 또는 기타 문서 작업에 사용됩니다. 라이선스: 독점 라이선스. LICENSE.txt에 전체 조건이 명시되어 있습니다.
documentofficial
Frontend Design
Anthropic
독창적이고 프로덕션 수준의 프론트엔드 인터페이스를 생성하여 일반적인 AI 미학을 피합니다.
developmentfeaturedofficial
Internal Comms
Anthropic
회사가 선호하는 형식을 사용하여 모든 종류의 내부 커뮤니케이션을 작성하는 데 도움이 되는 리소스 세트입니다. Claude는 상태 보고서, 리더십 업데이트, 3P 업데이트, 회사 뉴스레터, FAQ, 사고 보고서, 프로젝트 업데이트 등 내부 커뮤니케이션 작성을 요청받을 때마다 이 스킬을 사용해야 합니다. 라이선스: LICENSE.txt에 전체 약관이 명시되어 있습니다.
official
MCP Builder
Anthropic
고품질 MCP(Model Context Protocol) 서버를 생성하기 위한 가이드로, 잘 설계된 도구를 통해 LLM이 외부 서비스와 상호작용할 수 있도록 합니다. Python(FastMCP) 또는 Node/TypeScript(MCP SDK)로 외부 API나 서비스를 통합하는 MCP 서버를 구축할 때 사용하세요. 라이선스: LICENSE.txt에 전체 약관이 명시되어 있습니다.
developmentofficial
PDF
Anthropic
포괄적인 PDF 조작 도구 키트로, 텍스트 및 표 추출, 새 PDF 생성, 문서 병합/분할, 양식 처리를 지원합니다. Claude가 PDF 양식을 작성하거나 대규모로 PDF 문서를 프로그래밍 방식으로 처리, 생성, 분석해야 할 때 사용됩니다. 라이선스: 독점 라이선스. LICENSE.txt에 전체 이용 약관이 명시되어 있습니다.
documentofficial