artifacts-builder
यह क्या करती है
यह tool आधुनिक technologies का इस्तेमाल करके interactive और जटिल web pages बनाने में मदद करता है। यह एक ही shareable file बनाता है, जिसमें ज़रूरी सारा code होता है।
कब इस्तेमाल करें
- ✓जब किसी web page में बहुत सारे interactive elements चाहिए हों।
- ✓जब ऐसा web project बनाना हो जो तैयार visual components इस्तेमाल करता हो।
- ✓ऐसे web applications बनाने के लिए, जिन्हें अंदरूनी जानकारी (state) संभालनी हो।
Skill का लिंक
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/artifacts-builder/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक webpage बनाओ जो to-do list दिखाए, जिसमें items जोड़ने और हटाने के लिए buttons हों।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
पहले एक script ज़रूरी tools के साथ project शुरू करती है। फिर आप files में बदलाव करके अपना page बनाते हैं। आखिर में एक और script सब कुछ मिलाकर एक single HTML file बना देती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Artifacts Builder
To build powerful frontend claude.ai artifacts, follow these steps:
- Initialize the frontend repo using
scripts/init-artifact.sh - Develop your artifact by editing the generated code
- Bundle all code into a single HTML file using
scripts/bundle-artifact.sh - Display artifact to user
- (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)
Step 2: Develop Your Artifact
To build the artifact, edit the generated files. See Common Development Tasks below for guidance.
Step 3: Bundle to Single HTML File
To bundle the React app into a single HTML artifact:
bash scripts/bundle-artifact.sh
This creates bundle.html - a self-contained artifact with all JavaScript, CSS, and dependencies inlined. This file can be directly shared in Claude conversations as an artifact.
Requirements: Your project must have an index.html in the root directory.
What the script does:
- Installs bundling dependencies (parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline)
- Creates
.parcelrcconfig with path alias support - Builds with Parcel (no source maps)
- Inlines all assets into single HTML using html-inline
Step 4: Share Artifact with User
Finally, share the bundled HTML file in conversation with the user so they can view it as an artifact.
Step 5: Testing/Visualizing the Artifact (Optional)
Note: This is a completely optional step. Only perform if necessary or requested.
To test/visualize the artifact, use available tools (including other Skills or built-in tools like Playwright or Puppeteer). In general, avoid testing the artifact upfront as it adds latency between the request and when the finished artifact can be seen. Test later, after presenting the artifact, if requested or if issues arise.
Reference
- shadcn/ui components: https://ui.shadcn.com/docs/components
अक्सर पूछे जाने वाले सवाल
'artifacts' क्या हैं?
Artifacts वे अंतिम files हैं जो बनती हैं, जैसे web pages, जिन्हें इस्तेमाल या देखा जा सकता है।
React, Tailwind CSS और shadcn/ui क्या हैं?
ये technologies हैं, जिनसे web pages का रूप और काम कुशलता और आधुनिक तरीके से बनाया जाता है।
ज़रूरत से ज़्यादा margins, purple gradients और rounded corners से क्यों बचें?
ये आम styles हैं जो page को generic या बेतरतीब दिखा सकते हैं, और guidelines एक ज़्यादा सोच-समझकर बने design की मांग करती हैं।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 77k
- रैंकिंग में स्थान
- #1747
- लाइसेंस
- —
- अपडेट की गई
- 18/9/2026
कमेंट
- …
इस repository की और skills
brand-guidelines
77kआपके एजेंट को materials पर कंपनी के official brand colors और fonts लगाने में मदद करता है। जब कोई चीज़ कंपनी जैसी दिखनी चाहिए, तब visual identity बनाए रखने के लिए यह उपयोगी है।
canvas-design
77kआपके एजेंट को .png और .pdf में original visual art बनाने देता है। जब यूज़र poster, art या कोई और static design बनाने को कहे, तब इसका इस्तेमाल करें।
changelog-generator
77kआपके एजेंट को code commits से user-facing release notes बनाने में मदद करता है। यह technical जानकारी को आसानी से समझ आने वाले text में बदलता है।
competitive-ads-extractor
77kआपके एजेंट को ad libraries से competitor ads निकालकर उनका विश्लेषण करने देता है। यह समझने में मदद करता है कि क्या काम करता है, ताकि आप अपने campaigns बेहतर बना सकें।
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।