Towards Data Science

Changing One Prompt Can Affect 50 Others — I Built a Prompt Dependency Graph to Find What Needs Retesting

The article describes how the author constructed a prompt dependency graph to identify which prompts are affected when a single prompt changes. By separating all reachable components from the smaller subset that truly requires evaluation, the graph helps focus retesting efforts. This approach streamlines testing by pinpointing only the prompts that need targeted evaluation.

Towards Data Science
Jul 29

Prompt Engineering Is Solved—Prompt Management Isn’t

Prompt engineering helps you write better prompts—but it doesn’t help you change them safely. This article explores a common production failure where a simple variable rename breaks every live call, and introduces a lightweight static analysis tool that treats prompts like contracts, catching breaking changes before they ship.

By Emmimal P Alexander
Simon Willison
Nov 10

Quoting Prompting Claude Fable 5.2

Claude Fable 5.2 follows the prompt’s instructions about code ownership. When a prompt omitted ownership or framed the code as someone else’s, the model tended to add to the existing structure, sometimes repeating code. Adding a sentence that the codebase belongs to the user—"This codebase is yours…"—caused the model to merge repeated code in about half the attempts, versus less than a tenth without it.

Simon Willison
Oct 13

Quoting Geoffrey Huntley

The article describes a developer’s strategy for ensuring that an agent uses a diagnostics library by implementing a pre‑commit hook that scans the git diff for direct calls to observability modules. If such calls are detected, the commit fails and a prompt is injected, instructing the agent to use the diagnostics library instead. This approach eliminates the need for manual code updates and maintains consistency across the codebase.

Towards Data Science
Nov 1

Fix the Image, Not the Prompt

The article "Fix the Image, Not the Prompt" argues that vision models frequently fail at the initial perception stage rather than during reasoning. It emphasizes that adding a few strategically placed labels to an image can resolve many issues, often more effectively than adjusting the prompt. The piece suggests that improving image quality and labeling is a more reliable approach to enhancing model performance.

By Lars Benedikt Kaesberg