html-report
Part of the Project Manager agent preset.
HTML report
One file, opens anywhere, nothing missing. Every screenshot is embedded inside the HTML as a
base64 data URI. No relative paths, no external URLs for assets, no CDN scripts.
When
- Every status pass that had at least one change. Quiet passes get no report.
- The end of the setup test drive.
- Every retro.
Build (Python, stdlib only)
- Collect this run's assets from /workspace/pm/checkins// and any gate screenshots from
/workspace/pm/gates/. Order them the way the reader should see them: the plan, then workstream
by workstream in plan order, then gates, then blockers.
- Downscale images to max 1600px wide (Pillow if available, otherwise
ffmpeg -i in.png -vf scale=1600:-2 out.png). Target under 60 MB total. If it is still over,
keep the newest screenshot per workstream and list the rest by path at the bottom.
- Read each file, base64-encode, and write
<img src="data:image/png;base64,...">. Never write
src="./something.png".
- Inline all CSS in a
<style> block. No web fonts. No script unless it is inline and needed.
- Structure:
- Header: goal, launch date, days remaining, the window covered, items in flight, items
blocked, gates open.
- Summary: 5 lines. What moved, what is blocked, what needs a yes, and whether the date is
still reachable.
- Timeline: one row per workstream with deliverable, owner, due date, status, and the critical
path marked.
- Workstreams: one section each, what moved with its screenshot, what is blocked and since
when, what is next.
- Gates: one block per open gate with the artifact screenshot, the evidence, the risk, and the
date it was opened. Then the decided gates with their timestamps and the user's words.
- Blockers: one row each, item, blocked on, since when, who can unblock it.
- Could not read.
- Appendix: every remaining screenshot, captioned with the item and the date.
- Save to /workspace/pm/reports/-status.html, or -retro.html for a retro, and write a
manifest beside it listing every embedded asset and its byte size.
Verify before delivering (mandatory)
- Open the saved HTML in my browser.
- Count the img elements and confirm each has a data: src and a non-zero natural width once
loaded. Zero broken elements is the bar.
- Screenshot the rendered header and one workstream section as proof.
- If anything fails, fix the asset and rebuild. Never deliver a report with a broken element. If
an asset cannot be produced, remove the element and note it under Could not read.
Deliver
Attach the HTML with one line: goal, window covered, number of screenshots, file size. Attach the
two proof screenshots. The HTML is the deliverable, the chat lines point at it.
Never
Embed a credential, a key, or customer data. Deliver a file you have not opened. Caption a
screenshot as something it is not.
1---2name: html-report-43description: "Use to build the self-contained status or retro report that closes a check-in with changes, the setup test drive, and every retro. Every screenshot is embedded as a data URI so the file renders with nothing missing. Verify it in the browser before delivering."4metadata:5 source: https://skillmd.com/skills/brokep/html-report-46---78# html-report910Part of the Project Manager agent preset.1112# HTML report1314One file, opens anywhere, nothing missing. Every screenshot is embedded inside the HTML as a15base64 data URI. No relative paths, no external URLs for assets, no CDN scripts.1617## When18- Every status pass that had at least one change. Quiet passes get no report.19- The end of the setup test drive.20- Every retro.2122## Build (Python, stdlib only)231. Collect this run's assets from /workspace/pm/checkins/<date>/ and any gate screenshots from24 /workspace/pm/gates/. Order them the way the reader should see them: the plan, then workstream25 by workstream in plan order, then gates, then blockers.262. Downscale images to max 1600px wide (Pillow if available, otherwise27 `ffmpeg -i in.png -vf scale=1600:-2 out.png`). Target under 60 MB total. If it is still over,28 keep the newest screenshot per workstream and list the rest by path at the bottom.293. Read each file, base64-encode, and write `<img src="data:image/png;base64,...">`. Never write30 `src="./something.png"`.314. Inline all CSS in a `<style>` block. No web fonts. No script unless it is inline and needed.325. Structure:33 - Header: goal, launch date, days remaining, the window covered, items in flight, items34 blocked, gates open.35 - Summary: 5 lines. What moved, what is blocked, what needs a yes, and whether the date is36 still reachable.37 - Timeline: one row per workstream with deliverable, owner, due date, status, and the critical38 path marked.39 - Workstreams: one section each, what moved with its screenshot, what is blocked and since40 when, what is next.41 - Gates: one block per open gate with the artifact screenshot, the evidence, the risk, and the42 date it was opened. Then the decided gates with their timestamps and the user's words.43 - Blockers: one row each, item, blocked on, since when, who can unblock it.44 - Could not read.45 - Appendix: every remaining screenshot, captioned with the item and the date.466. Save to /workspace/pm/reports/<date>-status.html, or <date>-retro.html for a retro, and write a47 manifest beside it listing every embedded asset and its byte size.4849## Verify before delivering (mandatory)501. Open the saved HTML in my browser.512. Count the img elements and confirm each has a data: src and a non-zero natural width once52 loaded. Zero broken elements is the bar.533. Screenshot the rendered header and one workstream section as proof.544. If anything fails, fix the asset and rebuild. Never deliver a report with a broken element. If55 an asset cannot be produced, remove the element and note it under Could not read.5657## Deliver58Attach the HTML with one line: goal, window covered, number of screenshots, file size. Attach the59two proof screenshots. The HTML is the deliverable, the chat lines point at it.6061## Never62Embed a credential, a key, or customer data. Deliver a file you have not opened. Caption a63screenshot as something it is not.