AI & LLM
Prompt engineering
Writing instructions, examples and output formats so the model does what you actually want.
Article
Prompt engineering: writing instructions a model will actually follow
The anatomy of a good prompt, context instead of incantations, examples, structured outputs instead of begging for JSON, effort instead of "think step by step" and prompts treated as code – with examples in Python, TypeScript and C#.
Related articles
- LLM fundamentals: tokens, context windows and next-token prediction
How a large language model really works – from tokenization and the transformer, through context windows and sampling, to costs, hallucinations and a first API call in five languages.
- Evaluating LLM applications (evals): tests for systems that are not deterministic
How to build an evaluation set, combine code checks with LLM-as-judge, count results honestly and stop regressions in CI – using a pierogi restaurant assistant, with code in Python, TypeScript and C#.
- RAG: answers grounded in your own documents
Retrieval-Augmented Generation from basics to production – chunking, hybrid search with BM25 and RRF, reranking, cited answers with Claude, evaluation and the cases where RAG is unnecessary.
- AI coding assistants: from editor suggestions to an agent that opens pull requests
How to work with AI on code so you gain speed without losing quality: modes of work, project context (CLAUDE.md, AGENTS.md), the explore–plan–implement–verify cycle, change review, tests, security…
Around the topic
- AI prompt engineering: A deep dive video · youtube · Anthropic
- anthropics/prompt-eng-interactive-tutorial repo · github · anthropics
- The new skill in AI is not prompting, it's context engineering article · web · Philipp Schmid
- Prompt engineering playbook for programmers article · web · Addy Osmani
- dair-ai/Prompt-Engineering-Guide repo · github · dair-ai
- linshenkx/prompt-optimizer repo · github · linshenkx
- ⚡️ Senior Dev: This "Grill Me" Prompt Is Going Viral Among Top Engineers podcast · apple-podcasts · Latent Space: The AI Engineer Podcast
- Sourabh Satish on Prompt Injection podcast · apple-podcasts · Software Engineering Radio - the podcast for professional software developers
- Google Antigravity exfiltrates data via indirect prompt injection attack article · web · promptarmor.com
- From prompt to deployed app in less than 2 minutes article · devto · Paige Bailey
- Data Exfiltration from Slack AI via indirect prompt injection article · web · PromptArmor
- An example of LLM prompting for programming article · web · martinfowler.com
- Prompt Engineering for Generative AI • James Phoenix, Mike Taylor & Phil Winder podcast · apple-podcasts · GOTO - The Brightest Minds in Tech
- 5 Prompt Writing Tips for OpenAI's ChatGPT video · youtube · ArjanCodes
- Test-Driven Prompt Engineering for LLMs with Promptimize podcast · apple-podcasts · Talk Python To Me
- Prompt Injection: When Hackers Befriend Your AI - Vetle Hjelle - NDC Security 2024 video · youtube · NDC Conferences
- State of the Art of Prompt Engineering • Mike Taylor • GOTO 2025 video · youtube · GOTO Conferences
- Roblox Engineering Director: "Prompt to Prod" Is Broken Without Trust video · youtube · InfoQ
- Choose Wisely: Engineering the Branches Between Prompt and Outcome | Danny Thompson video · youtube · JetBrains
- Why Prompting Isn’t Enough: Building Stateful AI Architecture video · youtube · InfoQ
- Prompt Engineering for LLMs book · openlibrary · John Berryman, Albert Ziegler
- From Prompt Hacking to Architectural Determinism: Engineering Reliable GenAI Systems video · youtube · InfoQ
- tldrsec/prompt-injection-defenses repo · github · tldrsec
- Anthropic's educational courses course · github · Anthropic