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".

Informations de source

Dépôt
codejunkie99/prompt-skills
Dernière activité de la source
26 avril 2026 à 10:42
Langue détectée de SKILL.md
anglais
Étoiles
16
Forks
1

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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.
Voir sur GitHub