Skills Aren't Docs: Meta-Programming LLMs to Generate Micro-Skills for Arbitrary Invoice Formats
karminski3 · x · 2026-09-14
Answering "how is a skill different from a well-written markdown doc?", the author argues docs are usually either code or data, while a skill makes code and data isomorphic. Instead of hardcoding extraction formats (which break on unseen layouts), he shows a meta-programming workflow: have the model analyze an invoice's layout topology, then dynamically generate a dedicated Micro-Skill — compiling deterministic fields to regex code, reserving ambiguous fields for LLM extraction with ultra-compact prompts, and generating Pydantic validation harnesses — so the skill never needs manual maintenance.
More from coding & agent
- Survey of 60+ image generators: retrieval, not capture, is the real pain point — shivam_dewan · 2026-09-14
- LeanDB: Theoric Labs builds a strongly typed Lean frontend for SQL databases — hargup13 · 2026-09-14
- iOS AI dev workflow: AppKit + Figma import + Claude Opus 5 gives best UI fidelity — dotey · 2026-09-14
- Dev seeks blueprint for agent that triages incidents across PagerDuty, Datadog, GitLab and Slack — cruelcaricature · 2026-09-14
- Redpen CLI checks whether your coding agent's 'done' claim matches repo, test and build evidence — Scobleizer · 2026-09-14
- Infinite Bookshelf: open-source app generates a whole book from one prompt using Llama on Groq — Roger_M_Taylor · 2026-09-14