web-artifacts-builder
仓库创建 2025年9月22日最近提交 3 天前SkillHot 收录 21 天前
▸ 精选理由
便于将多文件前端工程打包成单文件 HTML 产物,适合交互型智能工件开发者。
▸ 风险提示
初始化或打包脚本可能会从外部仓库/域名拉取依赖,请注意外部资源与脚本权限。
这个 Skill 做什么
构建并打包复杂的前端 HTML 工件,支持 React、Tailwind、shadcn/ui 等栈。
一套生成复杂前端 HTML 工件的工具链,基于 React + TypeScript、Tailwind CSS 和 shadcn/ui,适合需要状态管理、多路由或多个组件协作的交互式产物。流程是初始化仓库、开发、把所有代码打包成一个可展示的单文件 HTML,适用于复杂 artifact,不用来做简单的单文件 HTML/JSX 页面。
▸ 展开 SKILL.md 英文原文
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.
16.4w
Stars
2.0w
Forks
18
仓库内 Skill
+5.6k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/anthropics/skills/main/skills/web-artifacts-builder/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/anthropics/skills/main/skills/web-artifacts-builder/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# 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 initializ
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有