All Claude prompts
Claude • 6 Prompts

Refactoring Prompts for Claude

Anthropic's assistant with a large context window and strong coding ability. Best for long documents, careful refactoring, and following detailed multi-step instructions.

Every prompt below was written and tested against Claude specifically, so the settings and phrasing suit how it reads instructions. Copy any of them in one click — no account needed. Browse all Claude prompts or the full AI tools directory.

Refactoring prompts for Claude

6 prompts
Claude

Explains architectural decisions in terms of the trade-offs they buy and the costs they defer, rather than presenting patterns as rules. Useful for engineers starting to make system-level calls who need to justify a choice rather than just name it.

▸ ready to run
Claude

Explains architectural decisions in terms of the trade-offs they buy and the costs they defer, rather than presenting patterns as rules. Useful for engineers starting to make system-level calls who need to justify a choice rather than just name it.

Architecture Guide for Developers Moving Up

Explains architectural decisions in terms of the trade-offs they buy and the costs they defer, rather than presenting patterns as rules. Useful for engineers starting to make system-level calls who need to justify a choice rather than just name it.

180
Claude

Runs a lighter pass than a full review, catching the mechanical issues — naming, dead code, missing null handling — before a human reviewer spends attention on them. Best used as the step between finishing a branch and opening the pull request.

▸ ready to run
Claude

Runs a lighter pass than a full review, catching the mechanical issues — naming, dead code, missing null handling — before a human reviewer spends attention on them. Best used as the step between finishing a branch and opening the pull request.

Code Review Assistant for Pre-Merge Checks

Runs a lighter pass than a full review, catching the mechanical issues — naming, dead code, missing null handling — before a human reviewer spends attention on them. Best used as the step between finishing a branch and opening the pull request.

210
Claude

Converts a written description of a system or process into diagram source you can render. Useful for documenting an architecture, a request flow, or a state machine without opening a drawing tool, and the output stays diffable in version control.

▸ ready to run
Claude

Converts a written description of a system or process into diagram source you can render. Useful for documenting an architecture, a request flow, or a state machine without opening a drawing tool, and the output stays diffable in version control.

Diagram Generator for Architecture and Flow Charts

Converts a written description of a system or process into diagram source you can render. Useful for documenting an architecture, a request flow, or a state machine without opening a drawing tool, and the output stays diffable in version control.

290
Claude

Positions the model as a solution architect who maps requirements onto systems, integrations, and deployment topology. Use it when you need to reason about how a new component fits an existing estate before committing to a technical direction.

▸ ready to run
Claude

Positions the model as a solution architect who maps requirements onto systems, integrations, and deployment topology. Use it when you need to reason about how a new component fits an existing estate before committing to a technical direction.

IT Architect for System Integration Planning

Positions the model as a solution architect who maps requirements onto systems, integrations, and deployment topology. Use it when you need to reason about how a new component fits an existing estate before committing to a technical direction.

180
Claude

Puts the model in reviewer mode so it reads a diff and reports problems, risks, and improvement suggestions instead of rewriting everything. Use it as a first pass before human review to catch obvious defects, naming issues, and missing error handling early.

▸ ready to run
Claude

Puts the model in reviewer mode so it reads a diff and reports problems, risks, and improvement suggestions instead of rewriting everything. Use it as a first pass before human review to catch obvious defects, naming issues, and missing error handling early.

Code Reviewer for Structured Pull Request Feedback

Puts the model in reviewer mode so it reads a diff and reports problems, risks, and improvement suggestions instead of rewriting everything. Use it as a first pass before human review to catch obvious defects, naming issues, and missing error handling early.

120
Claude

A refactoring prompt that puts characterisation tests before any code movement and outlaws behaviour changes — suspected bugs get flagged, not silently fixed. The output is a safe, reviewable migration rather than a rewrite gamble.

▸ ready to run
Claude

A refactoring prompt that puts characterisation tests before any code movement and outlaws behaviour changes — suspected bugs get flagged, not silently fixed. The output is a safe, reviewable migration rather than a rewrite gamble.

Legacy Function Strangler

A refactoring prompt that puts characterisation tests before any code movement and outlaws behaviour changes — suspected bugs get flagged, not silently fixed. The output is a safe, reviewable migration rather than a rewrite gamble.

658105