web-artifacts-builder
하는 일
현대 웹 프로그래밍 기술을 사용해 복잡한 상호작용형 웹사이트를 만들도록 돕습니다. 코드를 정리하고 공유할 수 있는 단일 HTML 파일로 만듭니다.
사용하는 경우
- ✓상호작용하는 요소가 많은 웹사이트가 필요할 때.
- ✓웹사이트가 정보를 기억하거나 여러 페이지를 가져야 하는 경우.
- ✓스타일이 좋은 기성 디자인 구성 요소를 쓰고 싶을 때.
스킬 링크
https://github.com/anthropics/skills/blob/main/skills/web-artifacts-builder/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“케이크 레시피를 보여 주는 상호작용형 웹사이트를 만들어 주세요. 레시피마다 섹션을 나누고 인쇄 버튼도 넣어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
먼저 스크립트가 필요한 도구를 모두 갖춘 프로젝트를 초기화합니다. 그다음 코드를 편집해 웹사이트를 만듭니다. 마지막으로 다른 스크립트가 모든 것을 하나의 HTML 파일로 합칩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Web Artifacts Builder
To build powerful frontend claude.ai artifacts, follow these steps:
- Initialize the frontend repo using
scripts/init-artifact.sh - Develop your artifact by editing the generated code
- Bundle all code into a single HTML file using
scripts/bundle-artifact.sh - Display artifact to user
- (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
.parcelrcconfig 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
- shadcn/ui components: https://ui.shadcn.com/docs/components
자주 묻는 질문
'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.
댓글
- …
이 저장소의 다른 스킬
academy-guide
181k에이전트가 Claude 사용법을 배울 수 있는 강좌와 튜토리얼을 추천합니다. Claude나 관련 제품에 대해 질문이 있을 때 유용합니다.
algorithmic-art
181k에이전트가 코드를 사용해 독창적인 이미지를 만드는 예술 작품을 생성하도록 돕습니다. 컴퓨터로 만든 원본 예술을 원할 때 유용합니다.
brand-guidelines
181k에이전트가 Anthropic의 브랜드 색상과 시각 스타일을 자료에 적용하도록 돕습니다. 여러 프로젝트에서 회사의 시각 정체성을 유지할 때 유용합니다.
canvas-design
181k에이전트가 파일 안에 아름다운 시각 예술을 만들도록 돕습니다. 포스터, 예술 작품 또는 정적인 디자인을 요청할 때 유용합니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.