Html diagram artifact
Skill markoblogo/abvx-agent-skills/skills/html-diagram-artifact
Reviewable capability layer for coding agents. Portable skills, delivery gates, workflow patterns, and verification-first engineering.
npx -y skills add markoblogo/abvx-agent-skills --skill html-diagram-artifactAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Create a self-contained HTML artifact for architecture, stack, and system-flow explanation using SVG-first diagrams and minimal prose. Use when the user needs a standalone visual deliverable that makes a system, request path, ownership map, or execution flow click quickly.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.7 KB, as published. Nobody here has run it
HTML Diagram Artifact
Produce a standalone HTML deliverable, not a production app surface.
Review:
references/architecture-example.htmlreferences/style-notes.md
Best Fit
- architecture overviews;
- request or event flows;
- stack explainers;
- system boundary maps;
- component relationship diagrams;
- interactive walkthroughs where flow highlighting genuinely improves understanding.
Not The Best Fit
- full product frontends;
- landing pages;
- dense prose reports;
- diagrams that would be clearer as Mermaid or a static image;
- speculative visual polish without a concrete explanation job.
Output Contract
Create one self-contained .html file that:
- works without a build step;
- uses semantic HTML plus inline CSS and JS only when needed;
- includes a dark mode toggle;
- persists theme via
localStorage; - applies theme before paint in
<head>; - uses SVG as the primary diagram surface;
- drives SVG colors from CSS variables rather than hard-coded values inside the SVG;
- remains usable on desktop and mobile widths.
Diagram Rules
- Lead with structure first, decoration second.
- Keep prose light: title, framing line, labels, and optional detail panel.
- Prefer 1-2 dominant flows over showing every possible edge.
- Group by zones, boundaries, or ownership domains.
- Make important nodes distinct through role, not random styling.
- Use interaction only when it helps explain sequence, causality, or scope.
- Respect reduced-motion preferences.
Visual Rules
- Use a restrained palette with one accent family.
- Use hierarchy through typography, spacing, and contrast.
- Keep labels short and scannable.
- Avoid dashboard chrome, fake browser frames, and decorative card spam.
- If serif headings help, use them sparingly.
Verification
Before finishing:
- Open the artifact in a browser.
- Check desktop and mobile layouts.
- Check there is no horizontal overflow.
- Check the theme toggle works and persists.
- Check SVG text remains legible in both themes.
- Check interactive highlighting if present.
- Report limitations honestly.
Pair with browser-verification when browser tooling is available.
Final Report
Include:
- output file path;
- artifact type;
- flows or areas covered;
- browser checks run;
- known omissions or simplifications.