artifacts-builder

仓库创建 2025年10月22日最近提交 14 天前SkillHot 收录 21 天前
▸ 精选理由

支持现代前端栈与单文件打包,便于交付可嵌入交互组件。

▸ 风险提示

会执行安装与构建脚本,可能拉取外部依赖或运行任意构建命令。

这个 Skill 做什么

为 claude.ai 构建复杂前端 artifact 的初始化、开发与打包脚本集合。

帮你用现代前端技术把复杂的 claude.ai HTML artifact 从零搭起来:初始化仓库、开发并把多模块代码打包成一个可嵌入的 HTML 文件。适合需要状态管理、路由或 shadcn/ui 组件的复杂交互界面,不适合写单文件小玩具。自带 React、TypeScript、Vite 等脚手架和打包脚本,专注于可维护的多组件工程流程。

▸ 展开 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打包claude.aiClaude Code
1.4k
Stars
247
Forks
31
仓库内 Skill
+45
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Prat011/awesome-llm-skills/master/artifacts-builder/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Prat011/awesome-llm-skills/master/artifacts-builder/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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 initializatio
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有