web-artifacts-builder

仓库创建 2026年3月18日最近提交 1 天前SkillHot 收录 5 小时前
▸ 精选理由

适合需要交互原型或复杂 UI 的场景,支持组件库与路由。

▸ 风险提示

初始化或构建脚本会拉取依赖并执行构建命令。

这个 Skill 做什么

用 React/Tailwind 等栈构建可运行的复杂前端 artifact 并打包为单文件展示。

用 React + Tailwind + shadcn/ui 等现代前端栈,开发那种需要路由、状态管理或多组件交互的复杂可运行 artifact,然后打包成单文件 HTML 展示给用户。适合需要丰富交互和组件库支持的前端作品,不适合只要一个简单单文件的小片段。提供初始化和打包脚本,方便把完整工程束成一个可分发的 artifact。

▸ 展开 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.

开发编程前端React打包原型通用
0
Stars
0
Forks
23
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Await-d/OpenAWork/main/packages/resources/resources/skills/reference/web-artifacts-builder/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Await-d/OpenAWork/main/packages/resources/resources/skills/reference/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 公开信息 · 原文版权归作者所有