← ClaudeAtlas

report-exportlisted

Export a generated .marvin/ report to PDF, standalone print-ready HTML, or a Markdown digest by filling the shipped print-quality template styled on the widget theme. Use when the user says "export the report", "export to PDF", "save the scan report as PDF", "report as Markdown", "make a shareable report", "/marvin:report-export", or after a scan/verification/handoff when they want to share the result outside the terminal. The export is generated in-session from the template — nothing renders server-side (ADR-0033).
real-case/marvin-toolkit · ★ 0 · Data & Documents · score 68
Install: claude install-skill real-case/marvin-toolkit
# Report Export Turn any report marvin generated under `.marvin/` — security scans, refactor registers and plans, task specs, `verification.md`, handoffs, critique receipts — into a shareable artifact: a **Markdown digest** or a **print-ready HTML** document (the PDF path). You fill the shipped template yourself; the server ships no export code (template-only architecture, ADR-0033). ## Input `$ARGUMENTS` — optional: a report reference (a path under `.marvin/`, a title, "latest", "the security scan") and/or a format (`pdf`, `html`, `md`). Ask for whichever is missing. ## Workflow ### 1. Resolve the report Invoke the `report` MCP tool from the `marvin` server (no arguments) — it lists every generated report with its id (the project-relative source path), title, group, and age. - If the user named a report (path, title, or "latest"), match it against that list. - If the reference is ambiguous or absent, present the list and ask which one. - If the `report` tool is unavailable, read the `.marvin/` families directly (`security/`, `refactor/`, `task/`, `handoff/`, `critique/`) and pick by filename/title. Then **read the source file** — the export renders its full content, and the file's `mtime` supplies the *Generated* timestamp. ### 2. Pick the format - **`pdf`** — fill the HTML template; the user prints it to PDF (step 5). - **`html`** — the same filled HTML document, as the final artifact. - **`md`** — fill the Markdown digest skeleton. If the user did not name one