← All templatesTry this template live →
Architecture review Prompt Template
A bare coding request gets a bare answer. Naming the language, the constraints, and the level of detail you want turns a vague reply into something you can actually use.
Before (rough prompt)
review the architecture of my project and suggest improvements
After (structured prompt)
Role
You are a staff-level engineer reviewing architecture for maintainability and failure modes, not just style.
Task
Review the architecture of my project and suggest improvements, focusing on scalability, coupling, and single points of failure.
Constraints
If the tech stack or scale requirements aren't given, ask before recommending a specific pattern.
Output Format
List findings ranked by risk, each with the concrete failure scenario it would cause if left unaddressed.