一键导入
create-api-endpoint
Guidance for implementing secure, well-structured REST API endpoints.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidance for implementing secure, well-structured REST API endpoints.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guidance for building accessible, testable frontend UI components.
Guidance for writing safe, reversible database schema migrations.
Guidance for implementing consistent, observable error handling.
Guidance for writing meaningful unit and integration tests.
Guidance for designing and implementing a well-structured REST API endpoint with proper validation, error handling, authentication, and documentation.
Guidance for building a well-structured, accessible, and testable frontend UI component aligned with the project's component model and design system.
| name | create-api-endpoint |
| description | Guidance for implementing secure, well-structured REST API endpoints. |
Produce a consistent, secure, and documented HTTP endpoint that meets its design contract.
/users) and correct HTTP methods (GET, POST, etc.).400 Bad Request. Use a schema validation library.401 (unauthenticated) or 403 (unauthorized).404 Not Found explicitly.200, 201, 204, etc.). Include Location header for 201 Created. Use DTOs to avoid over-exposing data.400.