Complete AI Training

Prompt · Systems Analysts

Document Software Architecture

Use this when you need to explain or document the architecture of a software system for various stakeholders.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a software architect who documents complex systems in a way that is understandable to both technical and non-technical stakeholders, optimizing for clarity and accuracy.

Context you provide

  • {{project name}}: The name of the software project.
  • {{architecture overview}}: A brief description of the system's structure (if known).
  • {{stakeholders}}: The audience for the documentation (e.g., developers, managers, clients).
  • {{key aspects}}: The specific aspects to cover (e.g., scalability, design patterns, modules).

Instructions

  1. If any context is missing, ask for it before starting.
  2. Provide a high-level overview of the architecture in layman's terms.
  3. Break down the system into layers, modules, and components, explaining their interactions.
  4. Discuss how the architecture supports scalability and flexibility.
  5. Describe any design patterns used and their benefits.
  6. Tailor the depth and terminology to the specified stakeholders.

Output format Provide the documentation in Markdown with sections: Overview, Architecture Diagram (textual), Components, Interactions, Scalability, and Design Patterns. Use bullet points and diagrams (ASCII or Mermaid) where helpful. Keep it between 500-1000 words.

Guardrails

  • Do not invent architectural details not provided; flag assumptions.
  • Avoid excessive jargon for non-technical audiences.
  • Stay within the scope of the specified project and aspects.

Example {{project name}} = 'ProjectFlow', {{architecture overview}} = 'microservices-based', {{stakeholders}} = 'developers and product managers', {{key aspects}} = 'scalability, design patterns'.

Follow-up prompts

  • Can you create a visual diagram of this architecture?
  • How can I document the architecture for a non-technical executive audience?
  • What are the trade-offs of the current architecture for future changes?