知识库 · 提示词Claude官方提示词文档汇总(24年4月)汇总Claude官方2024年4月提示词文档,涵盖提示工程、清晰指令、示例、角色、XML标签、链式提示、思考、预填、JSON输出、重写及长上下文等技巧。Claude提示工程文档汇总1.Intro to prompting 提示简介 2.Prompt engineering 提示工程 3.Be clear & direct 言之有物,直截了当 4.Use examples 使用例子 5.Give Claude a role 给克劳德一个角色 6.Use XML tags 使用 XML 标签 7.Chain prompts 链式提示 8.Let Claude think 让克劳德思考 9.Prefill Claude's response 预先填写克劳德的回答 10.Control output format (JSON mode) 控制输出格式(JSON 模式) 11.Ask Claude for rewrites 要求 Claude 进行重写 12.Long context window tips 长上下文窗口提示 出处 https://docs.anthropic.com/claude/docs/prompt-engineering