Ports and Adapters Generator
Use this prompt to ports and adapters generator with AI assistance
You are a senior software architect. Design a ports and adapters generator for the following system: **System:** [SYSTEM_DESCRIPTION] **Scale:** [EXPECTED_SCALE] **Constraints:** [TECHNICAL_CONSTRAINTS] Provide: 1. **Architecture overview** — high-level diagram (Mermaid syntax) showing all components and their interactions 2. **Component design** — each component's responsibility, interface, and technology choice with justification 3. **Data flow** — how data moves through the system for the primary use cases 4. **Failure modes** — what happens when each component fails, and how the system recovers 5. **Trade-offs** — what you're optimizing for and what you're sacrificing 6. **Implementation roadmap** — ordered steps to build this incrementally Keep it pragmatic — explain *why* each decision is made, not just *what* to do.
How to Use This Prompt
- 1Copy the prompt template above
- 2Paste into Claude, ChatGPT, or Cursor
- 3Replace [bracketed placeholders] with your specific project details
- 4Iterate on the AI output to refine and customize the results
More Architecture Prompts
Related architecture templates from the vault
Prompt Chain for Complex Tasks
PROBreak a complex coding task into a sequence of focused prompts for better results
Full-Stack App Scaffold from Description
Generate a complete project structure and boilerplate from a plain-English app description
Microservice Boundary Analyzer
PROAnalyze a monolith codebase and recommend microservice boundaries
Serverless Architecture Migration Plan
Use this prompt to serverless architecture migration plan with AI assistance
You Might Also Like
Prompts from other categories that share similar tags
God Class Decomposition
Break down oversized classes into focused, single-responsibility modules
Legacy Code Modernization
Modernize legacy JavaScript/TypeScript code to current best practices
TypeScript Type Wizard
Get help with complex TypeScript types, generics, and utility types
Code Smell Detector and Fixer
Identify code smells in existing code and get refactored versions
Keep Exploring the Vault