agentsclimarketplace

Architecture design

Skill RealDougEubanks/ClaudeMarketplace/skills/architecture-design

Designs new systems from requirements: C4 model diagrams, service boundaries, API contracts, data design, failure modes, and cross-cutting concerns.From its SKILL.md

Install
npx -y skills add RealDougEubanks/ClaudeMarketplace --skill architecture-design

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.5 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it

architecture-design

Purpose

Guide the design of a system or feature from requirements to a documented architecture. Produces C4-model diagrams (Context → Container → Component), service boundary definitions, API contracts, data flow diagrams, failure mode analysis, and an ADR for the key decisions made. Works standalone or as the /abd-design agent in the ABD workflow.

Quick mode (/architecture-design --quick): for single-feature or small-scope designs. Skip Step 5 (C4 Level 3), make the Step 8 failure-mode table optional (include only externally-dependent paths), and keep Steps 1–2 to a single confirmation exchange.

Emit as you go: output each step's section immediately as you complete it rather than composing the whole document at the end. Step 10 assembles the already-emitted sections into the saved file. This keeps quality even across sections.


Instructions

Step 1 — Gather inputs

Ask the user for (or read from existing artifacts):

  • What are we building? (description or link to requirements doc / Jira epic)
  • What are the key constraints? (team size, existing systems to integrate with, cloud provider, language preference, compliance requirements)
  • What is the expected scale? (users/day, requests/second, data volume)
  • What is the timeline? (affects how complex a solution is appropriate)
  • Are there existing systems this must integrate with or replace?

If docs/requirements/ exists, use Glob and Read to load relevant requirements documents.


Step 2 — Propose architecture style

Based on the inputs, recommend and justify one of these patterns. Explain the tradeoffs in the context of the stated constraints:

PatternBest ForAvoid When
Monolith (Modular)Small teams, early stage, unclear domain boundariesTeam > 10, independent scaling needed
MicroservicesLarge teams, independent scaling, polyglotSmall team, immature domain model
Event-DrivenAsync workflows, loose coupling, audit trail neededSimple CRUD, low latency required
Hexagonal (Ports & Adapters)Complex domain logic, testability, multiple I/O adaptersSimple CRUD apps
CQRS + Event SourcingComplex queries, audit history, high write/read ratio differenceSimple domains, small teams
ServerlessUnpredictable traffic, low ops overhead, event-drivenLong-running jobs, high cold-start sensitivity
BFF (Backend for Frontend)Multiple client types with different data needsSingle client type

Ask the user to confirm the pattern before proceeding.


Step 3 — C4 Model — Level 1: System Context

Produce a Mermaid diagram showing the system in context:

  • The system being built (center)
  • External users/actors
  • External systems it integrates with
  • Data flows between them
C4Context
  title System Context — <System Name>
  Person(user, "End User", "Uses the system via web/mobile")
  System(system, "<System Name>", "The system being designed")
  System_Ext(auth, "Auth Provider", "OAuth2/OIDC — e.g. Auth0")
  System_Ext(email, "Email Service", "Transactional email — e.g. SendGrid")
  Rel(user, system, "Uses", "HTTPS")
  Rel(system, auth, "Authenticates via", "HTTPS/OIDC")
  Rel(system, email, "Sends email via", "HTTPS/API")

If C4 Mermaid syntax is not supported, use graph LR with clear labels.


Step 4 — C4 Model — Level 2: Container Diagram

Decompose the system into containers (deployable units):

  • Web frontend (SPA, SSR, mobile app)
  • API server(s)
  • Background workers / queues
  • Databases (type: relational, document, cache, search)
  • Message broker (if event-driven)
  • CDN / static assets

For each container specify: technology choice, responsibility, and communication protocol with other containers.


Step 5 — C4 Model — Level 3: Component Diagram (key containers only)

For the most complex container (usually the API server), decompose into components:

  • Router / Controller layer
  • Service / Use Case layer
  • Repository / Data Access layer
  • Domain Model
  • External adapters (email, payment, auth)
  • Shared utilities (logging, validation, config)

Step 6 — Data Design

  • Identify the core entities and their relationships (ER diagram in Mermaid)
  • Recommend database type for each store: relational (normalized, ACID), document (flexible schema), key-value (cache/session), time-series (metrics/events), search (full-text)
  • Flag any PII/sensitive data and where encryption at rest is required
  • Identify high-read vs high-write data and caching strategy

Step 7 — API Contract Sketch

For each major API surface, define:

  • Protocol: REST, GraphQL, gRPC, WebSocket, or event/message
  • Key endpoints/operations (resource name, method, brief description)
  • Authentication mechanism (JWT, API key, OAuth2 scopes)
  • Pagination strategy (cursor vs offset)
  • Error response format

Step 8 — Failure Mode Analysis

For each external dependency and critical path, define:

  • What happens if this fails?
  • Mitigation: retry with backoff, circuit breaker, graceful degradation, fallback, queue
  • Recovery time objective (RTO) — how quickly must this recover?

Step 9 — Cross-Cutting Concerns

Address explicitly:

  • Authentication & Authorization: where auth is enforced, which framework/library
  • Observability: structured logging, distributed tracing (trace IDs), metrics, alerting
  • Configuration: how env vars / secrets are managed per environment
  • Deployment: container/serverless, CI/CD pipeline shape, blue/green vs rolling
  • Testing strategy: unit (domain logic), integration (adapters), contract (API), E2E (critical flows)

Step 10 — Write Design Artifact

Use Write to save the full design to docs/architecture/<feature-or-system-name>-design.md.

If handoffs/designs/ exists (ABD workflow), also write a JSON artifact to handoffs/designs/{taskId}_design_{unixTimestamp}.json using the ABD envelope schema.

Offer to run /adr to capture the key architectural decisions as ADRs.


Output Format

The design document should contain all diagrams inline as Mermaid fenced code blocks, all tables, and a "Key Decisions" section summarising the choices made and why. End with "Open Questions" — any decisions that need stakeholder input before implementation begins.

What ships with it: 3 files

4.0 KB alongside SKILL.md

.claude-plugin/

Gives 0 of the 12 instructions most design frontend skills give in ~1.4k tokens

Counted across 1,179 of the 2,086 authors here whose files we hold, read 2026-09-06

  • Commit to a bold aesthetic directionin 31 of 1179, across 24 files
  • Prefer component composition over inheritancein 28 of 1179, across 14 files
  • Animate only transform and opacity propertiesin 27 of 1179, across 22 files
  • Memoize expensive computations with useMemoin 26 of 1179, across 13 files
  • Use semantic HTML elementsin 24 of 1179, across 23 files
  • Virtualize long lists for performancein 21 of 1179, across 10 files
  • Use CSS variables for design tokensin 20 of 1179, across 14 files
  • Implement loading, empty, and error statesin 20 of 1179
  • Lazy load heavy components with Suspensein 19 of 1179, across 8 files
  • Respect prefers-reduced-motion media queriesin 18 of 1179, across 10 files
  • Prioritize CSS-only animations for HTMLin 18 of 1179, across 16 files
  • Use compound components for related UI elementsin 18 of 1179, across 7 files

Said here and by no other author read

  • Ask user for requirements and constraints
  • Recommend an architecture style based on constraints
  • Confirm architecture style with user before proceeding
  • Produce C4 Level 1 context diagram
  • Decompose system into containers for Level 2
  • Identify core entities and database types

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.