MCP HubMCP Hub
Zurück zu Fähigkeiten

web-artifacts-builder

vamseeachanta
Aktualisiert 3 days ago
6 Ansichten
3
2
3
Auf GitHub ansehen
Andere

Über

Diese Fähigkeit erstellt eigenständige, interaktive Webanwendungen als einzelne HTML-Dateien, ideal für Demos, Prototypen und Tools, die ohne externe Server laufen. Sie ermöglicht Entwicklern, gesamte Anwendungen – inklusive Code, Stile und Assets – in eine portable Datei zu verpacken. Nutzen Sie sie für schnelle, einfach teilbare Web-Erlebnisse wie Dashboards, Rechner oder Visualisierungen, die direkt in jedem modernen Browser funktionieren.

Schnellinstallation

Claude Code

Empfohlen
Primär
npx skills add vamseeachanta/workspace-hub
Plugin-BefehlAlternativ
/plugin add https://github.com/vamseeachanta/workspace-hub
Git CloneAlternativ
git clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/web-artifacts-builder

Kopieren Sie diesen Befehl und fügen Sie ihn in Claude Code ein, um diese Fähigkeit zu installieren

Dokumentation

Web Artifacts Builder

Overview

Create self-contained, interactive web applications as single HTML files. These artifacts require no server, no build process, and can be shared as standalone files that run in any modern browser.

When to Use

  • Creating interactive demos or prototypes
  • Building standalone calculators or tools
  • Data visualization dashboards
  • Interactive documentation
  • Shareable proof-of-concepts
  • Any web experience that needs to work offline

Quick Start

  1. Create single HTML file with all CSS/JS inline
  2. Use CDN for libraries (Chart.js, Plotly, etc.)
  3. Embed data directly as JSON or JS objects
  4. Test locally by opening file in browser
  5. Share as single file attachment
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Web Artifact</title>
  <style>
    body { font-family: system-ui; padding: 20px; }
    .btn { padding: 10px 20px; background: #007bff; color: white; border: none; cursor: pointer; }
  </style>
</head>
<body>
  <h1>Interactive Tool</h1>
  <button class="btn" onclick="calculate()">Calculate</button>
  <div id="result"></div>
  <script>
    function calculate() {
      document.getElementById('result').textContent = 'Result: ' + (Math.random() * 100).toFixed(2);
    }
  </script>
</body>
</html>

Related Skills


Version History

  • 2.0.0 (2026-01-02): Upgraded to v2 template - added Quick Start, When to Use, Execution Checklist, Error Handling, Metrics sections
  • 1.0.0 (2024-10-15): Initial release with basic template, dashboard, calculator, data visualization examples, CDN library references, best practices

Sub-Skills

Sub-Skills

Sub-Skills

GitHub Repository

vamseeachanta/workspace-hub
Pfad: .claude/skills/_internal/builders/web-artifacts-builder

Verwandte Skills