Change or diagnose Xberg PDF extraction, native/Pdfium backend selection, PDF rendering sessions, encrypted documents, OCR fallback, or backend-specific capability gaps. Load for PDF engine work, not generic image OCR.
72
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
PdfConfig.backend selects PdfBackend::Native (default) or PdfBackend::Pdfium. Backend choice is explicit: never
silently return native output when Pdfium was requested.
xberg_native_pdf and supports the full Xberg PDF pipeline: text and structure extraction,
page rendering/OCR fallback, tables, annotations, images, attachments, and richer metadata.config.force_ocr forces the whole document; config.force_ocr_pages selects pages. Otherwise, pages without usable
native text can enter the OCR stage inside PdfExtractor; OCR is not a second PDF extractor in the registry.PdfRenderSession in pdf/render.rs opens document bytes once and exposes page count and page rendering. Use it for
repeated page renders instead of reopening the same document for each page. It is a Rust primitive and need not be
exposed by every binding.pdf-pdfium Cargo feature. Selecting it without that feature must return an actionable error.PDFIUM_DYNAMIC_LIB_PATH as a directory containing the platform library. Build-time
static and dynamic link variables are not interchangeable with runtime discovery.Test backend selection separately from document semantics. A missing Pdfium runtime is infrastructure failure unless
the job promises to provision it; when XBERG_REQUIRE_PDFIUM is set, skipping because the library or fixture is
absent is a failure. Use corpus fixtures through the test-corpus skill and include Pdfium artifacts in benchmark
aggregation when the adapter is enabled.
04336bd
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.