본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)181k · #651

web-artifacts-builder

하는 일

현대 웹 프로그래밍 기술을 사용해 복잡한 상호작용형 웹사이트를 만들도록 돕습니다. 코드를 정리하고 공유할 수 있는 단일 HTML 파일로 만듭니다.

사용하는 경우

  • ✓상호작용하는 요소가 많은 웹사이트가 필요할 때.
  • ✓웹사이트가 정보를 기억하거나 여러 페이지를 가져야 하는 경우.
  • ✓스타일이 좋은 기성 디자인 구성 요소를 쓰고 싶을 때.

스킬 링크

https://github.com/anthropics/skills/blob/main/skills/web-artifacts-builder/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/anthropics/skills/blob/main/skills/web-artifacts-builder/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“케이크 레시피를 보여 주는 상호작용형 웹사이트를 만들어 주세요. 레시피마다 섹션을 나누고 인쇄 버튼도 넣어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

먼저 스크립트가 필요한 도구를 모두 갖춘 프로젝트를 초기화합니다. 그다음 코드를 편집해 웹사이트를 만듭니다. 마지막으로 다른 스크립트가 모든 것을 하나의 HTML 파일로 합칩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

자주 묻는 질문

'HTML 결과물'이란 무엇인가요?

텍스트와 이미지뿐 아니라, 상호작용과 스타일 같은 웹사이트 동작을 만드는 코드도 담긴 HTML 파일입니다.

React, Tailwind CSS, shadcn/ui는 무엇인가요?

프로그래머가 아름답고 기능적인 사용자 인터페이스를 더 빠르고 체계적으로 만들 수 있도록 돕는 도구와 라이브러리입니다.

왜 보라색이나 과하게 가운데 정렬된 레이아웃을 피하나요?

이런 스타일은 결과물을 평범하거나 '복사한 듯한' 모습으로 만들 수 있는 흔한 디자인입니다. 도구는 더 독창적인 결과물을 만들기 위해 이를 피하라고 제안합니다.

상세 정보

작성자의 원본 설명

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

repo: anthropics/skills

인기도

GitHub 스타
181k
순위
#651
라이선스
—
업데이트
2026. 10. 9.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬