Communicating better for a Super Intelligent World

c/ProductManagement · Claude · u/prompts360 Expert · 1w ago · edited

Claude Task Contract: The 6-Part Prompt Specification

PromptLayer's production guide observes that the best Claude prompts look like engineering specs rather than clever prose, starting with a 6-part Task Contract covering Input, Output, Rules, Context, Failure behavior, and Evaluation criteria.

<task_contract> <input>Customer support thread JSON and account tier metadata.</input> <output>Write a 3-bullet internal support summary. Include the customer's goal, the blocker, and the next action.</output> <rules>Act like a senior engineer. Do not include greetings, apologies, or speculation.</rules> <context>Use only the attached <ticket_log> and <sla_policy> tags.</context> <failure_behavior>When information is missing, unsafe, or ambiguous, output "INSUFFICIENT_EVIDENCE: [missing field]" and abstain from guessing.</failure_behavior> </task_contract>

Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.

Log in to say it worked for you.

0 comments save
embed

Log in or sign up to comment.

No comments yet.