Agent skill

System Design Building Blocks

by HoangNguyen0403 in HoangNguyen0403/agent-skills-standard

Select infrastructure components by the constraint each removes: load balancers, caches and invalidation, queues and pub/sub, CDN, API gateway, rate limiting, consistent hashing.

MITAuto-check passedBackend & APIs

Install System Design Building Blocks

skills CLI
$ npx skills add HoangNguyen0403/agent-skills-standard --skill system-design-building-blocks -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HoangNguyen0403/agent-skills-standard system-design-building-blocks --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HoangNguyen0403/agent-skills-standard.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/system-design/system-design-building-blocks .claude/skills/system-design-building-blocks && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
system-design-building-blocks
GitHub stars
572
Token cost
~970 tokens
SKILL.md length
472 words
Files
3 (incl. references)
Skills in repo
211
Repo updated
First seen
Licence
MIT

At a glance

Select infrastructure components by the constraint each removes: load balancers, caches and invalidation, queues and pub/sub, CDN, API gateway, rate limiting, consistent hashing.

  • Defer engine tuning to the database category
  • SKILL.md covers Priority: P1 (HIGH), Selection Table, Caching Rules and Queue Rules, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Cloud networking

What it does

System Design Building Blocks is an agent skill from HoangNguyen0403/agent-skills-standard. Select infrastructure components by the constraint each removes: load balancers, caches and invalidation, queues and pub/sub, CDN, API gateway, rate limiting, consistent hashing. Use when choosing cache, queue, replica, or edge layers; defer engine tuning to the database category.

Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `evals/evals.json` and `references/building-blocks.md`).

It sits in Backend & APIs, covering Cloud networking, Microservices and Rate limiting. The repository describes itself as: A collection of Agent Skills Standard and Best Practice for Programming Languages, Frameworks that help our AI Agent follow best practies on frameworks and programming laguages. The licence is MIT.

When your agent uses it

  • Defer engine tuning to the database category
  • Tasks that involve Cloud networking
  • Tasks that involve Microservices

Example prompts

  • “/system-design-building-blocks”

What it can do on your machine

Read from SKILL.md and the folder at commit b529c2d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

System Design Building Blocks loads about 970 tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 78 tokens; SKILL.md has 472 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~970
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from HoangNguyen0403/agent-skills-standard at commit b529c2d, republished under its MIT licence (© HoangNguyen0403). 472 words, ~970 tokens.

Download SKILL.mdSave it as .claude/skills/system-design-building-blocks/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
system-design-building-blocks
description
Select infrastructure components by the constraint each removes: load balancers, caches and invalidation, queues and pub/sub, CDN, API gateway, rate limiting, consistent hashing. Use when choosing cache, queue, replica, or edge layers; defer engine tuning to the database category.

System Building Blocks

Priority: P1 (HIGH)

Add a component only to remove a named constraint. Every component adds failure modes and cost.

Selection Table

Constraint observedComponentCost accepted
One instance saturates CPU or connectionsHorizontal scaling behind a load balancerStatelessness required; session moves to a store
Read QPS exceeds store ceiling; data tolerates stalenessRead-through cacheStale reads up to TTL; invalidation complexity
Write spikes exceed sustainable store throughputQueue plus async workerEventual completion; needs idempotent consumers
Slow non-critical work blocks the request pathBackground job or eventExtra delivery guarantees to reason about
Static or media bytes dominate egressCDNCache purge lag; origin still needed for misses
Cross-cutting authn, quota, routing repeated per serviceAPI gatewayCentral chokepoint; must be HA
One tenant or key can exhaust capacityRate limiter or admission controlRejections need clear client contracts
Cache or shard nodes change count during scalingConsistent hashingRebalancing logic; hot-key skew persists

Caching Rules

  • Default to cache-aside for read-heavy paths; use write-through only when read-after-write must be exact.
  • Set TTL from tolerable staleness, not from convenience. Every cached key needs a stated TTL and an invalidation trigger.
  • Guard the miss path: single-flight or request coalescing prevents a stampede when a hot key expires.
  • Never cache what you cannot invalidate. Never cache per-user data under a shared key.

Queue Rules

  • Choose delivery semantics explicitly: at-least-once plus idempotent consumers is the safe default.
  • Partition by the entity that must stay ordered; ordering is per partition, never global.
  • Size the queue for the burst, and define the drain rate. An unbounded queue converts a throughput problem into a latency and memory problem.
  • Apply backpressure at the producer when depth exceeds the drain budget; shedding beats silent growth.
Show full SKILL.md (182 more words)Show less

Session State

  • Default to a stateless token (signed JWT or opaque id verified at the edge); the app tier keeps nothing per user.
  • Move to a shared session store (Redis) when sessions must be revocable immediately or carry more than a token can hold.
  • Sticky sessions are a last resort: they survive one deploy badly and block scale-in. Never store session state in app memory.

Edge and Traffic Rules

  • L4 balances connections, L7 routes on content; use L7 when routing needs paths, headers, or canaries.
  • Health checks must test a dependency-aware readiness endpoint, not a static 200.
  • Rate limit at the edge by identity and by cost class; return a retry hint the client can honor.

Anti-Patterns

  • No component without a constraint: a box that solves no stated problem gets removed.
  • No cache as a correctness fix: caching hides a slow query; fix the query, then cache.
  • No queue without a consumer budget: define drain rate and DLQ before shipping.
  • No shared mutable session in app memory: it blocks horizontal scaling.

References

© HoangNguyen0403, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/system-design/system-design-building-blocks of HoangNguyen0403/agent-skills-standard.

  • SKILL.md
  • evals/evals.json
  • references/building-blocks.md

Open the folder on GitHubat commit b529c2d

Compare with similar skills

System Design Building Blocks next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

System Design Building Blocks compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
System Design Building Blocks this skillHoangNguyen0403/agent-skills-standard572—~970Automated safety check: PassMIT
System Designninehills/skills280—~4.7kAutomated safety check: PassMIT
System Designwondelai/skills2.4k—~4kAutomated safety check: PassMIT
LLM Gatewaysickn33/agentic-awesome-skills47k1 repos~2.1kAutomated safety check: PassMIT
Analyzing API Gateway Access Logsmukul975/Anthropic-Cybersecurity-Skills34k—~581Automated safety check: PassApache-2.0
Monstermq Broker Configvogler75/monster-mq143—~2.2kAutomated safety check: PassGPL-3.0

Similar skills

  • System Design

    ninehills/skills

    Design scalable distributed systems using structured approaches for load balancing, caching, database scaling, and message queues.

    280 GitHub stars~4.7k tokensUpdated 3 mo ago
    Backend & APIsAuto-check passed
  • System Design

    wondelai/skills

    Design scalable distributed systems using structured approaches for load balancing, caching, database scaling, and message queues.

    2.4k GitHub stars~4k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • LLM Gateway

    sickn33/agentic-awesome-skills

    Deploy an API gateway for LLM traffic with load balancing, rate limiting, key management, semantic caching, fallback routing, and cost tracking.

    47k GitHub starsUsed in 1 repo~2.1k tokens
    Backend & APIsAuto-check passed
  • Analyzing API Gateway Access Logs

    mukul975/Anthropic-Cybersecurity-Skills

    Parses API Gateway access logs (AWS API Gateway, Kong, Nginx) to detect BOLA/IDOR attacks, rate limit bypass, credential scanning, and injection attempts.

    34k GitHub stars~581 tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Monstermq Broker Config

    vogler75/monster-mq

    Guide for configuring, deploying, and operating the MonsterMQ broker.

    143 GitHub stars~2.2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Frontmcp Deployment

    agentfront/frontmcp

    A skill your agent uses when deploying, building for production, packaging, or shipping a FrontMCP server.

    146 GitHub stars~9.2k tokensUpdated today
    DevOps & CloudAuto-check: notes

More from HoangNguyen0403/agent-skills-standard

All 211 skills in this repo
  • Subagent-Driven Development

    HoangNguyen0403/agent-skills-standard

    Runs a multi-task implementation plan by sending each task to a fresh implementer subagent, reviewing it independently, then reviewing the whole branch.

    572 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • draw.io Architecture Diagramming

    HoangNguyen0403/agent-skills-standard

    Draws architecture diagrams as editable draw.io files from a JSON spec, with a fixed house style, one C4 level per diagram and evidence-tagged shapes.

    572 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Android Navigation 3 Guide

    HoangNguyen0403/agent-skills-standard

    Implements and migrates to Jetpack Navigation 3 in Compose: NavDisplay, typed route objects, a state-list back stack, deep links, multiple back stacks and dialog scenes.

    572 GitHub stars~687 tokensUpdated yesterday
    Auto-check passed
  • Angular HttpClient Standards

    HoangNguyen0403/agent-skills-standard

    Sets rules for Angular HTTP code: functional interceptors, typed requests, services that own every call, and httpResource for reactive data loading in Angular 17+.

    572 GitHub stars~652 tokensUpdated yesterday
    Auto-check passed
  • Angular Tooling

    HoangNguyen0403/agent-skills-standard

    Angular CLI usage, code generation, build configuration, and bundle optimization.

    572 GitHub stars~743 tokensUpdated yesterday
    Auto-check passed
  • Common Code Review

    HoangNguyen0403/agent-skills-standard

    Conduct high-quality, persona-driven code reviews. An agent skill from HoangNguyen0403/agent-skills-standard.

    572 GitHub stars~772 tokensUpdated yesterday
    Auto-check passed

Questions about System Design Building Blocks

What does System Design Building Blocks do?

Select infrastructure components by the constraint each removes: load balancers, caches and invalidation, queues and pub/sub, CDN, API gateway, rate limiting, consistent hashing. System Design Building Blocks is an agent skill from HoangNguyen0403/agent-skills-standard. Select infrastructure components by the constraint each removes: load balancers, caches and invalidation, queues and pub/sub, CDN, API gateway, rate limiting, consistent hashing.

When should I use System Design Building Blocks?

System Design Building Blocks fits situations like: defer engine tuning to the database category; tasks that involve Cloud networking; tasks that involve Microservices.

How do I install System Design Building Blocks in Claude Code?

Run `npx skills add HoangNguyen0403/agent-skills-standard --skill system-design-building-blocks -a claude-code`. Or copy the skill folder (skills/system-design/system-design-building-blocks in HoangNguyen0403/agent-skills-standard) into .claude/skills/system-design-building-blocks in your project. Claude Code loads it when a task matches its description.

How do I install System Design Building Blocks in Codex?

Run `npx skills add HoangNguyen0403/agent-skills-standard --skill system-design-building-blocks -a codex`. Or copy the skill folder (skills/system-design/system-design-building-blocks in HoangNguyen0403/agent-skills-standard) into .agents/skills/system-design-building-blocks in your project. Codex loads it when a task matches its description.

Can I use System Design Building Blocks in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HoangNguyen0403/agent-skills-standard --skill system-design-building-blocks -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/system-design-building-blocks, .gemini/skills/system-design-building-blocks, .github/skills/system-design-building-blocks and .opencode/skills/system-design-building-blocks in your project.

What does System Design Building Blocks need to run?

SKILL.md names no scripts, command-line tools or credentials: System Design Building Blocks is instructions for the agent only.

Does System Design Building Blocks access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is System Design Building Blocks safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does System Design Building Blocks use?

System Design Building Blocks is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does System Design Building Blocks use?

About 970 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.5k tokens, read only when the agent opens those files.

What are the alternatives to System Design Building Blocks?

Skills that share tags, products or a category with System Design Building Blocks: System Design (ninehills/skills, 280 stars), System Design (wondelai/skills, 2.4k stars), LLM Gateway (sickn33/agentic-awesome-skills, 47k stars) and Analyzing API Gateway Access Logs (mukul975/Anthropic-Cybersecurity-Skills, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains System Design Building Blocks?

HoangNguyen0403 (a GitHub user) maintains it in HoangNguyen0403/agent-skills-standard, which has 572 GitHub stars. The repository holds 211 skills in this directory. The repository was last updated on October 9, 2026.

Source: HoangNguyen0403/agent-skills-standard on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.