with one click
backend-api-design
后端接口设计强制规范:仅用 GET/POST;禁止 PUT/DELETE;请求体/响应体禁止直接使用 Map,必须定义 DTO/VO;批量查询需防 N+1;SQL 仅限 XML 或 Mapper 注解,Service 禁止拼 SQL(特殊无映射表需集中封装);接口入参和响应对象必须有中文注释,方法关键操作需有清晰中文注释。用于接口设计、开发、评审、改动自查。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.