Build a temp HTML report in a neobrutalist style, with a reading-progress rail and click-to-zoom images. Use when the user asks for a temp HTML, a temp document, or a report to read in the browser.
86%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
A report is one self-contained HTML file built from template.html. The template is the single source of truth for the look: neobrutalist theme on a white page, a reading rail with a progress meter and a contents list, a lightbox for images, and styled scrollbars. Reuse its classes. Add CSS only for a component it lacks, in the same style: 3px ink borders, hard offset shadows, flat accent fills, uppercase mono labels.
:root[data-theme="dark"], so a reader whose system is dark still gets the white page..scratch/, scratch/, tmp/, or similar). Confirm with git check-ignore -q <dir>. If no ignored folder exists, ask before you create one or edit .gitignore.<os-temp>/<slug>.html, where <os-temp> is python3 -c 'import tempfile; print(tempfile.gettempdir())'.Done when one absolute path is chosen.
Copy the template to the path, then replace every placeholder.
The reader scans; they do not read. Make the page visual-first and the text terse.
.tbl comparison, a .flow of steps, .stat numbers, a .chip status, an inline SVG diagram, or a screenshot from the visuals skill. The text labels the visual.<section id="..."> with <h2><span class="n">N</span>Title</h2>. The rail builds its contents from these. An h3 with an id becomes a sub-entry. Put data-title on a heading to give the rail a shorter label.h1 with one <mark>, and a lede that states the answer, not only the question.img inside main opens in the lightbox, with no extra markup. Put each in a figure; the first line of its figcaption becomes the lightbox caption. Embed images as base64 data URIs so the file stands alone. Show a raw screenshot through the visuals skill first when a point needs ringing.<div class="tbl"> so wide tables scroll inside their card, not the page.Done when every section holds at least one visual, no sentence passes 20 words, and no template text remains: grep -nE 'REPORT TITLE|KIND · TICKET|Headline question|label</div>|screenshot.png|Sources and date' <path> prints nothing.
Load the playwright-cli skill. The browser blocks file: URLs, so serve the file's folder: python3 -I -m http.server <port> --bind 127.0.0.1 in the background, then playwright-cli open http://127.0.0.1:<port>/<file>.
Run the pass at desktop (resize 1440 900) and at mobile (resize 390 844):
overflow, offscreen, and broken are 0, and rail equals sections.
(() => ({
overflow: document.documentElement.scrollWidth - innerWidth,
offscreen: [...document.querySelectorAll('main *')].filter(e => e.getBoundingClientRect().right > innerWidth + 1 && !e.closest('.tbl, pre')).length,
broken: [...document.querySelectorAll('main img')].filter(i => !i.naturalWidth).length,
sections: document.querySelectorAll('main section[id]').length,
rail: document.querySelectorAll('.contents > ol > li').length,
}))()Escape and confirm the page scrolls again.Fix what fails and rerun the pass. Done when both widths pass every check. Then stop the server and close the browser.
open <path> (macOS) or xdg-open <path> (Linux). Give the absolute path.aabuhijleh/abed-hub
a83c767
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.