Prompt Engineering Craft

Techniques, patterns, mental models, and anti-patterns for writing effective prompts.

Prompt StructureSystem PromptsContext WindowsChain-of-ThoughtEvaluationFailure ModesModel NuancesVersioning

12 articles

Pattern Posts
Prompt Engineering Craft 7 min

5 Prompt Anti-Patterns That Waste Tokens and Trust

Five specific anti-patterns with examples: vague instructions, over-constraining, context dumping, ignoring output format, and treating all ...

Mar 22, 2025
Perspectives
Prompt Engineering Craft 4 min

Context Window Economics: A Mental Model

Context window management is an economics problem. You have a fixed budget, every token costs something, and ROI varies dramatically.

Mar 18, 2025
Deep Dives
Prompt Engineering Craft 14 min

Anatomy of a System Prompt

A line-by-line breakdown of a real system prompt: role definition, constraints, output format, examples, and context boundaries.

Mar 12, 2025
Perspectives
Prompt Engineering Craft 5 min

What Prompt Engineering Actually Is (And Isn't)

Prompt engineering is a craft discipline with patterns, anti-patterns, testing, iteration, and production concerns. Here's what that actuall...

Mar 10, 2025
Deep Dives
Prompt Engineering Craft 12 min

The Prompt Engineering Stack: Layers of Abstraction

Prompt engineering has layers, just like a software stack. Understanding which layer to optimize changes everything.

Mar 8, 2025
Pattern Posts
Prompt Engineering Craft 6 min

Chain-of-Thought: When to Use It and When It Hurts

Chain-of-thought prompting improves complex reasoning but wastes tokens and adds latency on simple tasks. Here's how to know the difference.

Mar 7, 2025
Pattern Posts
Prompt Engineering Craft 7 min

Prompt Versioning: Treat Prompts Like Code

Prompts change. Without versioning, you can't test, compare, or roll back. Here's how to bring software engineering discipline to prompt man...

Mar 6, 2025
Deep Dives
Prompt Engineering Craft 13 min

The Prompt Library Pattern: Structured Databases for AI Instructions

A prompt library isn't a folder of text files. It's a structured database with 68 categories, typed columns, and composable variables.

Mar 5, 2025
Deep Dives
Prompt Engineering Craft 12 min

Writing Prompts for Claude vs GPT vs Gemini: What Transfers

Some prompt techniques transfer perfectly across models. Others fail spectacularly. Here's a practical guide to what works where.

Mar 4, 2025
Pattern Posts
Prompt Engineering Craft 7 min

Structured Output Design: Making LLMs Return What You Need

The difference between useful AI output and noise is structure. Here are the patterns that make LLMs return exactly what your system needs.

Mar 3, 2025
Pattern Posts
Prompt Engineering Craft 8 min

The System Prompt Checklist: 12 Sections Every System Prompt Needs

Role, context, constraints, format, examples, edge cases, fallbacks, and more. A complete checklist for system prompts that actually work.

Mar 2, 2025
Deep Dives
Prompt Engineering Craft 13 min

Debugging Prompts: A Systematic Approach

Isolation testing, token analysis, output comparison, and systematic elimination. A debugging methodology for prompts that aren't working.

Mar 1, 2025
All Articles