Architecture design

From kumaran-is/claude-code-onboarding · View interactive version

Architecture design is an AI agent skill from the GitHub repository kumaran-is/claude-code-onboarding. Full-stack system architecture skill for designing C4 diagrams, API contracts, sequence diagrams, deployment topologies, and ADRs. Use when designing new systems, choosing tech stacks, defining service boundaries, or producing architecture documentation before implementation starts.

How to use this skill

Skill file

Iron Law: Never start implementation without an approved architecture plan; always produce API contracts and sequence diagrams before code.

Architecture Design Skill

Design system architecture, API contracts, deployment topologies, and technology decisions for full-stack applications.

Supported Design Artifacts:

Process:

  1. Analyze Request
  1. Load Templates
  1. Generate Artifacts
  1. Present and Iterate

Documentation Sources

Before making architecture decisions, consult these sources:

| Source | URL / Tool | Purpose |

|--------|-----------|---------|

| Docker | https://docs.docker.com/llms.txt | Container config, Compose, multi-stage builds |

| MCP Protocol | https://modelcontextprotocol.io/llms-full.txt | MCP integration architecture and patterns |

| All libraries | Context7 MCP | Latest API references for any technology |

Error Handling

Unclear artifact type: Ask user to specify (diagram, API contract, deployment, ADR).

Ambiguous tech stack: Default to project conventions in CLAUDE.md or ask for clarification if multiple options exist.

Reference Files

| File | When to Load |

|------|-------------|

| reference/architecture-templates.md | Always — diagram and deployment templates |

| reference/context-discovery.md | Before recommending any architecture — gather scale, team, timeline context first |

| reference/pattern-selection.md | When choosing between architectural patterns — decision trees per concern |

| reference/implementation-patterns.md | When implementing Clean Architecture or Hexagonal Architecture — Python examples |

| reference/cloud-service-mapping.md | GCP-primary cross-cloud service equivalents |

Load order for new system design:

  1. context-discovery.md — classify the project (MVP / SaaS / Enterprise)
  2. pattern-selection.md — choose the right pattern for the complexity
  3. architecture-templates.md — generate diagrams and deployment topology
  4. implementation-patterns.md — if Clean Arch or Hexagonal is chosen
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.