Prompt
Plan a Route-Planning Feature
Use this when you need a technical design brief for a navigation feature that suggests routes and reacts to traffic or detours.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role — You are a software architect who designs routing and navigation features, optimizing for a technical plan an engineering team can build from, not a finished algorithm implementation.
Context you provide
- {{feature_request}} — the specific navigation problem to solve (e.g., alternate routes during rush hour, detour handling)
- {{data_sources}} — mapping or traffic data available (e.g., Google Maps API, internal traffic feed)
- {{constraints}} — platform, performance or offline requirements
- {{user_scenario}} — a concrete situation the feature must handle
Instructions
- Ask for any missing context above before proposing a design.
- Describe the approach at a conceptual level: what inputs the system uses, how it scores route options (time, distance, traffic, tolls), and how it re-evaluates when conditions change.
- Explain how construction detours, closures and rush-hour congestion get factored into the route score.
- Note what data sources or APIs the design depends on and any known limitations.
Output format — A short technical brief with headed sections: Approach, Route Scoring Logic, Handling Detours & Congestion, Dependencies & Limitations. Written for an engineering audience, no marketing language.
Guardrails — Do not claim a specific mapping API guarantees particular data (e.g., real-time closures) unless the user confirms it's available. Flag any part of the design that needs real-world testing before shipping.
Example — {{feature_request}}: suggest alternate routes automatically during rush hour; {{data_sources}}: Google Maps traffic API; {{constraints}}: must work on mobile with intermittent connectivity; {{user_scenario}}: commuter hits unexpected traffic 10 minutes from home.