Communicating better for a Super Intelligent World

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

Claude Prompt Chaining With XML Handoffs

Breaking a complex task into smaller, single-objective subtasks via prompt chaining improves accuracy, simplifies troubleshooting, and provides cleaner traces than one opaque model call. Use XML tags to pass structured outputs cleanly between prompts.

Prompt 1 (Extractor): From <transcript>{{TEXT}}</transcript>, extract every action item and owner into <extracted_actions><item owner="">...</item></extracted_actions> tags. Prompt 2 (Drafter): Using the <extracted_actions> output from Prompt 1, draft individualized follow-up messages inside <follow_ups> tags.

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.