artifacts-builder

Initialize React, TypeScript, Vite, Tailwind CSS, and shadcn/ui projects and bundle them into a single HTML file.

35|10|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/ttmouse/skills --skill artifacts-builder-ttmouse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: artifacts-builder
Source: https://github.com/ttmouse/skills/tree/main/artifacts-builder
Command: npx skills add https://github.com/ttmouse/skills --skill artifacts-builder-ttmouse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline, @radix-ui/react-accordion, @radix-ui/react-aspect-ratio, @radix-ui/react-avatar, @radix-ui/react-checkbox, @radix-ui/react-collapsible, @radix-ui/react-context-menu, @radix-ui/react-dialog, @radix-ui/react-dropdown-menu, @radix-ui/react-hover-card, @radix-ui/react-label, @radix-ui/react-menubar, @radix-ui/react-navigation-menu, @radix-ui/react-popover, @radix-ui/react-progress, @radix-ui/react-radio-group, @radix-ui/react-scroll-area, @radix-ui/react-select, @radix-ui/react-separator, @radix-ui/react-slider, @radix-ui/react-slot, @radix-ui/react-switch, @radix-ui/react-tabs, @radix-ui/react-toast, @radix-ui/react-toggle, @radix-ui/react-toggle-group, @radix-ui/react-tooltip, sonner, cmdk, vaul, embla-carousel-react, react-day-picker, react-resizable-panels, date-fns, react-hook-form, @hookform/resolvers/zod, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a robust framework for creating sophisticated, multi-component HTML artifacts using modern web technologies, addressing the limitations of simple single-file solutions.

Core Features & Use Cases

  • Project Initialization: Sets up a complete React + TypeScript project with Vite, Tailwind CSS, and shadcn/ui.
  • Component Library: Includes over 40 pre-installed shadcn/ui components for rapid development.
  • Bundling: Compiles the entire application into a single, self-contained HTML file for easy deployment as an artifact.
  • Use Case: Develop an interactive dashboard artifact that displays real-time data visualizations and user input forms, all packaged into a single HTML file.

Quick Start

Run the initialization script to create a new React project named 'my-artifact'.

Frequently Asked Questions about artifacts-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bundle a React and TypeScript application into a single HTML file?

You can bundle a React and TypeScript application into a single HTML file by configuring Parcel to compile and inline all assets. This Skill automates that process, generating a self-contained HTML artifact from your Vite project.

Can I use shadcn/ui components when building complex HTML artifacts?

Yes, you can use shadcn/ui components when building HTML artifacts. This Skill pre-installs over 40 Radix UI-based shadcn/ui components, enabling rapid development of interactive interfaces within a single bundled file.

What is the best way to set up a Vite project with Tailwind CSS for artifact development?

The best way to set up a Vite project with Tailwind CSS for artifact development is using an initialization script. This Skill configures a complete React and TypeScript environment with Tailwind CSS and shadcn/ui included.

Does this HTML artifact builder support state management and form validation?

Yes, this HTML artifact builder supports state management and form validation. It includes dependencies like react-hook-form, zod resolvers, and Radix UI primitives to handle complex state and user inputs.

How does Parcel compile a multi-component React project into an HTML artifact?

Parcel compiles a multi-component React project into an HTML artifact by bundling all JavaScript, CSS, and assets into a single file. This Skill uses Parcel alongside html-inline to ensure the final output is completely self-contained.

Are there limitations when using Tailwind CSS in a single-file HTML artifact?

When using Tailwind CSS in a single-file HTML artifact, all styles are inlined during the Parcel bundling step. You must ensure your build configuration correctly captures all utility classes to avoid missing styles in the final compiled output.