Logo von System Architecture Design

System Architecture Design

Community
peterbamuhigire
system-architecture-design

Use when defining or reviewing software architecture for web apps, mobile backends, SaaS platforms, APIs, distributed systems, or major features. Covers bounded contexts, module decomposition, hexagonal ports-and-adapters boundaries, contracts, failure handling, ADRs, and scalability tradeoffs.

Übersicht

Herausgeberpeterbamuhigire
Repositorychwezi-dev-engine
Skill-Namesystem-architecture-design
Sterne
29
Forks
6
Mitgelieferte Dateien
8
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 8

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von peterbamuhigire auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill System Architecture Design in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/architecture/system-architecture-design
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/peterbamuhigire/chwezi-dev-engine.git /tmp/chwezi-dev-engine
mkdir -p .claude/skills
cp -r /tmp/chwezi-dev-engine/skills/architecture/system-architecture-design .claude/skills/system-architecture-design
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie System Architecture Design in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt System Architecture Design automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist System Architecture Design nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

System Architecture Design

Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.

Use When

  • Use when defining or reviewing software architecture for web apps, mobile backends, SaaS platforms, APIs, distributed systems, or major features. Covers bounded contexts, module decomposition, contracts, failure handling, ADRs, and scalability tradeoffs.

Do Not Use When

  • The request is limited to an isolated endpoint, query, UI component, or deployment script with no system-level trade-off.
  • The architecture is already decided and the task only needs implementation; use the relevant engineering skill and preserve recorded decisions.

Required Inputs

InputRequiredWhy it matters
Business capabilities and critical journeysyesAnchors boundaries in real system responsibilities
Quality attributes with measurable scenariosyesMakes performance, security, availability, and changeability testable
Constraints and existing-system contextyesPrevents an unbuildable greenfield design
Scale, data, integration, and deployment assumptionsconditionalSupports sizing and topology decisions

Workflow

Clarify drivers and constraints, model context and containers, assign data and responsibility boundaries, compare viable options, record decisions, then test the design against failure, evolution, security, and operational scenarios.

Quality Standards

Decisions link a driver to a chosen option, rejected alternatives, consequences, and verification evidence. Diagrams and prose agree on ownership, trust boundaries, data flow, and deployment topology.

Outputs

OutputConsumerAcceptance condition
Architecture descriptionEngineering stakeholdersIncludes context, responsibilities, data ownership, integrations, trust boundaries, and deployment view
Decision recordsFuture maintainersCapture rationale, alternatives, consequences, and revisit triggers
Quality-attribute verification planDelivery and operations teamsMaps each material scenario to a test, measurement, or operational check

References

  • Use the references/ directory for deep detail after reading the core workflow below.
  • references/practical-architecture-knowledge.md - book-distilled checks for DDD boundaries, scalability, architecture metrics, and executable architecture documentation.
  • Deep-module design and design-it-twice - interface depth, seams, deletion tests, and independent option comparison.
  • Hexagonal architecture (ports and adapters) - load when designing or refactoring a module's internal boundary: inbound/outbound ports, adapters, composition root, dependency inversion, per-boundary tests, and slice-by-slice migration (TypeScript, PHP, Java, Kotlin, Go).
  • For confirmed domain terminology and decision ownership, consume the SRS engine's canonical domain-language-and-decisions reference through its router.

Book-informed practice route

Use the slice, review, and recovery practice for workload-led trade-offs, ownership, data truth, failure containment, and evolution.

Use this skill when the problem is bigger than a single component. Start here before committing to frameworks, service boundaries, data ownership, or integration patterns.

Load Order

  1. Load world-class-engineering.
  2. Use this skill to shape the architecture.
  3. Load stack-specific skills only after the structural decisions are clear.

Architecture Workflow

1. Define the System Boundary

Capture:

  • Actors and primary user journeys.
  • Business capabilities and invariants.
  • External systems and integration points.
  • Read/write paths, async flows, and operational jobs.
  • Non-functional constraints: latency, availability, compliance, team size, release cadence.
  • The business events, policies, and failure consequences that make the system expensive to get wrong.
  • The release shape: expected batch size, deployment frequency, rollback expectations, and who operates the system.

2. Decompose by Capability

Split the system by business capability first, technical layer second.

  • Each module owns its rules, contracts, and data responsibilities.
  • Shared modules should expose narrow stable interfaces.
  • Avoid "core" dumping grounds with mixed responsibilities.
  • If a module changes for unrelated reasons, split it.
  • Prefer boundaries that support independent understanding and low-risk releases before chasing deployment independence.

3. Choose the Runtime Shape

Use the simplest viable shape:

  • Modular monolith for most early and mid-stage systems.
  • Service extraction only when scaling, deployability, team boundaries, or isolation justify the extra cost.
  • Event-driven workflows only when loose coupling, resilience, or asynchronous processing clearly matter.
  • Feature flags, dark launches, or canaries when exposure control matters more than runtime separation.

Default rule: prefer a well-structured monolith before microservices.

4. Design Critical Flows

For each critical flow, define:

  • Entry point and authentication mode.
  • Validation rules.
  • Transaction boundary.
  • Side effects and idempotency strategy.
  • Failure and retry behavior.
  • Audit and observability events.

Also define:

  • consistency requirement: immediate, eventual, or compensating
  • ownership of downstream effects
  • rollback or reconciliation path when dependencies disagree
  • release evidence needed before exposing the flow broadly

For domain-heavy or scale-sensitive systems, load references/practical-architecture-knowledge.md and apply its bounded-context, scalable-systems, and architecture-metric checks.

5. Record Decisions

Use ADR logic for decisions that are expensive to reverse:

  • Context
  • Options considered
  • Decision
  • Tradeoffs
  • Consequences

Use the template in references/adr-template.md.

6. Produce Executable Architecture Artifacts

For non-trivial systems, produce:

  • context map and ownership map
  • critical-flow table with invariants, dependency failures, and operator actions
  • deployment and rollback assumptions
  • telemetry and audit requirements by flow
  • migration and contract-evolution notes for live systems

Structural Standards

Bounded Contexts

  • Inside a module, keep domain and use-case code free of framework and I/O imports; put side effects behind ports (references/hexagonal-ports-and-adapters.md).
  • Keep domain language consistent inside each context.
  • Do not let one module write another module's tables directly.
  • Exchange data through APIs, commands, events, or well-defined internal interfaces.

Contracts

  • Version externally consumed contracts.
  • Keep domain DTOs separate from persistence models where churn differs.
  • Make schemas explicit for requests, events, jobs, and database writes.

Failure Design

  • Treat timeouts, retries, duplicate messages, and partial writes as first-class design cases.
  • Prefer idempotency keys for financial, provisioning, and integration-heavy workflows.
  • Use compensating actions when atomic transactions cannot span the workflow.

Operability

  • Every critical workflow needs logs, metrics, and traceable IDs.
  • Every background processor needs dead-letter or replay strategy.
  • Every external dependency needs timeout, retry, and degradation rules.
  • Every architecture proposal should show how recent changes will be correlated to failures in production.

Release-Aware Architecture

  • Prefer designs that can be shipped in small batches.
  • Avoid boundaries that force big-bang database, contract, or traffic cutovers without a strong reason.
  • Keep overlapping-version compatibility where staging and production may run different revisions briefly.
  • Make feature-flag and migration strategy explicit when architecture depends on phased rollout.

Team and Dependency Boundaries

  • Align service or module boundaries with ownership where possible.
  • Prefer interfaces that allow teams to move independently without hidden schema coupling.
  • Do not extract services just to mirror org charts if operational cost outweighs benefit.

Decision Heuristics

Choose a modular monolith when:

  • One team owns most of the system.
  • Transactions span multiple capabilities often.
  • Deployment independence is not yet a bottleneck.

Choose service boundaries when:

  • Independent scaling profiles are proven.
  • Teams need separate release control.
  • Fault isolation or compliance isolation is mandatory.

Choose synchronous communication when:

  • The caller needs an immediate answer.
  • Consistency must be confirmed before UX can proceed.

Choose asynchronous communication when:

  • Work is slow, bursty, or integration-heavy.
  • Temporary unavailability must not block the user flow.
  • The operation is naturally eventually consistent.

Split a service or module when:

  • its change cadence, scaling profile, or compliance boundary is materially different
  • ownership confusion is causing delivery friction
  • failure isolation or release independence produces clear operational value

Architecture Review Checklist

  • Capabilities are separated by business meaning.
  • Data ownership is explicit for every module.
  • Critical paths include failure and observability design.
  • The runtime shape supports low-risk release and rollback, not only clean decomposition.
  • Service boundaries are justified by evidence, not fashion.
  • Contracts are explicit and evolution-safe.
  • Background work is idempotent and retry-safe.
  • Security and tenant boundaries align with module boundaries.
  • Consistency model and compensation strategy are explicit where workflows cross boundaries.
  • Architecture deliverables include context map, critical-flow table, and dependency view.

References

Inputs

InputRequiredPurpose
Capabilities and quality attributesyesSet drivers
Current topology and constraintsyesGround design
Workload and failure assumptionsyesTest choices

Degraded mode

If workload evidence or stakeholder decisions are unavailable, return read-only options with assumptions and proposed ADRs; do not present a target as approved.

Domain Anti-Patterns

  • Choosing technology before drivers. Fix: rank quality attributes first.
  • Drawing components without contracts. Fix: specify interfaces and owners.
  • Ignoring failure paths. Fix: model timeouts and recovery.
  • Treating estimates as measured capacity. Fix: label and test assumptions.
  • Approving irreversible change without an ADR. Fix: record consequences.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill System Architecture Design?

Use when defining or reviewing software architecture for web apps, mobile backends, SaaS platforms, APIs, distributed systems, or major features. Covers bounded contexts, module decomposition, hexagonal ports-and-adapters boundaries, contracts, failure handling, ADRs, and scalability tradeoffs.

Warum System Architecture Design in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. System Architecture Design besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich System Architecture Design in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/architecture/system-architecture-design ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können System Architecture Design nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit System Architecture Design verwenden?

So viele Sie möchten. In TypingMind können Sie System Architecture Design mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill System Architecture Design kostenlos?

Ja. Der Skill wird von peterbamuhigire auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇