Prompt
Should I make docs or sample apps first for developers?
Latest observation
Nov 10, 2026
OpenAI APIWeb search: off
Usually: make the developer docs first, then the sample app — but do a thin prototype of both early.
Best rule of thumb
- Docs first if your goal is to answer:
- What does this API do?
- How do developers integrate it?
- What are the assumptions, auth steps, edge cases, limits?
- Sample app first if your goal is to answer:
- Is the API actually easy to use?
- What does the best-practice integration look like?
- Are there missing SDK methods or confusing flows?
Practical recommendation
For most products:
- Write a quick “getting started” doc
- Build a minimal sample app from that doc
- Use the sample app to fix the docs
- Repeat until both are clean
This works because:
- Docs define the expected experience
- Sample apps prove the experience is real
- Each one exposes gaps in the other
If you have to choose one
- Choose docs first for external APIs and platform products
- Choose sample apps first for SDKs, UI components, or tools with tricky integration flow
Ideal deliverable set
- Quickstart guide
- Auth/setup guide
- 1 working sample app
- Reference docs
- Troubleshooting / common errors
If you want, I can also give you a decision matrix for choosing docs vs sample apps based on product type.