Structured Extraction

Use when text must become a typed, schema-conformant object you can trust — pulling fields into a fixed JSON shape, extracting line items as typed records, classifying into enums, and building the Pydantic or Zod model plus the validate-and-retry loop. Covers extractors that throw parse errors, leak markdown fences, or fabricate a value where the field is absent instead of returning null. NOT getting the text out of a PDF, scan or DOCX first (that is `document-processing`), NOT general prompt craft untied to a schema (that is `prompt-engineering`).

ericrisco 375e04a 5 files · 32.1 KB Updated

File contents

ericrisco/rsc-harness/tree/main/skills/structured-extraction commit 375e04a9ff

Frequently asked questions

npx skillmds@latest add ericrisco/structured-extraction