跳到正文
TakoAPI
返回技能列表

artifacts-builder

由 seanphan 提供

Web & Frontend Development
—暂无评分
你的评分

简介

Suite of tools for creating elaborate, multi-component.

描述

该技能的功能

A toolset for building multi-component React artifacts that run inside claude.ai. It scaffolds a project with React, TypeScript, Tailwind CSS, and shadcn/ui pre-configured, then bundles everything into a single self-contained HTML file ready to share as a Claude artifact. Intended for artifacts that need state management, routing, or component libraries, not simple single-file HTML.

Bundles a full React and shadcn/ui app into a single HTML file so you can share complex interactive UIs in Claude without hosting or deploying anything.

何时使用

  • Building interactive dashboards to share in Claude conversations
  • Prototyping multi-page React apps without a deployment
  • Creating data visualization tools as self-contained HTML artifacts
  • Generating kanban boards, calculators, or form tools as artifacts
  • Sharing stateful UI components with non-technical users via Claude

示例工作流

输入

User asks: Build a kanban board task manager

智能体
  1. 1

    Run init-artifact.sh to scaffold a new React + TypeScript + Tailwind + shadcn/ui project

  2. 2

    Edit the generated components to implement kanban board UI and drag-and-drop state

  3. 3

    Add shadcn/ui Card and Badge components for task display

  4. 4

    Run bundle-artifact.sh to inline all JavaScript, CSS, and dependencies into bundle.html

  5. 5

    Share bundle.html with the user as a Claude artifact

输出

A self-contained HTML file with a functional kanban board displayed as an interactive Claude artifact

安装

clawhub install seanphan/artifacts-builder

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接