---
title: "Tricks to fix stubborn prompts"
description: "Six practical techniques fix prompts that resist the usual remedies."
url: "https://swe.quest/articles/tricks-to-fix-stubborn-prompts-231a0686f889f1da"
canonical: "https://incident.io/blog/tricks-to-fix-stubborn-prompts"
source: "incident.io"
published: "2025-03-25"
difficulty: "medium"
kind: "How-to"
reading_minutes: 10
tags: ["llms","evals"]
---

# Tricks to fix stubborn prompts

A post on [incident.io](https://swe.quest/sources/incident-io.md), published 2025-03-25, 10 min read, How-to. Original: [https://incident.io/blog/tricks-to-fix-stubborn-prompts](https://incident.io/blog/tricks-to-fix-stubborn-prompts)

## Summary

Six practical techniques fix prompts that resist the usual remedies. Split tasks that combine classification and explanation into separate, cheaper and parallelizable calls. Read the full prompt for contradictions, such as a user message saying a message "is related" that overrode the system instructions. Structure prompts with clear headers and the goal up front, have an LLM review prompts for hidden assumptions, and mark the most important rules explicitly. Try other models using your own evals rather than benchmarks; one suite went from 50% failing to 100% passing by switching from GPT-4o to Sonnet. Pre-process inputs, for example replacing merged\_at timestamps with time\_since\_merged so the model doesn't have to calculate durations.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- LLM prompting basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- LLM API usage ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

prompt engineering, OpenAI, GPT-4o, Claude Sonnet, incident.io

## Related posts

- [You can’t vibe code a prompt](https://swe.quest/articles/you-can-t-vibe-code-a-prompt-7bae994c4b57de8e.md): incident.io · 2025-03-25 · Medium · 11 min read · LLMs, Evaluation, AI for coding
  Letting an LLM iteratively rewrite a prompt until evals pass produces overfitted, brittle prompts.
- [Promptim: an experimental library for prompt optimization](https://swe.quest/articles/promptim-an-experimental-library-for-prompt-optimization-2ac32ec5daa6c443.md): LangChain · 2026-11-09 · Easy · 4 min read · LLMs, Evaluation, Developer tools, Open source
  Promptim is an open-source, experimental library that automates prompt engineering: given an initial prompt, a LangSmith dataset and custom evaluators, it runs an optimization loop where a metaprompt proposes edits based on scored train-set results, and keeps a new prompt only if it improves dev-split metrics, repeated N times.
- [Lessons learned from building our first AI product](https://swe.quest/articles/lessons-learned-from-building-our-first-ai-product-85b401bfcc88ff2c.md): incident.io · 2024-01-17 · Medium · 12 min read · LLMs, Product engineering, Evaluation
  incident.io built suggested incident summaries with OpenAI: each time a responder posts an update, GPT proposes a new summary from the update, the Slack conversation and the previous summary, and a human accepts, edits or rejects it.
- [Open LLM Leaderboard: DROP deep dive](https://swe.quest/articles/open-llm-leaderboard-drop-deep-dive-59014650db1a0b03.md): Hugging Face · 2023-12-01 · Medium · 7 min read · Evaluation, LLMs
  Most models scored under 10 F1 on DROP in the Open LLM Leaderboard because of two evaluation bugs.
- [Context engineering case studies: Etsy-specific question answering](https://swe.quest/articles/context-engineering-case-studies-etsy-specific-question-answering-ff89774f7981cc63.md): Etsy Code as Craft · 2025-08-19 · Medium · 11 min read · RAG & retrieval, LLMs, Evaluation
  Etsy tested whether prompt engineering over embedding-based retrieval, without fine-tuning, could reliably answer Etsy-specific questions.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
