publish-html-report
Installation
SKILL.md
Publish HTML Report
This is a reference pattern. Learn from the approach, adapt to your context — don't copy verbatim.
Problem: Markdown is limited for rich visualizations — dependency graphs, before/after architecture diagrams, layered cross-sections, and interactive Mermaid charts don't render well (or at all) in GitHub markdown.
Solution: Generate a self-contained HTML file using Tailwind + Mermaid CDNs, publish as a secret GitHub gist, and construct a viewable URL via htmlpreview.github.io.
Pattern
Workflow:
Generate HTML → Write to docs/ → Push to branch
→ Create secret gist
→ Construct preview URL (htmlpreview.github.io)
→ Link in PR description