by aryabharat
Low-level design plugin for coding agents (Claude Code, Codex, Copilot, Gemini, Cursor...): classes, APIs, patterns, concurrency, tests. Built from per-lesson analysis of the InterviewReady LLD course; benchmarked blind against other LLD skills.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/aryabharat/lld-skillGuides for using ai agents skills like lld-skill.
See how lld-skill compares with popular alternatives.
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."
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.
Setup
lld (this repo); malay44/lld-skills, the closest rival (~60k words, 4 skills); qfzhao670/low-level-design-skill (SOLID + patterns, ~4k words); tylerpayne/system-design-skill (system-design interview with LLD guidance); luoling8192/software-design-philosophy-skill (Ousterhout's A Philosophy of Software Design, the most-starred); and no skill.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'.
Read with care. Ranks moved by about +/-0.5 when the same answers were given to new judges, so the gap to malay44 and qfzhao670 (about 1.2 ranks) is meaningful but not large; the gap to no skill (2.4) is clear. lld was refined against earlier runs of this benchmark; the other skills were run as published. Each setup answered each task once. Every skill, and the bare model, hit 90%+ of the checklists: the differences are in correctness details, design judgement and right-sizing.
All 94 captioned videos of the course (about 30 hours, 97 lessons) were transcribed from the player's captions. One agent per video then analysed what the lesson teaches: the problem behind each technique, the decision rules (when, do, because, flips when), the rejected alternatives, the trade-offs, the smells, how it applies in production, and what interviewers probe. Those 94 analyses (~150k words) were merged by theme into the reference files below, deduplicated, with every rule tagged by the lesson it came from ([L58]). Where the instructor changed his mind or the course's own code had a bug (the logger's lock-while-waiting deadlock), the files say so and give the final position.
Three lessons had no captions and are not covered: the Strategy implementation video, and the two sessions with Keerti Purswani (mock LLD, IRCTC).
| Skill | Use it for |
|---|---|
lld |
The core. Triggers on design work: new module or service, feature on existing classes, pattern choice, thread safety, schema from features, interview problems. |
lld-review |
Design review of a diff, PR, files or design doc. Findings grouped Must / Should / Nice, each with a concrete failing case, the smallest fix, and the rule it breaks. |
lld-patterns |
"Which pattern fits?" in five lines, including "no pattern needed" and the rejected alternative. |
lld-interview |
Mock LLD / machine-coding interview (it interviews you, keeps time, probes, scores) or coach mode. |
lld-help |
Quick reference. |
Plus the lld-designer agent (Claude Code, Copilot CLI) for full design documents in their own context, and AGENTS.md: the compact always-on ruleset for agents without skills.
Reference library (skills/lld/references/, ~38k words, loaded on demand):
| File | What it answers |
|---|---|
| workflow.md | How to approach any design task; interview round types and timings; change requests on existing code |
| decision-index.md | ~180 decision rules, one line each, grouped by the situation you are in |
| principles-and-smells.md | SOLID, DRY and its overfitting trap, composition, naming; 40-row smell -> fix table; refactoring method |
| patterns.md | Picker table plus ~20 patterns: when, when not, sketch, the pitfall the course hit |
| concurrency-and-async.md | Locks vs keyed executors vs snapshots, ordering, read-your-writes, futures, request collapsing, retries, DLQ, back pressure, fail-open |
| data-modeling-and-apis.md | Entities and value objects, schema from access patterns, API signatures, choosing data structures |
| testing.md | Deterministic tests, stubbing changeable algorithms, concurrency tests |
| review-checklist.md | Yes/no review questions with a severity guide |
| interview.md | Round types, budgets, probes per problem, mock rubric |
| case-studies/ | 17 worked designs: game engine, tic-tac-toe, chess, Splitwise, cache, event bus, rate limiter, logger, orchestrator, calendar, Zerodha, live scores, Twitter, message queue, coupon engine, Git schema, delivery assignment; plus nearest neighbours for parking lot, elevator, BookMyShow and others |
Claude Code (two prompts):
/plugin marketplace add aryabharat/lld-skill
/plugin install lld@lld-skill
Codex:
codex plugin marketplace add aryabharat/lld-skill
codex plugin add lld@lld-skill
GitHub Copilot CLI:
copilot plugin marketplace add aryabharat/lld-skill
copilot plugin install lld@lld-skill
Gemini CLI / Qwen Code:
gemini extensions install https://github.com/aryabharat/lld-skill
Agents that read SKILL.md folders (Cline, Factory Droid, Freebuff, Command Code, Goose, Muse and others): copy every folder under skills/ into the agent's skills directory (for example ~/.agents/skills/ or ~/.claude/skills/). Copy all five together: the smaller skills point at ../lld/references/.
Rule-file agents (always-on rules, no on-demand references):
| Agent | File |
|---|---|
| Cursor | .cursor/rules/lld.mdc |
| Windsurf | .windsurf/rules/lld.md |
| Cline | .clinerules/lld.md |
| Kiro | .kiro/steering/lld.md |
| GitHub Copilot (IDE) | .github/copilot-instructions.md |
| Antigravity | .agents/rules/lld.md |
| Zed, Amp, Jules, Junie, Codex extension, anything else | AGENTS.md in the project root |
Cop
lld-skill is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by aryabharat. Low-level design plugin for coding agents (Claude Code, Codex, Copilot, Gemini, Cursor...): classes, APIs, patterns, concurrency, tests. Built from per-lesson analysis of the InterviewReady LLD course; benchmarked blind against other LLD skills. It has 50 GitHub stars.
lld-skill's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/aryabharat/lld-skill" and add it to your Claude Code skills directory (see the Installation section above).
lld-skill is primarily written in Python. It is open-source under aryabharat on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh lld-skill against similar tools.
No comments yet. Be the first to share your thoughts!