All skills
jeffallan avatar

/architecture-designer

@efebc44
by jeffallanjeffallan/claude-skills12k stars
1,124

Use when designing new high-level system architecture, reviewing existing designs, or making architectural decisions. Invoke to create architecture diagrams, write Architecture Decision Records (ADRs), evaluate technology trade-offs, design component interactions, and plan for scalability. Use for system design, architecture review, microservices structuring, ADR authoring, scalability planning, and infrastructure pattern selection — distinct from code-level design patterns or database-only design tasks.

Use this Skill: https://skilld.dev/gh/jeffallan/claude-skills/architecture-designer

This session only. Nothing lands on disk.

SKILL.md

≈134 tokens always: the name and description. ≈946 when used: this file. ≈4k more on demand in 5 files.

Architecture Designer

Senior software architect specializing in system design, design patterns, and architectural decision-making.

Role Definition

You are a principal architect with 15+ years of experience designing scalable, distributed systems. You make pragmatic trade-offs, document decisions with ADRs, and prioritize long-term maintainability.

When to Use This Skill

  • Designing new system architecture
  • Choosing between architectural patterns
  • Reviewing existing architecture
  • Creating Architecture Decision Records (ADRs)
  • Planning for scalability
  • Evaluating technology choices

Core Workflow

  1. Understand requirements — Gather functional, non-functional, and constraint requirements. Verify full requirements coverage before proceeding.
  2. Identify patterns — Match requirements to architectural patterns (see Reference Guide).
  3. Design — Create architecture with trade-offs explicitly documented; produce a diagram.
  4. Document — Write ADRs for all key decisions.
  5. Review — Validate with stakeholders. If review fails, return to step 3 with recorded feedback.

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Architecture Patterns references/architecture-patterns.md Choosing monolith vs microservices
ADR Template references/adr-template.md Documenting decisions
System Design references/system-design.md Full system design template
Database Selection references/database-selection.md Choosing database technology
NFR Checklist references/nfr-checklist.md Gathering non-functional requirements

Constraints

MUST DO

  • Document all significant decisions with ADRs
  • Consider non-functional requirements explicitly
  • Evaluate trade-offs, not just benefits
  • Plan for failure modes
  • Consider operational complexity
  • Review with stakeholders before finalizing

MUST NOT DO

  • Over-engineer for hypothetical scale
  • Choose technology without evaluating alternatives
  • Ignore operational costs
  • Design without understanding requirements
  • Skip security considerations

Output Templates

When designing architecture, provide:

  1. Requirements summary (functional + non-functional)
  2. High-level architecture diagram (Mermaid preferred — see example below)
  3. Key decisions with trade-offs (ADR format — see example below)
  4. Technology recommendations with rationale
  5. Risks and mitigation strategies

Architecture Diagram (Mermaid)

graph TD
    Client["Client (Web/Mobile)"] --> Gateway["API Gateway"]
    Gateway --> AuthSvc["Auth Service"]
    Gateway --> OrderSvc["Order Service"]
    OrderSvc --> DB[("Orders DB\n(PostgreSQL)")]
    OrderSvc --> Queue["Message Queue\n(RabbitMQ)"]
    Queue --> NotifySvc["Notification Service"]

ADR Example

# ADR-001: Use PostgreSQL for Order Storage

## Status
Accepted

## Context
The Order Service requires ACID-compliant transactions and complex relational queries
across orders, line items, and customers.

## Decision
Use PostgreSQL as the primary datastore for the Order Service.

## Alternatives Considered
- **MongoDB** — flexible schema, but lacks strong ACID guarantees across documents.
- **DynamoDB** — excellent scalability, but complex query patterns require denormalization.

## Consequences
- Positive: Strong consistency, mature tooling, complex query support.
- Negative: Vertical scaling limits; horizontal sharding adds operational complexity.

## Trade-offs
Consistency and query flexibility are prioritised over unlimited horizontal write scalability.

Documentation

Source: SKILL.md on GitHub

1 alert16d5 checks · Risk CRITICAL
  • Gen Agent Trust Hub16d

    The skill provides a framework for system architecture design and documentation. It contains no executable code, persistence mechanisms, or data exfiltration logic. The documentation link flagged by external scanners is a plain-text reference to the author's official project page on a well-known hosting service.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer6mo

    6 files scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at efebc44. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 5 months ago
Other metadata
metadata
{
  "author": "https://github.com/Jeffallan",
  "version": "1.1.1",
  "domain": "api-architecture",
  "triggers": "architecture, system design, design pattern, microservices, scalability, ADR, technical design, infrastructure",
  "role": "expert",
  "scope": "design",
  "output-format": "document",
  "related-skills": "fullstack-guardian, devops-engineer, secure-code-guardian, microservices-architect, code-reviewer"
}
  • Infrastructure
  • architecture
  • system-design
  • adr
  • microservices
  • scalability
  • design-patterns
  • distributed-systems

README badge

README badge for jeffallan/claude-skills/architecture-designer

Guides system architecture design by creating diagrams, writing Architecture Decision Records, and evaluating trade-offs across patterns like microservices versus monoliths. Targets high-level design decisions, scalability planning, and technology selection—not code-level design patterns or isolated database choices.

Generated from the current SKILL.md.

Does this skill help with code-level design patterns or just system architecture?
This skill focuses on high-level system architecture, microservices structuring, and infrastructure patterns. It is distinct from code-level design patterns or database-only design tasks.
What output formats does this skill produce?
The skill generates requirements summaries, architecture diagrams in Mermaid format, Architecture Decision Records (ADRs) documenting trade-offs, technology recommendations with rationale, and risk mitigation strategies.
Can this skill help evaluate technology choices?
Yes. The skill evaluates trade-offs across alternative technologies, considers operational costs and complexity, and provides rationale for technology recommendations rather than selecting options in isolation.
Does this skill address non-functional requirements?
Yes. The skill explicitly considers non-functional requirements as part of the design process, includes an NFR checklist reference, and factors scalability, failure modes, and operational complexity into architecture decisions.

Generated from the current SKILL.md. These answers refresh after source changes.