PDF generation toolkit. Create invoices, reports, certificates, forms, charts, tables, barcodes, QR codes, Canvas/Platypus APIs, for professional document automation.
SkillScore95Maintained
Automatic
◆Coding pack
Last verified 8/21/2026
What it changes
Passed 21 of 22 test cases with the skill, and 16 of 22 without it.
Without skill73%
With skill95%
Checks it passed that the model alone missed
Sets the kind parameter to 'proportional'
Calls wrapOn on the Table object prior to rendering
Uses c.acroForm.textfield to add the text input field
and 5 more in the full report
5 fixed16 passed either way1 still failing0 broke
Pass-rate lift
+23 pp
Tokens
+187%
Agent turns
0%
Response time
-30%
Model gemini-3.6-flashMeasured 8/21/2026v121 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 5
Prompt
When adding an Image flowable to a Platypus story in ReportLab, what argument ensures the picture preserves its original aspect ratio when constrained to target dimensions?
What was checked, without and with the skill
Checked
Without skill
With skill
Sets the kind parameter to 'proportional'
Missed
Passed
case-19 · gemini-3.6-flash · 8/21/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md616 linessingle file
ReportLab PDF Generation
Overview
ReportLab is a powerful Python library for programmatic PDF generation. Create anything from simple documents to complex reports with tables, charts, images, and interactive forms.
Two main approaches:
Canvas API (low-level): Direct drawing with coordinate-based positioning - use for precise layouts
Platypus (high-level): Flowing document layout with automatic page breaks - use for multi-page documents
Core capabilities:
Text with rich formatting and custom fonts
Tables with complex styling and cell spanning
Charts (bar, line, pie, area, scatter)
Barcodes and QR codes (Code128, EAN, QR, etc.)
Images with transparency
PDF features (links, bookmarks, forms, encryption)
Choosing the Right Approach
Use Canvas API when:
Creating labels, business cards, certificates
Precise positioning is critical (x, y coordinates)
Use when reviewing pull requests with comprehensive code analysis, incremental or full review options, and constructive feedback - provides thorough code reviews with severity ratings