agent-instructions
Use when writing project instructions for a coding agent (CLAUDE.md, AGENTS.md, or equivalent). Covers what belongs in them, what…
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
Claude Code
$ npx -y skills add nimadorostkar/Claude-Skills-collection --skill system-design --agent claude-code
Codex
$ npx skills add nimadorostkar/Claude-Skills-collection --skill system-design -a codex -y
Cursor
$ npx skills add nimadorostkar/Claude-Skills-collection --skill system-design -a cursor -y
Gemini CLI
$ npx skills add nimadorostkar/Claude-Skills-collection --skill system-design -a gemini-cli -y
GitHub Copilot
$ npx skills add nimadorostkar/Claude-Skills-collection --skill system-design -a github-copilot -y
OpenCode
$ npx skills add nimadorostkar/Claude-Skills-collection --skill system-design -a opencode -y
Windsurf
$ npx skills add nimadorostkar/Claude-Skills-collection --skill system-design -a windsurf -y
name: system-design description: 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. metadata: category: development version: 1.0.0 tags: [system-design, architecture, scalability, trade-offs]
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.
A design document with:
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.
**Capacity estimate, shown rather than asserted:**
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.
A curated library of 137 production-grade skills for Claude and other AI coding agents. Every skill follows one structure, speaks with one voice, and earns its place by changing what the agent does.
Use when writing project instructions for a coding agent (CLAUDE.md, AGENTS.md, or equivalent). Covers what belongs in them, what…
Use when an agent needs state that survives a session or a context compaction. Covers what to persist, file-based memory,…
Use when automating agent behavior with lifecycle hooks. Covers hook events, deterministic enforcement of rules the model should…
Use when packaging skills, commands, hooks, and MCP servers into a distributable plugin. Covers manifest structure, bundling,…
Use when writing a new skill for an AI agent. Covers scoping, description writing for reliable triggering, progressive…
Use when reviewing or improving an existing agent skill. Covers triggering accuracy, content quality, redundancy with the base…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.