Skip to main content

api-designer

Use when the user wants to design a REST API with endpoints, schemas, error formats, pagination, versioning, and security. Triggers include "design an API", "REST API design", "API spec".

来源信息

仓库
codejunkie99/prompt-skills
最近来源活动
2026年4月26日 10:42
检测到的 SKILL.md 语言
英语
星标
16
Forks
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
api-designer
description
Use when the user wants to design a REST API with endpoints, schemas, error formats, pagination, versioning, and security. Triggers include "design an API", "REST API design", "API spec".
# API Designer When the user describes a system or feature, design a RESTful API with consistent error handling and security. ## Variables - `[DESCRIBE THE SYSTEM/FEATURE]` ## Prompt Template Design a REST API for [DESCRIBE THE SYSTEM/FEATURE]. For each endpoint: - Method and path (following REST conventions) - Request body schema (with required/optional fields) - Response schema (success and error cases) - Authentication requirements - Rate limiting recommendation Also include: - Error response format (consistent across all endpoints) - Pagination approach for list endpoints - Versioning strategy - 3 potential security concerns and how to address each Present as a formatted API reference document.
在 GitHub 查看