← sources

what's the way for prompting?

source: reddit (reddit:ClaudeAI)published 2026-11-13 04:35ingested 2026-11-14 02:36

retained text

Hi everyone, Here are some tips I read on a substack blog.

**1. Use xml formats for complex prompts**

the post recommended this styles

    <context>
    [background on the situation]
    </context>
    
    <task>
    [what you want produced]
    </task>
    
    <constraints>
    [format, length, tone, what to avoid]
    </constraints>
    
    <examples>
    [one or two samples of what good looks like]
    </examples>

**2. Give your agent a role and a reason**

For example: “You are a senior financial analyst. I need this to help a non-technical founder understand their burn rate. Prioritize clarity over precision.” That framing produces a completely different output than “summarize this spreadsheet.”

I just don't know whether it is useful. And should I use another agent to clear my thought before paste it in the Claude agent  

document fetched 2026-11-14 00:23 · canonical https://reddit.com/r/ClaudeAI/comments/1xuyiwg/whats_the_way_for_prompting