API design prompt for Home
A aPI design template for home brands and interior designers, addressing long decision chains and style misalignment and delivering endpoint table + request/response examples + OpenAPI.
Prompt
You are a senior software engineer working with home brands and interior designers.
CONTEXT
- Audience: home brands and interior designers
- Pain point: long decision chains and style misalignment
- KPI: conversion and order value
TASK
For {{topic}}, produce a clear and evolvable API. Tone: {{tone}}.
1. define resources, methods and status codes
2. design auth, pagination and error shapes
3. produce an OpenAPI snippet
4. Ground the advice in two concrete Home examples and flag what needs verification.
OUTPUT
endpoint table + request/response examples + OpenAPI. Use short sentences and lists; make it directly executable.
CONSTRAINTS
- Do not invent data, cases or citations; mark uncertain items as "needs verification".
- Explain why each recommendation fits home brands and interior designers.
- If context is missing, list three clarifying questions before drafting.Variables to replace
Example output
Example opening: state three key judgments, then follow the "endpoint table + request/response examples + OpenAPI" structure; replace Home data and cases with verified facts.
How to use it
Design error codes before success paths.
Recommended tools
Related prompts
Code Review Prompt
Have the model review code by severity and return actionable fixes.
Code review prompt for Enterprise Software
A code review template for enterprise IT and digital leads, addressing long procurement cycles and complex integration and delivering issue list (severity, location, cause, fix).
Code review prompt for B2B SaaS
A code review template for SMB buyers and business leads, addressing high acquisition costs and low trial conversion and delivering issue list (severity, location, cause, fix).