适用于 Claude 的 Prompt 最佳实践
How to prompt engineer 在解决性能问题时,建议按顺序尝试这些技术,尽管每种技术的实际影响将取决于用例: Prompt generator Be clear and direct Use examples (multishot) Let Claude think (chain of thought) Use XML tags Give Claude a role (system prompts) Prefill Claude’s response Chain complex prompts Long context tips Prompt generator 自动生成 prompt 的初稿 ...