P

Prompt Claude for Designing Software Architecture

Software architecture design is a fundamental step that determines a project's maintainability, scalability, and robustness. Claude excels in this area thanks to its ability to analyze complex technical constraints, propose suitable architectural patterns, and anticipate design problems before they occur in production. Whether you're starting a new project from scratch, refactoring a monolith to microservices, or evaluating different technological options, Claude can assist you at every stage of the decision-making process. By providing precise context about your constraints (team, budget, expected traffic, existing stack), you get reasoned architectural recommendations, component diagrams, structured Architecture Decision Records (ADRs), and concrete migration plans. The iterative approach with Claude allows exploring multiple alternatives, comparing their trade-offs, and converging on a solution that balances pragmatism and technical excellence. It's like having a senior software architect available constantly to challenge your ideas and enrich your thinking.

The prompt

Claude

You are a senior software architect with 15 years of experience on large-scale distributed systems. I need to design the architecture of a new system.

Project Context

  • Project Name: [NAME]
  • Description: [FUNCTIONAL DESCRIPTION IN 2-3 SENTENCES]
  • Target Users: [TYPE AND ESTIMATED NUMBER]
  • Expected Load: [REQUESTS/SECOND, CONCURRENT USERS]
  • Constraints: [BUDGET, TEAM, DEADLINES, REGULATORY COMPLIANCE]
  • Existing Stack: [TECHNOLOGIES ALREADY IN PLACE, IF APPLICABLE]

What I Expect from You

  1. Overview: Propose an architecture with an ASCII art diagram showing main components and their interactions.

  2. Technology Choices: For each layer (frontend, backend, database, infrastructure, messaging), recommend a technology with justification and considered alternatives.

  3. Architectural Patterns: Identify relevant design patterns (CQRS, Event Sourcing, Saga, Circuit Breaker, etc.) and explain why they apply here.

  4. ADR (Architecture Decision Records): Write 3 ADRs for the most structuring decisions, in the format: Context → Decision → Consequences.

  5. Risks and Mitigations: List the top 5 architectural risks with concrete mitigation strategies.

  6. Evolution Plan: Describe how this architecture can evolve over 6, 12, and 24 months.

Be pragmatic: prioritize simplicity when it's sufficient, and complexity only when justified by constraints.

Personalize this prompt with Léa

Answer 3 questions and Léa tailors the prompt to your situation.

Why it works

This prompt works because it assigns a precise expert role to Claude and structures the request into concrete, actionable deliverables. The detailed context (load, constraints, stack) allows Claude to calibrate its recommendations instead of giving generic answers. The final directive on pragmatism steers Claude toward realistic solutions rather than theoretically perfect but unachievable architectures.

Expected result

You will get a complete architecture document including a component diagram, argued technology recommendations for each layer, formalized ADRs, and a progressive evolution plan. The result is directly usable as a basis for discussion with your technical team or as a reference document for development.

Variants by level

FAQ

How can I provide enough context to Claude to get a relevant architecture?
The quality of the proposed architecture directly depends on the context provided. Specify at minimum: expected number of users and peak loads, technical constraints (imposed stack, hosting, budget), non-functional requirements (latency, availability, GDPR compliance), team size and skills, and existing systems the architecture needs to integrate with. The more specific you are about your real constraints, the more actionable and realistic the recommendations will be.
Can Claude help me choose between monolith and microservices?
Yes, and it's one of its strengths. Describe your context (team size, domain complexity, deployment constraints) and explicitly ask for a comparative analysis. Claude will evaluate trade-offs in terms of operational complexity, development velocity, independent scalability, and infrastructure cost. It can also propose intermediate approaches like modular monoliths or macroservices, often more suitable than the extremes.
How to iterate with Claude to refine an architecture?
Proceed in several exchanges. Start with an initial overall proposal, then deep dive component by component. You can challenge each decision by asking 'what are the alternatives to this choice and their trade-offs?'. Submit load or failure scenarios to test the design's robustness. Also ask Claude to play the role of a critical reviewer looking for flaws in the proposed architecture. This dialectical approach yields much more robust results than a single query.

Related prompts

How to use this prompt

  1. Copy the prompt with the button above.
  2. Paste it into ChatGPT, Claude or your favorite AI assistant.
  3. Replace the bracketed variables with your details, then refine the result.

About Prompt Guide

Prompt Guide is a free library of 2500+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.

More prompts to explore

Prompt Claude for Writing a Professional Bio

Writing a compelling professional bio is a delicate exercise that requires finding the right balance between highlighting your career and authenticity.

Prompt Claude for Writing Cold Emails

Cold emailing remains one of the most powerful levers for business development, but writing messages that capture attention and generate responses is a real challenge.

Prompt DALL-E for Creating a Content Strategy

DALL-E, the AI image generator developed by OpenAI, has become an essential tool for content creators and strateg

Prompt Gemini for Generating Advertising Visuals

Generating advertising visuals is one of the most powerful use cases for Gemini. With its advanced multimodal capabilities, Gemini allows you to create impactful advertising images in seconds, where a graphic designer would take hours. Whether you are a marketing manager, entrepreneur, or content creator, mastering the right prompts for Gemini transforms your creative workflow. The challenge is not simply to ask for an image, but to structure your request to get a visual that respects your brand identity, captures your target audience's attention, and drives action. A well-constructed prompt integrates the product context, desired visual tone, technical constraints of the advertising format, and essential composition elements. In this guide, you will discover an optimized main prompt for Gemini, its variants according to your expertise level, and best practices for obtaining professional advertising visuals that convert. Each prompt has been tested and refined to maximize rendering quality and commercial relevance.

Prompt GitHub Copilot for Creating Images

GitHub Copilot, developed by GitHub in partnership with OpenAI, is primarily known as a coding assistant, but its capabilities now extend to image generation thanks to the integration of multimodal models like GPT-4o. Directly from your IDE or the Copilot Chat interface, you can describe an image in natural language and get an AI-generated visual. This feature is particularly useful for developers who want to quickly create interface mockups, icons, illustrations for their documentation, or visual assets without leaving their work environment. By mastering the right prompting techniques, you can obtain precise images that are consistent with your project and ready to be integrated. This guide offers an optimized prompt as well as several variants adapted to your level, to fully exploit GitHub Copilot's image generation potential and accelerate your daily creative workflow.

Prompt GitHub Copilot for Data Analysis

GitHub Copilot, the AI assistant developed by GitHub and OpenAI, is not limited to code generation. It is a powerful tool for analyzing data directly in your development environment.

Go further

Get new prompts every week

Join our newsletter.