用途:这是 Claude API(platform.claude.com)的提示工程与评估参考,帮助设计提示、构建评估并实现常见用例。API 调用本身(Messages API、structured outputs、streaming 等)属于 anthropic-api-core 的范围。
主要能力:分为三类。prompt-engineering 覆盖提示设计基本技法(清晰度、示例、XML 标签、thinking、agentic systems)以及 Fable 5 / Opus 5 / Opus 4.8 / Sonnet 5 的模型差异与迁移。test-evaluate 覆盖成功标准定义、评估构建、code-graded 与 LLM-graded 的取舍,以及 streaming refusals 检测、输出一致性、jailbreak / prompt injection / hallucination / prompt leak / latency 对策。use-cases 覆盖 classification、content moderation、customer support chat、legal summarization、ticket routing 等实现指南,以及 claude.ai / iOS / Android 应用 system prompt 的发布说明。
使用方式:目录含 SKILL.md、references/ 与 samples/。先按任务在映射表中找到类别,再读该类别 references/{category}/README.md(samples/ 读其 README.md)定位页面,最后 Read 对应 .md 获取细节。samples/ 提供提示模板结构、classification 提示、RAG 摘要提示、护栏提示、eval rubric 工作流、模型别调整示例。
限制:资料未提供安装命令、收费、价格或平台支持信息;具体内容需按上述路径查阅文件。