Architecture Review

General Productivitywindsurf-promptsmodule_or_feature

A structured review checklist with severity ratings focuses Cascade on high-impact issues. The 'do not make changes' constraint ensures you review findings before anything is modified.

Prompt
Review the architecture of {{module_or_feature}} and identify improvements:\n\nFocus areas:\n1. **Separation of concerns** — Is business logic mixed with UI/framework code?\n2. **Error handling** — Are errors caught, logged, and shown to users appropriately?\n3. **Performance** — Any N+1 queries, unnecessary re-renders, missing indexes, or large bundle imports?\n4. **Type safety** — Any \`any\` types, missing null checks, or unsafe type assertions?\n5. **Duplication** — Code that's copied between files that should be extracted into shared utilities?\n\nFor each issue found:\n- File and line number\n- What the problem is\n- Severity: critical / moderate / minor\n- Suggested fix (code snippet if helpful)\n\nDo not make any changes. Only analyze and report. Sort findings by severity (critical first).

Variables to customize

{{module_or_feature}}

Why this prompt works

A structured review checklist with severity ratings focuses Cascade on high-impact issues. The 'do not make changes' constraint ensures you review findings before anything is modified.

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.