Skill 5.2.3
Troubleshoot prompt engineering problems to improve FM response quality and consistency beyond basic prompt adjustments (for example, by using prompt testing frameworks, version comparison, systematic refinement)
Key Concepts
A prompt testing framework runs a prompt against a test set and reports pass rates per requirement, so a problem is measured rather than observed anecdotally. Version comparison runs the same tests on the current and previous prompt versions, or on different models, to find when and where behaviour changed.
Systematic refinement addresses root causes: contradictory or ambiguous instructions, missing examples of the desired format, instructions buried in long context, temperature that is too high, or a task that should be split into steps. One change is made at a time and re-tested.