Study FAQ
How do I revise and test a Claude prompt without losing track of what changed?
Also asked as 2
- How do I choose which part of a failing Claude prompt template to change?
- What should I record when iterating on a Claude prompt template?
Answer
Record the current prompt template and rendered failing case, identify the ambiguous instruction or example, and change one suspected component where possible. Compare the candidate and baseline on the same accepted inputs, model configuration, and output criteria. Preserve the prior version so you can reproduce or reverse the change. Prompt engineering overview Define success criteria and build evaluations
Check whether each component has a defined role. An unclear task may need a sharper objective, mismatched examples may need replacement, and missing reference evidence should trigger an explicit unknown or review path. Keep controlled examples distinct from held-back regression cases. Exercise routine inputs, boundaries, contradictory or missing data, and cases that should escalate. Claude prompting best practices Define success criteria and build evaluations
Record the template version, ordering, input and output contract, examples, model ID, reasoning controls, and approval evidence. If the rendered prompt is correct and the failure first appears in retrieval, parsing, authorization, or execution, investigate that boundary. Use the selected version in a formal release evaluation before adoption. Demystifying evals for AI agents
Full explanation
Prompt Engineering for Reliable Claude Applications
Study guide · CCDV-F
Read the full explanation