Логотип System Design

System Design

Спільнота
d-padmanabhan
system-design

Designs and reviews production software systems using requirements, SLOs, capacity estimates, service and data boundaries, consistency, scaling, reliability, security, observability, cost, and migration plans. Use for system design, architecture review, scalability, capacity planning, high availability, multi-tenancy, cell-based or cellular architecture, deployment stamps, technical design documents, or end-to-end production architecture.

Огляд

Видавецьd-padmanabhan
Репозиторійagent-engineering-handbook
Назва навичкиsystem-design
Зірки
20
Форки
3
Файли в пакеті
5
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 5

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: d-padmanabhan. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ System Design у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/d-padmanabhan/agent-engineering-handbook/tree/main/skills/system-design
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/d-padmanabhan/agent-engineering-handbook.git /tmp/agent-engineering-handbook
mkdir -p .claude/skills
cp -r /tmp/agent-engineering-handbook/skills/system-design .claude/skills/system-design
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку System Design в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку System Design, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка System Design не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Production System Design

Use this skill to turn business requirements and operational constraints into the simplest production architecture that can be built, operated, evolved, and recovered safely.

This is not an interview-diagram generator. Every component and complexity must earn its place through a requirement, measured constraint, or explicit risk.

System Design Contract

  • Start with requirements, constraints, scale, and failure tolerance before selecting technologies.
  • Separate facts, assumptions, estimates, and decisions.
  • Quantify demand and SLOs enough to expose bottlenecks; never invent precision.
  • Tie every consequential mechanism to a quality-attribute scenario, measurable evidence, and a rollback or revisit trigger.
  • Prefer a modular monolith or one ownership boundary until independent scaling, deployment, security, data ownership, or team autonomy justifies a split.
  • Keep data ownership explicit. Shared databases and synchronous call chains create coupling even when diagrams show separate services.
  • Map correlated failure domains and hidden shared dependencies; replicated components are not isolated when they share a control plane, data store, quota, identity service, or deployment path.
  • State consistency and durability guarantees at each boundary.
  • Design degraded behavior, recovery, and migration, not only the healthy steady state.
  • Treat security, privacy, operability, and cost as design inputs, not review-stage additions.
  • Verify current vendor limits, guarantees, defaults, and pricing against official sources before relying on them.

Workflow

1. Frame the problem

Capture:

  • users, business outcome, and critical journeys;
  • functional requirements and explicit non-goals;
  • compliance, privacy, residency, and trust boundaries;
  • existing system and migration constraints;
  • delivery timeline, team ownership, and operational capability.

Ask at most three focused questions that would materially change the architecture. When answers are unavailable, proceed with clearly labeled assumptions and explain their impact.

2. Define quality targets

Specify:

  • availability and durability targets;
  • the SLI numerator, denominator, scope, and exclusion policy for each critical journey;
  • latency objectives by critical journey and percentile;
  • end-to-end latency and availability budgets allocated across required dependencies;
  • throughput, concurrency, data volume, retention, and growth;
  • recovery time objective and recovery point objective;
  • consistency and freshness requirements;
  • cost or resource envelope.

Do not collapse all endpoints and workloads into one SLO.

3. Estimate capacity

Show units and arithmetic for baseline, peak, and growth horizon. Estimate requests or events per second, concurrent work, storage, bandwidth, and dominant compute or I/O demand. Include headroom and identify the inputs most sensitive to uncertainty.

Use the design workflow and template (${HANDBOOK_ROOT}/skills/system-design/references/design-workflow.md) for estimation and document structure.

4. Establish boundaries and contracts

Define:

  • system context and external dependencies;
  • component or service responsibilities and owners;
  • tenancy model, placement boundary, noisy-neighbor controls, and tenant lifecycle;
  • synchronous APIs, asynchronous events, and compatibility rules;
  • data stores, authoritative ownership, indexes, and lifecycle;
  • identity, authorization, encryption, and secret boundaries.

Prefer cohesive boundaries over technology-driven decomposition.

5. Design runtime behavior

Trace critical write and read paths. For every remote dependency, state:

  • timeout and retry ownership;
  • idempotency and duplicate behavior;
  • ordering and concurrency requirements;
  • admission priority, tenant fairness, bounded queues and concurrency, backpressure, shedding, and user-visible overload behavior;
  • one end-to-end retry and deadline budget rather than retries at every layer;
  • cache correctness and invalidation;
  • partial failure and degraded mode.

Use the networking skill (${HANDBOOK_ROOT}/skills/networking-transport/SKILL.md) for transport choices, the service resilience skill (${HANDBOOK_ROOT}/skills/service-resilience/SKILL.md) for circuit breakers, bulkheads, retry policy, and degraded behavior, and the distributed transactions skill (${HANDBOOK_ROOT}/skills/distributed-transactions/SKILL.md) when one business operation spans consistency boundaries.

6. Design operations and recovery

Specify:

  • logs, metrics, traces, audit events, dashboards, and alerts;
  • health, dependency, saturation, queue-age, and business-invariant signals;
  • backup, restore, failover, reconciliation, and disaster-recovery tests;
  • failure-domain mapping across region, DNS, identity, configuration, deployment, quotas, observability, and shared control/data planes;
  • deployment, rollback, feature flag, and schema migration strategy;
  • runbooks, on-call and escalation ownership, operational expertise, cognitive load, and manual intervention.

Use the security testing skill (${HANDBOOK_ROOT}/skills/security-testing/SKILL.md), Zero Trust skill (${HANDBOOK_ROOT}/skills/zero-trust/SKILL.md), and observability skill (${HANDBOOK_ROOT}/skills/observability/SKILL.md) for specialist review.

7. Compare alternatives

Compare two or three credible options against the actual requirements. Include:

  • benefits and liabilities;
  • operational and migration cost;
  • failure blast radius;
  • lock-in and reversibility;
  • validation signal, decision owner, and review or expiry date;
  • condition that would invalidate or roll back the choice.

Choose one and record why it is the simplest option that meets the targets. Do not produce a technology shopping list without a decision.

8. Plan delivery and validation

Define incremental slices, compatibility transitions, data migration, load and failure testing, production signals, and rollback criteria. Prefer reversible steps and shadowing, canaries, or dual-read verification where appropriate.

Specialist Routing

Route depth instead of copying domain procedures:

  • Cloud architecture: cloud platforms (${HANDBOOK_ROOT}/skills/cloud-platforms/SKILL.md)
  • API contracts and protocol surfaces: API design (${HANDBOOK_ROOT}/skills/api-design/SKILL.md) and mandatory API gates (${HANDBOOK_ROOT}/rules/320-api-design.mdc)
  • Domain boundaries and models: Domain-Driven Design (${HANDBOOK_ROOT}/skills/domain-driven-design/SKILL.md)
  • Dependency failure, overload, and isolation: service resilience (${HANDBOOK_ROOT}/skills/service-resilience/SKILL.md)
  • Logs, metrics, traces, SLOs, alerts, and telemetry pipelines: observability (${HANDBOOK_ROOT}/skills/observability/SKILL.md)
  • PostgreSQL: database PostgreSQL (${HANDBOOK_ROOT}/skills/database-postgresql/SKILL.md)
  • Data platforms and pipelines: data engineering (${HANDBOOK_ROOT}/skills/data-engineering/SKILL.md)
  • Event platforms and Kafka governance: Kafka rule (${HANDBOOK_ROOT}/rules/483-kafka.mdc), data engineering (${HANDBOOK_ROOT}/skills/data-engineering/SKILL.md), and distributed transactions (${HANDBOOK_ROOT}/skills/distributed-transactions/SKILL.md)
  • Persistent AI memory and retrieval: memory architecture (${HANDBOOK_ROOT}/skills/memory-architecture/SKILL.md)
  • Infrastructure implementation and topology automation: infrastructure as code (${HANDBOOK_ROOT}/skills/infrastructure-iac/SKILL.md)
  • Containers: containers orchestration (${HANDBOOK_ROOT}/skills/containers-orchestration/SKILL.md) and Kubernetes containers (${HANDBOOK_ROOT}/skills/kubernetes-containers/SKILL.md)
  • Architecture visualization: React Flow architecture diagrams (${HANDBOOK_ROOT}/skills/reactflow-architecture-diagrams/SKILL.md) or documentation standards (${HANDBOOK_ROOT}/skills/documentation-standards/SKILL.md)
  • Stakeholder-weighted decisions: multi-perspective review (${HANDBOOK_ROOT}/skills/multi-perspective-review/SKILL.md)

Review Mode

When reviewing an existing design:

  1. Restate the claimed requirements and guarantees.
  2. Trace critical paths, dependency budgets, tenant/cell placement, and state ownership.
  3. Test the design against peak load, unfair tenants, dependency and control-plane failure, regional failure, data corruption, and operator error.
  4. Identify unsupported assumptions and missing evidence.
  5. Rank findings as Critical, Recommended, or Optional.
  6. Propose the smallest correction and how to validate it.

Use the architecture review checklist (${HANDBOOK_ROOT}/skills/system-design/references/architecture-review-checklist.md).

For cellular designs, use the cell-based architecture reference (${HANDBOOK_ROOT}/skills/system-design/references/cell-based-architecture.md). For consequential decisions, use the decision and validation workflow (${HANDBOOK_ROOT}/skills/system-design/references/decision-and-validation-workflow.md).

Required Output

Produce:

  1. Context, requirements, non-goals, and assumptions
  2. SLOs and capacity estimates
  3. Proposed architecture and critical flows
  4. Data ownership and consistency model
  5. Reliability, security, observability, and cost controls
  6. Alternatives and decision rationale
  7. Migration, testing, and rollout plan
  8. Risks, unresolved questions, and decision triggers

Distinguish verified evidence from recommendations. Cite current vendor documentation for claims about vendor behavior.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ System Design?

Designs and reviews production software systems using requirements, SLOs, capacity estimates, service and data boundaries, consistency, scaling, reliability, security, observability, cost, and migration plans. Use for system design, architecture review, scalability, capacity planning, high availability, multi-tenancy, cell-based or cellular architecture, deployment stamps, technical design documents, or end-to-end production architecture.

Навіщо використовувати System Design у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. System Design — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити System Design у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/d-padmanabhan/agent-engineering-handbook/tree/main/skills/system-design. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати System Design?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати System Design?

Зі скількома забажаєте. У TypingMind ви можете використовувати System Design із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ System Design?

Так. На GitHub цю навичку публікує d-padmanabhan за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇