Installation
SKILL.md
PDF Skill
Workflow
- Render PDF pages to PNGs for visual review (prefer
pdftoppm; fall back to asking the user if Poppler is unavailable). - Use
reportlabto generate new PDFs. - Use
pdfplumberorpypdffor text extraction; these are unreliable for layout fidelity. - After each meaningful update, re-render and verify alignment, spacing, and legibility.
Temp and output conventions
- Use
tmp/pdfs/for intermediate files; delete when done. - Write final artifacts under
output/pdf/when working in this repo. - Keep filenames stable and descriptive.
Dependencies (install if missing)
Prefer uv for dependency management.