API 设计规范
设计一个简洁、一致的 API,并写清楚接口约定。
标题和描述为机器翻译。提示词本身保留英文原文——AI 模型能理解任何语言;加上 “Answer in 简体中文.” 即可用你的语言获得回复。原文(英文): API Design Spec — Designs a clean, consistent API with the contract written out.
更新于 2026年6月14日
为什么有效: Working through resources, endpoints, errors, and cross-cutting concerns in that order mirrors how real API specs get written, and asking for the reasoning behind two decisions keeps trade-offs visible instead of buried.
🔀 改编这条提示词——变成你自己的改编会注明出处,并让你的花园不断生长