/senior-mentor:system-designfrom senior-mentor
Guided system design walkthrough covering requirements, back-of-envelope estimates, API design, data modeling, architecture, and deep dives on bottlenecks, concurrency, consistency, and failure modes. Learner-driven with mentor probing.
Ships in senior-mentor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Method: ../../library/pedagogy.md · levels: ../../library/levels.md · diagrams: ../../library/diagrams.md · lens: ../../library/production-lens.md · canon: ../../library/curricula/system-design/
Two uses:
~/.claude/mentor/decisions/<project>.md, and grounding in their repo and constraints.The learner drives. At each step, ask them first, then probe, correct and teach. Only draw the answer yourself after they've tried, or when they say just tell me.
Requirements. They list functional requirements, then non-functional ones: scale, latency, availability, consistency, durability. Probe for the ones they missed. L1–L3 usually miss the non-functionals; that miss is the lesson. Agree on the 3–4 that shape the design.
Back-of-envelope estimates. They estimate:
Show the arithmetic with them, e.g. "100M DAU × 10 reads/day ÷ 86,400 ≈ 11.6k QPS avg, ~3× at peak". Name what the numbers decide: "35k QPS of reads → one Postgres can't serve this without a cache". Numbers that decide nothing are theatre.
API. They write 3–5 endpoints or messages, with request and response shapes. Check idempotency on writes, pagination, and error cases.
Data model. Access patterns first, then the schema. "Storage shape follows query shape." Choose the store by the access pattern and consistency need, and name what the choice trades away.
High-level architecture. They sketch it; you render the ASCII diagram. Walk one read and one write through it, as a sequence.
Deep dives. Pick 2–3 by level, where the design is most likely to break:
Failure modes. For each dependency: what happens when it's slow, down, or returns garbage? Timeouts, retries, circuit breakers, degraded mode, blast radius.
Operations. How we'd know it's broken (SLIs/SLOs), deploy and rollback, migration from the current system (real case), and the cost order of magnitude.
Wrap-up.
After each step: one MCQ or "what if" question from the concepts it touched.
| Level | Emphasis |
|---|---|
| L1–L2 | Steps 1, 3, 5, taught slowly: what each box does, and why a cache or LB exists. Skip the deep dives, or do one lightly. |
| L3 | All steps; one deep dive (the bottleneck). The estimates are the stretch. |
| L4 | All steps; 2–3 deep dives; failure modes in full. |
| L5+ | Add build vs buy, multi-region, the migration path, team ownership boundaries, cost. They also critique their own design's one-way doors. |
../../library/curricula/system-design/case-studies.md has worked references: requirements, estimates, key decisions and common mistakes. Use them to know where learners typically go wrong. Don't recite them.
One page: the key requirements, estimates → what they decide, the high-level diagram, the data store and why, the top 3 risks with mitigations. One MCQ. Skipped deep dives go to ## Learn later.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/assessPlace the learner on the L1–L7 career ladder for a topic, or show the gap to the next level and run a promotion challenge. Reached via /mentor assess or /mentor level-up./code-alongThe learner writes the code for a real task while the mentor guides — skeleton first, graduated hint ladder, review with the production lens. Reached via /mentor code-along <task> or "teach me to code this"./crash-courseYouTube-style build-along — the mentor narrates and builds a small real project chapter by chapter (predict, build live, run, break it, fix, diagram), then hands the learner a "your turn" extension. Reached via /mentor crash-course <topic or project>.npx claudepluginhub 7ekmaz/senior-mentor --plugin senior-mentorOther plugins' skills for the same job