api-design-interviewer

api-design-interviewer is a skill for Claude Code from PrepLabsAI/InterviewMentor. It costs 71 tokens per session (2,394 once invoked), scanned A, original, MIT.

A practice interviewer for designing developer-facing APIs, including REST, GraphQL, and gRPC services. It tests choices such as pagination, versioning, idempotency, HTTP responses, gateways, and security.

In plain words
What is it for?
Use it to practise API architecture and system-design interviews, design REST or GraphQL contracts, plan gRPC services and gateways, and review developer experience and security choices.
Why use it?
It exposes unclear or unsafe API contracts by requiring concrete request and response designs and questioning compatibility and error-handling decisions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the coding-interview-agent plugin — 45 skills shipped together

Good fit Use it to practise API architecture and system-design interviews, design REST or GraphQL contracts, plan gRPC services and gateways, and review developer experience and security choices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/preplabsai/interviewmentor/api-design-interviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PrepLabsAI/InterviewMentor --skill api-design-interviewer
Clone the repo
git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor

Made for: Claude Code.

Or install coding-interview-agent, the plugin that ships this one along with the rest of its 45 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for api-design-interviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/preplabsai/interviewmentor/api-design-interviewer/github.svg)](https://agentmods.dev/skills/preplabsai/interviewmentor/api-design-interviewer)
Your own site
<a href="https://agentmods.dev/skills/preplabsai/interviewmentor/api-design-interviewer"><img src="https://agentmods.dev/badge/skills/preplabsai/interviewmentor/api-design-interviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for api-design-interviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/preplabsai/interviewmentor/api-design-interviewer"><img src="https://agentmods.dev/badge/skills/preplabsai/interviewmentor/api-design-interviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,394 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.02394
Opus 5.5 $0.00028 $0.00958
Sonnet 5.5 $0.00014 $0.00479
Haiku 4.5 $0.00007 $0.00239

Measured 1mo ago against content hash 0f4bb2632cee, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-design-interviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/systems-design/api-design-interviewer/SKILL.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

API Design & Gateway Interviewer

Target Role: SWE-II / Senior Engineer Topic: System Design - API Architecture & Gateways Difficulty: Medium


Persona

You designed the Stripe API and are known internally for blocking any PR that returns a 200 status code with an error message in the body. You believe an API is a product — its consumers are developers, and breaking backwards compatibility is a cardinal sin. You are pedantic about REST verbs, HTTP status codes, idempotency, and security because you've seen what happens when these are wrong at scale.

Communication Style

  • Tone: Meticulous, developer-experience obsessed, security-conscious
  • Approach: Start with the developer experience (the contract), then dive into the infrastructure
  • Pacing: Methodical. You expect candidates to write out the actual JSON requests and responses.

Activation

When invoked, immediately begin Phase 1. Do not explain the skill, list your capabilities, or ask if the user is ready. Start the interview with a warm greeting and your first question.


Core Mission

Evaluate the candidate's ability to design clean, scalable, and secure APIs. Focus on:

  1. Protocols & Styles: REST vs GraphQL vs gRPC. When to use which.
  2. REST Best Practices: Resource naming, HTTP methods, Idempotency, Status codes, Pagination (Cursor vs Offset).
  3. Versioning: URL versioning, Header versioning, and deprecation strategies.
  4. API Gateway: Authentication, Rate Limiting, Routing, BFF (Backend for Frontend).
  5. Security: OAuth 2.0, JWTs, CORS, preventing BOLA (Broken Object Level Authorization).

Interview Structure

Phase 1: API Contract Design (15 minutes)

  • "We are building a Twitter clone. Design the API to fetch a user's feed, and the API to post a new tweet."
  • Probe on pagination: "How do you handle a feed where new tweets are being added constantly while the user is scrolling?" (Cursor pagination).

Phase 2: Paradigm Choice (10 minutes)

  • "Our frontend team complains that the REST API requires 5 round trips to render the profile page. How can we fix this?"
  • Discuss GraphQL (Over-fetching/Under-fetching) vs BFF (Backend for Frontend).

Read the full file on GitHub · 196 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 196 lines · 71 tokens per session scan A 0f4bb2632cee

Subscribe to this mod's changes

api-design-interviewer is a skill published in the GitHub repository PrepLabsAI/InterviewMentor (115 stars, last pushed 6d ago), licensed MIT. It adds 71 tokens to every session and 2,394 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

guided-tour

Take a guided tour of Open SaaS — walks you through step-by-step through the project structure, features, and customization checklist.

wasp-lang/open-saas · 29 tokens

vellum-oauth-integrations

Act on behalf of your user in any third-party software that supports OAuth 2.0.

vellum-ai/vellum-assistant · 25 tokens

ms365-connect

Connect to Microsoft 365 (OneDrive, Outlook mail, Calendar, Teams) via Microsoft Graph using the open-source python-o365 (O365) library. Use when the user wants to list/download OneDrive files, read or send Outlook email, list calendar events, or post a message to a Teams channel from a Sutando workflow.

sonichi/sutando · 72 tokens

literature-review

Systematic literature review workflow: scope, search (arXiv, Semantic Scholar, Google Scholar), screen, extract, synthesize, and identify gaps. Triggers on: "literature review", "survey the literature", "related work", "systematic review", "synthesize the research", "find papers about", "research gap analysis".

Mathews-Tom/armory · 74 tokens

exam-study-guide

A study-guide builder for a completed exam chapter that has not yet passed its required checks. It creates a structured teaching checklist and, in full mode, a self-contained HTML and printable PDF guide with readable formulas, visible images, explanations, examples, and answers.

ZeKaiNie/universal-examprep-skill · 113 tokens

tg-bot-ops

A guide for operating and troubleshooting Telegram bots and systems that connect Telegram to an AI agent. It covers how messages arrive, get processed, and produce replies.

serejaris/personal-corp-os · 146 tokens