Code And LLM Collaboration

Design patterns for layering deterministic code and LLM calls in a single pipeline or agent. Use when designing a pipeline that mixes semantic and structural work — distillation, extraction with validation, approval gates, orchestrated multi-step workflows. Catalogs four load-bearing layering patterns (LLM→Code guard, Code filter→LLM, LLM judge + Code enforce, Code orchestrator + LLM worker) with when-to-use, failure modes, and minimal code sketches. Macro-level companion to the micro "which tool for this one task" question.

shimo4228 ef6c655 11.6 KB Updated

File contents

shimo4228/code-and-llm-collaboration/tree/main/skills/code-and-llm-collaboration commit ef6c655067

Frequently asked questions

npx skillmds@latest add shimo4228/code-and-llm-collaboration