API Design Prompt Constructor

D

Daniel Okoye

@daniel-okoye

·

Construct API design prompts for different use cases.

91 copies0 forks
Construct an API design prompt for this scenario.

Domain: {{domain}}
API style: {{api_style}}
Consumers: {{consumers}}
Constraints: {{constraints}}

Create a prompt that guides API design by:
1. Identifying resources and operations
2. Applying the chosen API style correctly
3. Considering consumer needs
4. Respecting constraints
5. Following best practices

Generated prompt should produce:
- Resource identification
- Endpoint specification
- Request/response formats
- Error handling approach
- Versioning strategy
- Authentication requirements

Include domain-specific considerations.

Details

Category

Coding

Use Cases

API design guidanceREST/GraphQL design supportContract-first development

Works Best With

claude-opus-4.5gpt-5.2gemini-2.0-flash
Created Updated Shared

Create your own prompt vault and start sharing

API Design Prompt Constructor | Promptsy