--- name: static-web-artifacts-builder description: > Suite of tools for creating elaborate, self-contained static HTML artifacts — infographics, interactive diagrams, architecture visuals, data dashboards, and rich visual deliverables. Use this skill when asked to create an interactive HTML artifact, build a self-contained web component, generate a static HTML visualization, make an interactive diagram, produce a visual infographic, or render any high-density visual as a single HTML file. Zero build toolchain — no React, no Vite, no Parcel. Pure HTML5 + CSS3 (Grid/Flexbox) + inline SVG. Triggers on: "create interactive HTML", "build self-contained web component", "generate static HTML visualization", "make an interactive diagram", "produce infographic", "render as HTML artifact", "build a visual dashboard", "create a diagram I can open in browser". metadata: version: 1.0.0 --- # Static Web Artifacts Builder To build high-density static infographic artifacts, follow these steps: 1. Initialize the project scaffold using `scripts/init-artifact.sh` 2. Develop your artifact by editing the generated HTML file(s) 3. Validate and finalize using `scripts/bundle-artifact.sh` 4. Display artifact to user **Stack**: Vanilla HTML5 + CSS3 (Grid/Flexbox) + inline SVG — zero runtime dependencies ## Design & Style Guidelines VERY IMPORTANT: To avoid what is often referred to as "AI slop", avoid excessive centered layouts, purple gradients, uniform rounded corners, and Inter font. ### Infographic-Specific Constraints - **Density**: Content-to-whitespace ratio ≥ 70:30. Maximize signal per pixel. - **Geometry**: Layered/nested containers, shaped regions (clip-path, border-radius variations), gradient fills, subtle box-shadows — not flat uniform boxes. - **Iconography**: Inline SVG icons for every major concept. No naked text labels. - **Color**: Purposeful palette (3-4 hues + neutrals), encoding meaning (category, flow direction, severity). Define as CSS custom properties. - **Flows**: Directional connectors with SVG arrowheads, curved paths, labeled edges. Architecture diagrams = layered tiers with bidirectional data flows, not flat node graphs. - **Layout math**: CSS Grid with explicit `grid-template-columns`/`grid-template-rows` fractional allocations. No auto-spacing defaults. Every margin/padding intentional. ## Quick Start ### Step 1: Initialize Project Run the initialization script to create a new static project: ```bash bash scripts/init-artifact.sh cd ``` This creates a minimal scaffold with: - ✅ Template HTML with CSS custom properties (theming) - ✅ CSS Grid + Flexbox layout utilities (inline `