Agent skill

Nw Sd Framework

by nWave-ai in nWave-ai/nWave

4-step system design framework with back-of-envelope estimation, scaling ladder, and common pitfalls

MITAuto-check passedBackend & APIs

Install Nw Sd Framework

skills CLI
$ npx skills add nWave-ai/nWave --skill nw-sd-framework -a claude-code

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

GitHub CLI
$ gh skill install nWave-ai/nWave nw-sd-framework --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/nWave-ai/nWave.git skills-src && mkdir -p .claude/skills && cp -r skills-src/nWave/skills/nw-sd-framework .claude/skills/nw-sd-framework && 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
nw-sd-framework
GitHub stars
617
Token cost
~1.3k tokens
SKILL.md length
611 words
Files
1
Skills in repo
106
Repo updated
First seen
Licence
MIT

At a glance

4-step system design framework with back-of-envelope estimation, scaling ladder, and common pitfalls

  • Works in 4 steps: Understand the Problem and Establish… → Propose High-Level Design and Get Buy-In… → Design Deep Dive (10-25 min) → …
  • Tasks that involve Software architecture
  • SKILL.md covers The 4-Step Process, Back-of-Envelope Estimation, Scaling Ladder and Common Pitfalls
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Nw Sd Framework is an agent skill from nWave-ai/nWave. 4-step system design framework with back-of-envelope estimation, scaling ladder, and common pitfalls

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Software architecture. The repository describes itself as: AI agents that guide you from idea to working code, with you in control at every step. The licence is MIT.

When your agent uses it

  • Tasks that involve Software architecture

Example prompts

  • “/nw-sd-framework”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Understand the Problem and Establish Design Scope (3-10 min)
  2. Propose High-Level Design and Get Buy-In (10-15 min)
  3. Design Deep Dive (10-25 min)
  4. Wrap Up (3-5 min)

What it can do on your machine

Read from SKILL.md and the folder at commit da401a8. 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

Nw Sd Framework loads about 1.3k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 611 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

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 nWave-ai/nWave at commit da401a8, republished under its MIT licence (© nWave-ai). 611 words, ~1,300 tokens.

Download SKILL.mdSave it as .claude/skills/nw-sd-framework/SKILL.md (or your agent's skills folder).
name
nw-sd-framework
description
4-step system design framework with back-of-envelope estimation, scaling ladder, and common pitfalls
user-invocable
false
disable-model-invocation
true

System Design Framework

The 4-Step Process

Every system design follows this structure. Skipping steps is the top mistake.

Step 1: Understand the Problem and Establish Design Scope (3-10 min)

Narrow an impossibly broad question into a tractable problem.

Ask about: users and scale | most important features | read/write ratio | non-functional requirements (latency, availability, consistency) | existing infrastructure | special constraints (mobile-first, offline, regulatory)

Produce: functional requirements (3-5 bullets) | non-functional requirements (scale, latency, availability, consistency model) | capacity estimation (QPS, storage, bandwidth)

Red flags if skipped: designing a system nobody asked for | over-engineering for imaginary scale | missing critical constraints (GDPR, real-time)

Step 2: Propose High-Level Design and Get Buy-In (10-15 min)

Sketch the big picture. Validate before diving deep.

Do: draw architecture diagram (clients, servers, databases, caches, queues) | define API contract (REST/GraphQL/gRPC -- key endpoints) | design data model (entities, relationships, access patterns) | walk through 1-2 core use cases end-to-end | get buy-in: "Does this make sense before I go deeper?"

API patterns: RESTful for CRUD-heavy | GraphQL for flexible client queries | gRPC for internal service-to-service | WebSocket/SSE for real-time

Data model: SQL vs NoSQL based on access patterns, not hype | denormalization trade-offs | partitioning key selection (directly impacts scalability)

Step 3: Design Deep Dive (10-25 min)

Go deep on 2-3 components.

Choose: most technically challenging | most interesting trade-offs | bottleneck components (highest load, most failure-prone)

Depth means: specific algorithms (consistent hashing, Bloom filters) | failure modes and handling | scaling strategy per component | data flow with edge cases | monitoring and operational concerns

Step 4: Wrap Up (3-5 min)

Cover: summarize design in 2-3 sentences | identify known bottlenecks | what you'd improve with more time | operational concerns (monitoring, alerting, deployment) | future enhancements

Avoid: introducing entirely new components at this stage | second-guessing your design


Back-of-Envelope Estimation

Powers of 2 Reference
PowerValueMeaning
101 Thousand1 KB
201 Million1 MB
301 Billion1 GB
401 Trillion1 TB
501 Quadrillion1 PB
Latency Numbers Every Engineer Should Know
OperationLatency
L1 cache reference0.5 ns
L2 cache reference7 ns
Main memory reference100 ns
Compress 1KB (Zippy)10 us
Send 2KB over 1 Gbps20 us
Read 1 MB from memory250 us
Datacenter round trip500 us
Disk seek10 ms
Read 1 MB from network10 ms
Read 1 MB from disk30 ms
CA to Netherlands round trip150 ms

Key takeaways: memory fast, disk slow -- cache aggressively | compress before network send | inter-datacenter trips expensive -- minimize cross-region calls

Show full SKILL.md (209 more words)Show less
Common Estimation Patterns

DAU to QPS: QPS = DAU * actions_per_user / 86400 | Peak QPS = QPS * 2 (or *3 for spiky)

Storage: daily = DAU * actions * avg_size | yearly = daily * 365 | 5-year = yearly * 5

Bandwidth: QPS * average_response_size

Servers: Peak QPS / QPS_per_server where CPU-bound ~hundreds | IO-bound with cache ~thousands | static content ~tens of thousands

Estimation Example: Twitter-like Service
150M DAU, 2 tweets/day, 10 reads/day
Write QPS = 150M * 2 / 86400 ~ 3,500
Read QPS = 150M * 10 / 86400 ~ 17,000; Peak ~ 50,000
Storage: 300M tweets * 1KB + 30M media * 500KB ~ 15.3 TB/day

Scaling Ladder

Each step solves a specific bottleneck. Never introduce a component without articulating which bottleneck it addresses.

  1. Load balancer -- distribute traffic across web servers
  2. Database replication -- master-slave for read scaling
  3. Cache layer -- reduce database load (Redis/Memcached)
  4. CDN -- serve static content from edge
  5. Stateless web tier -- move session state to shared store
  6. Database sharding -- horizontal partitioning for write scaling
  7. Message queue -- decouple components, handle spikes
  8. Logging, metrics, monitoring -- observability at scale
  9. Multiple data centers -- geographic redundancy and latency reduction

Common Pitfalls

  1. Jumping to solutions -- design before understanding requirements
  2. Over-engineering -- adding components for imaginary scale
  3. Ignoring trade-offs -- every choice has a cost; name it
  4. SPOF blindness -- always ask "what if this dies?"
  5. Neglecting data -- the data model drives everything
  6. Forgetting operations -- a system you can't monitor is one you can't run
  7. Not doing math -- gut feelings are wrong; estimates keep you honest

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

Files

Just SKILL.md in nWave/skills/nw-sd-framework of nWave-ai/nWave.

Open the folder on GitHubat commit da401a8

Compare with similar skills

Nw Sd Framework 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.

Nw Sd Framework compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nw Sd Framework this skillnWave-ai/nWave617—~1.3kAutomated safety check: PassMIT
Nestjs Best Practicesrolling-scopes/rsschool-app10k6 repos~1.2kAutomated safety check: PassMIT
NestJS Modular Monolith Architecttech-leads-club/agent-skills7k—~3.9kAutomated safety check: PassCC-BY-4.0
Project Workflow Analysis Blueprint Generatorgithub/awesome-copilot40k1 repos~2.7kAutomated safety check: PassMIT
Architecture Reviewfossasia/eventyay-interpretation1.6k—~1.2kAutomated safety check: PassApache-2.0
Persona Reference Architecturejeremylongshore/tons-of-skills-marketplace2.8k—~1.3kAutomated safety check: PassMIT

Similar skills

  • Nestjs Best Practices

    rolling-scopes/rsschool-app

    NestJS best practices and architecture patterns for building production-ready applications.

    10k GitHub starsUsed in 6 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • NestJS Modular Monolith Architect

    tech-leads-club/agent-skills

    Designs scalable NestJS modular monoliths with domain-driven design, Clean Architecture layers and optional CQRS, defining bounded contexts and strict module boundaries.

    7k GitHub stars~3.9k tokensUpdated 18 days ago
    Backend & APIsAuto-check passed
  • Official

    Comprehensive technology-agnostic prompt generator for documenting end-to-end application workflows.

    40k GitHub starsUsed in 1 repo~2.7k tokens
    Backend & APIsAuto-check passed
  • Architecture Review

    fossasia/eventyay-interpretation

    A skill your agent uses to evaluate proposed architecture changes against VoxBento's design principles.

    1.6k GitHub stars~1.2k tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • Persona Reference Architecture

    jeremylongshore/tons-of-skills-marketplace

    Design an account-linked KYC control plane around Persona with explicit trust, data, event, and decision boundaries.

    2.8k GitHub stars~1.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Shopify Architecture Variants

    jeremylongshore/tons-of-skills-marketplace

    Choose between Shopify app architectures: embedded Remix app, headless storefront with Hydrogen, standalone integration, or theme app extension.

    2.8k GitHub stars~1.1k tokensUpdated today
    Backend & APIsAuto-check passed

More from nWave-ai/nWave

All 106 skills in this repo
  • DELIVER wave orchestration workflow -- 9 phases from baseline to finalization.

    617 GitHub stars~974 tokensUpdated 22 days ago
    Auto-check passed
  • Nw Diagram

    nWave-ai/nWave

    Generates C4 architecture diagrams (context, container, component) in Mermaid or PlantUML.

    617 GitHub stars~640 tokensUpdated 22 days ago
    Auto-check passed
  • Nw Diverge

    nWave-ai/nWave

    Generates 3-5 divergent design directions through JTBD analysis, competitive research, structured brainstorming, and taste evaluation before convergence.

    617 GitHub stars~2.2k tokensUpdated 22 days ago
    Auto-check passed
  • Nw Document

    nWave-ai/nWave

    Creates evidence-based documentation following DIVIO/Diataxis principles.

    617 GitHub stars~1.4k tokensUpdated 22 days ago
    Auto-check passed
  • Nw Execute

    nWave-ai/nWave

    A skill your agent uses when a DELIVER roadmap already exists and you need to dispatch exactly one identified step through its TDD cycle.

    617 GitHub stars~3k tokensUpdated 22 days ago
    Auto-check passed
  • Nw Refactor

    nWave-ai/nWave

    Applies the Refactoring Priority Premise (RPP) levels L1-L6 for systematic code refactoring.

    617 GitHub stars~1.2k tokensUpdated 22 days ago
    Auto-check passed

Questions about Nw Sd Framework

What does Nw Sd Framework do?

4-step system design framework with back-of-envelope estimation, scaling ladder, and common pitfalls. Nw Sd Framework is an agent skill from nWave-ai/nWave.

When should I use Nw Sd Framework?

Nw Sd Framework fits situations like: tasks that involve Software architecture.

How do I install Nw Sd Framework in Claude Code?

Run `npx skills add nWave-ai/nWave --skill nw-sd-framework -a claude-code`. Or copy the skill folder (nWave/skills/nw-sd-framework in nWave-ai/nWave) into .claude/skills/nw-sd-framework in your project. Claude Code loads it when a task matches its description.

How do I install Nw Sd Framework in Codex?

Run `npx skills add nWave-ai/nWave --skill nw-sd-framework -a codex`. Or copy the skill folder (nWave/skills/nw-sd-framework in nWave-ai/nWave) into .agents/skills/nw-sd-framework in your project. Codex loads it when a task matches its description.

Can I use Nw Sd Framework 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 nWave-ai/nWave --skill nw-sd-framework -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nw-sd-framework, .gemini/skills/nw-sd-framework, .github/skills/nw-sd-framework and .opencode/skills/nw-sd-framework in your project.

What does Nw Sd Framework need to run?

SKILL.md names no scripts, command-line tools or credentials: Nw Sd Framework is instructions for the agent only.

Does Nw Sd Framework 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 Nw Sd Framework 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 Nw Sd Framework use?

Nw Sd Framework 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 Nw Sd Framework use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nw Sd Framework?

Skills that share tags, products or a category with Nw Sd Framework: Nestjs Best Practices (rolling-scopes/rsschool-app, 10k stars), NestJS Modular Monolith Architect (tech-leads-club/agent-skills, 7k stars), Project Workflow Analysis Blueprint Generator (github/awesome-copilot, 40k stars) and Architecture Review (fossasia/eventyay-interpretation, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nw Sd Framework?

nWave-ai (a GitHub organization) maintains it in nWave-ai/nWave, which has 617 GitHub stars. The repository holds 106 skills in this directory. The repository was last updated on September 16, 2026.

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