html-report
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: marketing-project-manager-html-report3description: "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 browse…"4version: 1.0.05platforms: [linux, macos, windows]6metadata:7 source: https://skillmd.com/skills/brokep/marketing-project-manager-html-report8 hermes:9 tags: ["marketing-project-manager", "grok-bot", "marketing"]10 related_skills: ["marketing-project-manager--project-manager-setup", "marketing-project-manager--plan", "marketing-project-manager--delegate", "marketing-project-manager--check-in", "marketing-project-manager--gates", "marketing-project-manager--retro"]11---1213# html-report1415# HTML report1617One file, opens anywhere, nothing missing. Every screenshot is embedded inside the HTML as a18base64 data URI. No relative paths, no external URLs for assets, no CDN scripts.1920## When21- Every status pass that had at least one change. Quiet passes get no report.22- The end of the setup test drive.23- Every retro.2425## Build (Python, stdlib only)261. Collect this run's assets from /workspace/pm/checkins/<date>/ and any gate screenshots from27 /workspace/pm/gates/. Order them the way the reader should see them: the plan, then workstream28 by workstream in plan order, then gates, then blockers.292. Downscale images to max 1600px wide (Pillow if available, otherwise30 `ffmpeg -i in.png -vf scale=1600:-2 out.png`). Target under 60 MB total. If it is still over,31 keep the newest screenshot per workstream and list the rest by path at the bottom.323. Read each file, base64-encode, and write `<img src="data:image/png;base64,...">`. Never write33 `src="./something.png"`.344. Inline all CSS in a `<style>` block. No web fonts. No script unless it is inline and needed.355. Structure:36 - Header: goal, launch date, days remaining, the window covered, items in flight, items37 blocked, gates open.38 - Summary: 5 lines. What moved, what is blocked, what needs a yes, and whether the date is39 still reachable.40 - Timeline: one row per workstream with deliverable, owner, due date, status, and the critical41 path marked.42 - Workstreams: one section each, what moved with its screenshot, what is blocked and since43 when, what is next.44 - Gates: one block per open gate with the artifact screenshot, the evidence, the risk, and the45 date it was opened. Then the decided gates with their timestamps and the user's words.46 - Blockers: one row each, item, blocked on, since when, who can unblock it.47 - Could not read.48 - Appendix: every remaining screenshot, captioned with the item and the date.496. Save to /workspace/pm/reports/<date>-status.html, or <date>-retro.html for a retro, and write a50 manifest beside it listing every embedded asset and its byte size.5152## Verify before delivering (mandatory)531. Open the saved HTML in my browser.542. Count the img elements and confirm each has a data: src and a non-zero natural width once55 loaded. Zero broken elements is the bar.563. Screenshot the rendered header and one workstream section as proof.574. If anything fails, fix the asset and rebuild. Never deliver a report with a broken element. If58 an asset cannot be produced, remove the element and note it under Could not read.5960## Deliver61Attach the HTML with one line: goal, window covered, number of screenshots, file size. Attach the62two proof screenshots. The HTML is the deliverable, the chat lines point at it.6364## Never65Embed a credential, a key, or customer data. Deliver a file you have not opened. Caption a66screenshot as something it is not.