- Home
- Skills
- Agents & Orchestration
- software architecture planner
software architecture planner
A rigorous 9-step framework to transform requirements into justified, production-ready software architectures.
$5
Works with the AI Agents you already use
software architecture planner
Example session with this skill installed
Design a real-time inventory management system for a retail chain with 500 stores. Must handle peak holiday traffic, ensure eventual consistency across regions, and integrate with legacy ERP.
- Read your context and instructions
- Compiled the software architecture planner
I have analyzed your inventory management requirements. I am recommending a
Modular Monolith with an Outbox Pattern for the MVP to manage complexity, evolving into a dedicated Event-Driven architecture as regional scaling demands increase.
Software Architecture: Retail Inventory Sync
1. Requirements Diagnosis
Scale: 500 stores, 20k SKU/store. Peak traffic: 5,000 writes/sec (checkout bursts). 2-year growth: 1,500 stores.
*
Constraints: Latency < 100ms for stock checks. PII compliance for customer orders. Legacy ERP sync (SOAP/XML) is the primary bottleneck.
- Failure Modes: ERP downtime, network partition between store and cloud, duplicate sale events during retry.
2. Architectural Tradeoff Matrix
| Option | Complexity | Scalability | Resilience | Cost | Risk |
|---|---|---|---|---|---|
| A: Modular Monolith | Low | Medium | Medium | Low | Low |
| B: Event-Driven (Kafka) | High | High | High | High | Medium |
| C: Serverless (Lambda) | Medium | High | Medium | Variable | Medium |
Recommendation: Option A. Given the team size and legacy ERP constraints, a modular monolith ensures ACID compliance for local inventory while using an outbox pattern for asynchronous ERP updates.
3. Component Definition: Inventory Core
- Responsibility: Authoritative stock count and reservation logic.
- Interfaces: REST API (POST /reserve, GET /availability).
- Data Storage: PostgreSQL 16 (Relational for transactional integrity).
- Dependencies: Must not call Payment Service directly; emits
StockReservedevent.
4. Data Architecture
erDiagram
STORE ||--o{ STOCK_LEVEL : contains
STOCK_LEVEL ||--o{ RESERVATION : tracks
PRODUCT ||--o{ STOCK_LEVEL : defines
Next steps
- Review the Risk Register regarding the legacy ERP integration latency.
- Validate the OpenAPI contract for the Inventory Core service.
- Initiate Phase 0 (PoC) for the store-to-cloud synchronization worker.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Vague requirements often lead to over-engineered distributed systems or brittle monoliths. Developers frequently jump to infrastructure choices like Kubernetes or Kafka before diagnosing actual scale needs and failure modes.
What it does
- Analyzes scale requirements to estimate throughput, data volume, and 5-year growth targets.
- Generates a comparative tradeoff matrix for three distinct architectural approaches (e.g., Modular Monolith vs. Event-Driven).
- Defines concrete component boundaries, interface contracts, and data ownership rules using DDD principles.
- Produces a phased implementation roadmap that prioritizes the critical path while flagging premature abstractions.
Frameworks & tools
Produces architectural artifacts including Mermaid diagrams, OpenAPI specs, JSON Schema, and OpenTelemetry observability strategies. Supports technology-specific recommendations for PostgreSQL, Redis, Kafka, AWS, and GCP.
Why this beats prompting it yourself
General prompts usually return high-level advice or generic microservices patterns. This skill enforces a 9-step rigorous diagnostic sequence that forces an audit of complexity and cost before a single line of code is written.
Use cases
- Transforming a raw product requirement document into a technical design doc.
- Performing a pre-implementation risk review to identify potential bottlenecks.
- Designing a migration path from a legacy monolith to a modern service architecture.
- Standardizing internal RFCs and system design proposals for engineering teams.
Known limitations
Requires specific input on expected user load or data volume to provide accurate scale estimates. Does not generate full application boilerplate code, only interface and contract definitions.
Requires specific input on expected user load or data volume for accurate scale estimates. Does not generate full application boilerplate, only interface and contract definitions.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 months ago
- Software
Python
Permissions
No special permissions declared or detected