Low-level design for coding agents: classes, APIs, patterns, concurrency and tests, decided the way Gaurav Sen's InterviewReady LLD course teaches. For real codebases and interviews.
Low-level design for coding agents: classes, APIs, patterns, concurrency and tests, decided the way Gaurav Sen's InterviewReady LLD course teaches. For real codebases and interviews.
Low-level design for coding agents. Classes, APIs, data structures, design patterns, concurrency and tests, decided the way Gaurav Sen's free InterviewReady Low Level Design course teaches them. Works in your real codebase and in interviews.
Most "design patterns" prompts make agents reach for patterns. This one makes them do what the course does: find the concrete problem first, pick the tool that removes it, say which option was rejected and why, and get correctness and thread safety right before extensibility.
You: add a "draw after 50 moves" rule to GameEngine.getState()
Without: adds a seventh `if (...) return` to the method every feature already edits.
With lld: "getState is a chain of independent checks that every rule change edits (OCP smell).
Move each check into a Rule object in an ordered list; the engine just loops.
Rejected: wrapping getState in another layer, which adds a layer per feature.
Watch out: if two rules depend on order, keep explicit if/else with named methods."
Benchmark
lld was compared blind against four other low-level-design skills and against the same model with no skill. Full method, raw answers and every judge's scores: evals/benchmark.md.
8 tasks: parking-lot pricing with concurrent allocation, adding a rule to existing if-chain code, "Builder for a Point?", "State pattern for order status?", reviewing a thread-unsafe notification service, a concurrent TTL + LRU cache, a GitHub-style schema, and refactoring a growing discount class (tasks).
Answers: one agent per setup, same model (Claude Opus 5.5), reading only its own skill files and picking the skill per task as a harness would.
Judging: answers anonymised (skill names and lesson tags stripped) and shuffled to A-F, two independent judges per task, scored on a rubric written before any answer existed: a per-task checklist, correctness, design, decision clarity, proportionality, and a full ranking.
Results
Setup
Mean rank
Wins
Checklist
Correctness
Design
Decision clarity
Proportionality
Words (8 tasks)
lld
2.00
6/16
100%
8.6
8.8
9.0
7.9
7.6k
malay44/lld-skills
3.19
2/16
100%
8.4
8.2
8.0
7.9
7.7k
qfzhao670/low-level-design-skill
3.19
4/16
97%
7.9
8.1
8.3
8.3
6.7k
tylerpayne/system-design-skill
4.00
0/16
97%
8.1
8.3
8.4
6.2
9.2k
software-design-philosophy
4.25
1/16
91%
7.6
7.7
8.1
7.9
7.3k
no skill
4.38
3/16
98%
7.4
7.8
7.9
7.9
6.4k
Where lld differs. It averaged between 1st and 2.5th on all eight tasks; every other setup fell to 4th or worse on at least one. Judges credited it most for decision clarity: each answer names the problem, the chosen tool, the rejected option and when that choice would flip. It also caught correctness details others missed: computing a fee before closing a ticket, money in integer minor units rather than double, reading the clock once, and deliberate ON DELETE rules in schemas. In code review it kept findings inside the diff and tied severity to an observed failure rather than to a broken rule. Its answers were about the same length as the other skills'.