Practical notes on prompt engineering & agent workflows
Concise, reproducible patterns for structuring long-context prompts, designing deterministic tool loops, and evaluating model outputs in production.
Structuring Prompts with XML Tags
How explicit semantic delimiters eliminate instruction leakage in multi-document analysis and structured extraction.
Reliable Tool-Use Loops
Schema design, concise error returns, idempotency, and verification checkpoints for autonomous coding agents.
Context Hygiene & Evals
Keeping context windows sharp with progressive summarization, golden eval sets, and latency budgets.
Reusable Prompt Library →
Copy-ready templates for PR reviews, architecture specs, SQL query audits, and incident postmortems.
API Integration Recipes →
Minimal Python snippets covering prompt caching, strict JSON outputs, and streaming tool calls.