Loading...
Loading...
Build elaborate, self-contained static HTML artifacts opened in a browser — interactive diagrams, architecture visuals, data dashboards, HTML infographics, and rich interactive deliverables. Use this skill when the output is an HTML file viewed in a browser. Zero build toolchain — no React, no Vite, no Parcel. Pure HTML5 + CSS3 (Grid/Flexbox) + inline SVG. Triggers on: "interactive HTML", "self-contained web component", "open in browser", "interactive diagram", "visual dashboard", "HTML artifact", "HTML infographic", "interactive infographic". For image file output (PNG/SVG), use concept-to-image instead.
npx skill4agent add mathews-tom/armory static-web-artifacts-builderscripts/init-artifact.shscripts/bundle-artifact.shgrid-template-columnsgrid-template-rowsbash scripts/init-artifact.sh <project-name>
cd <project-name><style>index.htmlgrid-template-areasfr--color-primary--color-accentclip-pathborder-radiusbox-shadowbash scripts/bundle-artifact.shbundle.html| Task | Use This Skill | Use Instead |
|---|---|---|
| Rich infographic with multiple sections, high data density | Yes | — |
| Self-contained dashboard with interactive tabs or toggles | Yes | — |
| Architecture diagram with bidirectional flows and layered tiers | Yes | |
| Simple concept illustration or icon-style image | No | |
| Slide deck or multi-page presentation | No | |
| Architecture diagram generated from existing codebase | No | |
| Single-page visual where CSS Grid layout control is critical | Yes | — |
| Artifact must be screenshot-ready via Playwright | Yes (with caveat — see Limitations) | — |
| Error | Cause | Resolution |
|---|---|---|
CDN link detected by | External stylesheet or script reference in HTML | Inline all CSS and JS — no external URLs allowed in output |
| Content overflow / clipping in browser | Viewport too small or fixed heights with overflow:hidden | Use |
| Playwright screenshot cuts off content | Page height exceeds screenshot viewport | Set |
| SVG loaded via | Replace with inline |
| File size too large to share as artifact | Embedded base64 images or verbose SVG | Optimize SVG paths; avoid embedding raster images |
@media print