Code Architecture Review

General Productivityclaude-opus-promptsprojectTypetechStackscaleRequirements

Opus can process multiple files simultaneously and cross-reference patterns across them. The severity rating forces prioritization instead of a flat list. Asking for concrete code fixes rather than just descriptions produces actionable output that developers can implement immediately.

Prompt
Review the following codebase architecture for a {{projectType}} application.

**Tech stack:** {{techStack}}
**Scale:** {{scaleRequirements}}
**Team size:** {{teamSize}} engineers

I'll provide the key files. For each architectural concern, reference the specific file and line where the issue exists.

Review for:
1. **Separation of concerns** — Are responsibilities cleanly divided? Any God objects or modules doing too much?
2. **Scalability bottlenecks** — What breaks first at 10x current load?
3. **Error handling gaps** — Where can failures cascade or go unhandled?
4. **Testing friction** — What's hard to test due to tight coupling or hidden dependencies?
5. **Security surface** — Auth bypasses, injection points, data exposure risks

For each issue found, provide:
- Severity: critical / high / medium / low
- The specific anti-pattern or violation
- A concrete fix with code example

<codebase>
{{codebaseFiles}}
</codebase>

Variables to customize

{{projectType}}{{techStack}}{{scaleRequirements}}{{teamSize}}{{codebaseFiles}}

Why this prompt works

Opus can process multiple files simultaneously and cross-reference patterns across them. The severity rating forces prioritization instead of a flat list. Asking for concrete code fixes rather than just descriptions produces actionable output that developers can implement immediately.

What you get when you save this prompt

Your workspace unlocks powerful tools to iterate and improve.

AI OPTIMIZE

AI Optimization

One-click improvement with structure analysis and pattern suggestions.

VERSION DIFF

Version History

Track every edit. Compare versions side-by-side with word-level diffs.

ORGANIZE
Development
Code Review
Testing
Marketing

Folders & Tags

Organize your library with nested folders, tags, and drag-and-drop.

MCP
$ npm i -g @promptingbox/mcp
Claude · Cursor · ChatGPT

Use Everywhere

Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.

Your prompts, organized

Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.