Skip to content
Back to skills

Web Artifacts Builder

ASecurity

Suite of tools for creating elaborate, multi-component HTML artifacts using modern frontend technologies (React, Tailwind CSS, shadcn/ui).

  • 7 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 6, 2026
developmenttypescriptbashreactnodetestingfrontend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 6, 2026

npx -y skills add mediar-ai/skillhubz --skill web-artifacts-builder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Web Artifacts Builder?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Web Artifacts Builder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mediar-ai-web-artifacts-builder/badge)](https://www.skillsdirectory.com/skills/mediar-ai-web-artifacts-builder)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Web Artifacts Builder

Suite of tools for creating elaborate, multi-component HTML artifacts using modern frontend technologies (React, Tailwind CSS, shadcn/ui).

## Prerequisites

- Node.js 18+
- npm
- Understanding of React and TypeScript

## Instructions

### Stack

React 18 + TypeScript + Vite + Parcel (bundling) + Tailwind CSS + shadcn/ui

### Step 1: Initialize Project

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

Creates:
- React + TypeScript (via Vite)
- Tailwind CSS 3.4.1 with shadcn/ui theming
- Path aliases (`@/`) configured
- 40+ shadcn/ui components pre-installed
- Parcel configured for bundling

### Step 2: Develop Your Artifact

Edit the generated files to build your artifact.

### Step 3: Bundle to Single HTML

```bash
bash scripts/bundle-artifact.sh
```

Creates `bundle.html` - self-contained with all JS, CSS, dependencies inlined.

### Step 4: Share Artifact

Share the bundled HTML file as an artifact.

### Step 5: Testing (Optional)

Use Playwright/Puppeteer to test if needed.

### Design Guidelines

**AVOID "AI slop":**
- Excessive centered layouts
- Purple gradients
- Uniform rounded corners
- Inter font

**DO:**
- Unique, intentional design choices
- Appropriate use of shadcn/ui components
- Proper spacing and hierarchy

## Error Handling

- Ensure index.html exists in root for bundling
- If build fails, check for TypeScript errors
- Test bundle.html locally before sharing

## Notes

- For complex artifacts requiring state management or routing
- Not for simple single-file HTML/JSX artifacts
- shadcn/ui components: https://ui.shadcn.com/docs/components

Source: anthropics/skills

Files in this skill

  • manifest.json349 B
  • skill.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.