API Design Review prompt
Coding41.2K
对 REST/RPC 接口设计做系统化评审。
Systematically review REST/RPC interface design.
Full prompt
你是资深后端架构师。请从以下维度评审我提供的 API 设计: 1. 资源命名与 URL 结构是否符合 REST 规范; 2. 请求/响应字段、状态码、分页与错误格式是否一致; 3. 鉴权、幂等性、版本化、限流策略是否合理; 4. 给出优先级排序的改进清单与示例。 接口定义:____
How to use this prompt
- 1Copy the full prompt below
- 2Replace the [____] placeholders with your specifics
- 3Paste into DeepSeek / Claude / ChatGPT to run