System Design logo

System Design

Community
nimadorostkar
system-design

Use when designing a system or service before implementation. Produces a design covering data model, API surface, failure modes, scaling limits, and the trade-offs that were actually decided. Trigger on "design a system for", "will this hold at 10x traffic", "monolith or microservices". Do not use for recording a decision already made — see the architecture-decisions skill; for cloud network and account layout, see the cloud-architecture skill.

Overview

Publishernimadorostkar
RepositoryClaude-Skills-collection
Skill namesystem-design
Stars
34
Forks
4
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by nimadorostkar on GitHub. Read the source before you install it.

Installation

Install the System Design AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/nimadorostkar/Claude-Skills-collection/tree/main/skills/development/system-design
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection.git /tmp/Claude-Skills-collection
mkdir -p .claude/skills
cp -r /tmp/Claude-Skills-collection/skills/development/system-design .claude/skills/system-design
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable System Design in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads System Design on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so System Design is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

System Design

Purpose

Produce a design that is honest about its constraints: what it optimizes for, what it gives up, where it breaks, and what would have to change to take it further.

When to Use

  • Designing a new service or a significant subsystem.
  • Evaluating whether an existing design will hold at the next order of magnitude.
  • Choosing between architectures (monolith, services, event-driven).
  • Preparing a design review or an RFC.

Capabilities

  • Requirements clarification: functional, non-functional, and the ones that are actually load-bearing.
  • Capacity estimation: throughput, storage, and the arithmetic behind them.
  • Data modeling and storage selection.
  • API and contract design.
  • Failure analysis: what happens when each dependency is slow, down, or lying.
  • Scaling paths and their cost.

Inputs

  • The problem, the users, and the expected load — today and at the target.
  • Latency, consistency, and availability requirements. Ranked, not all "high".
  • Constraints: team size, existing stack, budget, compliance.

Outputs

A design document with:

  • Requirements and explicit non-goals.
  • Capacity estimates with the arithmetic shown.
  • The data model and why that store.
  • The API contract.
  • Failure modes and the behavior under each.
  • Alternatives considered and why they were rejected.

Workflow

  1. Clarify — Turn vague requirements into numbers. "Fast" is not a requirement; "p99 under 200ms at 5k rps" is.
  2. Estimate — Do the arithmetic. Requests per second, bytes per record, records per day, storage at one year. Most designs die on an estimate nobody did.
  3. Model the data — Access patterns first, schema second. The queries you must serve determine the store you need, not the other way round.
  4. Define the contract — API surface, idempotency, pagination, error semantics, versioning.
  5. Break it — For each dependency: what if it is down, slow, or returns garbage? Design the degraded behavior deliberately.
  6. Find the ceiling — Name the component that saturates first and at what load. That is the scaling path.
  7. Record the trade-offs — What you gave up, and under what conditions you would revisit.

Best Practices

  • Start with the simplest thing that meets the stated requirements. A single database and a monolith serve more traffic than most teams will ever see.
  • Every network hop is a new failure mode. Distributing a system multiplies the ways it can be down.
  • Consistency requirements are usually weaker than stakeholders first claim, and occasionally far stronger. Ask what happens if a user sees stale data for five seconds.
  • Caches introduce a second source of truth. Know your invalidation story before you add one.
  • Design for the load you will have in a year, not in a decade. Speculative scale is a tax paid now for a benefit that may never arrive.
  • The bottleneck is almost always the database, and almost always a missing index or an N+1 before it is anything architectural.

Examples

Capacity estimate, shown rather than asserted:

text
Assumption: 2M daily active users, each posting 3 events/day.
Writes  : 6M events/day = ~70/s average, ~350/s peak (5x).
Payload : ~1.2 KB/event -> 7.2 GB/day -> 2.6 TB/year raw.
Reads   : 20:1 read/write -> ~1,400/s peak.

Implication: 350 writes/s is comfortably within a single Postgres primary.
2.6 TB/year is not — partition by month and move partitions older than
90 days to object storage. Read load needs a cache in front; at 1,400/s
with a 90% hit rate the primary sees ~140 reads/s.

Ceiling: single primary saturates around 3-5k writes/s. That is ~10x
current peak, i.e. roughly two years of growth at the current rate.

Notes

  • Write the non-goals down. They are what stops the design from growing to cover everything and satisfying nothing.
  • If two designs are close, choose the one that is easier to delete.
  • A design review that produces no rejected alternative was not a design review.

Frequently asked questions

What does the System Design AI skill do?

Use when designing a system or service before implementation. Produces a design covering data model, API surface, failure modes, scaling limits, and the trade-offs that were actually decided. Trigger on "design a system for", "will this hold at 10x traffic", "monolith or microservices". Do not use for recording a decision already made — see the architecture-decisions skill; for cloud network and account layout, see the cloud-architecture skill.

Why use System Design on TypingMind?

Because you install it once and use it with any model. System Design is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install System Design in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/nimadorostkar/Claude-Skills-collection/tree/main/skills/development/system-design. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use System Design?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with System Design?

As many as you like. As long as a model supports skills, you can use System Design with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the System Design AI skill free?

Yes. It is published on GitHub by nimadorostkar under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇