skills/system-design-interview/SKILL.md
Structure a complete system design answer for interview questions or real architecture sessions. Use when asked to design a system, answer a system design interview question, or architect a solution at scale. Produces a structured answer covering requirements, capacity estimates, high-level design, component deep-dives, trade-offs, and follow-up considerations.
npx skillsauth add mohitagw15856/pm-claude-skills system-design-interviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Structures a complete, interview-grade system design response — covering clarifying questions, requirements, capacity estimates, architecture, component design, and trade-offs. Works equally well for real architecture sessions.
Ask for these if not provided:
Before designing, list 4–6 questions that would change the design. Examples:
Then proceed with stated assumptions if answering an interview question.
Core features (must have):
Out of scope (for this design):
| Requirement | Target | |---|---| | Availability | [e.g. 99.9% / 99.99%] | | Latency | [e.g. p95 < 100ms for reads] | | Throughput | [e.g. 10k writes/sec peak] | | Consistency | [Strong / Eventual] | | Durability | [e.g. 99.999% — no data loss] |
Traffic:
Storage:
Bandwidth:
Draw an ASCII diagram specific to this system. Do not default to the client→CDN→LB→API→Cache→DB template unless it genuinely applies. Label each component with the specific technology chosen (e.g. "Kafka" not "Message Queue", "PostgreSQL" not "DB"). Describe each component in 1–2 sentences explaining its role and why that technology was chosen.
Pick the 2–3 most critical/interesting components and go deep:
[Component 1: e.g. Database Layer]
[Component 2: e.g. Caching Strategy]
[Component 3: e.g. API Design]
Walk through the two most critical paths end-to-end:
Write path: [Step 1 → Step 2 → Step 3...] Read path: [Step 1 → Step 2 → Step 3...]
| Bottleneck | Mitigation | |---|---| | [e.g. DB write throughput] | [e.g. sharding by user_id, write batching] | | [e.g. Hot-key cache misses] | [e.g. local in-process cache, probabilistic early expiry] | | [e.g. Single region latency] | [e.g. multi-region deployment, GeoDNS routing] |
Be explicit about what was chosen and what was sacrificed:
| Decision | Why | Trade-off | |---|---|---| | [e.g. Eventual consistency] | [Higher availability, lower latency] | [Stale reads possible] | | [e.g. SQL over NoSQL] | [Complex queries, ACID transactions] | [Harder to shard horizontally] | | [e.g. Async processing via queue] | [Decoupled, more resilient] | [Eventual delivery, harder to debug] |
Things to tackle in production but out of scope for this design session:
development
Analyse competitor moves and translate them into strategic implications for your product roadmap. Use when a competitor announces a new feature, pricing change, partnership, or strategic shift, or when producing a periodic competitive intelligence report. Produces a categorised signal analysis with reactive-vs-proactive assessment, threat ratings, specific roadmap implications, and recommended responses with owners.
development
Build a community management playbook for a brand's social media channels. Use when asked to create guidelines for managing comments, DMs, and community interactions, define a moderation policy, or build response frameworks for social media community managers. Produces a complete playbook with response templates, escalation paths, moderation rules, and tone guidelines.
development
Activate a 4-stage coding discipline framework that forces Claude to plan before coding, isolate changes on a branch, write tests first, and self-review output twice before presenting it. Use when starting a complex coding task, when past Claude sessions produced broken first drafts, or when you want to prevent rework cycles. Produces a confirmed written plan, isolated feature branch, test-first implementation, and a double-reviewed output with a correctness and code-quality checklist.
development
Optimize an article for Answer Engine Optimization (AEO) — restructuring content so AI engines like ChatGPT, Perplexity, and Claude can extract, quote, and cite it. Rewrites headings as questions, drops 50-80 word answer capsules, audits paragraph length, and flags trust signals. Use when asked to AEO-optimize, make content AI-readable, improve AI citation chances, or adapt an article for answer engines.