FAQ
For analysis, name the decision or question, the evidence set, comparison criteria, and exclusions. Ask Claude to distinguish observations from interpretations so the result supports the decision rather than merely summarizing material.
FAQ
Split a Claude request when a later step depends on an earlier judgment, several different operations are mixed together, or a reviewer needs to locate where an error entered.
FAQ
Give Claude the smallest sufficient set of permitted information that controls the result: the audience, purpose, approved sources, decisions already made, terminology, and exclusions. Extra unrelated history can obscure the request.
FAQ
State what Claude should produce, who will use it, which inputs it may rely on, and what makes the result acceptable. Add constraints and an output structure where they affect the task.
FAQ
After a complete Claude response passes schema validation, check its meaning against the original evidence, the application’s current policy, and the proposed action. A valid value such as "priority": "high" has the expected shape.
FAQ
Choose the technique that addresses the source of context pressure.
FAQ
Give each Messages request a stable custom_id unique within its batch. Record the mapping to the input and source version, submit the validated records, and poll the batch ID until processing_status is ended.
FAQ
Pass a validated intermediate artifact with a stable request ID, the result, evidence references, and any unresolved items or confidence indicators the next stage needs.
FAQ
Write a Claude prompt contract that states the task and audience, which inputs count as evidence, which decisions Claude may propose, what a satisfactory response contains, and when it should ask for clarification, stop, or escalate.
FAQ
For long-document work, place the supplied documents before the task query and task-specific instructions in the prompt.
FAQ
Use output_config.format with type json_schema to constrain Claude’s response text to a JSON Schema. Set strict: true on a tool when the model-generated inputs to that tool need schema constraints.
FAQ
Check the Claude API completion state before parsing a structured response. An HTTP 200 can carry stop_reason: "refusal", which can produce text outside the schema. stop_reason: "max_tokens" can leave an incomplete result.