This is your go-to when you need Claude to build complex HTML artifacts with React, TypeScript, and shadcn/ui components. It sets up a full Vite project, lets you develop with proper state management and routing, then bundles everything into a single HTML file that works as a Claude artifact. The stack is React 18, Tailwind CSS, and 40+ pre-installed shadcn/ui components. Worth noting: it specifically calls out avoiding "AI slop" design patterns like excessive centering and purple gradients, which is refreshingly honest. Skip this for simple single-file HTML artifacts, but reach for it when you need real component architecture.

skills.sh installs
355
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill artifacts-builder --agent claude-code

Installs into .claude/skills of the current project.

Files

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 initialization script to create a new React project:

bash scripts/init-artifact.sh <project-name>
cd <project-name>

This creates a fully configured project with:

  • ✅ React + TypeScript (via Vite)
  • ✅ Tailwind CSS 3.4.1 with shadcn/ui theming system
  • ✅ Path aliases (@/) configured
  • ✅ 40+ shadcn/ui components pre-installed
  • ✅ All Radix UI dependencies included
  • ✅ Parcel configured for bundling (via .parcelrc)
  • ✅ Node 18+ compatibility (auto-detects and pins Vite version)

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Category
Frontend Development
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1jezweb avatarauto-animatejezweb/claude-skillsZero-config animations for React, Vue, Solid, Svelte, Preact with @formkit/auto-animate (3.28kb). Prevents 15 documented errors including React 19 StrictMode bu355skills.sh installs
2bobmatnyc avatarenv-managerbobmatnyc/claude-mpm-skillsEnvironment variable validation, security scanning, and management for Next.js, Vite, React, and Node.js applications350skills.sh installs
3jezweb avatarcloudflare-turnstilejezweb/claude-skillsAdd bot protection with Turnstile (CAPTCHA alternative). Use when: protecting forms, securing login/signup, preventing spam, migrating from reCAPTCHA, integrati348skills.sh installs
4pproenca avataruniwindpproenca/dot-skillsUniwind best practices for React Native styling with Tailwind CSS. This skill should be used when writing, reviewing, or refactoring React Native code using Uni348skills.sh installs
5smnandre avatarsymfony-uxsmnandre/symfony-ux-skillsSymfony UX frontend stack -- decision tree and orchestrator for choosing between Stimulus, Turbo, TwigComponent, LiveComponent, UX Icons, and UX Map. Use when t345skills.sh installs
6hyf0 avatarvueuse-best-practiceshyf0/vue-skillsvueuse best practices341skills.sh installs