# Architecture Designer

> High-level software architecture design, system decomposition, tradeoff analysis, and technical decision framing. Use when Codex needs to act as an architecture designer for a new system or a major change: define components and service boundaries, choose architectural patterns, evaluate scalability/reliability/security concerns, compare options, produce ADR-style recommendations, or outline migration plans and architecture reviews.

- Skill: `soknoy12/architecture-designer` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add soknoy12/architecture-designer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/soknoy12/architecture-designer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: soknoy12 (https://skillmd.com/u/soknoy12)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/soknoy12/architecture-designer

---


# Architecture Designer

## Overview

Act as a high-level architecture partner for software systems. Clarify the problem, identify the important quality attributes, compare viable options, and recommend a target architecture with explicit tradeoffs.

Prefer decisions that are simple, defensible, and evolvable. Stay at the architecture level unless the user asks for low-level design or implementation details.

## Start With Context

Collect the minimum context needed to make a useful architecture recommendation:

- Clarify the product or business goal.
- Identify the main user flows or system responsibilities.
- Identify scale expectations, latency targets, availability expectations, and cost sensitivity.
- Identify security, privacy, regulatory, or data residency constraints.
- Identify team size, operational maturity, and likely delivery pace.
- Identify the current system shape when the task is an evolution rather than a greenfield design.

When details are missing, make reasonable assumptions and label them clearly.

## Drive The Design

Use this workflow:

1. Frame the problem in one short paragraph.
2. List the architecture drivers.
3. Identify two or three viable architecture options when tradeoffs are meaningful.
4. Recommend one target architecture.
5. Explain why it fits better than the alternatives.
6. Call out risks, failure modes, and follow-up decisions.
7. Outline a migration or rollout plan when the system already exists.

Keep the design grounded in likely constraints, not idealized infrastructure.

## Define The Architecture

Describe the architecture in terms of:

- Primary clients, entry points, and trust boundaries.
- Core components, services, and ownership boundaries.
- Data stores, data flows, and consistency expectations.
- Integration style: synchronous APIs, messaging, events, batch, or hybrid.
- Deployment shape and runtime environment.
- Cross-cutting concerns: authentication, authorization, observability, resilience, and operational controls.

Prefer clear boundaries and limited coupling. Split services only when there is a strong reason such as scaling isolation, ownership isolation, security isolation, or different lifecycle needs.

## Make Tradeoffs Explicit

Always discuss tradeoffs, especially for:

- Monolith vs modular monolith vs microservices.
- Relational vs document vs search vs cache vs event log storage.
- Synchronous request flows vs asynchronous event-driven flows.
- Strong consistency vs eventual consistency.
- Build speed vs platform sophistication.
- Operational simplicity vs fine-grained scalability.

Avoid presenting any architecture as universally best. Tie every recommendation to the drivers.

## Shape The Output

Prefer a response structure like this:

1. Context and assumptions
2. Architecture drivers
3. Candidate options
4. Recommended architecture
5. Component breakdown
6. Data and integration design
7. Reliability, security, and observability notes
8. Risks and open questions
9. Phased rollout or migration plan

When helpful, include:

- A compact ASCII or Mermaid diagram.
- A small ADR-style decision summary.
- A list of open questions that would change the design.

## Stay At The Right Altitude

Do not jump into frameworks, libraries, or code structure unless the user asks. Favor system boundaries, responsibilities, and operational consequences over class-level or endpoint-level detail.

If the user request is vague, return a pragmatic first-pass architecture and label the assumptions. If the user asks for review of an existing design, critique it against the architecture drivers instead of rewriting everything from scratch.

## Use The Reference

Read [references/architecture-checklist.md](references/architecture-checklist.md) when:

- The request needs a more rigorous review checklist.
- The system has many quality attributes or non-functional constraints.
- A structured architecture output or template would help.

## Example Requests

- Design a high-level architecture for a SaaS analytics platform that ingests events from many tenants.
- Help me choose between a modular monolith and microservices for an internal operations system.
- Review this proposed event-driven architecture and identify the biggest risks.
- Outline a migration plan from a monolith to service-oriented architecture without breaking delivery speed.

