architecture-designer — Claude Code skill: how to install & use
Designs distributed system architectures, creates Mermaid diagrams, and writes Architecture Decision Records. It helps balance trade-offs before writing service code.
npx skills add Jeffallan/claude-skills --skill architecture-designer -a claude-codeWhat architecture-designer does
The skill follows a structured architectural workflow. It begins with gathering functional and non-functional requirements, matches them to architectural patterns, drafts high-level Mermaid diagrams, and creates Architecture Decision Records. Each ADR captures context, alternatives, and explicit operational trade-offs.
Its reference materials cover database selection, non-functional requirements checklists, and system design templates. The workflow actively enforces pragmatic limits, barring hypothetical over-engineering and unvetted technology choices while requiring explicit failure-mode planning.
Because this skill operates strictly at high-level system and infrastructure tiers, it will not help with localized code-level design patterns or low-level query tuning.
What it helps with
- structure Architecture Decision Records (ADRs) with explicit trade-offs
- generate Mermaid architecture diagrams for multi-service interactions
- evaluate monolith versus microservices for specific project constraints
- audit system non-functional requirements against a resilience checklist
Example prompts for the agent
- Design an event-driven order processing system and generate a Mermaid diagram
- Write an ADR evaluating PostgreSQL against DynamoDB for our line-item storage
- Review our distributed system design using the non-functional requirements checklist
How to install architecture-designer
1Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill architecture-designer -a claude-code2Manually: put the files in place
~/.claude/skills/architecture-designer/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/architecture-designer/
1Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill architecture-designer -a codex2Manually: put the files in place
.agents/skills/architecture-designer/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill architecture-designer -a cursor2Manually: put the files in place
.cursor/skills/architecture-designer/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Jeffallan/claude-skills architecture-designer2Manually: put the files in place
.github/skills/architecture-designer/SKILL.md1Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill architecture-designer -a gemini-cli2Platform CLI
gemini skills install https://github.com/Jeffallan/claude-skills --path skills/architecture-designerManually: put the files in place
.devin/skills/architecture-designer/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Jeffallan/claude-skills --skill architecture-designer -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set61
The whole set →Similar
Questions about architecture-designer
How to install architecture-designer in Claude Code?
Run npx skills add Jeffallan/claude-skills --skill architecture-designer -a claude-code.
What does the architecture-designer skill do?
It guides high-level system design, produces Mermaid architecture diagrams, evaluates technology trade-offs, and documents decisions in ADR format.
How does architecture-designer differ from code review tools?
It focuses on macro-level service boundaries, data stores, and failure modes rather than individual code implementation patterns or database indexing.
Source text
SKILL.md · MIT
---
name: architecture-designer
description: 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.
license: MIT
metadata:
author: https://github.com/Jeffallan
company: https://synergetic.solutions
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
---
# 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)
```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
```markdown
# 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.
```
Maintained by [@jeffallan](https://github.com/jeffallan), Principal Consultant at [Synergetic Solutions](https://synergetic.solutions)
[Documentation](https://jeffallan.github.io/claude-skills/skills/api-architecture/architecture-designer/)
© https://github.com/Jeffallan · MIT · Jeffallan/claude-skills