format-specific-extraction

Installation
SKILL.md

Format-Specific Extraction Workflows

Office XML (DOCX/PPTX/ODT)

ZIP archive → Security validation → XML parsing → Text + tables + metadata
  1. ZipBombValidator::new(limits).validate(&mut archive)?
  2. Extract XML files from archive (word/document.xml, ppt/slides/*.xml, content.xml)
  3. Parse with quick-xml::Reader (streaming) + DepthValidator + StringGrowthValidator
  4. Extract metadata via crate::extraction::office_metadata::extract_metadata()
  5. See: extractors/docx.rs, extractors/pptx.rs, extractors/odt.rs

PDF

Bytes → pdf_oxide → Per-page text + OCR fallback → Tables → Metadata
Installs
11
Repository
xberg-io/xberg
GitHub Stars
9.3K
First Seen
Jun 9, 2026
format-specific-extraction — xberg-io/xberg