Articles for people who
ship the stack
Rewrites on React, Node.js, TypeScript and AI. A translated body is shown when it exists. If it does not, you see the English text and a note that says so.
Tagged: prompt-engineering
AI Agent Foundations: Purpose, Prompt Design and Model Selection
How to lay the groundwork for a production AI agent: define purpose and success metrics, write prompts with goals and guardrails, then pick the right model.
21 min readControlling Bedrock Agent Behavior: Prompt Stages, Parsers and Inference
How to override Bedrock's pre-processing, orchestration and post-processing prompts in Terraform, with a parser Lambda, JSON contract and per-stage inference settings.
22 min readContext Engineering for LLM Apps: Structured Output, Tools and Agent Limits
How to build model input deliberately: context selection, prompt templates, JSON schemas, constrained decoding, tool calling, agent loops and bounded autonomy.
13 min readTesting a Rubric Gate That Retries an Agent's Wrong Final Action
A 30-case experiment: an LLM judge plus one retry cut wrong support actions from 6 to 2, and why detecting a violation doesn't always mean the agent fixes it.
7 min readFrom Zero-Shot to Self-Consistency: A Practical Ladder of Prompting Techniques
Prompt engineering as a ladder: zero-shot, few-shot, decomposition, critique loops and reasoning prompts, with a support-bot example and when to use plain code.
16 min readPrompt, Context, Harness, Loop: The Four Layers Behind an AI Agent
Prompt, context, harness and loop: the four layers behind every AI agent, from prompt engineering up, and why each exists because the layer below fell short.
7 min readPrompting, RAG or Fine-Tuning: Diagnose the Layer Before Choosing
A practical way to choose between prompting, RAG and fine-tuning in 2026, using three questions, a decision flow, cost shapes, freshness and common mistakes.
9 min readWhy Coding Agents Like Claude Code Need a Governance Layer, Not Better Prompts
A prompt shapes one exchange, not a workflow. How a governance layer of rules, scoped context, authority limits and proof of done make Claude Code dependable.
11 min readFrom Prompt Engineering to Context Engineering: Write, Select, Compress, Isolate
A course in context engineering for AI agents: why prompt engineering falls short, how the context window fills, four strategies, RAG for tools, Claude Code.
18 min read
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.