Report pdf

From bdfinst/agentic-dev-team · View interactive version

Report pdf is an AI agent skill from the GitHub repository bdfinst/agentic-dev-team. Render a dev-team Markdown report to a polished, shareable PDF. Use when the user says "make a PDF of the report", "export the code-review report as PDF", "turn .dev-team-reports/code-review.md into a PDF", or wants any .dev-team-reports or reports Markdown file as a styled document to attach to a t

How to use this skill

Skill file

Report PDF

Role: worker. This command renders one Markdown report to a styled PDF via the

shared render module. It is a mechanical wrapper — no reasoning, no file-by-file

searching. It never modifies the source Markdown.

You have been invoked with the /report-pdf command.

Arguments

.dev-team-reports/code-review.md or .dev-team-reports/test-health-2026-07-16.md).

a .pdf extension, next to the source. A missing parent directory is created.

If no path argument is supplied, report path required — usage: /report-pdf <path.md> [--out <path>] and stop.

Steps

Invoke the shared render module through hooks/py.sh (never python3

directly — the shim resolves a real Python 3 on Windows too), passing the

arguments through verbatim:

sh "$CLAUDE_PLUGIN_ROOT/hooks/py.sh" "$CLAUDE_PLUGIN_ROOT/hooks/lib/report_pdf.py" <path.md> [--out <path>]

The module detects a PDF engine (fallback order: pandoc + headless

Chrome/Chromium → pandoc + weasyprint → pandoc + wkhtmltopdf → md-to-pdf) via

runtime probes, converts the report with the bundled report-print.css, and

prints a Rendering PDF via <engine>… progress line followed by one result

line. Report its output as-is:

path and engine verbatim.

was available. Report the skip message verbatim, including the single install

hint. This is non-fatal: the source Markdown is untouched.

was present but conversion failed. Surface the stderr message verbatim.

Do not add commentary beyond the module's own lines.

Related

same module backs the --pdf flag on report-producing skills (see

CODE0).

underlying pandoc + headless-Chrome recipe and why this toolchain.

— where each report-producing skill writes its Markdown.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.